joaosilva099 Posted January 19, 2016 Share Posted January 19, 2016 What sort of data is "negative" and "positive"? Bad argument @ 'dbPoll' [Expected positive value, got negative] And therefore... bad argument #1 to 'ipairs' (table expected, got boolean) The query is ok! I checked the db logs and it says success and it's showing the right results, but I can't use dbPoll with it on the scripts... I am using MySQL, could it be with a dll or something? EDIT: I found out, maybe "negative" and "positive" refers to the second argument on dbPoll, but it must be negative, it says on the wiki, to wait until the result is ready use -1 dbPoll(q, -1) Link to comment
joaosilva099 Posted January 19, 2016 Author Share Posted January 19, 2016 Nevermind, it's a bug from MTA... I worked around using an older version, before they add this check for positive and negative numbers 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