public OnPlayerCheck(playerid)
{
if(cache_get_row_count() == 0)
{
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, #SERVERNAME "- Registration", "Bitte registriere Dich:", "Ok", "Abbrechen");
}
else
{
cache_get_field_content(0, "password", pData[playerid][pPassword], handle, 65);
cache_get_field_content(0, "salt", pData[playerid][pSalt], handle, 11);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, #SERVERNAME "- Anmeldung", "Bitte logge Dich ein:", "Ok", "Abbrechen");
}
return 1;
}
[13:38:14] [WARNING] CMySQLResult::GetRowDataByName - field not found ("password")
[13:38:14] [WARNING] CMySQLResult::GetRowDataByName - field not found ("salt")
[13:38:39] [WARNING] CMySQLConnection::Disconnect - no connection available
In der MySQL Tabelle sind password und salt vorhanden.
Grüße