Request: MySQLlite

MicroMacro plugins and plugins only. You can request or share your plugin (either compiled or source code) here.
Post Reply
Message
Author
User avatar
droppen
Posts: 179
Joined: Mon Aug 03, 2009 10:32 pm

Request: MySQLlite

#1 Post by droppen » Sat Sep 12, 2009 5:17 am

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.

User avatar
Administrator
Site Admin
Posts: 4865
Joined: Sat Jan 05, 2008 4:21 pm

Re: Request: MySQLlite

#2 Post by Administrator » Sat Sep 12, 2009 8:15 am

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.

User avatar
droppen
Posts: 179
Joined: Mon Aug 03, 2009 10:32 pm

Re: Request: MySQLlite

#3 Post by droppen » Sat Sep 12, 2009 11:05 am

When is it coming out? (estimate)

User avatar
Administrator
Site Admin
Posts: 4865
Joined: Sat Jan 05, 2008 4:21 pm

Re: Request: MySQLlite

#4 Post by Administrator » Sat Sep 12, 2009 11:19 am

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.

User avatar
3cmSailorfuku
Posts: 354
Joined: Mon Jan 21, 2008 6:25 pm

Re: Request: MySQLlite

#5 Post by 3cmSailorfuku » Sat Sep 12, 2009 5:45 pm

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?

User avatar
Administrator
Site Admin
Posts: 4865
Joined: Sat Jan 05, 2008 4:21 pm

Re: Request: MySQLlite

#6 Post by Administrator » Sat Sep 12, 2009 5:57 pm

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)

User avatar
3cmSailorfuku
Posts: 354
Joined: Mon Jan 21, 2008 6:25 pm

Re: Request: MySQLlite

#7 Post by 3cmSailorfuku » Sun Sep 13, 2009 10:46 am

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.

User avatar
droppen
Posts: 179
Joined: Mon Aug 03, 2009 10:32 pm

Re: Request: MySQLlite

#8 Post by droppen » Mon Sep 14, 2009 6:13 pm

could i have an example on how to use the sql plugin? i tried it but coulnt frigure it out

User avatar
Administrator
Site Admin
Posts: 4865
Joined: Sat Jan 05, 2008 4:21 pm

Re: Request: MySQLlite

#9 Post by Administrator » Tue Sep 15, 2009 6:47 am

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.

User avatar
droppen
Posts: 179
Joined: Mon Aug 03, 2009 10:32 pm

Re: Request: MySQLlite

#10 Post by droppen » Tue Sep 15, 2009 10:35 am

i downloaded luasqlite3 from http://luaforge.net/frs/?group_id=12
Image

User avatar
Administrator
Site Admin
Posts: 4865
Joined: Sat Jan 05, 2008 4:21 pm

Re: Request: MySQLlite

#11 Post by Administrator » Tue Sep 15, 2009 11:21 am

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.

jadelicosner89
Posts: 1
Joined: Wed Nov 10, 2010 9:52 pm

Re: Request: MySQLlite

#12 Post by jadelicosner89 » Wed Nov 10, 2010 11:01 pm

so is it really coming out too soon?? hope i could get the chance to try it though.. thanks for the update guys.. :|

updabs
Posts: 4
Joined: Mon Dec 31, 2018 8:31 pm
Location: Croatia
Contact:

Request MySQLlite

#13 Post by updabs » Thu Jan 31, 2019 1:47 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest