IMM_COPYOVER

Keywords: IMM_COPYOVER, WIZ_COPYOVER

Category: Admin

=== STAFF MANUAL === Usage: copyover Description: Hot-reboot the MUD without disconnecting players. Socket connections are inherited by the new server process, so players remain connected across the restart. Use this to load new code changes and fully clear deleted entities. Requires Admin privileges. Process: 1. Playing characters are saved (character + object file). Connections not yet in-game are dropped with a "come back in a few minutes" message. 2. Socket descriptors and hostnames are written to a recovery file for the new process to resume. 3. All pending OLC changes are flushed to disk. 4. Persistent objects, house contents, and clans are saved. 5. The Discord bridge is shut down. 6. The server exec()'s the new binary. Descriptors are inherited -- players see the reboot message and resume seamlessly. Messages: All connected players see: *** COPYOVER by YourName - please remain seated! Non-playing connections (login screen, etc.) see: Sorry, we are rebooting. Come back in a few minutes. Notes: - Compression is stopped on all connections before exec. - If the exec fails, the server exits immediately -- there is no recovery path. - Zone resets run after the new process boots, repopulating all zones fresh. - Logged as "COPYOVER by <name>". Related Helpfiles: WIZ_REBOOT, WIZ_SHUTDOWN === END MANUAL ===