Request: MySQLlite
Request: MySQLlite
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.
- Administrator
- Site Admin
- Posts: 5314
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Request: MySQLlite
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
When is it coming out? (estimate)
- Administrator
- Site Admin
- Posts: 5314
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Request: MySQLlite
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.
- 3cmSailorfuku
- Posts: 354
- Joined: Mon Jan 21, 2008 6:25 pm
Re: Request: MySQLlite
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?
- Administrator
- Site Admin
- Posts: 5314
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Request: MySQLlite
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)
- 3cmSailorfuku
- Posts: 354
- Joined: Mon Jan 21, 2008 6:25 pm
Re: Request: MySQLlite
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)
Re: Request: MySQLlite
could i have an example on how to use the sql plugin? i tried it but coulnt frigure it out
- Administrator
- Site Admin
- Posts: 5314
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Request: MySQLlite
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
i downloaded luasqlite3 from http://luaforge.net/frs/?group_id=12
- Administrator
- Site Admin
- Posts: 5314
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Request: MySQLlite
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
require "luasql.sqlite"
-
- Posts: 1
- Joined: Wed Nov 10, 2010 9:52 pm
Re: Request: MySQLlite
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
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
Thanks
Tom
Who is online
Users browsing this forum: No registered users and 0 guests