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

[FTB]HTTP Api not working

Started by Ace_case, 14 December 2012 - 12:55 AM
Ace_case #1
Posted 14 December 2012 - 01:55 AM
On a server a I play on, the owner enabled the http api and then restarted the server. I went to my computer to test it and both pastebin and http(done from lua) weren't working. Not sure what else to add. I'll see if I can get more information if you guys need it.
huettner94 #2
Posted 14 December 2012 - 03:45 AM
If the http api is enabled it should work.
To confirm that it is really activated you can go in the LUA interpreter and enter "http" (without the quotes).
If it returns a table the http api is enabled (otherwise nil).
PixelToast #3
Posted 14 December 2012 - 03:51 AM
http is enabled on my server, here is my config with the default ids:
http://puu.sh/1ArUt
the http feild needs to be "true" no caps
Cranium #4
Posted 14 December 2012 - 03:54 AM
http is enabled on my server, here is my config with the default ids:
http://puu.sh/1ArUt
the http feild needs to be "true" no caps
Why is your default block ID so high????
I thought that the default ids were 207-210? That's what it is on SSP. Why is forge changing it like that for servers?
PixelToast #5
Posted 14 December 2012 - 04:33 AM
forge ids have a max of 5001 .-.
Tiin57 #6
Posted 14 December 2012 - 06:17 AM
forge ids have a max of 5001 .-.
Ahem. *4096 :P/>
Cranium #7
Posted 14 December 2012 - 06:33 AM
Yes, but Why is the server config made so high? Default client ids are 207-210. Why does it do the opposite end of the spectrum for servers?
PixelToast #8
Posted 14 December 2012 - 07:44 AM
Yes, but Why is the server config made so high? Default client ids are 207-210. Why does it do the opposite end of the spectrum for servers?
it is no different from the client, i copied the client config to the server
Cloudy #9
Posted 14 December 2012 - 09:10 AM
Exactly. Forge shifts indexes out of the 256 range to make way for terrain blocks.
Cranium #10
Posted 14 December 2012 - 09:26 AM
So how come my ids are 207-210? Is mine wrong, or what?
Cloudy #11
Posted 14 December 2012 - 09:34 AM
Existing config ID's are used if available.