Beiträge von Time--inaktiv

    Aso ok , aber er schreibt keine Tabellen auf die Mysql Datenbank versteh das nich warum savet er nicht ab :(


    mysql-log
    [Sun Jan 29 15:38:41 2012] Error (0): Failed to connect. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).
    [Sun Jan 29 15:38:41 2012] 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).


    Also in sache mysql bin ich echt nicht gut xD
    Aber da hab ich bestimmt irgendwas falsch gemacht aber was?
    Isn Linux server

    Also alles funktioniert , auser das er keine Tabellen auf der Mysql Datenbank schreibt und ich glaube somit auch nicht abspeichert oder? Aber warum nicht?


    beispiel


    Host: localhost
    Username: bla1
    Passwort:blabla


    Datenbank: bla1_77


    im filter script


    #define MYSQL_HOST "localhost" //host
    #define MYSQL_USER "bla1" //User
    #define MYSQL_PASS "blabla" //Passwort
    #define MYSQL_DB "bla1_77" //Datenbank


    wär doch richtig so ?
    (is nurn beispiel)


    wenn ich den filterscript compiliere kommt dies


    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    Header size: 5864 bytes
    Code size: 424544 bytes
    Data size: 830616 bytes
    Stack/heap size: 16384 bytes; estimated max. usage=4248 cells (16992 bytes)
    Total requirements: 1277408 bytes


    hat aber nix damit zutun oder?


    Bitte um hilfe ich versuch es schon seit tagen und nie speichert er es richtig ab, manchmal nach /gmx speichert er dann das autohaus ab mit cars aber ohne eingang und nach ganzen Server Restart per cp is garnichts mehr da :(

    (31) : error 017: undefined symbol "MAX_VEHICLES"

    new bool:licht[MAX_VEHICLES],
    bool:motor[MAX_VEHICLES],
    motortimer[MAX_VEHICLES],
    bool:spawn[MAX_VEHICLES],
    Float:lastpos[MAX_VEHICLES][3];

    also ich hab aufn server das plugin installiert dann mysql.so und das wars auch von gstylezz,


    soll ich ma das anderea usprobieren? wie meinst du im filterscript? include<mysql>? das ding is bei gstylezz kam ja nur mysql bei linux

    Also das is mein Problem ich habs ganzen tag versucht. :(
    SA-MP Dedicated Server
    ----------------------
    v0.3d-R2, (C)2005-2011 SA-MP Team


    [22:49:46]
    [22:49:46] Server Plugins
    [22:49:46] --------------
    [22:49:46] Loading plugin: streamer.so
    [22:49:50] Failed.
    [22:49:50] Loaded 0 plugins.


    [22:49:50]
    [22:49:50] Filterscripts
    [22:49:50] ---------------
    [22:49:50] Loading filterscript 'anims.amx'...
    [22:49:50] Loaded 1 filterscripts.


    [22:49:50] Script[gamemodes/ger.amx]: Run time error 19: "File or function is not found"
    [22:49:50] Number of vehicle models: 0


    //Edit
    Ist Windows Server

    Hallo also gleich zur sache,


    ich habe die Tank größen verschieden eingestellt:


    z.b
    new GasMax[] = {
    40, //"Landstalker",
    50,//"Bravura",
    60,//"Buffalo",
    40,//"Linerunner",
    50,//"Pereniel",
    60,//"Sentinel",


    dann habe ich


    Gas[code=c] = Rand(5,100);


    das gemacht, aber wenn ich jetzt in ein Fahrzeug einsteige das eine Tank größe von 50% hat, kommt zuerst 100/50 Benzin und nach 5 sec kommt dann 50/50 Benzin , bei jedem Fahrzeug!
    Ich hoffe ihr könn mir helfen :)

    Hallo hab ein Problem mit dem Tunen also ganz normal in den Transfender etc.


    Also.. ich fahre mit ein Auto z.b in den Transfender kann zu erst ganz ruhig Tunen.


    Entweder:


    Ich drücke F und er steigt aus aber es bleibt in der Position wo ich halt links das Tuning Menü habe, dann versuche ich natürlich wieder einzusteigen geht aber nicht verschlosse, hä? Is aber kein gekauftes Auto habs nur gespawnt. Ich töte mich und das auto Landet in der Pampa.(aber getunet)


    Oder


    Ich drücke ganz schnell F ich fahre raus und steige aus das Auto löst sich in Luft auf dann bin ich das Auto mal gefolgt mit /gotocar.
    Das Auto Landet iwo in ner Pampa.. -.-(auch getunet)

    Hallo


    M_Bot bannt auch die Admin beim Waffen geben , wie kann man das einstellen das die Admins "einaufden" verschohnt bleiben oder nicht als Cheater gesehen werden? Das gleiche wenn eine Fraktion mit Waffen Spawnt = Bann. Oder kann man es so einstellen das da nur steht "Verdacht auf Waffencheat" ?
    Dann Bannt er nicht sofort los.


    Danke im vorraus