The mud I'm running doesnt have copyover in yet, and was wanting to put it in. Whats the easiest way to put one in. the copyover snippet on here won't patch into it.
Yeah, I forgot when I put this code backup that it was an older version cuz i lost my updated one that had copyover in it, I've not done this in awhile and feel like kabob skewers are stabbing me in the face
There are patch files for ROM, Circle, and Smaug. If you code has been modified, you probably won't be able to actually 'patch' it in, but you can follow the file by hand, using the diffs as a rough guide to find the appropriate areas in your code. If you need a example of copyover installed and working properly, download a codebase you're familiar with (QuickMUD, SmaugFUSS, etc.) and look it over.
Lastly, read through the copyover code and where it hooks in and think about what it's doing, then think about any changes you've made in the past and ask yourself if copyover breaks them, or if they break copyover.
The basic idea of copyover is simple enough, just make sure you save states that you need to restore afterwards (IE: If you want active combat to continue, or rooms with players in them to NOT reset, etc). Also, while player sockets can generally be restored with no effort, connections to databases or IMC2/I3 may need to be closed and re-opened to ensure internal states are in sync with the other end.
Of course, ideally you don't need to reboot your game often enough for it to matter. You are doing all your coding and debugging on a test copy, right?
Nah this is the test copy. I'm not putting it up for general play for AWHILE, though its ready to go. It does have a reboot function that allows the startup script to stay put and it reboots automatically, but copyover is just nice to have for the small fixes with color and all that stuff.