logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Saving server game

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows technical support
View previous topic :: View next topic  
Author Message
ShaDoOoW



Joined: 20 Aug 2005
Posts: 584

PostPosted: Sat Oct 13, 2007 18:43    Post subject: Saving server game Reply with quote

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
View user's profile Send private message
HazNpho



Joined: 25 Jul 2007
Posts: 14

PostPosted: Wed Jul 30, 2008 23:33    Post subject: Reply with quote

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
View user's profile Send private message
Disco



Joined: 06 Dec 2006
Posts: 152

PostPosted: Thu Jul 31, 2008 11:05    Post subject: Reply with quote

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
View user's profile Send private message
HazNpho



Joined: 25 Jul 2007
Posts: 14

PostPosted: Sat Aug 02, 2008 6:45    Post subject: Reply with quote

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
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Sat Aug 02, 2008 7:56    Post subject: Reply with quote

If you're using the Events plugin, try to disable it.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
HazNpho



Joined: 25 Jul 2007
Posts: 14

PostPosted: Sat Aug 02, 2008 20:43    Post subject: Reply with quote

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
View user's profile Send private message
HazNpho



Joined: 25 Jul 2007
Posts: 14

PostPosted: Sat Aug 02, 2008 20:50    Post subject: Reply with quote

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
View user's profile Send private message
ShaDoOoW



Joined: 20 Aug 2005
Posts: 584

PostPosted: Sat Aug 02, 2008 21:26    Post subject: Reply with quote

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
View user's profile Send private message
HazNpho



Joined: 25 Jul 2007
Posts: 14

PostPosted: Sat Aug 02, 2008 21:38    Post subject: Reply with quote

Nope, didn't enable them... but why would that cause crashes if the DLL wasn't being loaded?
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Sun Aug 03, 2008 3:12    Post subject: Reply with quote

Disabling a plugin = renaming or removing a DLL. That way NWNX won't load it.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
HazNpho



Joined: 25 Jul 2007
Posts: 14

PostPosted: Sun Aug 03, 2008 4:33    Post subject: Reply with quote

Thanks, well that did defiantly fix the problem. Still don't get why it was doing it.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows technical support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group