[SAMMELTHREAD] Kleine Scripting Fragen

Dein Problem konnte durch einen User gelöst werden? Bedank dich bei ihm indem du seinen Beitrag als Hilfreich markierst sowie einen Daumen oben dalässt
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
  • Das wäre auch eine Option über die man nachdenken könnte.


    Spezieller wird es aber nun da 100% Lags bei meiner Speicherung der Fraktionen entstehen was gut nachzuvollziehen ist.
    Es werden nicht nur insgesamt (bisher) 18 Fraktionen mit sämtlichen Daten gespeichert (mysql) sondern pro 18 Fraktionen nochmal 11 Namen der Ränge (Rang 0 - 10) und anschließend nochmal Fraktionsfahrzeuge (über 400).


    Das es da kurz hängt kann ich gut verstehen...


    public FrakUpdate()
    {
    new Query[500];
    for(new i = 0; i < sizeof Fraktionen; i++)
    {
    mysql_real_escape_string(Fraktionen[i][Frakname], Fraktionen[i][Frakname]);
    format(Query,sizeof(Query),"UPDATE `Fraktionen` SET `Kasse` = '%f', `Mats` = '%d', `Drogen` = '%d', `MaxMember` = '%d', `Respekt` = '%d', `Muebersicht` = '%d', `Buendnis` = '%d', `BMinuten` = '%d', `BStunden` = '%d', `BTage` = '%d', `Grundgehalt` = '%d', `Rangbonus` = '%d', `MaxRangs` = '%d', `Bizzes` = '%d', `kAbgehoben` = '%d' WHERE `Frakname` = '%s'",
    Fraktionen[i][Kasse], Fraktionen[i][Mats], Fraktionen[i][Drogen], Fraktionen[i][MaxMember], Fraktionen[i][Respekt], (Fraktionen[i][Muebersicht]) ? 1:0, Fraktionen[i][Buendnis], Fraktionen[i][BMinuten], Fraktionen[i][BStunden], Fraktionen[i][BTage], Fraktionen[i][Grundgehalt], Fraktionen[i][Rangbonus], Fraktionen[i][MaxRangs], Fraktionen[i][Bizzes], Fraktionen[i][kAbgehoben], Fraktionen[i][Frakname]);
    mysql_query(Query);


    for(new j = 0; j < 11; j++)
    {
    new rstr[10];
    format(rstr,sizeof(rstr),"Rang %d", j);
    mysql_real_escape_string(rstr, rstr);
    mysql_real_escape_string(Rangnamen[i][j], Rangnamen[i][j]);
    format(Query,sizeof(Query),"UPDATE `Fraktion_Raenge` SET `%s` = '%s' WHERE `Frakname` = '%s'", rstr, Rangnamen[i][j], Fraktionen[i][Frakname]);
    mysql_query(Query);
    }
    }
    for(new i = 0; i < sizeof Frakcars; i++)
    {
    format(Query,sizeof(Query),"UPDATE `Fraktion_Fahrzeuge` SET");
    if(Frakcars[i][created])
    {
    new Float:vhp;
    GetVehicleHealth(Frakauto[i],vhp);
    format(Frakcars[i][Nummernschild],30,"%s",vInfo[Frakauto[i]][Nummernschild]);
    format(Query,sizeof(Query),"%s `vHP` = '%f', `vTank` = '%d',",Query, vhp, vInfo[Frakauto[i]][vTank]);
    }
    mysql_real_escape_string(Frakcars[i][CName],Frakcars[i][CName]);
    mysql_real_escape_string(Frakcars[i][Nummernschild],Frakcars[i][Nummernschild]);
    format(Query,sizeof(Query),"%s `Zerstoert` = '%d', `Rang` = '%d', `Tempomat` = '%d', `created` = '%d', `Nummernschild` = '%s', `posx` = '%f', `posy` = '%f', `posz` = '%f', `posa` = '%f' WHERE `CName` = '%s' AND `fID` = '%d' AND `cID` = '%d'",
    Query, Frakcars[i][Zerstoert], Frakcars[i][Rang], (Frakcars[i][Tempomat]) ? 1:0, (Frakcars[i][created]) ? 1:0, Frakcars[i][Nummernschild], Frakcars[i][posx], Frakcars[i][posy], Frakcars[i][posz], Frakcars[i][posa], Frakcars[i][CName], Frakcars[i][Frakid], Frakcars[i][Frakcarid]);
    mysql_query(Query);
    }
    return 1;
    }

  • Und was ist jetzt deine Frage ?
    Logisch, dass es hängt, erst führst du immer nen Query in der Schleife aus (dazu UPDATE Querys die am lahmsten von allen sind) und dann
    sind deine Querys nicht threaded. Würdest du die auf threaded Querys umschreiben, wären deine Laggs sicherlich behoben.


    LG

    Main: CPU: Intel Core i5-4440 @ 3,10 GHz | CPU-Cooling: Matterhorn -PURE- | RAM: 16GB Crucial Ballistix Sport DDR3-1600 DIMM CL9-9-9-24 |
    Motherboard: ASRock B85M Pro4 | GPU: Sapphire Radeon R9 390X Nitro 8GB GDDR5 |

    SSD: Samsung SSD 840 Evo 500GB | Power Supply: 550 Watt Corsair CS Series Modular 80+ Gold | Case: beQuiet! Silent Base 800


    As I walk through the valley of the shadow of death
    I take a look at my life and realize there's nothin' left.

  • Dann ist meine Frage: Wie geht das mit Threaded Querys?


    Weil ich brauche ja Update komme um die SQL Befehle ja nicht umzu und genauso muss ich auch in der schleife diesen Query ausführen.


    //edit: oder reicht es etwa wenn ich einfach irgenteine id als resultid eintrage das Public hinzufüge und einfach leer lasse?

    Einmal editiert, zuletzt von Simon ()

  • Ich hatte doch dazu schon ein Tutorial gemacht, schaus dir einfach an.


    LG

    Main: CPU: Intel Core i5-4440 @ 3,10 GHz | CPU-Cooling: Matterhorn -PURE- | RAM: 16GB Crucial Ballistix Sport DDR3-1600 DIMM CL9-9-9-24 |
    Motherboard: ASRock B85M Pro4 | GPU: Sapphire Radeon R9 390X Nitro 8GB GDDR5 |

    SSD: Samsung SSD 840 Evo 500GB | Power Supply: 550 Watt Corsair CS Series Modular 80+ Gold | Case: beQuiet! Silent Base 800


    As I walk through the valley of the shadow of death
    I take a look at my life and realize there's nothin' left.

  • würde es nicht so machen wie XeroX es sagt.... (alles auf einmal ist immer die SCHLECHTESTE Wahl)


    Du denkst schon richtig, nicht zu viel auf einmal. Desto mehr du den Code verteilst (also nicht für alle Spieler zur selben Zeit), desto weniger wird es zu Lag kommen!!!


    So.ein Blödsinn hatte nicht einmal Probleme (laggs) beim speichern von mehreren Spielern gleichzeitig und ich hatte damals dini benutzt ca 30 Spieler.

  • Kleine Frage, wie Scripte ich es das die Fahrzeuge nach dem explodieren oder zerstören NICHT zurückspawnen?
    Ich habe natürlich "AddStaticVehicleEx" und auch -1 eingetragen damit die Fahrzeuge nach dem verlassen nicht zurückspawnen.
    Allerdings hätte ich es nun gerne das die Fahrzeuge auch nach dem zerstören nicht zurückspawnen.


    Da ich dieses mit einem /frc oder /respawncars Befehl verbinden möchte.



    Vielen dank im Vorraus.
    MfG
    ItsFreaky



    PS: Rechtschreibfehler sind ein Feature meiner Tastatur. :)


    Alle Menschen sind eins. Was sie unterscheidet, ist der Name, den man ihnen gibt.
    (Buddha)


    Uns zivilisierten Menschen ist zwar gelungen, das Raubtier in uns auszuschalten, nicht aber den Esel.
    (Winston Churchill)


    Wenn du denkst, die ganze Welt sei schlecht, dann vergisst nicht, dass Leute wie du darin leben.
    (Mahatma Gandhi)

  • Hi habe ein neues Script von einem Freund aber dieses Speichert einfach die Accounts nicht also man loggt sich ein registriert sich aber wen man sich reloggt ist alles weg und es speichert einfach nichts ist das nur nen Kleiner Fehler oder ist das Script Fehlerhaft so das ich es löschen kann.Bitte um schnelle Antwort da meine User warten Danke im Voraus :)

  • Was fürn Code ? Tut mir leid aber ich bin Neu.Falls serverlog



    :
    [17:22:35] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:22:35] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:22:35] [MySQL] Error (0): Function: mysql_fetch_row called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:22:35] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:22:35] Spieler Testx3 wird geladen
    [17:22:35] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:22:35] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:22:35] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:22:35] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:22:35] Spieler Testx3 geladen
    [17:22:35] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:22:38] Playerid: 0, Dialogid: 3, Response: 1 Listitem: -1 Inputtext:
    [17:22:39] Playerid: 0, Dialogid: 89, Response: 0 Listitem: -1 Inputtext:
    [17:23:31] Incoming connection: 79.199.120.60:54833
    [17:23:31] [join] TerminatorRR has joined the server (1:79.199.120.60)
    [17:23:31] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:31] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:31] [MySQL] Error (0): Function: mysql_fetch_int called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:31] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:44] Playerid: 1, Dialogid: 1, Response: 1 Listitem: -1 Inputtext:
    [17:23:48] Playerid: 1, Dialogid: 2, Response: 1 Listitem: -1 Inputtext: Stefan0806
    [17:23:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:48] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:51] Playerid: 1, Dialogid: 0, Response: 1 Listitem: -1 Inputtext: Stefan0806
    [17:23:51] [MySQL] Error (0): Function: mysql_real_escape_string called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:51] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:51] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:51] [MySQL] Error (0): Function: mysql_fetch_row called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:51] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:51] Spieler TerminatorRR wird geladen
    [17:23:51] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:51] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:51] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:51] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:51] Spieler TerminatorRR geladen
    [17:23:51] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:23:53] Playerid: 1, Dialogid: 3, Response: 1 Listitem: -1 Inputtext:
    [17:23:56] Playerid: 1, Dialogid: 89, Response: 0 Listitem: -1 Inputtext:
    [17:24:00] Playerid: 0, Dialogid: 80, Response: 1 Listitem: 2 Inputtext: Auto & Motoradschein
    [17:24:06] [chat] [Testx3]: teste wieder
    [17:24:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:15] [part] Testx3 has left the server (0:1)
    [17:24:17] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:17] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:17] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:17] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:17] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:17] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:17] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:17] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:17] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:17] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:17] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:17] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:17] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:17] [part] TerminatorRR has left the server (1:1)
    [17:24:38] Incoming connection: 79.241.141.61:55544
    [17:24:38] [join] Testx3 has joined the server (0:79.241.141.61)
    [17:24:38] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:38] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:38] [MySQL] Error (0): Function: mysql_fetch_int called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:38] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:24:51] Playerid: 0, Dialogid: 1, Response: 0 Listitem: -1 Inputtext:
    [17:24:51] [part] Testx3 has left the server (0:2)
    [17:28:31] Incoming connection: 77.1.53.206:52174
    [17:28:31] [join] WhoUz has joined the server (0:77.1.53.206)
    [17:28:31] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:31] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:31] [MySQL] Error (0): Function: mysql_fetch_int called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:31] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:45] Playerid: 0, Dialogid: 1, Response: 1 Listitem: -1 Inputtext:
    [17:28:48] Playerid: 0, Dialogid: 2, Response: 1 Listitem: -1 Inputtext: deanr99
    [17:28:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:48] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:48] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:50] Playerid: 0, Dialogid: 0, Response: 1 Listitem: -1 Inputtext: deanr99
    [17:28:50] [MySQL] Error (0): Function: mysql_real_escape_string called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:50] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:50] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:50] [MySQL] Error (0): Function: mysql_fetch_row called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:50] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:50] Spieler WhoUz wird geladen
    [17:28:50] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:50] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:50] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:50] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:50] Spieler WhoUz geladen
    [17:28:50] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:54] Playerid: 0, Dialogid: 3, Response: 1 Listitem: -1 Inputtext:
    [17:28:59] Playerid: 0, Dialogid: 89, Response: 1 Listitem: -1 Inputtext: WhoUz
    [17:28:59] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:59] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:59] [MySQL] Error (0): Function: mysql_fetch_int called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:28:59] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:29:02] Playerid: 0, Dialogid: 89, Response: 0 Listitem: -1 Inputtext:
    [17:30:27] Playerid: 0, Dialogid: 80, Response: 1 Listitem: 2 Inputtext: Auto & Motoradschein
    [17:30:49] /stats
    [17:31:28] /navi
    [17:31:30] Playerid: 0, Dialogid: 47, Response: 1 Listitem: 0 Inputtext: Öffentliche Gebäude
    [17:31:31] Playerid: 0, Dialogid: 59, Response: 1 Listitem: 0 Inputtext: Polizei
    [17:32:09] /o test
    [17:32:19] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:32:19] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:32:19] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:32:19] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:32:19] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:32:19] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:32:19] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:32:19] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:32:19] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:32:19] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:32:19] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:32:19] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:32:19] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to MySQL server on 'CHANGEME.de' (110).
    [17:32:19] [part] WhoUz has left the server (0:1)


  • mysql verbindung überarbeiten hast ne falsche ip+port abgegeben bzw. das changeme.de zu deiner ip machen ^^

  • Code
    [17:14:44] sscanf warning: String buffer overflow.
    [17:14:48] [MySQL] Error (0): Failed to exeute query. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE Name='Ken'' at line 1.


    Na, was ist da den los?

    Mit freundlichen Grüßen


    Da Shogunz

  • Ist es möglich, Alle dateien die in dem Ordner /scriptfiles/AntiCheat/Bans/ sind, in einem Dialog anzuzeigen?


    Also das dann der Server die Dateinamen ausließt und sie mir in einem Dialog anzeigt?


    Währe sehr Dankbar wenn mir jemand Helfen würde ;)

  • clip0008.avi


    http://www.file-upload.net/dow…7635666/clip0008.avi.html

    mysql verbindung überarbeiten hast ne falsche ip+port abgegeben bzw. das changeme.de zu deiner ip machen ^^

    Ist doch richtig oder kann aber keine Connection aufbauen
    Für alle die Denken der Clip ist nen Virus hier nochmal aufgelistet was ich bei newconection eingebe
    Connection Name:Test
    HostName/IpAddres: (Nur Beispiel) 5.9.27.88 NUr kleine Abweichungen
    UserName:samp2703
    Password:*******

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