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 
 
Upgrading issue
Goto page 1, 2  Next
 
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows technical support
View previous topic :: View next topic  
Author Message
princewally



Joined: 29 Dec 2004
Posts: 9

PostPosted: Wed Feb 16, 2005 4:13    Post subject: Upgrading issue Reply with quote

I'm upgrading from a very stable installation of v2.5.1.0.

I copied the executable, the dlls, and the odbc dll into the NWN folder. When I started NWNX, it opened the server, started loading the module, then apparently closed the module. Reload, crash, reload, crash. The module loads fine from the old version of nwnx.

I started nwnx with command line options that match the options from the old version.

Has anybody run into this before?
Back to top
View user's profile Send private message
Acrodania



Joined: 02 Jan 2005
Posts: 208

PostPosted: Wed Feb 16, 2005 4:55    Post subject: Reply with quote

Did you alter your include files and INI files to represent which type of database you are using?

Default now is SQLite. Both need to be set to use the proper database.

Also if you DID make sure your login name/password and database name is correct in the INI file.
Back to top
View user's profile Send private message
princewally



Joined: 29 Dec 2004
Posts: 9

PostPosted: Wed Feb 16, 2005 6:37    Post subject: Reply with quote

Yes, I did. And the last time I tested it, the module would run, even if the database was down completely.

Here is my nwnx.ini:

Code:
; NWNX2 configuration file
; These are the default values for NWNX2. Values specified on the command
; line take precedence.

[NWNX]
ServerPort = 5121
ModuleName = "Champions of Vydor"
WatchdogProcess = yes
UpdateIntervalProcess = 5
WatchdogGamespy = no
UpdateIntervalGamespy = 20
GamespyRetries = 5
OldGamespyProtocol = no
RestartDelay = 5
ServerVault = .\servervault

[ODBC2]
; Log file
MaxLogSize = 512 ; in KByte
LogLevel = 2 ; 0=nothing, 1=only errors, 2=everything

; Use these two settings for ODBC connections
source = odbc
dsn    = nwn

; Set hookscorco to false if you want to disable hooking of
; StoreCampaignObject and RetrieveCampaignObject entirely
hookscorco = true

[PROFILER]
MaxLogSize = 512 ; in KByte
LogLevel = 1 ; 1=overall statistics, 2=full script callstack


And the command line:

Code:
D:\NeverwinterNights\NWN\NWNX2.exe -servervault 1 -ilr 0 -module "Champions of Vydor" -maxclients 20 -maxlevel 40  -pvp 1 -gametype 9 -oneparty 0 -dmpassword iamhidingthis -servername "Champions of Vydor"


The part that confuses me is that the server comes up, says it's loading, then shuts back down, only to be restarted again in a few seconds. Then is shuts down, etc, etc.
Back to top
View user's profile Send private message
TulipVorlax



Joined: 14 Feb 2005
Posts: 14
Location: Montreal, Quebec, Canada, third rock from the sun

PostPosted: Wed Feb 16, 2005 6:57    Post subject: Reply with quote

Code:
RestartDelay = 5


This line might be it.
Wow, i didn't know that even existed. We could set it to restart after 86400 seconds (24 hours).

I'll try it someday....


EDIT :

Oups! Sorry. That's not it at all. Here's my ini settings :

Code:
[NWNX]
ServerPort = 5121
ModuleName = "!demo_MySql"
WatchdogProcess = yes
UpdateIntervalProcess = 30
WatchdogGamespy = no
UpdateIntervalGamespy = 20
GamespyRetries = 5
OldGamespyProtocol = no
RestartDelay = 60
Back to top
View user's profile Send private message Visit poster's website
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Thu Feb 17, 2005 22:19    Post subject: Reply with quote

Always post interesting snippets of the various log files. Most problems can be diagnosed only by looking at the output NWNX2 and the plugins generate.
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
princewally



Joined: 29 Dec 2004
Posts: 9

PostPosted: Mon Feb 21, 2005 5:23    Post subject: Reply with quote

I can't post any logs, because one of the drives in my server died over the weekend while I was out of town. Sad I really need to get RAID.
Back to top
View user's profile Send private message
princewally



Joined: 29 Dec 2004
Posts: 9

PostPosted: Mon Feb 21, 2005 16:44    Post subject: Reply with quote

