This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
syfygirl's profile picture

Weby -- the first multi-universe web browser

Started by syfygirl, 29 April 2014 - 07:28 PM
syfygirl #1
Posted 29 April 2014 - 09:28 PM
hi i am new to the computercraft forums :D/> . I built this program, Weby, so that anyone from any server (running computercraft with internet) can access a website.

to get program type: pastebin get pxa5wdRW


to access a website you would type 'website name.ma'

currently I only have weby.ma as the website

——————————————————————–
how to make a website
——————————————————————–

to make a website just make a lua coded file and name it name.ma and send it to me at unixforminecraft@gmail.com
CometWolf #2
Posted 29 April 2014 - 10:18 PM
I don't get it… This appears to be a glorified shell.run?
syfygirl #3
Posted 29 April 2014 - 10:21 PM
sorta, you can run a website from any server
Saldor010 #4
Posted 29 April 2014 - 11:50 PM
test:42:attempt to index ? (a nil value)

This is what it errored with when I tried running the installer. Also, the buttons confused me at first. I thought you were supposed to click them, and after 10 seconds of trying to figure them out, I realized you used the arrow keys. A good button system should be intuitive. I can't really say much else on the subject, considering your installer broke before it had a chance to install.
syfygirl #5
Posted 30 April 2014 - 12:57 AM
Do you have http api enabled?
Saldor010 #6
Posted 30 April 2014 - 01:41 AM
Do you have http api enabled?

Yes, otherwise I couldn't have downloaded the installer. :rolleyes:/>
syfygirl #7
Posted 30 April 2014 - 01:50 AM
If you would be be so kind to try the installer again :)/> there is so much that can go wrong in a download
Saldor010 #8
Posted 30 April 2014 - 02:05 AM
If you would be be so kind to try the installer again :)/> there is so much that can go wrong in a download

I tried it about 3 times. Unless you're wanting me to re-download the installer?
syfygirl #9
Posted 30 April 2014 - 03:29 AM
i have updated the installer i am terribly sorry i cannot post more often i am having thunderstorms
Saldor010 #10
Posted 30 April 2014 - 02:30 PM
Okay, I've done a little debugging on your installer. The content does indeed have content in it, so that's not the problem. I also tried changing it to f.write("hi!"), but it still errored, so I don't know. Also, I'm running this on Computercraft 1.5 (Tekkit Lite).
syfygirl #11
Posted 30 April 2014 - 03:19 PM
Ok thanks that means that its not opening the file properly, probably
syfygirl #12
Posted 30 April 2014 - 03:55 PM
do you use windows? If so you need to check some thingS:


in computercraft type

Lua


Then

Fs.makeDir("/weby")

Exit()
Edited on 30 April 2014 - 01:56 PM
Saldor010 #13
Posted 30 April 2014 - 05:01 PM
do you use windows? If so you need to check some thingS:


in computercraft type

Lua


Then

Fs.makeDir("/weby")

Exit()

Lua is case sensitive, so obviously none of those worked. They did work however when I removed the first letter capitalization.
syfygirl #14
Posted 30 April 2014 - 06:08 PM
I just relised that android capitolizes every new sentance sorry :D/>
Edited on 30 April 2014 - 04:10 PM
Agoldfish #15
Posted 30 April 2014 - 07:20 PM
Yep. Another glorified shell.run().
syfygirl #16
Posted 30 April 2014 - 08:23 PM
Do to errors and complaints saying its just a shell.run program i'm abandoning the project :(/>
Agoldfish #17
Posted 30 April 2014 - 09:25 PM
Do to errors and complaints saying its just a shell.run program i'm abandoning the project :(/>
Do to errors and complaints saying its just a shell.run program i'm abandoning the project :(/>
You don't have to quit! It's just a start, wasn't Windows just a keyboard and a black screen when it first started?
syfygirl #18
Posted 30 April 2014 - 09:59 PM
alright, well technically windows started with a kernel and file system, not a black screen. although i do often get blue screens :D/>
Edited on 30 April 2014 - 08:00 PM
Agoldfish #19
Posted 01 May 2014 - 12:13 AM
alright, well technically windows started with a kernel and file system, not a black screen. although i do often get blue screens :D/>
I'm being encouraging, don't make me stop. :P/>
CoLDarkness #20
Posted 01 May 2014 - 01:07 PM
A little basic but if you can make some stuff with PHP and automatic website creating, would be great.