13 posts • Page 1 of 1
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.
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.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.
But why is it not in the changelog?
My bad, just looked at the changelog in the thread.Administrator wrote:That's fine by me.3cmSailorfuku wrote: I want to kiss you so bad now.
It is.But why is it not in the changelog?
Code: Select all
* Plugin system completely removed; Use Lua modules instead (work almost exactly the same way)
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.
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:
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.
Code: Select all
Who is online
Users browsing this forum: No registered users and 0 guests