View previous topic :: View next topic |
Author |
Message |
mostal
Joined: 29 Apr 2005 Posts: 60
|
Posted: Wed Nov 29, 2006 7:56 Post subject: Crash |
|
|
With proto 5 and patch 1.02, it seems that GetPersistentString or GetPersistentInt function crashs server.
Anyone have same issues ?
Thanks |
|
Back to top |
|
|
Fable
Joined: 25 Nov 2006 Posts: 10
|
Posted: Fri Dec 01, 2006 3:12 Post subject: |
|
|
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 |
|
|
mostal
Joined: 29 Apr 2005 Posts: 60
|
Posted: Fri Dec 01, 2006 7:55 Post subject: |
|
|
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 |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Fri Dec 01, 2006 10:12 Post subject: |
|
|
Uh, it crashes ? I need to check that, since it shouldn't . _________________ Papillon |
|
Back to top |
|
|
mostal
Joined: 29 Apr 2005 Posts: 60
|
Posted: Fri Dec 01, 2006 16:57 Post subject: |
|
|
yeah, it seems
sorry |
|
Back to top |
|
|
Fable
Joined: 25 Nov 2006 Posts: 10
|
Posted: Sat Dec 02, 2006 2:40 Post subject: |
|
|
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 |
|
|
|