Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Michael Nelson
Novice


Joined: 03 Oct 2005
Posts: 36

PostPosted: 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
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: 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!
Reply with quote
Michael Nelson
Novice


Joined: 03 Oct 2005
Posts: 36

PostPosted: 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
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: 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!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
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

© 2009 Zugg Software. Hosted by Wolfpaw.net