None of the logs show a problem. NWNX loads, activates the plugins, starts the server, then 22 seconds later, the server crashes. The problem goes away if I use the previous version of NWNX.
Back to top
View user's profile Send private message
Anatida



Joined: 21 Feb 2005
Posts: 7

PostPosted: Mon Feb 21, 2005 20:24    Post subject: Reply with quote

I am having this exact same problem! However, I've been using ver 2.5.1.0. This began today when I rebuilt my server machine from XPPro to Win2k.

The mod still loads fine on my XP (client) machine (same version of NWNx2). It will load Manually in the NWServer, but if I try to load it with NWNx2 It does the repeated crash/restart as described above.

I backed up all relevent files, & replaced them after rebuild. & I've recopied them from the client machine in case of corruption.

BTW: I do not seem to have an NWNx.ini file... on EITHER machine.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Anatida



Joined: 21 Feb 2005
Posts: 7

PostPosted: Tue Feb 22, 2005 16:10    Post subject: I can fix this problem!! Reply with quote

My main builder got back with me yesterday & said he had had this same issue a few months ago with no changes to his system. He said to rename the Mod!

IT WORKED!

I have no clue why... even though the SAME mod with the SAME name had loaded previously...


For instance the mod that wouldn't load was named "BloodStone PRCe", I renamed it to "BloodStone_vH" and it loaded like a dream. It wasn't JUST dropping a letter either, because "* PRCc" through "* PRCe" had all worked fine previously. & *PRCc would load when *PRCe would not! So wierd!

Thought I'd post this in case it would help someone else.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Tue Feb 22, 2005 18:04    Post subject: Reply with quote

Could this have something to do with whether the module name contains a space or not ?
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
TulipVorlax



Joined: 14 Feb 2005
Posts: 14
Location: Montreal, Quebec, Canada, third rock from the sun

PostPosted: Wed Feb 23, 2005 1:47    Post subject: Reply with quote


I'm using all latest files of NwnX2 'n the plugins.
And my mod is currently name Arcana CEP150+SQL v0_1_30.mod so space might not be the culprit here.
More testing might be needed.

_________________
My comps.

My little forum.
Back to top
View user's profile Send private message Visit poster's website
Anatida



Joined: 21 Feb 2005
Posts: 7

PostPosted: Wed Feb 23, 2005 17:16    Post subject: Reply with quote

Papillon wrote:
Could this have something to do with whether the module name contains a space or not ?


I had considered that at first myself. That was the first thing I checked/changed (after making sure ALL haks & tlk's were present). But it made no difference. Plus remember I already had 3 versions with the name typed exactly the same way except for the small letter on the end.

While we can't SWEAR it is an issue with NWNx, it seems likely as the Mod would still load fine in the NWServer if you did it manually.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Anatida



Joined: 21 Feb 2005
Posts: 7

PostPosted: Sun Mar 06, 2005 0:20    Post subject: Reply with quote

I have now had this happen to me 3 times since I posted. EVERY time I'll Save As under a different 'version' number, & after 3 or 4 updates, it STOPS loading the Mod.

I can open the mod in the toolset, change the name (to something completely different), and it works fine!

Example:

CotCS_BPWa & CotCS_BPWb loaded fine, once I 'Save(d) As' Cotcs_BPWc it would not load.

I reopened the mod, did a "Save As" to BloodstonePW, and it loads fine.

Again, I'm only posting this, because I've seen several other ppl having the same problem. If renaming works, you save yourself a LOT of heartache!

~Cheers
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
TulipVorlax



Joined: 14 Feb 2005
Posts: 14
Location: Montreal, Quebec, Canada, third rock from the sun

PostPosted: Sun Mar 06, 2005 1:12    Post subject: Reply with quote


Now that's a pretty weird thing !

_________________
My comps.

My little forum.
Back to top
View user's profile Send private message Visit poster's website
Blayde Windwalker



Joined: 02 Jan 2005
Posts: 18

PostPosted: Thu Mar 10, 2005 23:36    Post subject: Reply with quote

I use a desktop icon to start NWNX2 with parameters passed in the target area of the properties option.

I cannot use a -servername parameter with a space in it because the passed name gets truncated at the space:

Ex: -servername Extreme Vault
results in the servername being Extreme
while using: -servername Extreme_Vault
working properly with the server name being Extreme_Vault (no truncation)

Any one else seen this problem?
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
Goto page 1, 2  Next
Page 1 of 2

 
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