Login problem.
#1

This what debug shows
pawn Код:
[17:29:56] CMySQLHandler::FetchRow() - Return: Tan|derp|10000|4|0|-255

[17:29:56] >> mysql_free_result( Connection handle: 1 )

[17:29:56] CMySQLHandler::FreeResult() - Result was successfully free'd.

[17:29:56] >> mysql_fetch_field_row( Connection handle: 1 )

[17:29:56] CMySQLHandler::FetchField(Name) - You cannot call this function now. (Reason: Fields/Rows are empty.)

[17:29:56] >> mysql_fetch_field_row( Connection handle: 1 )

[17:29:56] CMySQLHandler::FetchField(Password) - You cannot call this function now. (Reason: Fields/Rows are empty.)

[17:29:56] >> mysql_fetch_field_row( Connection handle: 1 )

[17:29:56] CMySQLHandler::FetchField(Cash) - You cannot call this function now. (Reason: Fields/Rows are empty.)

[17:29:56] >> mysql_fetch_field_row( Connection handle: 1 )

[17:29:56] CMySQLHandler::FetchField(AdminLevel) - You cannot call this function now. (Reason: Fields/Rows are empty.)

[17:29:56] >> mysql_query( Connection handle: 1 )
Well when i log in, i don't get my cash and my admin level is at 0. On phpmyadmin it shows my cash is 10000 and AdminLevel 4
pawn Код:
mysql_fetch_field_row(str, "Name"); PlayerData[playerid][Name] = strval(str);
                    mysql_fetch_field_row(str, "Password"); PlayerData[playerid][Password] = strval(str);
                    mysql_fetch_field_row(str, "Cash"); PlayerData[playerid][Cash] = strval(str);
                    mysql_fetch_field_row(str, "AdminLevel"); PlayerData[playerid][AdminLevel] = strval(str);
Reply


Messages In This Thread
Login problem. - by Tanush123 - 11.04.2013, 21:07
Re: Login problem. - by Tanush123 - 13.04.2013, 16:00
Re: Login problem. - by Tanush123 - 20.04.2013, 15:36
Re: Login problem. - by RajatPawar - 20.04.2013, 15:37
Re: Login problem. - by Tanush123 - 20.04.2013, 15:44

Forum Jump:


Users browsing this thread: 2 Guest(s)