Page 1 of 1

Shutting down eq2server

Posted: Mon Dec 25, 2017 1:20 pm
by Gangrenous
Anyone ever figure out why the executable refuses to close most of the time? I think if you just start and end, it works. Once one player enters the game, the executable will not close even if all players are logged out. I have been poking around in the source but have yet to figure out where it is hanging.

14:11:31 D World : Shutting down zones...
14:11:31 I World : Shutting down all zones, please wait...
14:11:31 D CClient : Client Disconnect...
14:11:31 D Player : Saving History for Player: Test'
14:11:31 D Player : Saving LUA History for Player: 'Test'
14:11:31 D Zone : Sending login equipment appearance updates...
14:11:31 D Zone : Removing client 'Test' (129) due to some client zoning...
14:11:31 D Zone : Calling clients.Remove(client)...
14:11:31 I Zone : Scheduling client 'Test' for removal.
14:11:31 D Player : Toggling Character OFFLINE!
14:11:31 I Zone : Initiating zone shutdown of 'QueensColony'
14:11:31 I Zone : Completed zone shutdown of 'QueensColony'
14:11:31 I World : Zone shutdown complete
14:11:31 D World : Shutting down LUA interface...
14:11:31 D World : Removing connection...
14:11:31 I World : Exiting... we hope you enjoyed your flight.
^C14:11:32 W World : Got signal 2

Re: Shutting down eq2server

Posted: Tue Dec 26, 2017 6:23 pm
by tyrbo
Go find the try/catch block that everything is sitting in where it logs out the "Caught signal whatever" and remove it.
Then see what happens with gdb or something running.

Re: Shutting down eq2server

Posted: Tue Dec 26, 2017 7:08 pm
by Gangrenous
What I ended doing was changing my source to force a close if it did not close normally. I am not that proficient to track down what is not exiting gracefully. So far this fix is working perfectly.