Beiträge von NightMare96

    Guten Tag,
    Was mir aufgefallen ist dass es ziemlich viele Reallife Server gibt und paar RP Server.
    Aber gibt es in Deutschland wirklich Server die sich richtig an RolePlay halten? Und wissen was RP eig ist?
    Und wieso werden so viele Server aufgemacht?
    Admingeilheit? = 100%
    Leadergeilheit? = 100%
    Deshalb werden so viele Server aufgemacht.
    Ich habe z.B ein Roleplay Server auf dem wirklich Roleplay gespielt wird.
    Das ist mal was anderes.
    Weil RL Server gibt es genug?
    Denkt mal nach wieso der ganze konkurrenz kampf ist.

    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~f",antihp,oldhp-antihp);
    PlayerTextDrawSetString(playerid,HPdraw[playerid],string);
    }
    }
    if(oldhp < antihp)
    {
    if(Spieler[playerid][DigiHud] == 0)
    {
    format(string,sizeof(string),"~r~HP:%.1f~g~",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~",antiarm,oldarm-antiarm);
    PlayerTextDrawSetString(playerid,ARMOURdraw[playerid],string);
    }
    }
    if(oldarm < antiarm)
    {
    if(Spieler[playerid][DigiHud] == 0)
    {
    format(string,sizeof(string),"~w~R:%.1f~g~",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;
    }


    Run time error 8: "Heap underflow"
    #0 00000008 in public OnPlayerUpdate ()

    [13:58:56] [debug] Server crashed due to an unknown error
    [13:58:56] [debug] Thread backtrace:
    [13:58:56] [debug] #0 f699f4ad in crashdetect::PrintThreadBacktrace () from plugins/crashdetect.so
    [13:58:56] [debug] #1 f69a1bbc in crashdetect::Crash () from plugins/crashdetect.so
    [13:58:56] [debug] #2 f69a6d4e in ?? () from plugins/crashdetect.so
    [13:58:56] [debug] #3 f76e5400 in ?? ()
    [13:58:56] [debug] #4 f742b716 in CMySQLHandler::FreeResult () from plugins/mysql_r7.so
    [13:58:56] [debug] #5 f742dbc2 in CMySQLHandler::~CMySQLHandler () from plugins/mysql_r7.so
    [13:58:56] [debug] #6 f743687b in Unload () from plugins/mysql_r7.so
    [13:58:56] [debug] #7 080cfe1b in ?? () from ./samp7777_4662
    [13:58:56] [debug] #8 080a8992 in ?? () from ./samp7777_4662
    [13:58:56] [debug] #9 f7458ca6 in __libc_start_main () from /lib32/libc.so.6
    [13:58:56] [debug] #10 0804b4d1 in ?? () from ./samp7777_4662


    [13:58:56] [debug] Heap index (HEA) is 0x57, heap bottom (HLW) is 0x103B278
    [13:58:56] [debug] Backtrace:
    [13:58:56] [debug] #0 00000008 in public OnPlayerUpdate () from lol.amx
    [13:58:56] [debug] Run time error 8: "Heap underflow"
    [13:58:56] [debug] Heap index (HEA) is 0x57, heap bottom (HLW) is 0x103B278
    [13:58:56] [debug] Backtrace:
    [13:58:56] [debug] #0 00000008 in public OnPlayerUpdate () from lol.amx
    [13:58:56] [debug] Run time error 8: "Heap underflow"
    [13:58:56] [debug] Heap index (HEA) is 0x57, heap bottom (HLW) is 0x103B278

    [13:04:04] [debug] Run time error 8: "Heap underflow"
    [13:04:04] [debug] Heap index (HEA) is 0x57, heap bottom (HLW) is 0x103B278
    [13:04:04] [debug] Backtrace:
    [13:04:04] [debug] Server crashed while executing lol.amx
    [13:04:04] [debug] Backtrace:

    Wenn es nur auf einem Server ist, ist es wahrscheinlich irgendwas Scriptabhängiges.
    Es ist nur aufm Server und das hat jeder user aufm server das problem.
    Kann jemand vll schnell mal per TV gucken? ist besser als alles hier zu posten.

    Hallo,
    Ich habe derzeit das Problem, wenn mann als Fahrer im Auto sitzt das dann die ganze zeit mit einem abstand von paar milli sekunden so ein schwarzes fenster aufpopt oder textdraw je nach dem wie ihr es nun nennt,
    als beifahrer sieht man das nicht.

    Auch mysql alles erstellt?







    PS: wenn man schon ein script downloaded dann sollte man es auch selber zum laufen kriegen(0815) hust.

    [07:01:09] betätigt die Zündung. Der Motor springt an!
    [07:01:12] [debug] Run time error 4: "Array index out of bounds"
    [07:01:12] [debug] Accessing element at index 625 past array upper bound 619
    [07:01:12] [debug] AMX backtrace:
    [07:01:12] [debug] #0 00094d00 in public OnPlayerStateChange (playerid=1, newstate=2, oldstate=1) at :16577
    [07:01:12] betätigt die Zündung. Der Motor springt an!
    [07:01:14] [debug] Server crashed while executing Script.amx
    [07:01:14] [debug] AMX backtrace:
    [07:01:14] [debug] #0 native fwrite () [0809aa10] from samp03svr
    [07:01:14] [debug] #1 003344ac in public OnDialogResponse (playerid=2, dialogid=148, response=1, listitem=-1, inputtext[]=@0x00b9a9f8 "1") at :65604
    [07:01:14] [debug] Native backtrace:
    [07:01:14] [debug] #0 b74f409b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
    [07:01:14] [debug] #1 b74ef2d2 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
    [07:01:14] [debug] #2 b74efebc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
    [07:01:14] [debug] #3 b74f0366 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
    [07:01:14] [debug] #4 b74f3cec in ?? () from plugins/crashdetect.so
    [07:01:14] [debug] #5 b77bb600 in ?? ()
    [07:01:14] [debug] #6 b752f667 in gsignal () from /lib/i386-linux-gnu/libc.so.6
    [07:01:14] [debug] #7 b7532a52 in abort () from /lib/i386-linux-gnu/libc.so.6
    [07:01:14] [debug] #8 b75288f7 in __assert_fail () from /lib/i386-linux-gnu/libc.so.6
    [07:01:14] [debug] #9 0809a63c in ?? () from ./samp03svr
    [07:01:14] [debug] #10 0809aa9f in ?? () from ./samp03svr
    [07:01:14] [debug] #11 08093d84 in ?? () from ./samp03svr
    [07:01:14] [debug] #12 b74ecb9c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
    [07:01:14] [debug] #13 b74f2d38 in ?? () from plugins/crashdetect.so
    [07:01:14] [debug] #14 b74f91f8 in amx_Exec () from plugins/crashdetect.so
    [07:01:14] [debug] #15 b74ef218 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
    [07:01:14] [debug] #16 b74f2aa9 in ?? () from plugins/crashdetect.so
    [07:01:14] [debug] #17 080a4daf in ?? () from ./samp03svr
    [07:01:14] [debug] #18 080b09c4 in ?? () from ./samp03svr
    [07:01:14] [debug] #19 08071ac8 in ?? () from ./samp03svr
    [07:01:14] [debug] #20 08071bc2 in ?? () from ./samp03svr
    [07:01:14] [debug] #21 0807ba20 in ?? () from ./samp03svr
    [07:01:14] [debug] #22 080acbfd in ?? () from ./samp03svr
    [07:01:14] [debug] #23 080acda2 in ?? () from ./samp03svr
    [07:01:14] [debug] #24 080a81ae in ?? () from ./samp03svr
    [07:01:14] [debug] #25 b751be16 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
    [07:01:14] [debug] #26 0804b4a1 in ?? () from ./samp03svr

    [06:28:13] Pickups Max = 2048, Current Pickups = 36
    [06:28:13] [debug] Run time error 4: "Array index out of bounds"
    [06:28:13] [debug] Accessing element at index 23 past array upper bound 22
    [06:28:13] [debug] AMX backtrace:



    hier:
    stock StreetFight_Init()
    {
    for(new i=0;i<MAX_STREET_FACTIONS;i++)
    {
    i += 1;
    if(IsSFFaction(i))
    {
    new ordner[30];
    format(ordner, sizeof(ordner), "/streetfight/%i.ini", i);
    if(!dini_Exists(ordner))
    {
    dini_Create(ordner);
    }
    else
    {
    StreetFight[Kills] = dini_Int(ordner, "Kills");
    StreetFight[Deaths] = dini_Int(ordner, "Tode");
    StreetFight[Wins] = dini_Int(ordner, "Wins");
    StreetFight[Looses] = dini_Int(ordner, "Looses");
    StreetFight[mKills] = 0;
    StreetFight[Gegner] = 0;
    StreetFight[neededKills] = 0;
    }
    }
    }
    }




    txtAnimHelper = TextDrawCreate(610.0, 400.0,"~r~~k~~Sprinttaste, um abzubrechen");
    TextDrawUseBox(txtAnimHelper, 0);
    TextDrawFont(txtAnimHelper, 2);
    TextDrawSetShadow(txtAnimHelper,0);
    TextDrawSetOutline(txtAnimHelper,1);
    TextDrawBackgroundColor(txtAnimHelper,0x000000FF);
    TextDrawColor(txtAnimHelper,0xFFFFFFFF);
    TextDrawAlignment(txtAnimHelper,3);


    /*Uhrzeit = TextDrawCreate(554.000000, 30.000000, " ");
    TextDrawBackgroundColor(Uhrzeit, 255);
    TextDrawFont(Uhrzeit, 2);
    TextDrawLetterSize(Uhrzeit, 0.390000, 1.300000);
    TextDrawColor(Uhrzeit, -1);
    TextDrawSetOutline(Uhrzeit, 1);
    TextDrawSetProportional(Uhrzeit, 1);
    TextDrawShowForAll(Uhrzeit);*/


    new year;
    new month;
    new day;
    new mtext[20], dtext[20];
    getdate(year, month, day);
    if(month == 1) { mtext = "01"; }
    else if(month == 2) { mtext = "02"; }
    else if(month == 3) { mtext = "03"; }
    else if(month == 4) { mtext = "04"; }
    else if(month == 5) { mtext = "05"; }
    else if(month == 6) { mtext = "06"; }
    else if(month == 7) { mtext = "07"; }
    else if(month == 8) { mtext = "08"; }
    else if(month == 9) { mtext = "09"; }
    else if(month == 10) { mtext = "10"; }
    else if(month == 11) { mtext = "11"; }
    else if(month == 12) { mtext = "12"; }
    if(day == 1) { dtext = "01"; }
    else if(day == 2) { dtext = "02"; }
    else if(day == 3) { dtext = "03"; }
    else if(day == 4) { dtext = "04"; }
    else if(day == 5) { dtext = "05"; }
    else if(day == 6) { dtext = "06"; }
    else if(day == 7) { dtext = "07"; }
    else if(day == 8) { dtext = "08"; }
    else if(day == 9) { dtext = "09"; }
    else if(day == 10) { dtext = "10"; }
    else if(day == 11) { dtext = "11"; }
    else if(day == 12) { dtext = "12"; }
    else if(day == 13) { dtext = "13"; }
    else if(day == 14) { dtext = "14"; }
    else if(day == 15) { dtext = "15"; }
    else if(day == 16) { dtext = "16"; }
    else if(day == 17) { dtext = "17"; }
    else if(day == 18) { dtext = "18"; }
    else if(day == 19) { dtext = "19"; }
    else if(day == 20) { dtext = "20"; }
    else if(day == 21) { dtext = "21"; }
    else if(day == 22) { dtext = "22"; }
    else if(day == 23) { dtext = "23"; }
    else if(day == 24) { dtext = "24"; }
    else if(day == 25) { dtext = "25"; }
    else if(day == 26) { dtext = "26"; }
    else if(day == 27) { dtext = "27"; }
    else if(day == 28) { dtext = "28"; }
    else if(day == 29) { dtext = "29"; }
    else if(day == 30) { dtext = "30"; }
    else if(day == 31) { dtext = "31"; }
    Datum = TextDrawCreate(546.000000, 14.000000, " ");
    TextDrawBackgroundColor(Datum, 255);
    TextDrawFont(Datum, 2);
    TextDrawLetterSize(Datum, 0.300000, 1.200000);
    TextDrawColor(Datum, -1);
    TextDrawSetOutline(Datum, 1);
    TextDrawSetProportional(Datum, 1);
    format(ALLSTRING, sizeof(ALLSTRING), "%s.%s.%d", dtext, mtext, year);
    TextDrawSetString(Datum,ALLSTRING);
    TextDrawShowForAll(Datum);
    LoadHouses();
    StreetFight_Init();
    return 1;
    }[i][i][/i][/i]