MYSQL ERROR

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
  • Server crasht dauernt!



    [21:04:00] Number of vehicle models: 87
    [21:04:00] - Gangzonen geladen 14/14 -
    [21:04:00] - Blitzer geladen 0/50 -
    [21:04:00] - Minen geladen 0/20 -
    [21:04:00] - XmasObject geladen 0/100 -
    [21:04:00] - Drogenpflanzen geladen 0/50 -
    [21:04:00] - Funkmasten geladen 0/20 -
    [21:04:00] - Werbetafeln geladen 22/22 -
    [21:04:00] - Rennen geladen 0/20 -
    [21:04:00] - Schwarzmärkte geladen 0/20 -
    [21:04:00] - Stuff wurde geladen -
    [21:04:00] [connection] 127.0.0.1:63030 requests connection cookie.
    [21:04:00] [connection] 127.0.0.1:63031 requests connection cookie.
    [21:04:00] [debug] Run time error 4: "Array index out of bounds"
    [21:04:00] [debug] Accessing element at index 18 past array upper bound 17
    [21:04:00] [debug] AMX backtrace:
    [21:04:00] [debug] #0 0064b7a0 in public OnQueryFinish (0x0153e760, 0x0000000e, 0x00000000, 0x00000001) from GeTmyselfmade.amx
    [21:04:00] - Häuser geladen 0/300 -
    [21:04:00] - Aktivität der Hausbesitzer kontrolliert -
    [21:04:00] - Fraktionsfahrzeuge geladen 0/400 -
    [21:04:00] - Businesse geladen 0/100 -
    [21:04:00] - Aktivität der Businessbesitzer kontrolliert -
    [21:04:00] - Organisationen geladen 0/10 -



    Kann mir jemand sagen was das bedeuten soll?

  • [09:54:31] [debug] Run time error 4: "Array index out of bounds"
    [09:54:31] [debug] Accessing element at index 18 past array upper bound 17
    [09:54:31] [debug] AMX backtrace:
    [09:54:31] [debug] #0 0064b7a0 in public OnQueryFinish (index[]=@0153e760 "SELECT * FROM prp_fraktion_verwaltung", sqlresultid=14, extraid=0, SconnectionHandle=1) at C:\Users\Server\Desktop\Server\Server\Server\gamemodes\GeTmyselfmade.pwn:74975

  • case _SQL_FVERWALTUNG_LOAD:
    {
    cache_get_data(rows,fields);
    new fvr = 0;
    if(rows)
    {
    while(fvr<rows)
    {
    cache_get_field_content(fvr,"Geld",result);
    fverwaltungen[fvr][Geld] = strval(result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"Opium",result);
    fverwaltungen[fvr][Opium] = strval(result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"Ganja",result);
    fverwaltungen[fvr][Ganja] = strval(result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"Kokain",result);
    fverwaltungen[fvr][Kokain] = strval(result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"C4",result);
    fverwaltungen[fvr][C4] = strval(result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"Materials",result);
    fverwaltungen[fvr][Materials] = strval(result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"WaffenPack",result);
    fverwaltungen[fvr][WaffenPack] = strval(result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"WaffenSlots",result);
    fverwaltungen[fvr][WaffenSlots] = strval(result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"Heal",result);
    fverwaltungen[fvr][Heal] = strval(result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"HealSlots",result);
    fverwaltungen[fvr][HealSlots] = strval(result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"Armour",result);
    fverwaltungen[fvr][Armour] = strval(result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"ArmourSlots",result);
    fverwaltungen[fvr][ArmourSlots] = strval(result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"HaveVBInvite",result);
    fverwaltungen[fvr][HaveVBInvite] = strval(result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"VBFraktion",result);
    fverwaltungen[fvr][VBFraktion] = strval(result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"F0",result);
    format(frank0[fvr],32,"%s",result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"F1",result);
    format(frank1[fvr],32,"%s",result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"F2",result);
    format(frank2[fvr],32,"%s",result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"F3",result);
    format(frank3[fvr],32,"%s",result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"F4",result);
    format(frank4[fvr],32,"%s",result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"F5",result);
    format(frank5[fvr],32,"%s",result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"F6",result);
    format(frank6[fvr],32,"%s",result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"GFFID",result);
    fverwaltungen[fvr][GangFightfID] = strval(result);
    strdel(result,0,sizeof(result));
    cache_get_field_content(fvr,"GFOWNER",result);
    fverwaltungen[fvr][GangFightOwner] = strval(result);
    cache_get_field_content(fvr,"GSKILLS",result);
    strdel(result,0,sizeof(result));
    fverwaltungen[fvr][GangFightKills] = strval(result);
    cache_get_field_content(fvr,"GFDEATHS",result);
    strdel(result,0,sizeof(result));
    fverwaltungen[fvr][GangFightDeaths] = strval(result);
    fvr++;
    }
    }
    printf("- Fraktionsvewaltungen geladen %i/%i -",rows,MAX_FRAKTIONNEN);
    return 1;
    }

    • cache_get_field_content(fvr,"Geld",result);


    [10:50:59] [debug] Run time error 4: "Array index out of bounds"
    [10:50:59] [debug] Accessing element at index 10 past array upper bound 9
    [10:50:59] [debug] AMX backtrace:
    [10:50:59] [debug] #0 00639340 in public LoadAccountBlacklists (playerid=14) at C:\Users\Server\Desktop\Server\Server\Server\gamemodes\GeTmyselfmade.pwn:74040
    [10:53:24] [debug] Run time error 4: "Array index out of bounds"
    [10:53:24] [debug] Accessing element at negative index -400
    [10:53:24] [debug] AMX backtrace:
    [10:53:24] [debug] #0 0050cb78 in public Tachometer (playerid=14) at C:\Users\Server\Desktop\Server\Server\Server\gamemodes\GeTmyselfmade.pwn:56515




    //EDIT
    Hab jetzt soweit alles behoben.
    Man bekommt nur noch Verbindungsabbrüche!
    Aber sonst geht alles.