View previous topic :: View next topic |
Author |
Message |
Disco
Joined: 06 Dec 2006 Posts: 152
|
Posted: Wed Oct 03, 2007 16:51 Post subject: Some weirdness with closing the server... |
|
|
Hey,
I have some strange behaviour and somebody might be able to explain me why this happens.
I want to do this:
* save all players (export + database)
* boot all players
* close NWN server
* NWNX2 restarts server & module
Saving is rather straightforward and either booting or reloading work fine. The combination is eluding me: if I boot all players first NWNX refuses to close the server, and if I close first the players stay in a disconnected area (ie: aren't booted).
I know it's some timing issue, but the logic behind it I do not comprehend.
Putting the closing script (it puts an NWNX local on oModule) in a dedicated script and calling it with a delayed ExecuteScript helps a bit, but for some reason that interferes with the save function.
Anyway... does this ring a bell? |
|
Back to top |
|
|
Disco
Joined: 06 Dec 2006 Posts: 152
|
Posted: Thu Oct 04, 2007 10:05 Post subject: |
|
|
Found out what caused the problem ... I tested with an item on my own character, so when the character was booted the script call for closing the server was also gone. |
|
Back to top |
|
|
|