Beiträge von dave1091

    Vielen Dank dafür schonmal.


    Nun ist ein anderes Problem aufgetreten...
    Der Server crasht ohne Errors in den Logfiles.
    Der Server crasht wenn ein User auf dem Server ist und dann nach den 60 Sekunden wo dann die Sperre für /carlist zu Ende ist und eigentlich die Playercars aus der Datenbank geladen werden und auf dem Server spawnen.




    Kann mit einer bei diesem Problem helfen ?

    Was haben diese MySQL errors zu bedeuten ?



    [21:38:06] [MySQL] Error (0): Failed to connect. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_ping called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_errno called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_errno called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_errno called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_errno called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] 0 Autohäuser geladen
    [21:38:06] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] 0 Verkaufsautos geladen
    [21:38:06] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] 0 Parkplätze geladen
    [21:38:06] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [21:38:06] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).



    Benutze das MySQL von Strickenkid.


    Hat einer da eine lösung ?

    Was eine wunderbare aussage... :cursing: :thumbdown:



    Habe mitlerweile meinen Streamer und Junkbuster wieder auf die alte version zurück gepatcht...
    Jedoch werden mir weiterhin keine Pickups angezeigt...
    Wo könnte da der fehler liegen ?

    Bringt leider auch nichts.. Werden immer noch nicht angezeigt :cursing:




    Hat denn keiner eine Ahnung warum meine Pickup´s nicht mehr angezeigt werden ???....

    Habe mir den Streamer von Incognito runtergeladen (v2.6.1) davor hatte ich die version 2.3.4. Als ich die alte Version noch hatte lief alles einwandfrei, aber nach dem ich dann die Version 2.6.1 hatte wollten so einige Sachen nicht mehr z.b. meine Score angezeige wird nicht angezeigt oder meine CreatePickups werden auch nicht mehr angezeigt....


    Hier habt ihr mal nen Code wie ich meine Pickups mache



    OnGameModeInit:
    InteriorEnters[1] = CreatePickup(1318, 23, 928.9160,-1353.0472,13.3438); //Clunkin Bell Rein
    InteriorExits[1] = CreatePickup(1318, 23, 365.5368,-11.6014,1001.8516); //Clunkin Bell Raus


    OnPlayerPickUpPickup:
    if(currentpickup == InteriorEnters[1])
    {
    SetPlayerPos(playerid, 366.4043,-8.0554,1001.8516);
    SetCameraBehindPlayer(playerid);
    SetPlayerInterior(playerid,9);
    }
    if(currentpickup == InteriorExits[1])
    {
    SetPlayerPos(playerid, 923.7872,-1352.7813,13.3766);
    SetCameraBehindPlayer(playerid);
    SetPlayerInterior(playerid,0);
    }


    Habe auch noch nicht mal etwas an den einstellungen für die Score anzeige oder an den CreatePickups gemacht


    Ich weis echt nicht mehr weiter... Kann mir einer von euch helfen?

    Hab ich schon probiert, zeigt aber keine änderung am problem...


    edit: Muss ich irgendwelche besonderen einstellungen an der neuen version vom Streamer machen ?




    Hat denn keiner eine Ahnung warum meine Pickups nicht spawnen ? Muss ich an dem Incognito Streamer 2.6.1 erst was einstellen ?

    Also...


    Ich hatte z.b. ein Pickup an der LSPD, wenn ich den betreten habe wurde ich ins Interior gesetzt.
    Habe dann vor kurzem das Dt_DynamicCar, Junkbuster und mein Streamer von Incognito auf die neuste version geupdatet, da sie halt sehr veraltet waren.
    Und ich glaube nun das ich durch das ganze aktualisieren der includes und filterscripts ein problem mit den "CreatePickup"´s habe.
    Es werden keine Pickups mehr erstellt das heißt ich habe auch kein zutritt in meine ganzen Interriors...


    Mitlerweile hatte ich dann schon das Dt_DynamicCar mal rausgenommen um zu überprüfen ob es an dem filterscript liegt. Dies war jedoch nicht der fall.
    Nun liegt meine vermutung das durch den aktuellsten Streamer von Incognito (v2.6.1) meine Pickups nicht mehr geladen werden. Jedoch weiß ich nun nicht was ich ändern müsste um den fehler zu beheben.
    Weis es vielleicht einer von euch ? Würde mich über Hilfe sehr freuen.


    Ich hoffe es ist diesmal verständlicher...

    Habe seid ca. 3 Tage keine Enter und Exit Marker die mich von draußen, in irgendein interrior porten oder andersrum.
    Das einzige was ich in diesem Zeitraum gemacht habe war das ich ein Bot eingefügt habe.
    Habe dann noch nebenbei das Dt_DynamicCar filterscript und Junkbuster 11 am laufen.


    Bin nun echt verzweifelt und weis nicht wonach ich mal suchen könnte weil ich ja nichts an den Markern verändert habe.


    Hatte auch schon probiert den Bot wieder zu entfernen, was aber auch das problem nicht gelöst hat... Mein zweiter versuch war dann das Dt_DynamicCar auszuschalten auch das hat leider nicht das problem gelöst...


    Könnte mir einer vielleicht bei dem Problem helfen ?
    Würde mich sehr über Hilfe freuen.


    Mfg dave91



    edit: Könnte es vielleicht an den Grundeinstellungen von Junkbuster 11 liegen ? Hatte es auch erst seid neustem auf den aktuellsten stand gebracht. Und seid dem nicht die cfg bearbeitet...
    edit2: Was mir aber noch einfällt ist das ich mein stream Plugin auf die neuste version geupdatet habe. Benutze "Streamer Plugin v2.6.1 by Incognito"...

    Was hat denn diese Error Meldung zu bedeuten ?



    [19:31:12] [MySQL] Error (0): Function: mysql_fetch_field failed, no field data.
    [19:31:12] [MySQL] Error (0): Function: mysql_fetch_field failed, no field data.
    [19:31:12] [MySQL] Error (0): Function: mysql_fetch_field failed, no field data.
    [19:31:12] [MySQL] Error (0): Function: mysql_fetch_field failed, no field data.
    [19:31:12] [MySQL] Error (0): Function: mysql_fetch_field failed, no field data.



    Benutze:
    - Strickenkid MySQL
    - Junkbuster 11

    Wenn du dir den ersten Post mal durchgelesen hättest und nicht nur den Download Button gesucht hättest dann wüsstest du sicherlich von selbst wie das funktioniert.




    Füge das unten in dein Gamemode ein


    forward DtdcMoreVehicle(playerid); //
    public DtdcMoreVehicle(playerid)
    {
    switch(PlayerInfo[playerid][pDonate])
    {
    case 0:{return 0;}// Kein Donator Kein weiteres Fahrzeug!
    case 1:{return 1;}// Donator Rang 1 - 1 Weiteres Fahrzeug
    case 2:{return 2;}// Donator Rang 2 - 2 Weitere Fahrzeuge
    }
    }



    und im Filterscript
    dann "#define MaxVehMore" auf "2" setzen.

    Guten Abend,


    habe mal das Filterscript zum laufen bekommen. Auch das MySQL lief eigentlich richtig sauber. Aber als ich in der Server.log nachgeschaut habe fand ich folgende einträge...



    [20:28:11] [MySQL] Error (0): Function: mysql_fetch_field could not find field name: "OParkR".
    [20:28:11] [MySQL] Error (0): Function: mysql_fetch_field could not find field name: "OParkR".
    [20:28:11] [MySQL] Error (0): Function: mysql_fetch_field could not find field name: "OParkR".


    [20:36:32] [MySQL] Error (0): Failed to exeute query. Unknown column 'OParkR' in 'field list'.
    [20:36:32] [MySQL] Error (0): Failed to exeute query. Unknown column 'OParkR' in 'field list'.
    [20:36:32] [MySQL] Error (0): Failed to exeute query. Unknown column 'OParkR' in 'field list'.
    [20:36:32] [MySQL] Error (0): Failed to exeute query. Unknown column 'OParkR' in 'field list'.


    Der Error "'OParkR' in 'field list'" wird ca. alle 8-10 Minuten gespammt. Der obere Error taucht nur ganz am anfang einmal auf danach nicht mehr.


    Weiß einer was die zu bedeuten haben und wie ich sie entfernen könnte?

    Vielleicht noch einen kleinen Kill/Death Zähler einbauen, auch wenn er nicht von bedeutung ist. :)



    edit:


    Oder halt 2 Boxen einmal für Team Rot und dann noch eine seperate dadrunter für Team Blau
    Dann halt Kill / Death Zähler rein, dann vlt. wie du schon erwähnt hast wie oft die flagge erobert wurde vom jeweiligen Team oder auch fallen gelassen wurde.

    Ich danke euch jetzt schonmal für die flotten Antworten :thumbup:
    Ich hatte es mir leichter vorgestellt ^^


    Hatte es mir erstmal so gedacht ->



    new SpectatingAuto[MAX_PLAYERS][4]; //So ist bei mir die anzahl der Autos pro User definiert


    Unter OnPlayerConnect oder OnPlayerLogin wäre ich dann auf eine sehr einfache Variante gegangen


    if(PlayerInfo[playerid][pLevel] >= 1 && PlayerInfo[playerid][pLevel] <=8)
    {
    SpectatingAuto[playerid] == 1;
    }
    if(PlayerInfo[playerid][pLevel] >= 9 && PlayerInfo[playerid][pLevel] <=14)
    {
    SpectatingAuto[playerid] ==2;
    }

    Jedoch wurde nichts drauß da er mir ständig solche errors angezeigt hat


    - array must be indexed (variable "SpectatingAuto")
    oder wenn ich die Zahl in [] setz dann kommt folgendes
    - warning 215: expression has no effect


    Und wenn ich eure sachen sehe dann muss ich wohl doch noch einiges ändern :D

    Guten Abend/Tag liebe Community,


    ich wollte mal Fragen wie etwas scripttechnisch aussehen müsste damit ich z.b. mit Level 1 bis Level 8 nur ein Auto kaufen darf. Sobald ich dann Level 9 erreicht habe darf ich dann 2 Autos besitzen.


    Ist sowas überhaupt möglich ?
    Sollte es möglich sein würde ich mich über Hilfe von euch freuen =)



    Mfg dave

    Hallo liebe Community,


    ich will in meinem Script eine Meldung einbauen, dass wenn ein User Most Wanted (69 WantedPunkte) ist und sich auf den Server wieder einloggt, dass alle Staatsfraktionen eine Meldung kriegen, dass er wieder auf dem Server ist.
    Ich habe schon etwas probiert zeigt mir auch keine errors oder warnings an aber weis leider nicht wo ich das hinpacken soll :wacko: Hatte es schon in OnPlayerSpawn,OnPlayerConnect und unter OnPlayerLogin versucht alle drei sachen haben nicht funktioniert. Es könnte auch an meinem gescripteten liegen.




    for(new i = 0; i<MAX_PLAYERS; i++)
    {
    if(WantedLevel[i] >= 69)
    {
    if(IsACop(i))
    {
    new string[128];
    format(string,sizeof(string),"HQ: Most Wantedler %d ist nun wieder auf dem Server.", playerid);
    SendClientMessage(i,TEAM_BLUE_COLOR,string);
    }
    }
    return 1;
    }



    Mfg dave91

    Guten Tag liebe Community,


    mir ist gerade auf meinem Server aufgefallen, dass ich HP verliere, wenn ich gefreezed bin. Könnte es an 0.3x liegen ?
    Habe ich etwas in der 0.3x Changelog überlesen das am Freeze etwas geändert wurde ?(
    Würde mich über eine schnelle Antwort freuen.




    Mfg dave91