View previous topic :: View next topic |
Author |
Message |
ShaDoOoW
Joined: 20 Aug 2005 Posts: 584
|
Posted: Sat Oct 13, 2007 18:43 Post subject: Saving server game |
|
|
Well i found out that nwnx2 causes crash when I save my server game.
If I save same module as server game without nwnx2, there are no problems.
But I remember my old module (bigger than this) that was in-game saved and didn't crash. Maybe is reason in new nwnx2 core, but i don't know what version have I got. In About is 2.6.1 but maybe virusman didn't update it and I using his modified version.
So anyone got same problem?
Well it is not big problem, but better know.
ShaDoOoW _________________ Community Patch / NWNX Patch / NWNX Files / NWNX Connect |
|
Back to top |
|
|
HazNpho
Joined: 25 Jul 2007 Posts: 14
|
Posted: Wed Jul 30, 2008 23:33 Post subject: |
|
|
I'm having a similar issue. We can save the game, but when a PC saves their Character, or the DM saving an Avatar, we crash.
1.68
No problems, no crashes no issues period.
Updated the files, removed profiler, disabled NWNx (Export works) Turn it back on and the server takes a nose dive. The ram usage goes up into the 161mb range and drops. |
|
Back to top |
|
|
Disco
Joined: 06 Dec 2006 Posts: 152
|
Posted: Thu Jul 31, 2008 11:05 Post subject: |
|
|
Didn't test this properly, but I did save my DM avatar a few days ago and the server kept on running. The logs don't suggest something like this either, server runs its reset-after-4-hours schedule like a Swiss watch and doesn't crash more often than usual. |
|
Back to top |
|
|
HazNpho
Joined: 25 Jul 2007 Posts: 14
|
Posted: Sat Aug 02, 2008 6:45 Post subject: |
|
|
I am curious about what exactly the export would have to do with NWNx. I can't think of anything that would tie the two together, but every test has proven that it crashes only when NWNx is running, even when we get the server down to optimum performance she drops. |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Sat Aug 02, 2008 7:56 Post subject: |
|
|
If you're using the Events plugin, try to disable it. |
|
Back to top |
|
|
HazNpho
Joined: 25 Jul 2007 Posts: 14
|
Posted: Sat Aug 02, 2008 20:43 Post subject: |
|
|
Code: | ; NWNX2 configuration file
; These are the default values for NWNX2. Values specified on the command
; line take precedence.
[NWNX]
ServerPort = 5122
ModuleName = "*******"
WatchdogProcess = yes
UpdateIntervalProcess = 5
WatchdogGamespy = no
UpdateIntervalGamespy = 20
GamespyRetries = 5
OldGamespyProtocol = no
RestartDelay = 5
[ODBC2]
; Log file
MaxLogSize = 512 ; in KByte
LogLevel = 1 ; 0=nothing, 1=only errors, 2=everything
; Use these five settings for MySQL connections
source = mysql
server = localhost
user = *********
pwd = *********
db = nwn
; Set hookscorco to false if you want to disable hooking of
; StoreCampaignObject and RetrieveCampaignObject entirely
hookscorco = true
[CHAT]
;chat_script=fky_chat
;server_script=fky_chat_srv
|
This is basically our NWNx.ini file. I don't believe we are using the events, unless I missed something and it's not configured from the INI. I trimmed out the excess code that was unused when we first began having issues. I would remove hookscorco, except from my understanding that is what links NWNx to NWN, which wouldn't really solve anything for us.
Though, I could be wrong... Anything stand out there? |
|
Back to top |
|
|
HazNpho
Joined: 25 Jul 2007 Posts: 14
|
Posted: Sat Aug 02, 2008 20:50 Post subject: |
|
|
Correction... Events is an issue, just repeated the tests on my test server... I renamed the events DLL I found and it worked. So how do I go about disabling it, and what do we lose? |
|
Back to top |
|
|
ShaDoOoW
Joined: 20 Aug 2005 Posts: 584
|
Posted: Sat Aug 02, 2008 21:26 Post subject: |
|
|
well if you didn't used evets in nwnx.ini, you lose nothing
(assuming I understood you well) _________________ Community Patch / NWNX Patch / NWNX Files / NWNX Connect |
|
Back to top |
|
|
HazNpho
Joined: 25 Jul 2007 Posts: 14
|
Posted: Sat Aug 02, 2008 21:38 Post subject: |
|
|
Nope, didn't enable them... but why would that cause crashes if the DLL wasn't being loaded? |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Sun Aug 03, 2008 3:12 Post subject: |
|
|
Disabling a plugin = renaming or removing a DLL. That way NWNX won't load it. |
|
Back to top |
|
|
HazNpho
Joined: 25 Jul 2007 Posts: 14
|
Posted: Sun Aug 03, 2008 4:33 Post subject: |
|
|
Thanks, well that did defiantly fix the problem. Still don't get why it was doing it. |
|
Back to top |
|
|
|