Dimos7 Posted April 25, 2015 Share Posted April 25, 2015 (edited) Maker a error at line 27 take a nil value why? Edited April 26, 2015 by Guest Link to comment
MTA Team botder Posted April 26, 2015 MTA Team Share Posted April 26, 2015 There is no mysql_connect function in the code you posted. Link to comment
WhoAmI Posted April 26, 2015 Share Posted April 26, 2015 Probably you don't have MySQL module on server which is necessary if you are using mysql_ functions. However, mysql_ is kinda old and it isn't that effective anymore. You should use db functions instead (dbConnect, dbQuery, dbPoll, dbExec etc.) which don't use custom MySQL module. Link to comment
Dimos7 Posted April 26, 2015 Author Share Posted April 26, 2015 i have the mta_mysql.dll Link to comment
WhoAmI Posted April 26, 2015 Share Posted April 26, 2015 And do you have libmysql.dll? Link to comment
WhoAmI Posted April 26, 2015 Share Posted April 26, 2015 Give me EXACTLY an error what you get. Link to comment
Dimos7 Posted April 26, 2015 Author Share Posted April 26, 2015 the error give me when run the server is that take nil value on 27 Link to comment
WhoAmI Posted April 26, 2015 Share Posted April 26, 2015 So probably, module doesn't work well if mysql_connect doesn't work. Link to comment
Dimos7 Posted April 26, 2015 Author Share Posted April 26, 2015 i have put it on server run thouse mudle Link to comment
WhoAmI Posted April 26, 2015 Share Posted April 26, 2015 Well, did you put it on local server or hosted server? If local it should work. Link to comment
Dimos7 Posted April 26, 2015 Author Share Posted April 26, 2015 local server no have host Link to comment
WhoAmI Posted April 26, 2015 Share Posted April 26, 2015 Check if module works. Do you see this message while turning on server? Link to comment
Dimos7 Posted April 26, 2015 Author Share Posted April 26, 2015 Anyone knows why not work? modules mtaserver Link to comment
WhoAmI Posted April 26, 2015 Share Posted April 26, 2015 Cmon man... Remove this from mta_mysql.dll. Link to comment
Dimos7 Posted April 26, 2015 Author Share Posted April 26, 2015 now say unable to load the module Link to comment
WhoAmI Posted April 26, 2015 Share Posted April 26, 2015 Probably you don't have libmysql.dll. Link to comment
WhoAmI Posted April 26, 2015 Share Posted April 26, 2015 libmysql goes to server/ folder. Link to comment
WhoAmI Posted April 26, 2015 Share Posted April 26, 2015 What do you mean by installing mysql? You have to have local MySQL server. XAMPP is good solution. Link to comment
Dimos7 Posted April 26, 2015 Author Share Posted April 26, 2015 (edited) i have a problem i put exports.mysql my resource running but say call non server resource string "?" Edited April 26, 2015 by Guest Link to comment
Dimos7 Posted April 26, 2015 Author Share Posted April 26, 2015 say that resource already running and its exports i wrote it wrong Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now