br99pedro Posted April 30, 2019 Share Posted April 30, 2019 Hello guys, today i came across this error, witch i can not correct at all, i believe it may be a lack of attention. The server is all set, i enter, but my character stands there, unable to play. If anyone can help me as i correct this error, i will be very grateful. Tranks. function mysql.getAccount(player,a) local a = a or {} local dbtype = GET_SERVER_INFO.type local serial = player:getSerial() local query,result = mysql.query('SELECT `serial` FROM '..dbtype..' WHERE `serial` = ?',serial) if query then if result > 0 then return (a.check and mysql.query('SELECT * FROM '..dbtype..' WHERE `serial` = ?',serial)[1]) or true elseif a.create and mysql.exec('INSERT INTO '..dbtype..' (`name`,`serial`,`ip`) VALUES (?,?,?)',player:getName(),serial,play[2019-04-30 18:04:50] ERROR: dayzmode\lib\team\s_team.lua:1: call: failed to call 'dayzconnect:MySQL' [string "?"] [2019-04-30 18:04:51] ERROR: dayzmode\lib\system\player.lua:1: call: failed to call 'dayzconnect:MySQL' [string "?"] [2019-04-30 18:04:51] ERROR: dayzmode\lib\system\player.lua:221: attempt to index local 'mysql' (a boolean value) 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