Jump to content

[MySQL] module


Antibird

Recommended Posts

Hello,

I'd like to know if anybody uses the module: https://wiki.multitheftauto.com/wiki/Modules/MySQL, which is said to be a "SQL module by "Multi Thieft Auto", means made by MTA team.

First of all, the download link at wiki page is broken: http://files.mtasa.com/apps/1.0/dm/ml_devkit.tar.gz.

So I used this link instead: http://files.mtasa.com/apps/1.0-deathmatch/ (ml_devkit.tar.gz, "last modified": 2008-Jan-04 :? )

I run a server on my laptop under Win7 x32 and every time the server executes mysqlOpen() it crashes regardless of arguments (such as ip for example) I pass to function.

I have 2 questions so far:

1. Is the module still supported and supervised by MTA team;

2. If yes - is the crash is because I do something wrong ( or it's a known bug? )

Thankyou.

P.S. Just in case you ask "Why don't you use this one?"

Yeah, I use that one, but faced one lil problem:

#roughly:
function sqlconnect()
handler = mysql_connect( "args go here" )
outputServerLog( type( handler ) ) --returns "userdata"
return handler
end

Then I call if from another resource to retrieve a handler, but call() function returns a string containing database name only instead. And that is the problem I'd really like to avoid.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...