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 
 
Crash

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Technical support
View previous topic :: View next topic  
Author Message
mostal



Joined: 29 Apr 2005
Posts: 60

PostPosted: Wed Nov 29, 2006 7:56    Post subject: Crash Reply with quote

With proto 5 and patch 1.02, it seems that GetPersistentString or GetPersistentInt function crashs server.

Anyone have same issues ?

Thanks
Back to top
View user's profile Send private message
Fable



Joined: 25 Nov 2006
Posts: 10

PostPosted: Fri Dec 01, 2006 3:12    Post subject: Reply with quote

I got that error before I created the pwdata table.

If you download the MySQL Administrator Tools from mysql.com you get something called Query Editor. It's great for keeping track of what happens inside your tables as well hands-on-editing and sending queries.

Send this string in the Query Editor:

CREATE TABLE pwdata (player varchar(64) default NULL, tag varchar(64) default NULL, name varchar(64) default NULL, val text, expire int(11) default NULL, last timestamp(14) NOT NULL, KEY idx (player,tag,name))
Back to top
View user's profile Send private message
mostal



Joined: 29 Apr 2005
Posts: 60

PostPosted: Fri Dec 01, 2006 7:55    Post subject: Reply with quote

thanks Fable.
I've created custom tables.

Do you think pwdata is necessary to load nwnx4 if no access to pwdata required ?
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Fri Dec 01, 2006 10:12    Post subject: Reply with quote

Uh, it crashes ? I need to check that, since it shouldn't Smile.
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
mostal



Joined: 29 Apr 2005
Posts: 60

PostPosted: Fri Dec 01, 2006 16:57    Post subject: Reply with quote

yeah, it seems Smile
sorry
Back to top
View user's profile Send private message
Fable



Joined: 25 Nov 2006
Posts: 10

PostPosted: Sat Dec 02, 2006 2:40    Post subject: Reply with quote

mostal wrote:
thanks Fable.
I've created custom tables.

Do you think pwdata is necessary to load nwnx4 if no access to pwdata required ?


Only the persistant functions need the pwdata since they are the ones who access that table by default. So if you use ExecDirect or whatever you shouldn't need pwdata.

And btw papillion:
When the server crashes in winxp I get the usual "program crashed error" box and the server never restarts again until I click that box away. So we need to find a way to query the server or something and if it doesn't reply then terminate the program and restart it.. I don't know. Thought I'd give you the heads up.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> 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