|
||
|
|||||||
| Other Cant find a category above, use this one! Core mods not listed above go here! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Novice
Join Date: Jul 2003
Posts: 158
|
I noticed that there's now a console control event handler in version 2.0, but the way it is causes the server to shutdown upon logout even if it's running as a service. I simply added the following to OnConsoleEvent above if( World.Saving ):
Code:
if ( type == ConsoleEventType.CTRL_LOGOFF_EVENT ) return true; Code:
if ( type == ConsoleEventType.CTRL_LOGOFF_EVENT && m_Service ) return true; |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|