$ sudo luarocks install lsqlite
vitalie wrote:
- Code: Select all
$ sudo luarocks install lsqlite
Then add "require(sqlite3)" to your lua file and work with the db transparently (send queries, get results and use them in mod).
burli wrote:Does this work for Windows and OS X too?
Krock wrote:burli wrote:Does this work for Windows and OS X too?
Works fine on Windows (using the compiled lsqlite.dll in the same directory). Not sure about OS X but it should work there too.
Linuxdirk wrote:Since 0.4.16 is out which provides a mod metadata storage API (which unfortunately is pretty much undocumented, but it was in the changelog) maybe you could store your data there without having to depend on 3rd-party libraries.
viewtopic.php?p=265439#p265439
Users browsing this forum: No registered users and 1 guest