Blockland Forums > Modification Help
RTB Development
yuki:
--- Quote from: Ephialtes on November 25, 2009, 01:43:56 PM ---What would a cache folder accomplish? Do you mean just to store all the server-downloaded files in?
That'd require some severe hacking of the resource manager which is already pretty hacky as-is and I don't think it'd be worth the effort unless Badspot actually rewrites it at some point.
--- End quote ---
A cache folder would store all of the server-downloaded files, as you said, the point being organization.
Ephialtes:
My hope for RTB is that at some point you just won't have to look in your messy Add-Ons folder ever again (from a normal user's point of view - not a modder or anything) and anything you'd ever want to do in that folder you could do from RTB.
mctwist:
--- Quote from: Ephialtes on November 25, 2009, 11:39:23 AM ---A server is identified by a joint key of it's port and blockland id. Again, you can leave the technical bits to me - it's unlikely that any of you have an adequate understanding of the RTB server architecture to make these kinds of calls and you'd be wasting your time.
--- End quote ---
First paragraph is correct. After that, I know you are really good at what you are doing with RTB, but you are not the only one that can script. Sure, we give all hard work to you. It will be accurate, precise, and secure. Also, you will know exactly how everything is working. But it will take so much time. Badspot has the same problem.
--- Quote from: Ephialtes on November 25, 2009, 01:43:56 PM ---What would a cache folder accomplish? Do you mean just to store all the server-downloaded files in?
--- End quote ---
Store files there temporarily, and when Blockland closes, it clears the folder out.
Kalphiter:
--- Quote from: mctwist on November 25, 2009, 02:07:47 PM ---Store files there temporarily, and when Blockland closes, it clears the folder out.
--- End quote ---
What about irregular quitting? If you close the console window it doesn't go through the quit function.
mctwist:
He could still hack the engine and execute his own function when the game is going down. When pressing the "X", it still needs to throw a PostQuitMessage and leave the head loop.