This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
[FTB]HTTP Api not working
Started by Ace_case, 14 December 2012 - 12:55 AMPosted 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.
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).
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).
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
http://puu.sh/1ArUt
the http feild needs to be "true" no caps
Posted 14 December 2012 - 03:54 AM
Why is your default block ID so high????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
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?
Posted 14 December 2012 - 04:33 AM
forge ids have a max of 5001 .-.
Posted 14 December 2012 - 06:17 AM
Ahem. *4096 :P/>forge ids have a max of 5001 .-.
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?
Posted 14 December 2012 - 07:44 AM
it is no different from the client, i copied the client config to the serverYes, 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?
Posted 14 December 2012 - 09:10 AM
Exactly. Forge shifts indexes out of the 256 range to make way for terrain blocks.
Posted 14 December 2012 - 09:26 AM
So how come my ids are 207-210? Is mine wrong, or what?
Posted 14 December 2012 - 09:34 AM
Existing config ID's are used if available.