Beiträge von [My]Kevin

    Sry ne Bedienungsanleitung besitze ich nicht, und den Kram ausm netz verstehe ich nicht, ich weiß schon was das heißt, aber ich verstehe nicht warum!


    Könnte mir einer Evtl. per Teamviewer helfen?

    new Inhalt[256];
    format(Inhalt,sizeof(Inhalt),"INSERT INTO Accounts (Spielername,Passwort,Ip-Adresse) VALUES (%s,%s,%s)",SpielerInfo[playerid][sName],Kennwort,SpielerInfo[playerid][sIp]);
    mysql_query(Inhalt);
    mysql_free_result();


    Edit:


    Mit dem formatieren bekomme ich noch mehr errors...
    [17:40:49] [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 'Kevin' at line 1.
    [17:40:49] [MySQL] Error (0): Function: mysql_store_result called when no prior successful query executed. 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 'Kevin' at line 1.
    [17:40:49] [MySQL] Error (0): Function: mysql_num_rows called when no result stored. 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 'Kevin' at line 1.


    //edit 2:
    Achja, ich benutze ein Home-MySQL Server mit XAMPP.

    Hallo Breafishes,


    Ich nutze das MySQL-Plugin von StrikenKid, aber egal was ich mache, immer sendet mir die Samp-server Konsole errors!


    SA-MP Dedicated Server
    ----------------------
    v0.3c, (C)2005-2010 SA-MP Team


    [17:18:18] filterscripts = "" (string)
    [17:18:18]
    [17:18:18] Server Plugins
    [17:18:18] --------------
    [17:18:18] Loading plugin: MySQL
    [17:18:18] SA:MP MySQL Plugin v2.1.1 Loaded.
    [17:18:18] Loaded.
    [17:18:18] Loaded 1 plugins.


    [17:18:18] [MySQL] Thread running. Threadsafe: Yes.
    [17:18:18]
    [17:18:18] Filter Scripts
    [17:18:18] ---------------
    [17:18:18] Loaded 0 filter scripts.


    [17:18:18] [MySQL] Connected (0) to 'Mythos'@'localhost via TCP/IP'.
    [17:18:18] [MySQL] Server Version 5.5.8.
    [17:18:18] Number of vehicle models: 0
    [17:18:41] Incoming connection: 192.168.0.198:1330
    [17:18:41] [join] Kevin has joined the server (0:192.168.0.198)
    [17:18:41] [MySQL] Error (0): Function: mysql_store_result called when no prior successful query executed.
    [17:18:41] [MySQL] Error (0): Function: mysql_num_rows called when no result stored.
    [17:18:41] [MySQL] Error (0): Could not execute 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 '%s' at line 1.
    [17:19:28] [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 '-Adresse) VALUES (Kevin,xx1234,192.168.0.198)' at line 1.
    [17:19:30] [part] Kevin has left the server (0:2)
    Console input: exit
    [17:19:41] --- Server Shutting Down.
    [17:19:41] [MySQL] Closed (0). Logging ended.
    [17:19:41] SA:MP MySQL Plugin v2.1.1 Unloaded.


    PhpMyAdmin:


    Die Pawn Abfrage:
    mysql_query("SELECT * FROM Accounts WHERE Spielername=%s",SpielerInfo[playerid][sName]);
    mysql_store_result();
    if(mysql_num_rows()){
    mysql_free_result();
    }else{
    mysql_free_result();
    }


    Ich hoffe ihr könnt mir weiterhelfen ...


    MfG Styler

    @Flummi Also das du nach oben gesapt wirst liegt bestimmt nicht am Filterscript!
    JuRy_59 Verusch es mit: Im GameModeInit >>>SendRconCommand("loadfs FractionCars");
    und im OnGameModeExit(); >>>SendRconCommand("unloadfs FractionCars");


    @[CR]xAdy Dein Tanksystem müsste ich mir anschauen.


    PS: Ich schreib es zur Include um.


    MfG Styler