|
Michael Nelson Novice
Joined: 03 Oct 2005 Posts: 36
|
Posted: Sat May 02, 2009 9:53 pm
lua sqlite map db |
Has anyone successfully queried a cmud map database with lua? I have been searching the forums and I didn't see anything after 2007 and that doesn't seem to be working now. I am trying to convert all my stuff over to lua (though I am new to it) if anyone has information about how exactly to connect to the map db with lua in cmud I would appreciate it. Thanks in advance.
Michael |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Wed May 06, 2009 8:35 pm |
Not sure exactly what you're asking here. You would use the same approach, but instead query the .dbm file which is your database file. You can query like you would any other database.
|
|
_________________ Asati di tempari! |
|
|
|
Michael Nelson Novice
Joined: 03 Oct 2005 Posts: 36
|
Posted: Wed May 06, 2009 10:48 pm same approach |
Could you inform me of the usual approach then? or shoot me a link to a post I was unable to find anything that worked. Also (I can't check now because I am on my linux partition) but I think the dbs are in different folders. Where does lua in cmud expect the document root to be?
Thanks again,
Michael |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Wed May 06, 2009 10:59 pm |
This link should help.
I've planning to do a proper write up, I havent' gotten around to it as yet. |
|
_________________ Asati di tempari! |
|
|
|
|
|