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

pastebin get does not work, and also get a lot of nil value errors.

Started by Dekken, 19 February 2013 - 04:55 AM
Dekken #1
Posted 19 February 2013 - 05:55 AM
Hello,

I am using the FTB mod pack, and I run a server for my friends on my own local computer.
Whenever I try to use pastebin get, I get the following message:
"Pastebin requires http API Set enableAPI_http to 1 in mod_computerCraft.cfg"
I do have it set to 1, and yet it does not work.

Here is my config, that is located here: "FTBBetaA_Server\config\mod_computerCraft.cfg"
#MLProperties: name (type:default) min:max -- information
#MLProp : computerBlockID (int:207,>=0.0,<=4095.0) -- The Block ID for Computers
#MLProp : diskDriveBlockID (int:208,>=0.0,<=4095.0) -- The Block ID for all Peripherals
#MLProp : diskItemID (int:4000,>=0.0,<=65279.0) -- The Item ID for Floppy Disks
#MLProp : enableAPI_http (int:1,>=0.0,<=1.0) -- Enable the "http" API on Computers
#MLProp : terminal_width (int:51,>=1.0,<=255.0) -- The width of Computer screens, in characters
#MLProp : terminal_height (int:19,>=1.0,<=255.0) -- The height of Computer screens, in characters
#MLProp : terminal_textColour_r (int:255,>=0.0,<=255.0) -- The text color of Computer screens (red component)
#MLProp : terminal_textColour_g (int:255,>=0.0,<=255.0) -- The text color of Computer screens (green component)
#MLProp : terminal_textColour_b (int:255,>=0.0,<=255.0) -- The text color of Computer screens (blue component)
#MLProp : modem_range (int:64,>=0.0,<=100000.0) -- The range of Wireless Modems at low altitude in clear weather, in meters
#MLProp : modem_highAltitudeRange (int:384,>=0.0,<=10000.0) -- The range of Wireless Modems at maximum altitude in clear weather, in meters
#MLProp : modem_rangeDuringStorm (int:16,>=0.0,<=100000.0) -- The range of Wireless Modems at low altitude in stormy weather, in meters
#MLProp : modem_highAltitudeRangeDuringStorm (int:64,>=0.0,<=100000.0) -- The range of Wireless Modems at maximum altitude in stormy weather, in meters
#MLProp : computerSpaceLimit (int:2097152,>=0.0) -- The disk space limit for computers and turtles, in bytes (0 is unlimited)
#MLProp : floppySpaceLimit (int:512000,>=0.0) -- The disk space limit for floppy disks, in bytes (0 is unlimited)
#
#Wed Aug 08 13:24:02 EDT 2012
terminal_width=51
modem_highAltitudeRangeDuringStorm=64
terminal_textColour_g=255
modem_rangeDuringStorm=32
computerBlockID=1225
computerSpaceLimit=2097152
diskItemID=4000
diskDriveBlockID=1226
enableAPI_http=1
terminal_textColour_b=255
floppySpaceLimit=512000
modem_highAltitudeRange=384
terminal_textColour_r=255
modem_range=256
terminal_height=19

I googled for hours, an tried everything I could think of.
Any idea why it is not working?

I have been trying to download several different programs, and they all come with the same output. saying http is not enabled.

Thanks!
Lyqyd #2
Posted 19 February 2013 - 06:43 AM
Split into new topic.

Try setting it to true.
Dekken #3
Posted 19 February 2013 - 08:08 AM
Split into new topic.

Try setting it to true.
Thanks.

I tried, same thing.
zekesonxx #4
Posted 19 February 2013 - 11:25 AM
Did you restart Minecraft?

ComputerCraft only reads the config when you first load Minecraft, not whenever it needs to check a value.
Dekken #5
Posted 20 February 2013 - 08:25 AM
Yes I did, still the same results.
Even re-installed the server, nothing seems to work.
Shrooblord #6
Posted 20 February 2013 - 08:35 AM
You also have a config file in the place FTB is installed itself; mine for example is in C:\Program Files\Minecraft\FeedTheBeast\Direwolf20\minecraft\config. Maybe you need to set something in there (the clientside) too.
immibis #7
Posted 20 February 2013 - 02:04 PM
That's the old config file.
It's now config\ComputerCraft.cfg.
Shrooblord #8
Posted 21 February 2013 - 01:44 AM
Is that with the most recent update (from a couple of days ago)? Because I haven't updated yet (due to personal reasons) and when I change something in the config file I listed, the effects are noticeable.
Dekken #9
Posted 25 February 2013 - 09:44 AM
That's the old config file.
It's now mods\ComputerCraft.cfg.
I do not see a config file there.
It is still located in the config folder, and I am using the latest Mindcrack version.
immibis #10
Posted 25 February 2013 - 12:16 PM
That's the old config file.
It's now mods\ComputerCraft.cfg.
I do not see a config file there.
It is still located in the config folder, and I am using the latest Mindcrack version.
I meant config, it's config\ComputerCraft.cfg - unless either FTB Beta A is using an old version, or ComputerCraft supports reading the old config as well as the new one.