proc
Conne()
var/DBConnection/dbcon = new()
var/connected = dbcon.Connect(DBI,my_database,GeneratePassword())
if(!connected)
alert("Connection failed: [dbcon.ErrorMsg()]")
return
Problem description:
I am running a connection test:
mob
verb
logcheck()
winset(usr,"logchecker.Error","text=Logging....")
Conne()
And I am getting this:
I am sure you're aware that's not the entire Conne Proc, but that's all it's getting to as the connected variable isn't working. I've checked all the variables inside of dbcon.Connect (And the password generator proc), but I just get this error all the time.
Edit: I should probably mention this proc is used to log the player in to the game with his/her username and password.