Quest - The HTML Web Browser for ComputerCraft
#81
Posted 26 February 2015 - 12:45 AM
#82
Posted 26 February 2015 - 10:24 PM
Edited by Rougeminner, 26 February 2015 - 10:25 PM.
#83
Posted 01 March 2015 - 08:48 AM
#85
Posted 29 March 2015 - 06:51 PM
With attributes list-style-type?
(E.g. x,o,>,- and for ol 1,a,A)
#86
Posted 29 March 2015 - 07:24 PM
#87
Posted 20 April 2015 - 05:12 PM
#89
Posted 30 May 2015 - 04:08 PM
local result = 2^8 return [[ <!DOCTYPE ccml> <html> <head> <title>Quest Test</title> </head> <body> <p>]] .. result .. [[</p> </body> </html> ]]The [[ and ]] represent a multi-line string, so using Lua we can calculate 2^8 and send back a return value with proper CCML displaying the result value.
EDIT: For anyone curious, a 404 error will occur if nothing is returned ("nil" is the value given when trying to read out of a file that doesn't exist, and "nil" is returned when nothing is)
Edited by Atenefyr, 08 June 2015 - 09:08 PM.
#90
Posted 13 July 2015 - 11:19 PM
#91
Posted 14 July 2015 - 03:07 PM
Idea - Webpages that allow you to control a redstone output/sense if there's a redstone input. Here's how I think it could work:
- When server to control/sense redstone turns on, it loads a program that connects to the quest page and says 'Computer <ID> is online,'
- When client connects, the browser checks for any servers (the server would use a special page) and it'd say 'I'm computer <ID> and my redstone outputs are <direction>:<t/f> and input on <directions>:<t/f>'
- Regular webpage could then display a button, for example, 'Turn on reactor' and when clicked it sends off a request to an API which is connected to the server to tell it to send redstone.
Allow a 'Pay by Krist' button which you could work with cossack to add an argument to kristwallet (example 'kristwallet <address> <amount> Quest') and it'll load up the wallet, you see a 'you will be sending x amount to address y, login to pay' then you login and it says 'You have <x> amount of krist, do you want to pay?'
OR Just use the API - ask for password, get address, balance and secret key, tell the user they will be paying x address y krist, do you want to continue?' and then if yes it sends the krist.
Edited by PokeAcer, 14 July 2015 - 03:12 PM.
#92
Posted 14 July 2015 - 03:17 PM
PokeAcer, on 14 July 2015 - 03:07 PM, said:
<!DOCTYPE ccml>
<html>
<head>
<title>Redstone Test</title>
<script type="lua">
_G.rs.setOutput("right", true)
l('p').text('Done!')
</head>
<body>
<p width="5"></p>
</body>
</html>
You could also replace the "_G" with "getfenv(read)" if you wanted to.
Edited by Atenefyr, 14 July 2015 - 03:30 PM.
#93
Posted 14 July 2015 - 03:41 PM
#94
Posted 14 July 2015 - 03:57 PM
PokeAcer, on 14 July 2015 - 03:41 PM, said:
Quest Host is pretty much obsolete in that sense if you think about it.
Edited by Atenefyr, 14 July 2015 - 03:58 PM.
#95
Posted 14 July 2015 - 04:26 PM
But, it doesn't crash the program, the host.qst site says "Upload failed" every single time.
Quest opens up the "Open File" prompt, so I select my "index.ccml" file. It fails.
#96
Posted 15 July 2015 - 01:53 AM
LewisTehMinerz, on 14 July 2015 - 04:26 PM, said:
But, it doesn't crash the program, the host.qst site says "Upload failed" every single time.
Quest opens up the "Open File" prompt, so I select my "index.ccml" file. It fails.
That bug is old i also reported it some time ago when LuaLand was young but Oeed also mentions that Quest Host is buggy. Lets hope for a fix soon!
#97
Posted 15 July 2015 - 06:57 AM
Allow buying of qst domains (Maybe with krist?)
#98
Posted 15 July 2015 - 07:10 AM
We'll make a web browser with Silica which will probably be able to support atleast basic CSS and more standard HTML features. That'll be a while away yet, so don't get your hopes up for any improvements within a few months.
Edited by oeed, 15 July 2015 - 07:11 AM.
#99
Posted 15 July 2015 - 07:25 PM
oeed, on 15 July 2015 - 07:10 AM, said:
oeed, on 15 July 2015 - 07:10 AM, said:
Will there be a compatibility mode for websites using <!DOCTYPE ccml>, and a new doctype for the new, better format?
Edited by Atenefyr, 15 July 2015 - 07:27 PM.
#100
Posted 20 July 2015 - 04:59 AM
i would use this 100% over firewolf
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











