Jump to content




Quest - The HTML Web Browser for ComputerCraft


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

#21 timia2109

  • Members
  • 71 posts

Posted 05 November 2014 - 09:51 AM

Will there be an API to use Quest in Programs? To run Quest at a specific website (I try quest http://someurl.. And it doesn't work)
And a method to run quest without the banner so that you can create Web Apps.
That would be cool, for Blogs, etc...

Edited by timia2109, 05 November 2014 - 10:04 AM.


#22 CherryPie

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

Posted 07 November 2014 - 06:43 PM

Hi Oeed its a really awesome program :D
But i found some bugs

1st bug: Sometimes quest crashes on startup with a bedrock error and its something with no such color -1

2nd bug: When you click "Choose File" when you want to upload a file to your own site it crashes with this error "quest: 6436: bad argument: table expected, got nil"

3rd bug: If you have many websites in the manage tab and you scroll down the whole screen turns Dark Gray

But overall great program ;)

#23 oeed

    Oversimplifier

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

Posted 07 November 2014 - 10:10 PM

View Posttimia2109, on 05 November 2014 - 09:51 AM, said:

Will there be an API to use Quest in Programs? To run Quest at a specific website (I try quest http://someurl.. And it doesn't work)
And a method to run quest without the banner so that you can create Web Apps.
That would be cool, for Blogs, etc...
Kinda like Node-Webkit? That could work, I'll look in to that.

View Postbumfilur, on 07 November 2014 - 06:43 PM, said:

Hi Oeed its a really awesome program :D
But i found some bugs

1st bug: Sometimes quest crashes on startup with a bedrock error and its something with no such color -1

2nd bug: When you click "Choose File" when you want to upload a file to your own site it crashes with this error "quest: 6436: bad argument: table expected, got nil"

3rd bug: If you have many websites in the manage tab and you scroll down the whole screen turns Dark Gray

But overall great program ;)
It shouldn't be doing that -1 error, can you provide more explanation? Was it running OneOS 1.2?

I'll take a look in that upload and scroll bug too, although some more information about your CC version and OS if you're using one would be good.

#24 CherryPie

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

Posted 08 November 2014 - 11:26 AM

Hi oeed i am not using any OS but i am using CraftOS 1.65 and the -1 error magically disappeared :)

Edited by bumfilur, 08 November 2014 - 11:30 AM.


#25 timia2109

  • Members
  • 71 posts

Posted 09 November 2014 - 09:10 AM

View Postoeed, on 07 November 2014 - 10:10 PM, said:

View Posttimia2109, on 05 November 2014 - 09:51 AM, said:

Will there be an API to use Quest in Programs? To run Quest at a specific website (I try quest http://someurl.. And it doesn't work)
And a method to run quest without the banner so that you can create Web Apps.
That would be cool, for Blogs, etc...
Kinda like Node-Webkit? That could work, I'll look in to that.

Yeah like Node-WebKit. And maybe you can create an API like
quest.openSide("http://someurl.com",true)
--Open the URL and true/false say if it should be full screen or not
quest.openString("The full side as String",true)
--open a string as a side. 

That would be very awesome! :)/>
But quest is also awesome! Well done!

#26 1lann

  • Members
  • 516 posts
  • LocationSeattle

Posted 10 November 2014 - 11:14 AM

Looks awesome! A suggestion would be to have some form of DNS like system, where you can host a site on http://quest.net76.net/sites/ or whatever, that is special and basically creates a frame or redirect to a URL to another server, so URLs from free web app sites (heroku/google app engine) won't be as messy.

Here's an example for clarity:
I register a site: http://quest.net76.net/sites/my-chat/ (or http://my-chat.qst)
The contents would be something like:
REDIRECT: http://my-chat.appspot.com

So when I access http://my-chat.qst, in the background it accesses http://my-chat.appspot.com, but doesn't show that in the URL bar.
So requests like: http://my-chat.qst/d...stuff=morestuff will become http://my-chat.appsp...stuff=morestuff but the URL keeps its http://my-chat.qst form.

Edited by 1lann, 10 November 2014 - 11:14 AM.


#27 oeed

    Oversimplifier

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

Posted 10 November 2014 - 11:57 AM

View Post1lann, on 10 November 2014 - 11:14 AM, said:

Looks awesome! A suggestion would be to have some form of DNS like system, where you can host a site on http://quest.net76.net/sites/ or whatever, that is special and basically creates a frame or redirect to a URL to another server, so URLs from free web app sites (heroku/google app engine) won't be as messy.

