Blockland Forums > Modification Help
Revenge of the TCP object [Solved]
jes00:
--- Quote from: Ephialtes on May 06, 2012, 03:12:21 PM ---It's called RTB, you might have heard of it.
--- End quote ---
I want it to do it this way if they do not have RTB. Notice how it does not run the check if they have RTB.
Port:
--- Quote from: Slicks555 on May 06, 2012, 08:32:46 PM ---What does that even do? Does it shoot rays to see where the terrain is and place bricks there or something?
--- End quote ---
#1: embedded loops for x, y
#2: z = getTerrainHeight(x, y)
#3: place brick at x, y, z
Slicks555:
--- Quote from: Port on May 07, 2012, 06:52:42 AM ---#1: embedded loops for x, y
#2: z = getTerrainHeight(x, y)
#3: place brick at x, y, z
--- End quote ---
Ah, well mine was a complete guess but yeah, I figured when he said it was more efficient.
Ipquarx:
--- Quote from: jes00 on May 06, 2012, 06:27:01 AM ---%req = "GET /get/ColorSetMaker_Version.txt?w=1fc5f9ab HTTP/1.1\r\n";
--- End quote ---
I tried that form of GET request("GET" SPC %File SPC "HTTP/1.1\r\n") and it gave me a 408 timeout error.
I fiddled around (alot), and I found that this worked perfectly when I used it:
%Req = "GET " @ %File @ " HTTP/1.1\r\nHost: " @ %Server @ "\r\n\n";
Hopefully it works for you too.
Ephialtes:
You should be using the public address to the file, not the private one ... a public one looks like this:
http://dl.dropbox.com/u/12345678/file.whatever