View previous topic :: View next topic |
Author |
Message |
Kato
Joined: 05 Mar 2010 Posts: 47
|
Posted: Fri Mar 05, 2010 23:12 Post subject: Unused skill points lost. ! SQL Error: No such table: pwdata |
|
|
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 |
|
|
drake127
Joined: 26 Jan 2010 Posts: 28
|
Posted: Sat Mar 06, 2010 2:43 Post subject: |
|
|
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 |
|
|
Kato
Joined: 05 Mar 2010 Posts: 47
|
Posted: Sat Mar 06, 2010 6:44 Post subject: |
|
|
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 |
|
|
Fireboar
Joined: 17 Feb 2008 Posts: 323
|
Posted: Sat Mar 06, 2010 15:04 Post subject: |
|
|
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 |
|
|
Kato
Joined: 05 Mar 2010 Posts: 47
|
Posted: Sat Mar 06, 2010 19:04 Post subject: |
|
|
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 |
|
|
|
|
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
|