Page 1 of 1

Request: MySQLlite

Posted: Sat Sep 12, 2009 5:17 am
by droppen
I could you code a mysql plugin to micromacro, i could make a database from everything game related from romDB.com and bot could use it.

Re: Request: MySQLlite

Posted: Sat Sep 12, 2009 8:15 am
by Administrator
In the next release of MicroMacro, the plugin system is totally going to change. The current system requires custom-made DLLs specifically written for MicroMacro. With the new system, you can download any use any Lua module. This is great because there is already a huge number of Lua modules available. One of those being SQLite support.

Re: Request: MySQLlite

Posted: Sat Sep 12, 2009 11:05 am
by droppen
When is it coming out? (estimate)

Re: Request: MySQLlite

Posted: Sat Sep 12, 2009 11:19 am
by Administrator
Whenever you want to test the experimental version. You'll have to take care of dependencies yourself, though. If a DLL fails to load, chances are it's a dependency problem.

Re: Request: MySQLlite

Posted: Sat Sep 12, 2009 5:45 pm
by 3cmSailorfuku
Administrator wrote:Whenever you want to test the experimental version. You'll have to take care of dependencies yourself, though. If a DLL fails to load, chances are it's a dependency problem.
I want to kiss you so bad now.

But why is it not in the changelog?

Re: Request: MySQLlite

Posted: Sat Sep 12, 2009 5:57 pm
by Administrator
3cmSailorfuku wrote: I want to kiss you so bad now.
That's fine by me.
But why is it not in the changelog?
It is.

Code: Select all

  * Plugin system completely removed; Use Lua modules instead (work almost exactly the same way)

Re: Request: MySQLlite

Posted: Sun Sep 13, 2009 10:46 am
by 3cmSailorfuku
Administrator wrote:
3cmSailorfuku wrote: I want to kiss you so bad now.
That's fine by me.
But why is it not in the changelog?
It is.

Code: Select all

  * Plugin system completely removed; Use Lua modules instead (work almost exactly the same way)
My bad, just looked at the changelog in the thread.

Re: Request: MySQLlite

Posted: Mon Sep 14, 2009 6:13 pm
by droppen
could i have an example on how to use the sql plugin? i tried it but coulnt frigure it out

Re: Request: MySQLlite

Posted: Tue Sep 15, 2009 6:47 am
by Administrator
What's the problem? You might have to get the new beta 7 for it to fully work. Place all dependencies into the micromacro base folder, and place the actual module you need to load (probably 'sqlite.dll') into the 'plugins' folder. That's it. Just start up MicroMacro and check your log file to see if it worked or not.

Re: Request: MySQLlite

Posted: Tue Sep 15, 2009 10:35 am
by droppen
i downloaded luasqlite3 from http://luaforge.net/frs/?group_id=12
Image

Re: Request: MySQLlite

Posted: Tue Sep 15, 2009 11:21 am
by Administrator
I have no idea what's going on with that module. They made a mess out of it, and provide little documentation. The only thing of value I could find is that you're supposed to load luasql with the driver (sqlite in this case). The problem is their goofy way of choosing a driver. It should work something like this:

Code: Select all

require "luasql.sqlite"
You might need to compile luasql.dll yourself. After that, I assume you should place both DLLs (luasql.dll, sqlite3.dll) into the micromacro folder and use require as shown above. Again, this is all a guess due to the lack of documentation.

Re: Request: MySQLlite

Posted: Wed Nov 10, 2010 11:01 pm
by jadelicosner89
so is it really coming out too soon?? hope i could get the chance to try it though.. thanks for the update guys.. :|

Request MySQLlite

Posted: Thu Jan 31, 2019 1:47 pm
by updabs
I dont know how to write externals like this and so I would like to start off this forum with a request that there is a need for some kind of 3D capabilities besides Quicktime VR in Revolution.


Thanks

Tom