Wieso speichert es nicht?

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Wieso speichert es nicht ab..


    Spoiler anzeigen
    stock LoadPlayer(playerid)
    {
    if(IsPlayerConnected(playerid) && !IsPlayerNPC(playerid))
    {
    GetPlayerName(playerid, PlayerInfo[playerid][pName], MAX_PLAYER_NAME);
    GivePlayerMoney(playerid,mysql_GetInt("accountsdm", "Geld", "Name", PlayerInfo[playerid][pName]));
    SetPlayerScore(playerid, mysql_GetInt("accountsdm", "Level", "Name", PlayerInfo[playerid][pName]));
    PlayerInfo[playerid][pKills] = mysql_GetInt("accountsdm","Morde","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pDeaths] = mysql_GetInt("accountsdm","Tode","Name",PlayerInfo[playerid][pName]);
    }
    return 1;
    }
    stock SavePlayer(playerid)
    {
    if(IsPlayerConnected(playerid) && !IsPlayerNPC(playerid))
    {
    if(GetPVarInt(playerid,"Eingeloggt") == 1)
    {
    GetPlayerName(playerid, PlayerInfo[playerid][pName], MAX_PLAYER_NAME);
    mysql_SetInt("accountsdm", "Geld", GetPlayerMoney(playerid), "Name", PlayerInfo[playerid][pName]);
    mysql_SetInt("accountsdm", "Level", GetPlayerScore(playerid), "Name", PlayerInfo[playerid][pName]);
    mysql_SetInt("accountsdm", "Morde", PlayerInfo[playerid][pKills], "Name", PlayerInfo[playerid][pName]);
    mysql_SetInt("accountsdm", "Tode", PlayerInfo[playerid][pDeaths], "Name", PlayerInfo[playerid][pName]);
    }
    }
    return 1;
    }

  • Code
    [10:36:56]  [10:36:56] ---------------------------[10:36:56] MySQL Debugging activated (10/21/12)[10:36:56] ---------------------------[10:36:56]  [10:37:53] >> mysql_reconnect( Connection handle: 1 )[10:37:53] CMySQLHandler::Disconnect() - Connection was closed.[10:37:53] CMySQLHandler::Connect() - Connection was successful.[10:37:53] CMySQLHandler::Connect() - Auto-Reconnect has been enabled.[10:37:53] >> mysql_real_escape_string( Connection handle: 1 )[10:37:53] CMySQLHandler::EscapeString(Narushi); - Escaped 7 characters to Narushi.[10:37:53] >> mysql_query( Connection handle: 1 )[10:37:53] CMySQLHandler::Query(SELECT * FROM `accountsdm` WHERE `Name` = 'Narushi') - Successfully executed.[10:37:53] >> mysql_store_result( Connection handle: 1 )[10:37:53] CMySQLHandler::StoreResult() - Result was stored.[10:37:53] >> mysql_num_rows( Connection handle: 1 )[10:37:53] CMySQLHandler::NumRows() - Returned 1 row(s)[10:37:53] >> mysql_free_result( Connection handle: 1 )[10:37:53] CMySQLHandler::FreeResult() - Result was successfully free'd.[10:37:53] >> mysql_real_escape_string( Connection handle: 1 )[10:37:53] CMySQLHandler::EscapeString(Narushi); - Escaped 7 characters to Narushi.[10:37:53] >> mysql_query( Connection handle: 1 )[10:37:53] CMySQLHandler::Query(SELECT * FROM `accountsdm` WHERE `Name` = 'Narushi') - Successfully executed.[10:37:53] >> mysql_store_result( Connection handle: 1 )[10:37:53] CMySQLHandler::StoreResult() - Result was stored.[10:37:53] >> mysql_num_rows( Connection handle: 1 )[10:37:53] CMySQLHandler::NumRows() - Returned 1 row(s)[10:37:53] >> mysql_free_result( Connection handle: 1 )[10:37:53] CMySQLHandler::FreeResult() - Result was successfully free'd.[10:37:55] >> mysql_real_escape_string( Connection handle: 1 )[10:37:55] CMySQLHandler::EscapeString(Narushi); - Escaped 7 characters to Narushi.[10:37:55] >> mysql_query( Connection handle: 1 )[10:37:55] CMySQLHandler::Query(SELECT `passwort` FROM `accountsdm` WHERE `Name` = 'Narushi') - Successfully executed.[10:37:55] >> mysql_store_result( Connection handle: 1 )[10:37:55] CMySQLHandler::StoreResult() - Result was stored.[10:37:55] >> mysql_fetch_row_format( Connection handle: 1 )[10:37:55] CMySQLHandler::FetchRow() - Return: 202CB962AC59075B964B07152D234B70[10:37:55] >> mysql_free_result( Connection handle: 1 )[10:37:55] CMySQLHandler::FreeResult() - Result was successfully free'd.[10:37:55] >> mysql_reconnect( Connection handle: 1 )[10:37:55] CMySQLHandler::Disconnect() - Connection was closed.[10:37:55] CMySQLHandler::Connect() - Connection was successful.[10:37:55] CMySQLHandler::Connect() - Auto-Reconnect has been enabled.[10:37:55] >> mysql_real_escape_string( Connection handle: 1 )[10:37:55] CMySQLHandler::EscapeString(accountsdm); - Escaped 10 characters to accountsdm.[10:37:55] >> mysql_real_escape_string( Connection handle: 1 )[10:37:55] CMySQLHandler::EscapeString(Geld); - Escaped 4 characters to Geld.[10:37:55] >> mysql_real_escape_string( Connection handle: 1 )[10:37:55] CMySQLHandler::EscapeString(Name); - Escaped 4 characters to Name.[10:37:55] >> mysql_real_escape_string( Connection handle: 1 )[10:37:55] CMySQLHandler::EscapeString(Narushi); - Escaped 7 characters to Narushi.[10:37:55] >> mysql_query( Connection handle: 1 )[10:37:55] CMySQLHandler::Query(SELECT `Geld` FROM `accountsdm` WHERE `Name` = 'Narushi') - Successfully executed.[10:37:55] >> mysql_store_result( Connection handle: 1 )[10:37:55] CMySQLHandler::StoreResult() - Result was stored.[10:37:55] >> mysql_fetch_int( Connection handle: 1 )[10:37:55] CMySQLHandler::FetchRow() - Return: 2800[10:37:55] >> mysql_free_result( Connection handle: 1 )[10:37:55] CMySQLHandler::FreeResult() - Result was successfully free'd.[10:37:55] >> mysql_real_escape_string( Connection handle: 1 )[10:37:55] CMySQLHandler::EscapeString(accountsdm); - Escaped 10 characters to accountsdm.[10:37:55] >> mysql_real_escape_string( Connection handle: 1 )[10:37:55] CMySQLHandler::EscapeString(Level); - Escaped 5 characters to Level.[10:37:55] >> mysql_real_escape_string( Connection handle: 1 )[10:37:55] CMySQLHandler::EscapeString(Name); - Escaped 4 characters to Name.[10:37:55] >> mysql_real_escape_string( Connection handle: 1 )[10:37:55] CMySQLHandler::EscapeString(Narushi); - Escaped 7 characters to Narushi.[10:37:55] >> mysql_query( Connection handle: 1 )[10:37:55] CMySQLHandler::Query(SELECT `Level` FROM `accountsdm` WHERE `Name` = 'Narushi') - Successfully executed.[10:37:55] >> mysql_store_result( Connection handle: 1 )[10:37:55] CMySQLHandler::StoreResult() - Result was stored.[10:37:55] >> mysql_fetch_int( Connection handle: 1 )[10:37:55] CMySQLHandler::FetchRow() - Return: 8[10:37:55] >> mysql_free_result( Connection handle: 1 )[10:37:55] CMySQLHandler::FreeResult() - Result was successfully free'd.[10:37:55] >> mysql_real_escape_string( Connection handle: 1 )[10:37:55] CMySQLHandler::EscapeString(accountsdm); - Escaped 10 characters to accountsdm.[10:37:55] >> mysql_real_escape_string( Connection handle: 1 )[10:37:55] CMySQLHandler::EscapeString(Morde); - Escaped 5 characters to Morde.[10:37:55] >> mysql_real_escape_string( Connection handle: 1 )[10:37:55] CMySQLHandler::EscapeString(Name); - Escaped 4 characters to Name.[10:37:55] >> mysql_real_escape_string( Connection handle: 1 )[10:37:55] CMySQLHandler::EscapeString(Narushi); - Escaped 7 characters to Narushi.[10:37:55] >> mysql_query( Connection handle: 1 )[10:37:55] CMySQLHandler::Query(SELECT `Morde` FROM `accountsdm` WHERE `Name` = 'Narushi') - Successfully executed.[10:37:55] >> mysql_store_result( Connection handle: 1 )[10:37:55] CMySQLHandler::StoreResult() - Result was stored.[10:37:55] >> mysql_fetch_int( Connection handle: 1 )[10:37:55] CMySQLHandler::FetchRow() - Return: 8[10:37:55] >> mysql_free_result( Connection handle: 1 )[10:37:55] CMySQLHandler::FreeResult() - Result was successfully free'd.[10:37:55] >> mysql_real_escape_string( Connection handle: 1 )[10:37:55] CMySQLHandler::EscapeString(accountsdm); - Escaped 10 characters to accountsdm.[10:37:55] >> mysql_real_escape_string( Connection handle: 1 )[10:37:55] CMySQLHandler::EscapeString(Tode); - Escaped 4 characters to Tode.[10:37:55] >> mysql_real_escape_string( Connection handle: 1 )[10:37:55] CMySQLHandler::EscapeString(Name); - Escaped 4 characters to Name.[10:37:55] >> mysql_real_escape_string( Connection handle: 1 )[10:37:55] CMySQLHandler::EscapeString(Narushi); - Escaped 7 characters to Narushi.[10:37:55] >> mysql_query( Connection handle: 1 )[10:37:55] CMySQLHandler::Query(SELECT `Tode` FROM `accountsdm` WHERE `Name` = 'Narushi') - Successfully executed.[10:37:55] >> mysql_store_result( Connection handle: 1 )[10:37:55] CMySQLHandler::StoreResult() - Result was stored.[10:37:55] >> mysql_fetch_int( Connection handle: 1 )[10:37:55] CMySQLHandler::FetchRow() - Return: 2[10:37:55] >> mysql_free_result( Connection handle: 1 )[10:37:55] CMySQLHandler::FreeResult() - Result was successfully free'd.[10:38:00] >> mysql_real_escape_string( Connection handle: 1 )[10:38:00] CMySQLHandler::EscapeString(accountsdm); - Escaped 10 characters to accountsdm.[10:38:00] >> mysql_real_escape_string( Connection handle: 1 )[10:38:00] CMySQLHandler::EscapeString(Geld); - Escaped 4 characters to Geld.[10:38:00] >> mysql_real_escape_string( Connection handle: 1 )[10:38:00] CMySQLHandler::EscapeString(Name); - Escaped 4 characters to Name.[10:38:00] >> mysql_real_escape_string( Connection handle: 1 )[10:38:00] CMySQLHandler::EscapeString(Narushi); - Escaped 7 characters to Narushi.[10:38:00] >> mysql_query( Connection handle: 1 )[10:38:00] CMySQLHandler::Query(UPDATE `accountsdm` SET `Geld` = '2800' WHERE `Name` = 'Narushi') - Successfully executed.[10:38:00] >> mysql_real_escape_string( Connection handle: 1 )[10:38:00] CMySQLHandler::EscapeString(accountsdm); - Escaped 10 characters to accountsdm.[10:38:00] >> mysql_real_escape_string( Connection handle: 1 )[10:38:00] CMySQLHandler::EscapeString(Level); - Escaped 5 characters to Level.[10:38:00] >> mysql_real_escape_string( Connection handle: 1 )[10:38:00] CMySQLHandler::EscapeString(Name); - Escaped 4 characters to Name.[10:38:00] >> mysql_real_escape_string( Connection handle: 1 )[10:38:00] CMySQLHandler::EscapeString(Narushi); - Escaped 7 characters to Narushi.[10:38:00] >> mysql_query( Connection handle: 1 )[10:38:00] CMySQLHandler::Query(UPDATE `accountsdm` SET `Level` = '8' WHERE `Name` = 'Narushi') - Successfully executed.[10:38:00] >> mysql_real_escape_string( Connection handle: 1 )[10:38:00] CMySQLHandler::EscapeString(accountsdm); - Escaped 10 characters to accountsdm.[10:38:00] >> mysql_real_escape_string( Connection handle: 1 )[10:38:00] CMySQLHandler::EscapeString(Morde); - Escaped 5 characters to Morde.[10:38:00] >> mysql_real_escape_string( Connection handle: 1 )[10:38:00] CMySQLHandler::EscapeString(Name); - Escaped 4 characters to Name.[10:38:00] >> mysql_real_escape_string( Connection handle: 1 )[10:38:00] CMySQLHandler::EscapeString(Narushi); - Escaped 7 characters to Narushi.[10:38:00] >> mysql_query( Connection handle: 1 )[10:38:00] CMySQLHandler::Query(UPDATE `accountsdm` SET `Morde` = '8' WHERE `Name` = 'Narushi') - Successfully executed.[10:38:00] >> mysql_real_escape_string( Connection handle: 1 )[10:38:00] CMySQLHandler::EscapeString(accountsdm); - Escaped 10 characters to accountsdm.[10:38:00] >> mysql_real_escape_string( Connection handle: 1 )[10:38:00] CMySQLHandler::EscapeString(Tode); - Escaped 4 characters to Tode.[10:38:00] >> mysql_real_escape_string( Connection handle: 1 )[10:38:00] CMySQLHandler::EscapeString(Name); - Escaped 4 characters to Name.[10:38:00] >> mysql_real_escape_string( Connection handle: 1 )[10:38:00] CMySQLHandler::EscapeString(Narushi); - Escaped 7 characters to Narushi.[10:38:00] >> mysql_query( Connection handle: 1 )[10:38:00] CMySQLHandler::Query(UPDATE `accountsdm` SET `Tode` = '2' WHERE `Name` = 'Narushi') - Successfully executed.

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen