Jump to content

[HELP] Problem on loging in


Recommended Posts

Hello, I have a login system saving on mysql. When I try to login it gives me this error:

INFO: MYSQL ERROR 1054: Unknown column 'monitored' in 'field list'

ERROR: login/slogin.lua:62 attempt to compare number with boolean

local accountCheckQuery = mysql:query(accountCheckQueryStr) 
Line 62    if (mysql:num_rows(accountCheckQuery) > 0) then 
            accountData = mysql:fetch_assoc(accountCheckQuery) 
            mysql:free_result(accountCheckQuery) 

Link to comment

Well... it doesn't really, first when you want to learn scripting, you need to know how to modify one script, then how to change it. and then how to make one. If you can see my posts then you could find out by yourself, thanks for the compliment by the way.

Link to comment

To modify a script, you need at the very least a basic understanding of the language it's written in. And to get a basic understanding of said language, you need to learn it. Not the other way around.

I tried to modify scripts at first myself when I got into lua, but couldn't for the love of god understand anything. So I decided to start at the bottom and work my way up, and it has yielded me great results so far - gotten way further than I thought I would.

And regarding you using leaked scripts, this forum does not give support of any description when the subject at hand is a leaked script - like this one seems to be.

Link to comment
And regarding you using leaked scripts, this forum does not give support of any description when the subject at hand is a leaked script - like this one seems to be.

Eh... sorry, but this is not a leaked script... I might use ONE, but I am seriously not stupid to ask for help about that script on the forum... If you want to help me then ok, if you don't want, still ok, but just don't shoot the topic with replys that have nothing to do with the topic..

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...