ID:1243790
|
|
I really need an update ingame, but not found any demo you can help me :(, someone here has a demo or could help me pls!!!!!
|
Apr 22 2013, 9:14 am
|
|
Update the files and reboot the server. Why exactly can't you do that?
|
Make sure to exit out the game and reboot the server, if you're replacing an interface or icon or as such. (if your coding from the host pc).
|
If you are asking how to do live updates, as in, changing the game while it is still online, there isn't exactly A demo that will do this.
It really depends on what you are trying to change. For changing maps, you would need to use some kind of map loading system in order to change it while the game was live. For almost everything else, you'd need a modular, file-based system for handling behaviors and data. |
I have a dedicated, would like to update the game without turning off the dedicated to put new files on it, I want to send the DMB and RSC through the game
|
In response to Tendo001
|
|
Tendo001 wrote:
verb update? There are many ways to update your game without rebooting i do mine with storing information with MySQL i stored abunch of possible behaviors in the database and store all attacks in the database with damage,behavior type etc. as well i can also create new items from my database new npc's. And there are some map handling libraries around i like dmm_suite myself which will allow you to load/save maps on request. |
You aren't going to be able to directly send the .dmb and .rsc without killing the server first. BYOND expects the executables and resource cache to be a constant.
You can add resources through browse(), but you already have to have that behavior implemented in the game. |
In response to Tendo001
|
|
Tendo001 wrote:
I could use the preload_rsc he would update my game? No. |
I've honestly NEVER encountered a game that could self-update without killing the server first. Meaning, ANY game, ever. Especially if the update is coded. If all you're looking to do is edit your variables and whatnot, you can do that in-game at anytime, but what you're asking is just not possible. The player's game is using the .rsc cache at all times. If you tried updating their .rsc mid-game, it would crash anyways. Why not just play it safe and close the server manually?
I mean, really. What's so hard about putting up an announcement saying: We will be closing the servers [Month] [Day] at [Time] for the [New Game Version] update! Servers will be back up by [Short Time Later]. |