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 
 
Gamespy Querry Error

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



Joined: 19 Jan 2006
Posts: 9

PostPosted: Sat Jan 06, 2007 22:06    Post subject: Gamespy Querry Error Reply with quote

Hey there,

I have installed NWNX4 running MySQL 5.0 and I gotta say it was a breeze to get operational. Smile

But, I seem to be consistently getting an error when I launch the NWNX_Controller from gamespy.

I launch the controller and I get:

* Hook installed and initialized successfully.
* Warning: Server did not answer gamespy querry. 4 retries left.

If I let the server run and elapse all 4 retries, it still pulls the error w/ all retries. If I close the server client w/o relaunching the controller, the controller launches the server fine in it's second attempt. ie.:

* Hook installed and initialized successfully.
* Warning: Server did not answer gamespy querry. 4 retries left.
* Server process has gone away.
* Waiting 5 seconds before restarting the server.
* Restarting server.
* Hook installed and initialized successfully.
flashing cursor

I'm assuming this if fairly common, since the nwnx ini file allows for and deals w/ this but my question is why does it seem to happen all the time w/ a first launch for me and why does it correct itself when I relaunch the client but not on it's own?

Has anyone else had this issue?

Other than that, nwnx4 is working great for me so far Smile

Thanks!
_________________
Cheers!
AJ

Myth Drannor: Legends of the Dalelands
www.mythdrannor-lotd.com
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Sat Jan 06, 2007 22:29    Post subject: Reply with quote

Hmm, you are talking about a "client"... which client is that, exactly ?

Can your post be summed up like this: NWNX4 restarts your server after the controller has been initially launched (because it thinks it does not react to gamespy queries), but after it kills and restarts nwserver, it stays up fine ?
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
dungeonrock



Joined: 19 Jan 2006
Posts: 9

PostPosted: Sat Jan 06, 2007 22:44    Post subject: Reply with quote

Hey Pap,

I'm refering to the "nwn2server" as the "client".

to answer your other question, "no" is the answer.

I launch the controller and nwn2server starts up fine and loads the module and all of the variables properly (server name, module and location) but I get the warning message.

If I do nothing and let the 4 'retries' expire, it continues to give me the warning after each retry.

If I manually quit nwn2server but not the controller and allow the controller to reload the server... it works fine, 1st attempt.
_________________
Cheers!
AJ

Myth Drannor: Legends of the Dalelands
www.mythdrannor-lotd.com
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Mon Jan 08, 2007 23:50    Post subject: Reply with quote

Ok, got it now. From the top of my head, there should be nothing in the code that produces the described behaviour, but I will have a look at it again. I suppose you are using the latest version 1.06 ?
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
dungeonrock



Joined: 19 Jan 2006
Posts: 9

PostPosted: Tue Jan 09, 2007 2:02    Post subject: Reply with quote

I am using version 6 and this behaviour is consistent everytime I fire nwnx up... like i said, if I launch and then close the nwn2server, it reloads fine...

I did notice, yesterday and neglected to mention it, after the 4 'retries' expire, nwnx closes the nwn2server and upon relaunch, it works fine as well...


thanks!
_________________
Cheers!
AJ

Myth Drannor: Legends of the Dalelands
www.mythdrannor-lotd.com
Back to top
View user's profile Send private message
xaltos



Joined: 03 Jun 2006
Posts: 31
Location: Germany

PostPosted: Tue Jan 09, 2007 23:48    Post subject: Reply with quote

I had the same problem as well.

In my case was it a wrong port in the INI files.

I run the nwn2-server on a uncommon port and inside of the INI file was still the normal port.

Maybe your problem is similar.
_________________
xaltos

NWN2_Audolo
Back to top
View user's profile Send private message
dungeonrock



Joined: 19 Jan 2006
Posts: 9

PostPosted: Wed Jan 10, 2007 1:58    Post subject: Reply with quote

Thanks Xaltos,

Can you give me an example of the port number you are assigning ie 5122 or 5120?

Cheers!
_________________
Cheers!
AJ

Myth Drannor: Legends of the Dalelands
www.mythdrannor-lotd.com
Back to top
View user's profile Send private message
xaltos



Joined: 03 Jun 2006
Posts: 31
Location: Germany

PostPosted: Fri Jan 12, 2007 17:11    Post subject: Reply with quote

Just make sure your server and the nwnx4 use the same port.

Entry one is inside of the file nwnx.ini
Code:
gamespyPort = 5222


and the NWN2 entrie is inside of file nwnplayer.ini
( --> [drive]:\Documents and Settings\[login]\My Documents\Neverwinter Nights 2 )
Code:

[Server Options]
Game Port=5222


Port 5121 is the default port for NWN1, so I had to switch to a free port for my Beta NWN2 server.
_________________
xaltos

NWN2_Audolo
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