8 posts
Posted 03 June 2012 - 06:03 PM
Whenever I try to Upload or download something to pastebin it says its connecting and then has an error when dowloading on line 75 or when uploading on line 34, any ideas?
65 posts
Location
The Internet
Posted 03 June 2012 - 06:07 PM
is http API on?
8 posts
Posted 03 June 2012 - 06:11 PM
Yes, and I forgot to add that the error is "attempt to index ? (a nil value)"
65 posts
Location
The Internet
Posted 03 June 2012 - 06:29 PM
Are you spelling the name/code correctly when uploading/downloading the files? Having it incorrect could cause a nil value to occur, although for downloading you would usually get a failed message…
8 posts
Posted 03 June 2012 - 06:37 PM
yes, I'm spelling them correctly, or I've screwed it up over 20 times straight, which i kind of doubt, but i cant even look at the code because when i try to edit pastebin it just makes a blank programs…
1604 posts
Posted 03 June 2012 - 07:24 PM
What forge version are you using? Cause there's a bug (I don't remember in wich version is) that doesn't load the config, so you can't enable the http api. Try using the latest and it should work.
Also, to see one of the default programs in-game you have to use "edit /rom/programs/<Program Name>".
8 posts
Posted 03 June 2012 - 08:12 PM
Apparently the server rolled back and it turned the API off after we turned it on… Doh…