Beiträge von elyday

    Muss es so heißen?

    Code
    url : 'http://cp.ultimate-rp.de/lib/ajax/AuthRequest.ajax.php'


    //Edit²: Nun rufe ich das UCP im Unterverzeichnis auf und nun kommt beim Einloggen der Fehler:

    PHP
    Serverfehler: error,


    //Edit³: Habe nun wieder dran herum gearbeitet.
    Kommt wieder der Fehler:

    PHP
    Serverfehler: parsererror, SyntaxError: JSON.parse: unexpected character


    Aber nun kommt beim falschem Passwort das man ein Falsches Passwort eingegeben hat.
    //Edit²: Rechtschreibung
    //Edit: Weiss niemand was?

    Nein,


    das ist der JS von der Auth.


    //Edit²: Hier ist auch noch was Code.

    Der Fehler kommt schon immer oder erst wenn du dich einloggst oder so was?

    Ja, wenn ich mich einloggen will.

    Das Array wird doch mit einem

    Code
    ;

    abgeschlossen und nicht mit einen

    Code
    ,


    mit freundlichem Gruß
    Timo Schneider

    Der gesammte ist:


    //Edit: Wo soll denn ein Unbekanntes Zeichen sein?

    Hallo,


    ich habe das UCP 'Ephraim' und bekomme beim Login folgenden Fehler:

    PHP
    Serverfehler: parsererror, SyntaxError: JSON.parse: unexpected character


    Ist dies vielleicht falsch?

    PHP
    $_PUBLIC['DB']['STRUCTURE'] = array(
    	'USER'=>array(
    	//	'ID'=>'SQLid',
    	//	'NAME'=>'Name',
    	//	'PASSWORD'=>'Key'
    		'ID'=>'id',
    		'NAME'=>'Name',
    		'PASSWORD'=>'Passwort'
    	),


    Oder doch etwas anderes? Und benutzt das UCP MD5?

    So,


    danke euch beiden.
    Nun zeigt der mir an es fehlen noch an anderen Stellen mysql_errno.
    Folgende habe ich nun abgeändert, bin mir aber nicht sicher ob Sie richtig sind.

    public LoadAccount(playerid,pass[],passwortstate)
    {
    new query[356],result[25],rows,fields;
    if(mysql_errno() == 0)
    {
    getdate(tag,monat,jahr);
    gettime(stunde,minute,sekunde);
    ForEachPlayer(i)
    {
    if(IsPlayerConnected(i) && !IsPlayerNPC(i) && GetPVarInt(i,"Eingeloggt") == 1)
    {
    SaveAccount(i);
    }
    }
    Log("Restartssqllog","Admin: System hat den Server gerestartet(Dead MySql Connection)!");
    OnGameModeSave();
    GameModeExit();
    return 1;
    }


    public LoadAccountVehicles(playerid,slot)
    {
    new result[25],rows,fields;
    if(mysql_errno() == 0)
    {
    getdate(tag,monat,jahr);
    gettime(stunde,minute,sekunde);
    ForEachPlayer(i)
    {
    if(IsPlayerConnected(i) && !IsPlayerNPC(i) && GetPVarInt(i,"Eingeloggt") == 1)
    {
    SaveAccount(i);
    }
    }
    Log("Restartssqllog","Admin: System hat den Server gerestartet(Dead MySql Connection)!");
    OnGameModeSave();
    GameModeExit();
    return 1;
    }


    public OnQueryFinish2(index[],index2[],sqlresultid,extraid,extraid2,SconnectionHandle)
    {
    new query[1000],rows,fields;
    if(SconnectionHandle != MySqlConnection || mysql_errno() == 1)
    {
    getdate(tag,monat,jahr);
    gettime(stunde,minute,sekunde);
    ForEachPlayer(i)
    {
    if(IsPlayerConnected(i) && !IsPlayerNPC(i) && GetPVarInt(i,"Eingeloggt") == 1)
    {
    SaveAccount(i);
    }
    }
    Log("Restartssqllog","Admin: System hat den Server gerestartet(Dead MySql Connection)!");
    OnGameModeSave();
    GameModeExit();
    return 1;
    }


    public OnQueryFinish(index[],sqlresultid,extraid,SconnectionHandle)
    {
    new query[4000],result[64],rows,fields;
    if(SconnectionHandle != MySqlConnection || mysql_errno() == 1)
    {
    getdate(tag,monat,jahr);
    gettime(stunde,minute,sekunde);
    ForEachPlayer(i)
    {
    if(IsPlayerConnected(i) && !IsPlayerNPC(i) && GetPVarInt(i,"Eingeloggt") == 1)
    {
    SaveAccount(i);
    }
    }
    Log("Restartssqllog","Admin: System hat den Server gerestartet(Dead MySql Connection)!");
    OnGameModeSave();
    GameModeExit();
    return 1;
    }


    //Edit:
    Nun kommen noch folgende Warnings auf.

    C:\Users\User\Desktop\Server\gamemodes\GeTmyselfmade.pwn(88350) : warning 224: indeterminate array size in "sizeof" expression (symbol "max_len")
    C:\Users\User\Desktop\Server\gamemodes\GeTmyselfmade.pwn(88351) : warning 224: indeterminate array size in "sizeof" expression (symbol "max_len")
    C:\Users\User\Desktop\Server\gamemodes\GeTmyselfmade.pwn(88352) : warning 224: indeterminate array size in "sizeof" expression (symbol "max_len")
    C:\Users\User\Desktop\Server\gamemodes\GeTmyselfmade.pwn(88353) : warning 224: indeterminate array size in "sizeof" expression (symbol "max_len")
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Warnings.


    Code: http://pastebin.de/36296


    //Edit: Warning hinzugefügt

    Hallo,


    ich habe heute auf r31 geupdatet. mysql_ping existiert ja nicht mehr, nur weiß ich nicht wie ich dies umschreiben soll.
    Code:

    MySqlConnection = mysql_connect(SQL_HOST,SQL_USER,SQL_DATA,SQL_PASS);
    if(mysql_ping() == 1)
    {
    print("SERVER: Verbindung zur Datenbank wurde erfolgreich hergestellt.");
    printf("Host: %s,User: %s,Datanbank: %s,Passwort: %s",SQL_HOST,SQL_USER,SQL_DATA,SQL_PASS);
    }
    else
    {
    print("SERVER: Es konnte keine Verbindung zur Datenbank hergestellt werden!");
    print(" Es wird erneut versucht eine Verbindung zur Datenbank herzustellen.");
    printf("Host: %s,User: %s,Datanbank: %s,Passwort: %s",SQL_HOST,SQL_USER,SQL_DATA,SQL_PASS);
    MySqlConnection = mysql_connect(SQL_HOST,SQL_USER,SQL_DATA,SQL_PASS);
    if(mysql_ping() == 1)
    {
    print("SERVER: Es konnte im 2 Versuch eine Verbindung hergestellt werden!");
    printf("Host: %s,User: %s,Datanbank: %s,Passwort: %s",SQL_HOST,SQL_USER,SQL_DATA,SQL_PASS);
    }
    else
    {
    print("SERVER: Es konnte keine Verbindung zur Datenbank hergestellt werden!");
    print(" Server wird heruntergefahren ...");
    SendRconCommand("exit");
    return 1;
    }
    }


    Ich finde dort keinen leeren Query/String der ausgeführt wird.
    1x wurde in einer Crash Log auch der Stock LoadAccount mit dem gleichem Fehler angezeigt.

    public LoadAccount(playerid,pass[],passwortstate)


    {


    new query[356],result[25],rows,fields;


    if(mysql_ping() == 0)


    {


    getdate(tag,monat,jahr);


    gettime(stunde,minute,sekunde);


    ForEachPlayer(i)


    {


    if(IsPlayerConnected(i) && !IsPlayerNPC(i) && GetPVarInt(i,"Eingeloggt") == 1)


    {


    SaveAccount(i);


    }


    }


    Log("Restartssqllog","Admin: System hat den Server gerestartet(Dead MySql Connection)!");


    OnGameModeSave();


    GameModeExit();


    return 1;


    }


    cache_get_data(rows,fields);


    if(rows)


    {


    if(passwortstate == 1)


    {


    cache_get_field_content(0,"Passwort",result);


    //if(!strcmp(MD5_Hash(pass),result,true))


    if(!strcmp(pass,result,true))


    {


    format(query,sizeof(query),"SELECT * FROM "#DATENBANKTAG"_account_main WHERE Name='%s'",SpielerName(playerid));


    mysql_function_query(MySqlConnection,query,true,"LoadAccount","isi",playerid," ",0);


    return 1;


    }


    format(query,sizeof(query),"{C9C9C9}Willkommen zurück "#SERVERFARBE"%s {C9C9C9}!\n{C9C9C9}Dein Account ist registriert.\nBitte Logge dich mit deinem entsprechendem Passwort ein.\n\n"#SERVERFARBE"** "#SERVERNAME" **{C9C9C9}",SpielerName(playerid));


    ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,""#SERVERFARBE""#SERVERNAME"{FFFFFF}: Login",query,"Login","Abbrechen");


    return 1;


    }


    cache_get_field_content(0,"Tutorial",result);


    Spieler[playerid][pViewTutorial] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Admin",result);


    Spieler[playerid][pAdmin] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Verwarnungen",result);


    Spieler[playerid][pWarns] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"FLeaderRechte",result);


    Spieler[playerid][pLeader] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Fraktion",result);


    Spieler[playerid][pFraktion] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"FraktionsRang",result);


    Spieler[playerid][pFraktRang] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"FraktionsURang",result);


    Spieler[playerid][pFraktURang] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"FraktionsSperre",result);


    Spieler[playerid][pFraktionSperre] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"FraktionsGehalt",result);


    Spieler[playerid][pFraktionsGehalt] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Job",result);


    Spieler[playerid][pJob] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"JobWarns",result);


    Spieler[playerid][JobWarns] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"JobSperre",result);


    Spieler[playerid][pJobSperre] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"ArbeitslosenGeld",result);


    Spieler[playerid][pWorkLess] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Geschlecht",result);


    Spieler[playerid][pSex] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"SpielerAlter",result);


    Spieler[playerid][pYearsOld] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Level",result);


    SetPlayerLevel(playerid,strval(result));


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Geld",result);


    ACMoney(playerid,strval(result));


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"GWD",result);


    Spieler[playerid][pGrundwehrdienst] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Zivinote",result);


    Spieler[playerid][pZiviNote] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"FAbteilung",result);


    Spieler[playerid][pFraktABTInvite] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Bankguthaben",result);


    Spieler[playerid][pBank] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"BankPin",result);


    Spieler[playerid][pBankPin] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"WantedSterne",result);


    SetPlayerWantedLevel(playerid,strval(result));


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"WantedPunkte",result);


    Spieler[playerid][pWantedPoints] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Suspects",result);


    Spieler[playerid][pSuspectPoints] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Wanted_Grund1",result);


    strmid(pWantedReason1[playerid],result,0,strlen(result),64);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Wanted_Grund2",result);


    strmid(pWantedReason2[playerid],result,0,strlen(result),64);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Wanted_Grund3",result);


    strmid(pWantedReason3[playerid],result,0,strlen(result),64);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Wanted_Grund4",result);


    strmid(pWantedReason4[playerid],result,0,strlen(result),64);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Wanted_Grund5",result);


    strmid(pWantedReason5[playerid],result,0,strlen(result),64);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Crimes",result);


    Spieler[playerid][pLastSuspects] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"STVOcrimes",result);


    Spieler[playerid][pSTVOpoints] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"KampfStyle",result);


    SetPlayerFightingStyle(playerid,strval(result));


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Handy",result);


    Spieler[playerid][pHandy] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Handycoins",result);


    Spieler[playerid][pHandyCoins] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"HandyStatus",result);


    Spieler[playerid][pHandystate] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"HandyAkku",result);


    Spieler[playerid][pHandyakku] = floatstr(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"HandyNummer",result);


    Spieler[playerid][pPhonenumber] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Handyflat",result);


    Spieler[playerid][pHandyFlat] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Handyflatbuyinbiz",result);


    Spieler[playerid][pHandyBuyByBiz] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Letzte_X",result);


    Spieler[playerid][LastInGamePos_x] = floatstr(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Letzte_Y",result);


    Spieler[playerid][LastInGamePos_y] = floatstr(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Letzte_Z",result);


    Spieler[playerid][LastInGamePos_z] = floatstr(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Letzte_Interior",result);


    Spieler[playerid][LastInGamePos_int] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Letzte_VirtualWorld",result);


    Spieler[playerid][LastInGamePos_world] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pSelectHome",result);


    Spieler[playerid][pSelectHome] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"HausMieter",result);


    Spieler[playerid][pRentHome] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Spawn",result);


    Spieler[playerid][pSpawn] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Hotel",result);


    Spieler[playerid][pHotel] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Tod",result);


    Spieler[playerid][pDeath] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Tot_X",result);


    Spieler[playerid][tot_x] = floatstr(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Tot_Y",result);


    Spieler[playerid][tot_y] = floatstr(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Tot_Z",result);


    Spieler[playerid][tot_z] = floatstr(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Tot_Interior",result);


    Spieler[playerid][tot_int] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Tot_VirtualWorld",result);


    Spieler[playerid][tot_world] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"TotZeit",result);


    Spieler[playerid][pDeathTime] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Friedhof",result);


    Spieler[playerid][pFriedhof] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"FriedhofZeit",result);


    Spieler[playerid][pFriedhofTime] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"ImKnast",result);


    Spieler[playerid][pJailed] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"KnastZeit",result);


    Spieler[playerid][pJailTime] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"KnastKaution",result);


    Spieler[playerid][pKaution] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Muted",result);


    Spieler[playerid][pMuted] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"MuteZeit",result);


    Spieler[playerid][pMuteTime] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"ImPrison",result);


    Spieler[playerid][pInPrison] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"PrisonCheckPointsAbgelaufen",result);


    Spieler[playerid][pPrisonCPsgelaufen] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"PrisonCheckPointsGegeben",result);


    Spieler[playerid][pPrisonCPsgegeben] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Morde",result);


    Spieler[playerid][pMorde] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Tode",result);


    Spieler[playerid][pTode] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"SkinID",result);


    Spieler[playerid][pSkin] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"FraktionSkinID",result);


    Spieler[playerid][pFraktSkin] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"PaintBallKills",result);


    Spieler[playerid][pPBKills] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"PaintBallTode",result);


    Spieler[playerid][pPBDeaths] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"PaintBallRang",result);


    Spieler[playerid][pPBRang] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"PaintBallBesuche",result);


    Spieler[playerid][pPBVisits] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"AngenommeneReports",result);


    Spieler[playerid][Reports] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"KopfGeld",result);


    Spieler[playerid][pHeadMoney] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pWantedDeaths",result);


    Spieler[playerid][pWantedDeaths] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pBuyTickets",result);


    Spieler[playerid][pBuyTickets] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pJailedCount",result);


    Spieler[playerid][pJailedCount] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Bankkonto",result);


    Spieler[playerid][pBankkonto] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pArmyPlaneOrder",result);


    Spieler[playerid][pArmyPlaneOrder] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pArmyHeliOrder",result);


    Spieler[playerid][pArmyHeliOrder] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pArmyWaffenOrder",result);


    Spieler[playerid][pArmyWaffenOrder] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"LevelUPKosten",result);


    Spieler[playerid][pLevelKosten] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"RespectForLevelUp",result);


    Spieler[playerid][pRespektToLevelUp] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"RespectFromPayday",result);


    Spieler[playerid][pRespektFromPayday] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"TimeAfterRegister",result);


    Spieler[playerid][pTimeAfterRegister] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Time4Payday",result);


    Spieler[playerid][pMinutesAfterPayday] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"TimeoutCrashExeorKick",result);


    Spieler[playerid][pAntiOfflineFlucht] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"RpChat",result);


    Spieler[playerid][pAntiOfflineFlucht] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"HabGeworben",result);


    Spieler[playerid][HatGeworben] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pPremium",result);


    Spieler[playerid][pPremium] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"GeworbenerSpieler",result);


    strmid(Spieler[playerid][GeworbenPlaya],result,0,strlen(result),24);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pScheinSperre",result);


    Spieler[playerid][pScheinSperre] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"DigiHud",result);


    Spieler[playerid][DigiHud] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pDHitsound",result);


    Spieler[playerid][pDHitsound] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Bonus",result);


    Spieler[playerid][pStartbonus] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"Gutschein",result);


    Spieler[playerid][pGutschein] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pCoins",result);


    Spieler[playerid][pCoins] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pFirmaLeader",result);


    Spieler[playerid][pFirmaLeader] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pFirmaMember",result);


    Spieler[playerid][pFirmaMember] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pOrgLeader",result);


    Spieler[playerid][pOrgLeader] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pOrgMember",result);


    Spieler[playerid][pOrgMember] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pParteiLeader",result);


    Spieler[playerid][pParteiLeader] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pParteiMember",result);


    Spieler[playerid][pParteiMember] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pLohn",result);


    Spieler[playerid][pLohn] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"WaitPerso",result);


    Spieler[playerid][WaitPerso] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pMarried",result);


    strmid(Spieler[playerid][pMarried],result,0,strlen(result),sizeof(result));


    strdel(result,0,sizeof(result));


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pBuyClothes",result);


    Spieler[playerid][pBuyClothes] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pTsIdent",result);


    strmid(Spieler[playerid][pTsIdent],result,0,strlen(result),24);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pIll",result);


    Spieler[playerid][pIll] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pConterminatedTime",result);


    Spieler[playerid][pConterminatedTime] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pBitchSkill",result);


    Spieler[playerid][pBitchSkill] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pBitchFuckCount",result);


    Spieler[playerid][pBitchFuckCount] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pMedicHealplayerSkill",result);


    Spieler[playerid][pMedicHealplayerSkill] = strval(result);


    strdel(result,0,sizeof(result));


    cache_get_field_content(0,"pMedicHealCount",result);


    Spieler[playerid][pMedicHealCount] = strval(result);


    strdel(result,0,sizeof(result));


    new stringlogin[256];


    format(stringlogin,sizeof(stringlogin),"SELECT * FROM "#DATENBANKTAG"_account_weapons WHERE Name = '%s'",SpielerName(playerid));


    mysql_function_query(MySqlConnection,stringlogin,true,"LoadAccountWeapons","i",playerid);


    format(stringlogin,sizeof(stringlogin),"SELECT * FROM "#DATENBANKTAG"_account_fish WHERE Name = '%s'",SpielerName(playerid));


    mysql_function_query(MySqlConnection,stringlogin,true,"LoadAccountFish","i",playerid);


    format(stringlogin,sizeof(stringlogin),"SELECT * FROM "#DATENBANKTAG"_account_koffer WHERE Name = '%s'",SpielerName(playerid));


    mysql_function_query(MySqlConnection,stringlogin,true,"LoadAccountKoffer","i",playerid);


    format(stringlogin,sizeof(stringlogin),"SELECT * FROM "#DATENBANKTAG"_account_blacklist WHERE Name = '%s'",SpielerName(playerid));


    mysql_function_query(MySqlConnection,stringlogin,true,"LoadAccountBlacklists","i",playerid);


    format(stringlogin,sizeof(stringlogin),"SELECT * FROM "#DATENBANKTAG"_account_inventar WHERE Name = '%s'",SpielerName(playerid));


    mysql_function_query(MySqlConnection,stringlogin,true,"LoadAccountInventar","i",playerid);


    format(stringlogin,sizeof(stringlogin),"SELECT * FROM "#DATENBANKTAG"_account_licenses WHERE Name = '%s'",SpielerName(playerid));


    mysql_function_query(MySqlConnection,stringlogin,true,"LoadAccountLicenses","i",playerid);


    format(stringlogin,sizeof(stringlogin),"SELECT * FROM "#DATENBANKTAG"_account_banksafe WHERE Name = '%s'",SpielerName(playerid));


    mysql_function_query(MySqlConnection,stringlogin,true,"LoadAccountBankSafe","i",playerid);


    for(new slot=0;slot<MAX_PLAYER_VEHS;slot++)


    {


    format(stringlogin,sizeof(stringlogin),"SELECT * FROM "#DATENBANKTAG"_account_vehicle WHERE name = '%s' AND slot = '%d'",SpielerName(playerid),slot);


    mysql_function_query(MySqlConnection,stringlogin,true,"LoadAccountVehicles","ii",playerid,slot);


    }


    mysql_SetInt(""#DATENBANKTAG"_account_main","Online",1,"Name",Spieler[playerid][pName]);


    AddToAutoLogin(playerid);


    StopPlayerPlaySound(playerid);


    PlayerPlaySound(playerid,1188,0.0,0.0,10.0);


    if(isPlayerAnAdmin(playerid,1))


    {


    format(stringlogin,sizeof(stringlogin),"{FF0000}<< {FFFFFF}%s %s hat sich eingeloggt{FF0000} >>",Adminrang(playerid),SpielerName(playerid));


    SendAdminMessage(WEISS,stringlogin);


    switch(Spieler[playerid][pAdmin])


    {


    case 1:


    {


    TextDrawShowForPlayer(playerid,Reportdraw[0]);


    TextDrawShowForPlayer(playerid,Reportdraw[1]);


    }


    case 2,3,4:


    {


    TextDrawShowForPlayer(playerid,Reportdraw[0]);


    TextDrawShowForPlayer(playerid,Reportdraw[1]);


    TextDrawShowForPlayer(playerid,Reportdraw[2]);


    }


    case 5,6,7,8,9:


    {


    for(new i=0;i<sizeof(Reportdraw);i++)


    {


    TextDrawShowForPlayer(playerid,Reportdraw[i]);


    }


    }


    }


    format(stringlogin,sizeof(stringlogin),"Art : Login Admin: %s (Adminlevel: %i) * IP: %s - ID/PlayerID : %i",SpielerName(playerid),Spieler[playerid][pAdmin],SpielerIP(playerid),playerid);


    Log("Admin-Loginsqllog",stringlogin);


    }


    if(Spieler[playerid][pKoffer] == 1) SetPlayerAttachedObject(playerid,9,1210,5,0.310000,0.066999,0.000000,0.000000,-91.900009,0.000000,1.000000,1.000000,1.000000);


    if(Spieler[playerid][pHandy] != 0)


    {


    if(Spieler[playerid][pHandystate] == 1 && Spieler[playerid][pHandyakku] > 0.0)


    {


    PlayerTextDrawShow(playerid,HandyInfodraw[playerid]);


    HandyAkku(playerid);


    AkkuTimer[playerid] = SetTimerEx("HandyAkku",120000,1,"i",playerid);


    }


    }


    if(Spieler[playerid][pFraktion] != 0)


    {


    format(stringlogin,sizeof(stringlogin),"{00FFFF}<< Fraktionsmitglied{FF0000} %s {00FFFF}hat sich eingeloggt >>",SpielerName(playerid));


    SendFraktionsMessage(Spieler[playerid][pFraktion],HELLBLAU,stringlogin);


    }


    format(stringlogin,sizeof(stringlogin),"Name:%s | IP:%s",SpielerName(playerid),SpielerIP(playerid));


    Log("Player-Loginsql",stringlogin);


    if(Spieler[playerid][pViewTutorial] == 0)return ImTutorial[playerid] = 1;


    TogglePlayerControllable(playerid,1);


    TogglePlayerSpectating(playerid,0);


    SpawnPlayerEx(playerid);


    TextDrawHideForPlayer(playerid,Introdraw[0]);


    TextDrawHideForPlayer(playerid,Introdraw[1]);


    format(stringlogin,sizeof(stringlogin),"{A91400}SERVER{FFFFFF}: Willkommen %s",SpielerName(playerid));


    SendClientMessage(playerid,WEISS,stringlogin);


    switch(monat)


    {


    case 1:SendClientMessage(playerid,WEISS,"{A91400}SERVER{FFFFFF}: Es ist Januar");


    case 2:SendClientMessage(playerid,WEISS,"{A91400}SERVER{FFFFFF}: Es ist Februar");


    case 3:SendClientMessage(playerid,WEISS,"{A91400}SERVER{FFFFFF}: Es ist März");


    case 4:SendClientMessage(playerid,WEISS,"{A91400}SERVER{FFFFFF}: Es ist April");


    case 5:SendClientMessage(playerid,WEISS,"{A91400}SERVER{FFFFFF}: Es ist Mai");


    case 6:SendClientMessage(playerid,WEISS,"{A91400}SERVER{FFFFFF}: Es ist Juni");


    case 7:SendClientMessage(playerid,WEISS,"{A91400}SERVER{FFFFFF}: Es ist Juli");


    case 8:SendClientMessage(playerid,WEISS,"{A91400}SERVER{FFFFFF}: Es ist August");


    case 9:SendClientMessage(playerid,WEISS,"{A91400}SERVER{FFFFFF}: Es ist September");


    case 10:SendClientMessage(playerid,WEISS,"{A91400}SERVER{FFFFFF}: Es ist Oktober");


    case 11:SendClientMessage(playerid,WEISS,"{A91400}SERVER{FFFFFF}: Es ist November");


    case 12:SendClientMessage(playerid,WEISS,"{A91400}SERVER{FFFFFF}: Es ist Dezember");


    }


    if(tag == 31 && monat == 3) SendClientMessage(playerid,WEISS,"{A91400}SERVER{FFFFFF}: Die Sommerzeit hat begonnen");


    if(tag == 27 && monat == 10) SendClientMessage(playerid,WEISS,"{A91400}SERVER{FFFFFF}: Die Winterzeit hat begonnen");


    if(tag == 31 && monat == 10) SendClientMessage(playerid,WEISS,"{A91400}SERVER{FFFFFF}: Es ist Halloween");


    if(tag == 24 && monat == 12) SendClientMessage(playerid,WEISS,"{A91400}SERVER{FFFFFF}: Frohe Weihnachten");


    if(tag == 31 && monat == 12) SendClientMessage(playerid,WEISS,"{A91400}SERVER{FFFFFF}: Das neue Jahr steht vor der Tür");


    if(tag == 1 && monat == 1) SendClientMessage(playerid,WEISS,"{A91400}SERVER{FFFFFF}: Frohes Neues Jahr");


    TextDrawShowForPlayer(playerid,Version);


    TextDrawShowForPlayer(playerid,InfoSign);


    format(stringlogin,sizeof(stringlogin),"~w~Willkommen ~y~%s",SpielerName(playerid));


    PlayerTextDrawSetString(playerid,INFOdraw[playerid][2],stringlogin);


    StopAudioStreamForPlayer(playerid);


    PlayAudioStreamForPlayer(playerid,ServerSounds[13],0.0,0.0,0.0);


    PlayerTextDrawShow(playerid,INFOdraw[playerid][2]);


    SetTimerEx("HideInfoBox",4000,0,"i",playerid);


    MakeRace[playerid] = -1;


    SetPlayerWaffenSkill(playerid);


    if(!isPlayerInFrakt(playerid,0))


    {


    format(stringlogin,sizeof(stringlogin),"SELECT * FROM "#DATENBANKTAG"_fraktion_motd WHERE fID='%d'",Spieler[playerid][pFraktion]);


    mysql_function_query(MySqlConnection,stringlogin,true,"OnQueryFinish","siii",stringlogin,_SQL_FRAKTIONSMOTD_SELECT,playerid,MySqlConnection);


    }


    else ShowPlayerDialog(playerid,DIALOG_4ALL_SONSTIGES,DIALOG_STYLE_MSGBOX,""#SERVERFARBE""#SERVERNAME"{FFFFFF}: Info","Herzlich Willkommen auf "#SERVERNAME",\nbitte denke immer daran dich an die Regeln zu halten.\nBugs/Fehler im Spiel bitte im Forum melden.\n\nViel Spaß beim spielen!","Verlassen","");


    if(GetPlayerLevel(playerid) <= ENABLE_KILLORPAY_BYLEVEL)


    {


    format(stringlogin,sizeof(stringlogin),"ACHTUNG: Solltest du als Level %i´er einen Spieler töten,",GetPlayerLevel(playerid));


    SendClientMessage(playerid,LEUCHTENDESROT,stringlogin);


    SendClientMessage(playerid,LEUCHTENDESROT,"wirst du Automatisch vom System gebannt!");


    }


    if(Spieler[playerid][HatGeworben] == 0)


    {


    if(GetPlayerLevel(playerid) <= 3)


    {


    SendClientMessage(playerid,WEISS,"{A91400}SERVER{FFFFFF}: Niemand hat dich geworben ?");


    SendClientMessage(playerid,WEISS,"{FFFFFF} Falls doch Benutze: /geworben.");


    }


    else Spieler[playerid][HatGeworben] = 1;


    }


    new zeitdauer = gettime()+(60*60*24*7*2);//2 wochen


    mysql_SetInt(""#DATENBANKTAG"_account_main","PropertyClearTime",zeitdauer,"Name",SpielerName(playerid));


    SetPVarInt(playerid,"Eingeloggt",1);


    OnlinePlayer(playerid,true);


    printf("LOAD: %s Account hat geladen!",SpielerName(playerid));


    }


    return 1;


    }


    ----------
    Loaded log file: "server_log.txt".
    ----------


    SA-MP Dedicated Server
    ----------------------
    v0.3x-R2, (C)2005-2013 SA-MP Team


    [16:13:49]
    [16:13:49] Server Plugins
    [16:13:49] --------------
    [16:13:49] Loading plugin: streamer.so
    [16:13:49]


    *** Streamer Plugin v2.6.1 by Incognito loaded ***


    [16:13:49] Loaded.
    [16:13:49] Loading plugin: sscanf.so
    [16:13:49]


    [16:13:49] ===============================


    [16:13:49] sscanf plugin loaded.


    [16:13:49] Version: 2.8.1


    [16:13:49] (c) 2012 Alex "Y_Less" Cole


    [16:13:49] ===============================


    [16:13:49] Loaded.
    [16:13:49] Loading plugin: mysql.so
    [16:13:49]


    > MySQL plugin R7 successfully loaded.


    [16:13:49] Loaded.
    [16:13:49] Loading plugin: crashdetect.so
    [16:13:49] CrashDetect v4.11.2 is OK.
    [16:13:49] Loaded.
    [16:13:49] Loaded 4 plugins.


    [16:13:49]
    [16:13:49] Ban list
    [16:13:49] --------
    [16:13:49] Loaded: samp.ban
    [16:13:49]
    [16:13:49]
    [16:13:49] Filterscripts
    [16:13:49] ---------------
    [16:13:49] Loading filterscript 'S4A.amx'...
    [16:13:49]


    -----------------------------------------------------------------
    [16:13:49] Sponsoring4all Servermonitor
    [16:13:49] Port: 8223
    [16:13:49] System Aktiv und darf nicht beendet werden!
    [16:13:49] � Sponsoring4all.eu - by Beavis
    [16:13:49] -----------------------------------------------------------------



    [16:13:49] Loaded 1 filterscripts.


    [16:13:49] ... GamemodeInit
    [16:13:49] SERVER: Verbindung zur Datenbank wurde erfolgreich hergestellt.
    [16:13:49] Neues Thema erstellt.
    Titel: Teamspeak
    Schluesselwoerter: Teamspeak freischalten
    Infotext: Deinen Teamspeak Account kann man beim Admin freischalten.
    [16:13:49] Neues Thema erstellt.
    Titel: Forum
    Schluesselwoerter: Forum freischalten
    Infotext: Deinen Foren Account braucht man nicht verifizieren.
    [16:13:49] Neues Thema erstellt.
    Titel: Regelwerk
    Schluesselwoerter: Regelwerk einsehen
    Infotext: Das Regelwerk befindet sich im Forum und ist einzuhalten.
    [16:13:49] Scriptversion: Roleplay V. 0.4.1,Mapversion San Andreas,Url: ultimate-rp.de,Besitzer & Scripter: elyday,Maximale NPC�s: 21
    [16:13:49] --------------------------------
    [16:13:49] Laden ...
    [16:13:49] - Globale Timer gestartet. | Bots connected. -
    [16:13:49] Laden erfolgreich.
    [16:13:49] --------------------------------
    [16:13:49] - Server brauchte f�r das Hochfahren 16 ms -
    [16:13:49] Server bereit f�r Spieler ... Sanktionen k�nnen nun ausgef�hrt werden.
    [16:13:49] Ultimate Roleplay Roleplay V. 0.4.1


    [16:13:49] --------------------------------
    [16:13:49] --------------------------------
    [16:13:49] Ultimate Roleplay Roleplay V. 0.4.1


    [16:13:49] Number of vehicle models: 87
    [16:13:49] - Gangzonen geladen 14/14 -
    [16:13:49] - Blitzer geladen 0/25 -
    [16:13:49] - Minen geladen 0/20 -
    [16:13:49] - XmasObject geladen 0/100 -
    [16:13:49] - Drogenpflanzen geladen 0/50 -
    [16:13:49] - Funkmasten geladen 11/50 -
    [16:13:49] - Fraktionsfahrzeuge geladen 53/500 -
    [16:13:49] - Werbetafeln geladen 22/22 -
    [16:13:49] - Schwarzm�rkte geladen 0/20 -
    [16:13:49] - Stuff wurde geladen -
    [16:13:49] - Fraktionsvewaltungen geladen 19/18 -
    [16:13:49] - H�user geladen 2/300 -
    [16:13:49] - Aktivit�t der Hausbesitzer kontrolliert -
    [16:13:49] - Gutscheine 0/50 -
    [16:13:49] - Businesse geladen 12/100 -
    [16:13:49] - Aktivit�t der Businessbesitzer kontrolliert -
    [16:13:49] - Organisationen geladen 1/10 -
    [16:13:49] - Firmen geladen 0/25 -
    [16:13:49] - Parteien geladen 0/5 -
    [16:13:50] Incoming connection: 5.9.147.14:38567
    [16:13:50] Incoming connection: 5.9.147.14:54059
    [16:13:50] Incoming connection: 5.9.147.14:60170
    [16:13:50] Incoming connection: 5.9.147.14:51328
    [16:13:50] [npc:join] [BOT]PanzerBot has joined the server (0:5.9.147.14)
    [16:13:50] [npc:join] [BOT]Shamal has joined the server (2:5.9.147.14)
    [16:13:50] [npc:join] [BOT]AT400 has joined the server (3:5.9.147.14)
    [16:13:50] [npc:join] [BOT]ZugBot has joined the server (1:5.9.147.14)
    [16:13:52] Incoming connection: 5.9.147.14:54119
    [16:13:52] Incoming connection: 5.9.147.14:52365
    [16:13:52] Incoming connection: 5.9.147.14:39064
    [16:13:52] Incoming connection: 5.9.147.14:33880
    [16:13:52] [npc:join] [BOT]OpiumDealer has joined the server (4:5.9.147.14)
    [16:13:52] [npc:join] [BOT]DKDealer has joined the server (5:5.9.147.14)
    [16:13:52] [npc:join] [BOT]F.NinowBot has joined the server (6:5.9.147.14)
    [16:13:52] [npc:join] [BOT]C4Transport has joined the server (7:5.9.147.14)
    [16:13:54] Incoming connection: 5.9.147.14:47350
    [16:13:54] Incoming connection: 5.9.147.14:54601
    [16:13:54] Incoming connection: 5.9.147.14:51703
    [16:13:54] Incoming connection: 5.9.147.14:48290
    [16:13:54] [npc:join] [BOT]Bank has joined the server (8:5.9.147.14)
    [16:13:54] [npc:join] [BOT]StadthalleLS has joined the server (10:5.9.147.14)
    [16:13:54] [npc:join] [BOT]StadthalleSF has joined the server (11:5.9.147.14)
    [16:13:54] [npc:join] [BOT]Antibot has joined the server (9:5.9.147.14)
    [16:13:56] Incoming connection: 5.9.147.14:55791
    [16:13:56] [npc:join] [BOT]Prister has joined the server (12:5.9.147.14)
    [16:13:59] New version of CrashDetect is available for download (4.12)
    [16:14:40] Incoming connection: 217.255.148.223:58984
    [16:14:40] [join] Spider_Ghost has joined the server (13:217.255.148.223)
    [16:15:09] LOAD: Spider_Ghost Account hat geladen!
    [16:15:32] SAVE: Spider_Ghost Account hat gespeichert!
    [16:15:41] [nick] Spider_Ghost nick changed to [URP]Spider_Ghost
    [16:15:54] SAVE: Spider_Ghost Account hat gespeichert!
    [16:20:18] [debug] Run time error 4: "Array index out of bounds"
    [16:20:18] [debug] Accessing element at index 65535 past array upper bound 499
    [16:20:18] [debug] AMX backtrace:
    [16:20:18] [debug] #0 003df514 in public OnPlayerStateChange (0x0000000d, 0x00000003, 0x00000001) from GeTmyselfmade.amx
    [16:20:53] [nick] [URP]Spider_Ghost nick changed to Spider_Ghost
    [16:21:27] SAVE: Spider_Ghost Account hat gespeichert!
    [16:21:27] [part] Spider_Ghost has left the server (13:1)
    [16:21:41] Incoming connection: 217.255.148.223:60475
    [16:21:42] [join] Spider_Ghost has joined the server (13:217.255.148.223)
    [16:22:28] LOAD: Spider_Ghost Account hat geladen!
    [16:22:45] SAVE: Spider_Ghost Account hat gespeichert!
    [16:22:45] [part] Spider_Ghost has left the server (13:1)
    [16:44:20] --------------------------------
    [16:44:20] Speichern ...
    [16:44:20] - Gangzonen gespeichert 14/14 -
    [16:44:20] - Drogenpflanzen gespeichert 0/50 -
    [16:44:20] - Funkmasten gespeichert 11/50 -
    [16:44:20] - Werbetafeln gespeichert 22/22 -
    [16:44:20] - Rennen gespeichert 0/50 -
    [16:44:20] - Schwarzm�rkte gespeichert 1/20 -
    [16:44:20] - Stuff wurde gespeichert -
    [16:44:20] - Fraktionsvewaltungen gespeichert 18/18 -
    [16:44:20] - Gutscheine 1/50 -
    [16:44:20] - H�user gespeichert 3/300 -
    [16:44:20] - Fraktionsfahrzeuge gespeichert 53/500 -
    [16:44:20] - Businesse gespeichert 13/100 -
    [16:44:20] - Organisationen gespeichert 1/10 -
    [16:44:20] - Partei gespeichert 0/5 -
    [16:44:20] Speicherung erfolgreich ...
    [16:44:20] --------------------------------
    [17:14:58] --------------------------------
    [17:14:58] Speichern ...
    [17:14:58] - Gangzonen gespeichert 14/14 -
    [17:14:58] - Drogenpflanzen gespeichert 0/50 -
    [17:14:58] - Funkmasten gespeichert 11/50 -
    [17:14:58] - Werbetafeln gespeichert 22/22 -
    [17:14:58] - Rennen gespeichert 0/50 -
    [17:14:58] - Schwarzm�rkte gespeichert 1/20 -
    [17:14:58] - Stuff wurde gespeichert -
    [17:14:58] - Fraktionsvewaltungen gespeichert 18/18 -
    [17:14:58] - Gutscheine 1/50 -
    [17:14:58] - H�user gespeichert 3/300 -
    [17:14:58] - Fraktionsfahrzeuge gespeichert 53/500 -
    [17:14:58] - Businesse gespeichert 13/100 -
    [17:14:58] - Organisationen gespeichert 1/10 -
    [17:14:58] - Partei gespeichert 0/5 -
    [17:14:58] Speicherung erfolgreich ...
    [17:14:58] --------------------------------
    [17:39:57] Incoming connection: 93.218.97.38:64989
    [17:39:58] [join] FlashGrenade has joined the server (13:93.218.97.38)
    [17:40:25] LOAD: FlashGrenade Account hat geladen!
    [17:45:35] --------------------------------
    [17:45:35] Speichern ...
    [17:45:35] SAVE: FlashGrenade Account hat gespeichert!
    [17:45:35] - Gangzonen gespeichert 14/14 -
    [17:45:35] - Drogenpflanzen gespeichert 0/50 -
    [17:45:35] - Funkmasten gespeichert 11/50 -
    [17:45:35] - Werbetafeln gespeichert 22/22 -
    [17:45:35] - Rennen gespeichert 0/50 -
    [17:45:35] - Schwarzm�rkte gespeichert 1/20 -
    [17:45:35] - Stuff wurde gespeichert -
    [17:45:35] - Fraktionsvewaltungen gespeichert 18/18 -
    [17:45:35] - Gutscheine 1/50 -
    [17:45:35] - H�user gespeichert 3/300 -
    [17:45:35] - Fraktionsfahrzeuge gespeichert 53/500 -
    [17:45:35] - Businesse gespeichert 13/100 -
    [17:45:35] - Organisationen gespeichert 1/10 -
    [17:45:35] - Partei gespeichert 0/5 -
    [17:45:35] Speicherung erfolgreich ...
    [17:45:35] --------------------------------
    [17:46:54] SAVE: FlashGrenade Account hat gespeichert!
    [17:47:12] SAVE: FlashGrenade Account hat gespeichert!
    [17:47:12] [part] FlashGrenade has left the server (13:1)
    [18:16:11] --------------------------------
    [18:16:11] Speichern ...
    [18:16:11] - Gangzonen gespeichert 14/14 -
    [18:16:11] - Drogenpflanzen gespeichert 0/50 -
    [18:16:11] - Funkmasten gespeichert 11/50 -
    [18:16:11] - Werbetafeln gespeichert 22/22 -
    [18:16:11] - Rennen gespeichert 0/50 -
    [18:16:11] - Schwarzm�rkte gespeichert 1/20 -
    [18:16:11] - Stuff wurde gespeichert -
    [18:16:11] - Fraktionsvewaltungen gespeichert 18/18 -
    [18:16:11] - Gutscheine 1/50 -
    [18:16:11] - H�user gespeichert 3/300 -
    [18:16:11] - Fraktionsfahrzeuge gespeichert 53/500 -
    [18:16:11] - Businesse gespeichert 13/100 -
    [18:16:11] - Organisationen gespeichert 1/10 -
    [18:16:11] - Partei gespeichert 0/5 -
    [18:16:11] Speicherung erfolgreich ...
    [18:16:11] --------------------------------
    [18:20:56] Incoming connection: 91.51.103.131:50080
    [18:20:56] [join] Jeff_Dunham has joined the server (13:91.51.103.131)
    [18:21:19] LOAD: Jeff_Dunham Account hat geladen!
    [18:25:14] SAVE: Jeff_Dunham Account hat gespeichert!
    [18:33:28] SAVE: Jeff_Dunham Account hat gespeichert!
    [18:46:48] SAVE: Jeff_Dunham Account hat gespeichert!
    [18:46:48] [part] Jeff_Dunham has left the server (13:2)
    [18:46:53] --------------------------------
    [18:46:53] Speichern ...
    [18:46:53] - Gangzonen gespeichert 14/14 -
    [18:46:53] - Drogenpflanzen gespeichert 0/50 -
    [18:46:53] - Funkmasten gespeichert 11/50 -
    [18:46:53] - Werbetafeln gespeichert 22/22 -
    [18:46:53] - Rennen gespeichert 0/50 -
    [18:46:53] - Schwarzm�rkte gespeichert 1/20 -
    [18:46:53] - Stuff wurde gespeichert -
    [18:46:53] - Fraktionsvewaltungen gespeichert 18/18 -
    [18:46:53] - Gutscheine 1/50 -
    [18:46:53] - H�user gespeichert 3/300 -
    [18:46:53] - Fraktionsfahrzeuge gespeichert 53/500 -
    [18:46:53] - Businesse gespeichert 13/100 -
    [18:46:53] - Organisationen gespeichert 1/10 -
    [18:46:53] - Partei gespeichert 0/5 -
    [18:46:53] Speicherung erfolgreich ...
    [18:46:53] --------------------------------
    [19:11:22] Incoming connection: 91.51.103.131:63402
    [19:11:22] [join] Jeff_Dunham has joined the server (13:91.51.103.131)
    [19:11:45] LOAD: Jeff_Dunham Account hat geladen!
    [19:15:21] Incoming connection: 93.218.97.38:64310
    [19:15:21] [join] Tronix has joined the server (14:93.218.97.38)
    [19:15:49] [part] Tronix has left the server (14:1)
    [19:16:16] Incoming connection: 93.218.97.38:51809
    [19:16:16] [join] FlashGrenade has joined the server (14:93.218.97.38)
    [19:16:38] LOAD: FlashGrenade Account hat geladen!
    [19:16:38] [debug] Run time error 8: "Heap underflow"
    [19:16:38] [debug] Heap pointer (HEA) is 0xB746199C, heap bottom (HLW) is 0x115CB64
    [19:16:38] [debug] AMX backtrace:
    [19:16:38] [debug] #0 00000008 in public OnPlayerUpdate () from GeTmyselfmade.amx
    [19:16:38] [debug] Run time error 8: "Heap underflow"
    [19:16:38] [debug] Heap pointer (HEA) is 0xB746199C, heap bottom (HLW) is 0x115CB64
    [19:16:38] [debug] AMX backtrace:
    [19:16:38] [debug] #0 00000008 in public OnPlayerUpdate () from GeTmyselfmade.amx
    [19:16:38] [debug] Run time error 8: "Heap underflow"
    [19:16:38] [debug] Heap pointer (HEA) is 0xB746199C, heap bottom (HLW) is 0x115CB64
    [19:16:38] [debug] AMX backtrace:
    [19:16:38] [debug] #0 00000008 in public OnPlayerUpdate () from GeTmyselfmade.amx
    [19:16:38] [debug] Server crashed due to an unknown error
    [19:16:38] [debug] Native backtrace:
    [19:16:38] [debug] #0 b694060b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
    [19:16:38] [debug] #1 b6937e92 in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
    [19:16:38] [debug] #2 b69398d9 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
    [19:16:38] [debug] #3 b69402a0 in ?? () from plugins/crashdetect.so
    [19:16:38] [debug] #4 b772a600 in ?? ()
    [19:16:38] [debug] #5 08095207 in ?? () from ./samp8223_135
    [19:16:38] [debug] #6 0809532a in ?? () from ./samp8223_135
    [19:16:38] [debug] #7 b73d6176 in amx_PushString () from plugins/mysql.so
    [19:16:38] [debug] #8 b73d7157 in ProcessTick () from plugins/mysql.so
    [19:16:38] [debug] #9 080c5ee2 in ?? () from ./samp8223_135
    [19:16:38] [debug] #10 080b5bfa in ?? () from ./samp8223_135
    [19:16:38] [debug] #11 080b14d3 in ?? () from ./samp8223_135
    [19:16:38] [debug] #12 b7497ca6 in __libc_start_main () from /lib32/libc.so.6
    [19:16:38] [debug] #13 0804b521 in ?? () from ./samp8223_135


    //edit: Richtige log


    //edit²: Alle Stocks/Publics die mit dem Error in verbindung kommen.


    OnPlayerUpdate

    public OnPlayerUpdate(playerid)
    {
    if(IsPlayerNPC(playerid))return 1;


    new
    Float:antihp,
    Float:antiarm,
    Float:oldhp = OLDhealth[playerid],
    Float:oldarm = OLDarmour[playerid],
    vehicleid = GetPlayerVehicleID(playerid),
    keys,ud,lr,
    string[24];


    if(IsPlayerInAnyVehicle(playerid))
    {
    for(new i=0;i<MAX_NAGELBAENDER;i++)
    {
    if(NagelBand[i][Erstellt] == 1)
    {
    if(IsVehicleInRangeOfPoint(vehicleid,2.0,NagelBand[i][sperreX],NagelBand[i][sperreY],NagelBand[i][sperreZ]))
    {
    UpdateVehicleDamageStatus(vehicleid,0,0,0,ReifenPlatt(1,1,1,1));
    }
    }
    }
    }


    GetPlayerHealth(playerid,antihp);
    GetPlayerArmour(playerid,antiarm);


    if(oldhp == antihp)
    {
    if(Spieler[playerid][DigiHud] == 0)
    {
    format(string,sizeof(string),"~r~HP:%.1f",antihp);
    PlayerTextDrawSetString(playerid,HPdraw[playerid],string);
    }
    }
    if(oldhp > antihp)
    {
    if(Spieler[playerid][DigiHud] == 0)
    {
    format(string,sizeof(string),"~r~HP:%.1f~g~-%.1f",antihp,oldhp-antihp);
    PlayerTextDrawSetString(playerid,HPdraw[playerid],string);
    }
    }
    if(oldhp < antihp)
    {
    if(Spieler[playerid][DigiHud] == 0)
    {
    format(string,sizeof(string),"~r~HP:%.1f~g~+%.1f",antihp,antihp-oldhp);
    PlayerTextDrawSetString(playerid,HPdraw[playerid],string);
    }
    }
    oldhp = antihp;


    if(oldarm == antiarm)
    {
    if(Spieler[playerid][DigiHud] == 0)
    {
    format(string,sizeof(string),"~w~R:%.1f",antiarm);
    PlayerTextDrawSetString(playerid,ARMOURdraw[playerid],string);
    }
    }
    if(oldarm > antiarm)
    {
    if(Spieler[playerid][DigiHud] == 0)
    {
    format(string,sizeof(string),"~w~R:%.1f~g~-%.1f",antiarm,oldarm-antiarm);
    PlayerTextDrawSetString(playerid,ARMOURdraw[playerid],string);
    }
    }
    if(oldarm < antiarm)
    {
    if(Spieler[playerid][DigiHud] == 0)
    {
    format(string,sizeof(string),"~w~R:%.1f~g~+%.1f",antiarm,antiarm-oldarm);
    PlayerTextDrawSetString(playerid,ARMOURdraw[playerid],string);
    }
    }
    oldarm = antiarm;


    if(noclipdata[playerid][cameramode] == CAMERA_MODE_FLY)
    {
    GetPlayerKeys(playerid,keys,ud,lr);
    if(noclipdata[playerid][mode] && (GetTickCount() - noclipdata[playerid][lastmove] > 100))
    {
    MoveCamera(playerid);
    }
    if(noclipdata[playerid][udold] != ud || noclipdata[playerid][lrold] != lr)
    {
    if((noclipdata[playerid][udold] != 0 || noclipdata[playerid][lrold] != 0) && ud == 0 && lr == 0)
    {
    StopPlayerObject(playerid,noclipdata[playerid][flyobject]);
    noclipdata[playerid][mode] = 0;
    noclipdata[playerid][accelmul] = 0.0;
    }
    else
    {
    noclipdata[playerid][mode] = GetMoveDirectionFromKeys(ud,lr);
    MoveCamera(playerid);
    }
    }
    noclipdata[playerid][udold] = ud,noclipdata[playerid][lrold] = lr;
    return 0;
    }
    return 1;
    }

    Dazu gehört:

    forward OnPlayerUpdate(playerid);