Here's an example for clarity:
I register a site: http://quest.net76.net/sites/my-chat/ (or http://my-chat.qst)
The contents would be something like:
REDIRECT: http://my-chat.appspot.com

So when I access http://my-chat.qst, in the background it accesses http://my-chat.appspot.com, but doesn't show that in the URL bar.
So requests like: http://my-chat.qst/d...stuff=morestuff will become http://my-chat.appsp...stuff=morestuff but the URL keeps its http://my-chat.qst form.

I was thinking about doing something like that early on. I couldn't think of a good way to do it, but that sounds like it'll work well.

#28 lebuildman

  • Members
  • 39 posts

Posted 10 November 2014 - 03:37 PM

My Suggestions:
1. Lua used as Javascript (I think that LuaScript will do this)
2. Bedrock API use (I think that is lQuery will do this)
3. Lua used as PHP (PHP is better than JS in somecases...)
4. Enter http://example.com try access: index.ccml, index.html, index.php, etc (So We can make a parallel website in ccml without needing to interfer in original website)
5. DTD-like for DOCTYPE (So we can make our self tags)
6. Rename DOCTYPE to other tag (Suggestion: <SUBDOCTYPE>), and make Quest Ignore it (So with a DOCTYPE and a Custom DTD for Quest Tags we can make browsers like Chrome can have some kind of accesibility to it.)

My Questions:
1. Quest works with PHP and other ServerSide Programs?
2. Quest is enabled to enter other sites like example.com?
3. (Maybe using DTDs) Is there a way to access to the CCML with Browsers?

#29 Saldor010

  • Members
  • 467 posts
  • LocationThe United States

Posted 10 November 2014 - 03:46 PM

View PostJiloacom, on 05 November 2014 - 12:03 AM, said:

View Postoeed, on 04 November 2014 - 08:46 PM, said:

View PostJiloacom, on 04 November 2014 - 01:56 PM, said:

