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 
 
Unused skill points lost. ! SQL Error: No such table: pwdata

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Database related
View previous topic :: View next topic  
Author Message
Kato



Joined: 05 Mar 2010
Posts: 47

PostPosted: Fri Mar 05, 2010 23:12    Post subject: Unused skill points lost. ! SQL Error: No such table: pwdata Reply with quote

Hi,

I'm having a problem with skill points not carrying over when taking LLs. All the other modifications are made correctly, though. Any help would be greatly appreciated.

My nwnx_odbc.txt:

NWNX ODBC2 plugin V.0.9.2.4
(c) 2005 by Ingmar Stieger (Papillon) and Jeroen Broekhuizen
visit us at http://www.nwnx.org

o Logfile maximum size limit is: 524288 bytes
o Log level: Everything will be logged.
o Using SQLite connection.
o Hooking SCO....hooked at 5d5830
o Hooking RCO....hooked at 5d5710
o Connect successful.
o Got request: SELECT val FROM pwdata WHERE player='Kato_Yang' AND tag='§ Kato §' AND name='ControlClass'
! SQL Error: no such table: pwdata
o Sent response (0 bytes):
o Got request: SELECT player FROM pwdata WHERE player='Kato_Yang' AND tag='§ Kato §' AND name='ControlClass'
! SQL Error: no such table: pwdata
o Sent response (0 bytes):
o Got request: INSERT INTO pwdata (player,tag,name,val,expire) VALUES('Kato_Yang','§ Kato §','ControlClass','5',0)
! SQL Error: no such table: pwdata
o Got request: SELECT val FROM pwdata WHERE player='Kato_Yang' AND tag='§ Kato §' AND name='PointsAvailable'
! SQL Error: no such table: pwdata
o Sent response (0 bytes):
o Got request: SELECT player FROM pwdata WHERE player='Kato_Yang' AND tag='§ Kato §' AND name='PointsAvailable'
! SQL Error: no such table: pwdata
o Sent response (0 bytes):
o Got request: INSERT INTO pwdata (player,tag,name,val,expire) VALUES('Kato_Yang','§ Kato §','PointsAvailable','3',0)
! SQL Error: no such table: pwdata
o Got request: SELECT val FROM pwdata WHERE player='Kato_Yang' AND tag='§ Kato §' AND name='ControlClass'
! SQL Error: no such table: pwdata
o Sent response (0 bytes):
o Got request: SELECT player FROM pwdata WHERE player='Kato_Yang' AND tag='§ Kato §' AND name='ControlClass'
! SQL Error: no such table: pwdata
o Sent response (0 bytes):
o Got request: INSERT INTO pwdata (player,tag,name,val,expire) VALUES('Kato_Yang','§ Kato §','ControlClass','5',0)
! SQL Error: no such table: pwdata
o Got request: SELECT val FROM pwdata WHERE player='Kato_Yang' AND tag='§ Kato §' AND name='PointsAvailable'
! SQL Error: no such table: pwdata
o Sent response (0 bytes):
o Disconnecting from database.


Many thanks in advance!
Back to top
View user's profile Send private message Send e-mail
drake127



Joined: 26 Jan 2010
Posts: 28

PostPosted: Sat Mar 06, 2010 2:43    Post subject: Reply with quote

Your server tries to tell you that you are missing table pwdata. You need to create it first (command should be in documentation of ODBC).
Back to top
View user's profile Send private message
Kato



Joined: 05 Mar 2010
Posts: 47

PostPosted: Sat Mar 06, 2010 6:44    Post subject: Reply with quote

drake127 wrote:
Your server tries to tell you that you are missing table pwdata. You need to create it first (command should be in documentation of ODBC).



Thanks for your answer. Currently, I'm using the internal database, wich is said to contain "all the needed tables". So I inspected sqlite.db with sqliteCC. No tables. So I created a new table named pwdata according to NWNX-ODBC2 instructions, with sqliteCC. This time, my nwnx_odbc.txt reads:

NWNX ODBC2 plugin V.0.9.2.4
(c) 2005 by Ingmar Stieger (Papillon) and Jeroen Broekhuizen
visit us at http://www.nwnx.org

o Logfile maximum size limit is: 524288 bytes
o Log level: Everything will be logged.
o Using SQLite connection.
o Hooking SCO....hooked at 5d5830
o Hooking RCO....hooked at 5d5710
o Connect successful.
o Got request: SELECT val FROM pwdata WHERE player='Kato_Yang' AND tag='§ Kato §' AND name='ControlClass'
! SQL Error: unsupported file format
o Sent response (0 bytes):
o Got request: SELECT player FROM pwdata WHERE player='Kato_Yang' AND tag='§ Kato §' AND name='ControlClass'
! SQL Error: unsupported file format
o Sent response (0 bytes):
o Got request: INSERT INTO pwdata (player,tag,name,val,expire) VALUES('Kato_Yang','§ Kato §','ControlClass','5',0)
! SQL Error: unsupported file format
o Got request: SELECT val FROM pwdata WHERE player='Kato_Yang' AND tag='§ Kato §' AND name='PointsAvailable'
! SQL Error: unsupported file format
o Sent response (0 bytes):
o Got request: SELECT player FROM pwdata WHERE player='Kato_Yang' AND tag='§ Kato §' AND name='PointsAvailable'
! SQL Error: unsupported file format
o Sent response (0 bytes):
o Got request: INSERT INTO pwdata (player,tag,name,val,expire) VALUES('Kato_Yang','§ Kato §','PointsAvailable','3',0)
! SQL Error: unsupported file format
o Got request: SELECT val FROM pwdata WHERE player='Kato_Yang' AND tag='§ Kato §' AND name='ControlClass'
! SQL Error: unsupported file format
o Sent response (0 bytes):
o Got request: SELECT player FROM pwdata WHERE player='Kato_Yang' AND tag='§ Kato §' AND name='ControlClass'
! SQL Error: unsupported file format
o Sent response (0 bytes):
o Got request: INSERT INTO pwdata (player,tag,name,val,expire) VALUES('Kato_Yang','§ Kato §','ControlClass','5',0)
! SQL Error: unsupported file format
o Got request: SELECT val FROM pwdata WHERE player='Kato_Yang' AND tag='§ Kato §' AND name='PointsAvailable'
! SQL Error: unsupported file format
o Sent response (0 bytes):
o Disconnecting from database.

I'll keep on searching...
Back to top
View user's profile Send private message Send e-mail
Fireboar



Joined: 17 Feb 2008
Posts: 323

PostPosted: Sat Mar 06, 2010 15:04    Post subject: Reply with quote

Probably a different version of SQLite. You should run SQLExecDirect to execute the database queries to create the table as documented. Or you could run the aps_demo module to create it automatically. Make sure you delete the current .db file though, otherwise it will fail.
Back to top
View user's profile Send private message
Kato



Joined: 05 Mar 2010
Posts: 47

PostPosted: Sat Mar 06, 2010 19:04    Post subject: Reply with quote

Fireboar wrote:
Probably a different version of SQLite. You should run SQLExecDirect to execute the database queries to create the table as documented. Or you could run the aps_demo module to create it automatically. Make sure you delete the current .db file though, otherwise it will fail.



Thanks a lot!! I downloaded and used aps_demo, and as you said, after I deleted my old sqlite.db, the module recreated a new one with it's pwdata table, and everything works fine now!

Again, thank you so much!
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Database related 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