Hier ist die Log:
Code
[21:06:25] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[21:06:25] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[21:06:25] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[21:06:25] [DEBUG] CMySQLConnection::Connect - connection was successful
[21:06:25] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[21:06:25] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[21:06:50] [DEBUG] mysql_format - connection: 1, len: 256, format: "SELECT * FROM user WHERE username='%e'"
[21:06:50] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM user WHERE username='PrideGame'", callback: "UserCheck", format: "i"
[21:06:50] [DEBUG] CMySQLQuery::Execute[UserCheck] - starting query execution
[21:06:50] [DEBUG] CMySQLQuery::Execute[UserCheck] - query was successfully executed within 0.552 milliseconds
[21:06:50] [DEBUG] CMySQLResult::CMySQLResult() - constructor called
[21:06:50] [DEBUG] Calling callback "UserCheck"..
[21:06:50] [DEBUG] cache_get_data - connection: 1
[21:06:50] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called
[21:06:53] [DEBUG] mysql_format - connection: 1, len: 256, format: "SELECT * FROM user WHERE username='%e' AND passwort=MD5('%e')"
[21:06:53] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM user WHERE username='PrideGame' AND passwort=MD5('", callback: "OnPasswordResponse", format: "i"
[21:06:53] [DEBUG] CMySQLQuery::Execute[OnPasswordResponse] - starting query execution
[21:06:53] [DEBUG] CMySQLQuery::Execute[OnPasswordResponse] - query was successfully executed within 0.367 milliseconds
[21:06:53] [DEBUG] CMySQLResult::CMySQLResult() - constructor called
[21:06:53] [DEBUG] Calling callback "OnPasswordResponse"..
[21:06:53] [DEBUG] cache_get_data - connection: 1
[21:06:53] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called
Alles anzeigen
Meinst du das mit Login Code?
if(dialogid == DIALOG_LOGIN)
{
if(!response)
{
return Kick(playerid);
}
new query[256];
mysql_format(Handle, query, sizeof(query), "SELECT * FROM user WHERE username='%e' AND passwort=MD5('%e')", Spielername(playerid), inputtext);
mysql_tquery(Handle, query, "OnPasswordResponse", "i", playerid);
}