View previous topic :: View next topic |
Author |
Message |
lostdreamz
Joined: 19 Nov 2006 Posts: 26
|
Posted: Thu Apr 10, 2008 12:33 Post subject: xp_sqllite confusion |
|
|
I have installed nwnx4 1.08. Now I dont seem to be able to write to the tables I have in the sqllite.db. This means that nothing is now saved from my persistent world. Strangely when I run the sqllite demo supplied it successfully writes to somewhere but looking at the database the table pwdata doesnt exist.
* Executing: INSERT INTO pwdata (player,tag,name,val,expire) VALUES('-Dawn Serenade-','aaa','demoName','hello',0)
* Executing: SELECT val FROM pwdata WHERE player='-Dawn Serenade-' AND tag='aaa' AND name='demoName'
* Returning: hello
sqlite> .tables
wod_accounts wod_dbclear wod_mulaccounts
wod_bank wod_houses wod_persistence
wod_bounty wod_messages wod_player |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
lostdreamz
Joined: 19 Nov 2006 Posts: 26
|
Posted: Thu Apr 10, 2008 12:40 Post subject: |
|
|
* Executing: SELECT val FROM wod_player WHERE player='-Dawn Serenade-' AND tag='aaa' AND name='startarea'
* Executing: SELECT player FROM wod_player WHERE player='-Dawn Serenade-' AND tag='aaa' AND name='startarea'
* Executing: INSERT INTO wod_player (player,tag,name,val,expire) VALUES('-Dawn Serenade-','aaa','startarea','Area2',0)
* Executing: SELECT player FROM wod_player WHERE player='-Dawn Serenade-' AND tag='aaa' AND name='startfacing'
* Executing: INSERT INTO wod_player (player,tag,name,val,expire) VALUES('-Dawn Serenade-','aaa','startfacing',' 89.999992371',0)
* Executing: SELECT player FROM wod_player WHERE player='-Dawn Serenade-' AND tag='aaa' AND name='startvector'
* Executing: INSERT INTO wod_player (player,tag,name,val,expire) VALUES('-Dawn Serenade-','aaa','startvector','#POSITION_X# 6.952879906#POSITION_Y# 2.584959984#POSITION_Z# -0.000000000#END#',0)
sqlite> select * from wod_player where tag='aaa';
sqlite> |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Thu Apr 10, 2008 22:47 Post subject: |
|
|
If you do not COMMIT once in a while, the SQLite database will onyl be updated when the server stops or restarts. Maybe this is what is causing the confusion ? _________________ Papillon |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|
|
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
|