Registration Problem [MySQL]
#2

Are you sure connection is alive and properly set up? Check with mysql_ping (if alive) and mysql_errno (if error occurs). Show us MySQL_Login function.

Also for now change

pawn Код:
format(Query, sizeof(Query), "INSERT INTO `playerdata` (User, Password, Cash, Level, EXP, Rank, TurfsCaptured, TurfsLost, Kills, Deaths, Score, Muted, Warnings, Vip, IP) VALUES('%s', '%s', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '%s')", EscName,EscPass, IP);
//to
format(Query, sizeof(Query), "INSERT INTO `playerdata` (`User`, `Password`, `IP`) VALUES('%s', '%s', '%s')", EscName, EscPass, IP);
Reply


Messages In This Thread
Registration Problem [MySQL] - by Littlehelper - 26.07.2012, 18:47
Re: Registration Problem [MySQL] - by Misiur - 26.07.2012, 19:09
Re: Registration Problem [MySQL] - by Littlehelper - 26.07.2012, 19:14
Re: Registration Problem [MySQL] - by Dan. - 26.07.2012, 19:15
Re: Registration Problem [MySQL] - by FireCat - 26.07.2012, 19:16
Re: Registration Problem [MySQL] - by Littlehelper - 27.07.2012, 13:09
Re: Registration Problem [MySQL] - by FireCat - 27.07.2012, 13:24

Forum Jump:


Users browsing this thread: 2 Guest(s)