Forums » Community Projects
LUA & Database
Anyone have a suggestion for the easiest path to database access via LUA? I'd prefer to use a database like mysql, but I'm easy. A google search only gave me stuff with vague explanations (too vague for me anyway). Not a 'local only' database, access via TCP/IP preferred so the database(s) could be shared by a guild or be public maybe. I'd like to not lose a lot of time bumping into walls so if someone can point me in the right direction I would be grateful.
Thanks for any advice
Thanks for any advice
Inside VO, you can't get database access. I sort have a stigma against external programs modifying VO(There's a whole rape and puppetry analogy there) so am sort of useless if you're looking for lua stuff outside of VO.
No, wanted to make a VO addon that reads an external database.
Can't do right now. Maybe when the devs let us use luasockets.
When they do, relay bots here we come...
Jul 21 02:35:03 <vo> Server will restart in 15 minutes: Lightning Mine SF Fix, Station Limit Test, and Lots of other bug fixes
Jul 21 02:35:48 <vo> [100] <Nautargos> so theres lua socket support in here?
Jul 21 02:36:00 <vo> [100] <momerath42> yep
Jul 21 02:35:48 <vo> [100] <Nautargos> so theres lua socket support in here?
Jul 21 02:36:00 <vo> [100] <momerath42> yep
So I could make a little middleware app in something like PERL to talk to the database and lua and PERL can talk via sockets, or am I overcomplicating it?
That's what I would have done. Not that I do... Even if I did, I'd have to keep it a Guild Secret...
Hell, that's what we do, sort of.
I need to release details about this I guess.
I need to release details about this I guess.
Or something equiv to LWP in perl maybe
VOKB is an external database, and the VOKB Lua script talks with the DB since ages.
Ask firsm.
Ask firsm.
VOKB uses an external helper app, Kat. Also, it was written in python, not Lua. It's in the middle of being rewritten.
I want to scrap my PERL stuff and rebuild in lua