Jump to content




Quest - The HTML Web Browser for ComputerCraft


  • You cannot reply to this topic
118 replies to this topic

#81 ByteMe

  • Members
  • 124 posts
  • LocationAdelaide, Australia

Posted 26 February 2015 - 12:45 AM

I always thought this would be a good idea! :D looking forward to seeing how it goes.

#82 Rougeminner

  • Members
  • 151 posts

Posted 26 February 2015 - 10:24 PM

YES YES YES YES YES. i remember when it was only a idea that this would come out i am going to download it and not stop using it

Edited by Rougeminner, 26 February 2015 - 10:25 PM.


#83 TheOutcast5

  • Members
  • 104 posts
  • LocationKonoha - Hidden Leaf Village

Posted 01 March 2015 - 08:48 AM

So we code the webpages in html? Just need some clarity.

#84 ByteMe

  • Members
  • 124 posts
  • LocationAdelaide, Australia

Posted 01 March 2015 - 09:11 AM

View PostTheOutcast5, on 01 March 2015 - 08:48 AM, said:

So we code the webpages in html? Just need some clarity.
Sort of, you can code in ccml if i recall correctly, its almost identical to html.

#85 Konlab

  • Members
  • 595 posts
  • LocationKerbin

Posted 29 March 2015 - 06:51 PM

<ol> <ul> <li> support
With attributes list-style-type?
(E.g. x,o,>,- and for ol 1,a,A)

#86 ebernerd

  • Members
  • 262 posts
  • LocationBoston, MA

Posted 29 March 2015 - 07:24 PM

I get an error on line 6436, where it says "table expected; got nil"

#87 harkthevisualbasiccoder

  • Members
  • 3 posts

Posted 20 April 2015 - 05:12 PM

Is there any idea how to paste the entire code to the notepad?

#88 biggest yikes

  • Members
  • 573 posts

Posted 24 April 2015 - 11:38 PM

View Postharkthevisualbasiccoder, on 20 April 2015 - 05:12 PM, said:

Is there any idea how to paste the entire code to the notepad?
Why would you need to?

Edited by Atenefyr, 24 April 2015 - 11:38 PM.


#89 biggest yikes

  • Members
  • 573 posts

Posted 30 May 2015 - 04:08 PM

It turns out making a server-side language with Quest's WIFI server is pretty easy. Modifying your quest server so that the code is executed and the return value is sent back instead of code being sent back, you can easily make a lua script using this type of format.
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)
Posted Image

Edited by Atenefyr, 08 June 2015 - 09:08 PM.


#90 Admiraltallcactus

  • Members
  • 10 posts
  • LocationBehind you.

Posted 13 July 2015 - 11:19 PM

Useing MC 1.7.10 and CC1.73 quest was not running and just shutdown my Command Computer

#91 PokeAcer

  • Members
  • 143 posts

Posted 14 July 2015 - 03:07 PM

This is pretty cool! I'll now be making CCML pages for my server.
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.
Another Idea - Krist Support:
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 biggest yikes

  • Members
  • 573 posts

Posted 14 July 2015 - 03:17 PM

View PostPokeAcer, on 14 July 2015 - 03:07 PM, said:

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.
The magic of LuaScript. Well, and an exploit that could be used to download malicious software, but that's okay, right?
<!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 PokeAcer

  • Members
  • 143 posts

Posted 14 July 2015 - 03:41 PM

Thanks!
Also, I get an error when trying to Upload a file - http://prntscr.com/7slwn2

#94 biggest yikes

  • Members
  • 573 posts

Posted 14 July 2015 - 03:57 PM

View PostPokeAcer, on 14 July 2015 - 03:41 PM, said:

Also, I get an error when trying to Upload a file - http://prntscr.com/7slwn2
Uploading files with Quest is pretty much broken.
Quest Host is pretty much obsolete in that sense if you think about it.

Edited by Atenefyr, 14 July 2015 - 03:58 PM.


#95 LewisTehMinerz

  • Members
  • 174 posts
  • LocationMinecraft in Minecraft in Minecraft in ComputerCraft... in Minecraft

Posted 14 July 2015 - 04:26 PM

Hello. I have a problem with uploading files.

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 CherryPie

  • Members
  • 37 posts
  • Location3 Dimensions -> Void -> Universe -> Milky Way -> Cygnus Arm -> Sol -> Earth -> Nevada -> Area 51

Posted 15 July 2015 - 01:53 AM

View PostLewisTehMinerz, on 14 July 2015 - 04:26 PM, said:

Hello. I have a problem with uploading files.

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! :D

#97 PokeAcer

  • Members
  • 143 posts

Posted 15 July 2015 - 06:57 AM

Better idea for .qst because host.qst's upload is broken:
Allow buying of qst domains (Maybe with krist?)

#98 oeed

    Oversimplifier

  • Members
  • 2,095 posts
  • LocationAuckland, New Zealand

Posted 15 July 2015 - 07:10 AM

Yeah, Quest is pretty broken to be honest.

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 biggest yikes

  • Members
  • 573 posts

Posted 15 July 2015 - 07:25 PM

View Postoeed, on 15 July 2015 - 07:10 AM, said:

Yeah, Quest is pretty broken to be honest.
Gotta remember those dang exploits..

View Postoeed, on 15 July 2015 - 07:10 AM, said:

be able to support atleast basic CSS
:D
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 Waitdev_

  • Members
  • 432 posts
  • LocationAdelaide

Posted 20 July 2015 - 04:59 AM

cool program :D
i would use this 100% over firewolf





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users