Every time I open up Quest (on both my own world, and on Grim's server), it just refuses to connect. It's stuck on "loading...". I've tried manually putting in "http://thehub.qst" I've tried clicking "Go Home" but none of those work..

EDIT: Sometimes, it will pop up with "Page Load Cancelled", but sometimes it still just keeps "Loading..."
Hmm, I presume registering worked. Maybe try going to google.com, it should complain about the doctype being wrong. I'll take a look on Grim's server and see what the problem is. What CC version out of curiosity?

Nope. Google.com just comes up with "loading..." again.
Computercraft is 1.63


#30 oeed

    Oversimplifier

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

Posted 10 November 2014 - 08:25 PM

View Postlebuildman, on 10 November 2014 - 03:37 PM, said:

My Suggestions:
1. Lua used as Javascript (I think that LuaScript will do this)
2. Bedrock API use (I think that is lQuery will do this)
3. Lua used as PHP (PHP is better than JS in somecases...)
4. Enter http://example.com try access: index.ccml, index.html, index.php, etc (So We can make a parallel website in ccml without needing to interfer in original website)
5. DTD-like for DOCTYPE (So we can make our self tags)
6. Rename DOCTYPE to other tag (Suggestion: <SUBDOCTYPE>), and make Quest Ignore it (So with a DOCTYPE and a Custom DTD for Quest Tags we can make browsers like Chrome can have some kind of accesibility to it.)

My Questions:
1. Quest works with PHP and other ServerSide Programs?
2. Quest is enabled to enter other sites like example.com?
3. (Maybe using DTDs) Is there a way to access to the CCML with Browsers?

Many of these have already been discussed, but maybe it was on the old topic.

1. That's already there, just basic.
2. Ditto
3. As I've belonged, there's coming.
4. That has worked since the very first prerelease
5. Don't really see the point, but I'll look in to it.
6. CCML pages still work on Chrome and other brothers.

1. Yes
2. Yes.
3. Yes, have you tried?

Sorry if I'm coming across as a bit rude, but the answers are already out there or easy to test


#31 TheEvilSocks

  • Members
  • 22 posts

Posted 11 November 2014 - 12:56 PM

Just downloaded it for the first time and it gave me an error:

Bedrock:2178: The view: main.view does not exist.


Was because of my 'os'

Great program nicely done!

edit:
This file is crashing quest:

Filename: test.php
<!DOCTYPE ccml>
  <?php

  ?>

Error I get:
WebView (Bedrock API):19: attempt to index ? (a nil value)

There's no way that error is because of the file.Please fix it.

EDIT 2:
Tried your host without PHP instead to test around, gives an error when clicking the 'Choose file..' button.

I'll try again when there's a working version of this.

Edited by TheEvilSocks, 11 November 2014 - 02:47 PM.


#32 1lann

  • Members
  • 516 posts
  • LocationSeattle

Posted 11 November 2014 - 04:01 PM

View PostTheEvilSocks, on 11 November 2014 - 12:56 PM, said:

Error I get:
WebView (Bedrock API):19: attempt to index ? (a nil value)

There's no way that error is because of the file.Please fix it.

EDIT 2:
Tried your host without PHP instead to test around, gives an error when clicking the 'Choose file..' button.

I'll try again when there's a working version of this.

"There's no way that error is because of the file"

Lol wut, I don't know where you get that assumption from because it is... (considering every other site works fine)
Anywho, the problem is because you don't have a body set, and in the source code of quest it says:
--TODO: check that body exists, if not redirect to an error page
So it will soon have an error page some time in the future to remind you of this.

Also, what's the error with clicking on the 'Choose file...' button?

Edited by 1lann, 11 November 2014 - 04:03 PM.


#33 TheEvilSocks

  • Members
  • 22 posts

Posted 11 November 2014 - 06:45 PM

View Post1lann, on 11 November 2014 - 04:01 PM, said:

View PostTheEvilSocks, on 11 November 2014 - 12:56 PM, said:

Error I get:
WebView (Bedrock API):19: attempt to index ? (a nil value)

There's no way that error is because of the file.Please fix it.

EDIT 2:
Tried your host without PHP instead to test around, gives an error when clicking the 'Choose file..' button.

I'll try again when there's a working version of this.

"There's no way that error is because of the file"

Lol wut, I don't know where you get that assumption from because it is... (considering every other site works fine)
Anywho, the problem is because you don't have a body set, and in the source code of quest it says:
--TODO: check that body exists, if not redirect to an error page
So it will soon have an error page some time in the future to remind you of this.

Also, what's the error with clicking on the 'Choose file...' button?
About the PHP error: I didn't check the source, my apologies.

Error I get when clicking the Choose file button: quest:6436: bad argument: table expected, got nil
Sorry if I sound like a bitch, I haven't slept this night. (Of course not you problem. but might mention it.)

#34 oeed

    Oversimplifier

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

Posted 11 November 2014 - 08:17 PM

View PostTheEvilSocks, on 11 November 2014 - 12:56 PM, said:

Just downloaded it for the first time and it gave me an error:

Bedrock:2178: The view: main.view does not exist.


Was because of my 'os'

Great program nicely done!

edit:
This file is crashing quest:

Filename: test.php
<!DOCTYPE ccml>
  <?php

  ?>

Error I get:
WebView (Bedrock API):19: attempt to index ? (a nil value)

There's no way that error is because of the file.Please fix it.

EDIT 2:
Tried your host without PHP instead to test around, gives an error when clicking the 'Choose file..' button.

I'll try again when there's a working version of this.
Well yea... That file will error because it's blatantly invalid. It doesn't even have html tags. As 1lann said, I need to add a check, but it's fairly obvious I would've thought that at the very least it's not going run normally.

View PostTheEvilSocks, on 11 November 2014 - 06:45 PM, said:

View Post1lann, on 11 November 2014 - 04:01 PM, said:

View PostTheEvilSocks, on 11 November 2014 - 12:56 PM, said:

Error I get:
WebView (Bedrock API):19: attempt to index ? (a nil value)

There's no way that error is because of the file.Please fix it.

EDIT 2:
Tried your host without PHP instead to test around, gives an error when clicking the 'Choose file..' button.

I'll try again when there's a working version of this.

"There's no way that error is because of the file"

Lol wut, I don't know where you get that assumption from because it is... (considering every other site works fine)
Anywho, the problem is because you don't have a body set, and in the source code of quest it says:
--TODO: check that body exists, if not redirect to an error page
So it will soon have an error page some time in the future to remind you of this.

Also, what's the error with clicking on the 'Choose file...' button?
About the PHP error: I didn't check the source, my apologies.

Error I get when clicking the Choose file button: quest:6436: bad argument: table expected, got nil
Sorry if I sound like a bitch, I haven't slept this night. (Of course not you problem. but might mention it.)
What site are you using the choose file button on? Quest host? If so are you sure you're not using an OS?

#35 TheEvilSocks

  • Members
  • 22 posts

Posted 11 November 2014 - 09:19 PM

View Postoeed, on 11 November 2014 - 08:17 PM, said:

View PostTheEvilSocks, on 11 November 2014 - 12:56 PM, said:

Just downloaded it for the first time and it gave me an error:

Bedrock:2178: The view: main.view does not exist.


Was because of my 'os'

Great program nicely done!

edit:
This file is crashing quest:

Filename: test.php
<!DOCTYPE ccml>
  <?php

  ?>

Error I get:
WebView (Bedrock API):19: attempt to index ? (a nil value)

There's no way that error is because of the file.Please fix it.

EDIT 2:
Tried your host without PHP instead to test around, gives an error when clicking the 'Choose file..' button.

I'll try again when there's a working version of this.
Well yea... That file will error because it's blatantly invalid. It doesn't even have html tags. As 1lann said, I need to add a check, but it's fairly obvious I would've thought that at the very least it's not going run normally.

View PostTheEvilSocks, on 11 November 2014 - 06:45 PM, said:

View Post1lann, on 11 November 2014 - 04:01 PM, said:

View PostTheEvilSocks, on 11 November 2014 - 12:56 PM, said:

Error I get:
WebView (Bedrock API):19: attempt to index ? (a nil value)

There's no way that error is because of the file.Please fix it.

EDIT 2:
Tried your host without PHP instead to test around, gives an error when clicking the 'Choose file..' button.

I'll try again when there's a working version of this.

"There's no way that error is because of the file"

Lol wut, I don't know where you get that assumption from because it is... (considering every other site works fine)
Anywho, the problem is because you don't have a body set, and in the source code of quest it says:
--TODO: check that body exists, if not redirect to an error page
So it will soon have an error page some time in the future to remind you of this.

Also, what's the error with clicking on the 'Choose file...' button?
About the PHP error: I didn't check the source, my apologies.

Error I get when clicking the Choose file button: quest:6436: bad argument: table expected, got nil
Sorry if I sound like a bitch, I haven't slept this night. (Of course not you problem. but might mention it.)
What site are you using the choose file button on? Quest host? If so are you sure you're not using an OS?
I am using the Choose File button on host.qst
I'm not running a different other than CraftOS 1.6

EDIT:
Even crafting a new computer and downloading quest didn't fix it.

EDIT2:
I installed OneOS on the computer and the button works fine.

Edited by TheEvilSocks, 12 November 2014 - 09:47 AM.


#36 oeed

    Oversimplifier

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

Posted 12 November 2014 - 04:09 AM

Due to a bit of stupidity and not knowing the Ts and Cs of 000webhost my account has been suspended, and to unsuspend it I need to upgrade.....

Basically, I was trying to send an email to everyone in a database for a non-CC related thing and yea, apparently you can't send 120 emails in 3 seconds without someone getting annoyed.

Anyway, I've decided to just bite the bullet and pay for hosting (but with an completely different company). The plan I've got allows me to host as many sites as I want on the same sever, so I'll be moving everything across. This means Quest and the App Store will be moving across, which is good because it'll mean that it should work with everyone and if it doesn't I can whinge to the hosting company. For the App Store, while I do currently use a .com domain I'll move it to appstore.olivercooper.me just so I don't have to keep spending money on it really. I'll also be dropping the oeed.me domain which I've never really used. Quest will also move to quest.olivercooper.me.

So, this means that soon (basically once the DNS servers update) I'll post an update which uses the new domain. I'll also change the Hub home page to a message saying you need to update.

#37 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 12 November 2014 - 05:18 AM

View Postoeed, on 12 November 2014 - 04:09 AM, said:

Basically, I was trying to send an email to everyone in a database for a non-CC related thing and yea, apparently you can't send 120 emails in 3 seconds without someone getting annoyed.

Yeaaah, try not to look like a spammer when using free web hosting services. ;)

#38 SpencerBeige

  • Members
  • 263 posts

Posted 14 November 2014 - 12:29 AM

for server address, i type something to make a server, and it says Invalid Address. as always oeed, yer programs hate me :'[

#39 oeed

    Oversimplifier

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

Posted 14 November 2014 - 12:39 AM

View Postslow-coder, on 14 November 2014 - 12:29 AM, said:

for server address, i type something to make a server, and it says Invalid Address. as always oeed, yer programs hate me :'[

What did you type in? I don't think you can have .com or anything, it only supports single words.

#40 willwac

  • Members
  • 182 posts

Posted 22 November 2014 - 12:44 AM

I've been contributing to the Wiki when I can.
Also, I added a gist, but I probably won't be updating it.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users