Shutting down eq2server

Support forum for questions about compiling and running EQ2Emulator on Linux.

Moderator: Team Members

Post Reply
User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Shutting down eq2server

Post by Gangrenous » Mon Dec 25, 2017 1:20 pm

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
Last edited by Gangrenous on Wed Dec 27, 2017 8:13 pm, edited 1 time in total.
Resident Dirty Hippy

tyrbo
Team Member
Posts: 271
Joined: Thu Feb 18, 2016 12:33 pm

Re: Shutting down eq2server

Post by tyrbo » Tue Dec 26, 2017 6:23 pm

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.

User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Re: Shutting down eq2server

Post by Gangrenous » Tue Dec 26, 2017 7:08 pm

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.
Resident Dirty Hippy

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests