Beiträge von Jay_Diesel

    Hey.


    Ich habe folgende Frage. Man kann ja mit samp://SERVER-IP:PORT den SA-MP Client öffnen lassen. Dann fragt er ja noch ob [Play] [Zu Favoriten] [ Exit] glaube war es. Kann man an die Url z.B. noch "play" dranhängen, damit er sich gleich zum Server verbindet?


    Gäbe es sonst eine Alternative möglichkeit?

    Geht leider auch nicht.


    case DIALOG_REGISTER:
    {
    SystemNachricht(playerid,1,0);//JOIN NACHRICHT VERSENDEN
    if(response)
    {
    if(!strlen(inputtext))return 0;
    /*if(strlen(inputtext) == 0)
    {
    ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Register","Das angegebene Passwort war zu Kurtz...\nBitte Registrier dich jetzt mit einem Passwort:","Register","Abbrechen");
    return 1;
    }*/
    else if(strlen(inputtext) >= 1)
    {
    new Name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, Name, sizeof(Name));
    CreateAccount(playerid, inputtext);
    mysql_SetInt("accounts","Eingeloggt",1, "Name", Name);
    SetPVarInt(playerid,"Eingeloggt",1);
    ShowPlayerDialog(playerid, DIALOG_SERVERINFO, DIALOG_STYLE_MSGBOX ,"Was ist unser Server?","Unser Server ist nicht irgendein Spieleserver\nBei uns steht das Rollenspiel im Vordergrund.\nWenn du Mitglied unserer Community wirst hast du\neinen festen Platz in unserem Wirtschaftssystem!\nWir möchten nur Spieler haben, die dies auch wahrnehmen.","Cool!","Keine Lust!");
    return 1;
    }
    }
    }

    Hey.


    Ich habe folgenden Dialog:
    case DIALOG_REGISTER:
    {
    SystemNachricht(playerid,1,0);//JOIN NACHRICHT VERSENDEN
    if(response)
    {
    if(strlen(inputtext) == 0)
    {
    ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Register","Das angegebene Passwort war zu Kurtz...\nBitte Registrier dich jetzt mit einem Passwort:","Register","Abbrechen");
    return 1;
    }
    else
    {
    new Name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, Name, sizeof(Name));
    CreateAccount(playerid, inputtext);
    mysql_SetInt("accounts","Eingeloggt",1, "Name", Name);
    SetPVarInt(playerid,"Eingeloggt",1);
    ShowPlayerDialog(playerid, DIALOG_SERVERINFO, DIALOG_STYLE_MSGBOX ,"Was ist unser Server?","Unser Server ist nicht irgendein Spieleserver\nBei uns steht das Rollenspiel im Vordergrund.\nWenn du Mitglied unserer Community wirst hast du\neinen festen Platz in unserem Wirtschaftssystem!\nWir möchten nur Spieler haben, die dies auch wahrnehmen.","Cool!","Keine Lust!");
    return 1;
    }
    }
    }


    Leider funktioniert aber die Funktion nnicht, welche schaut ob man was eingegeben hat oder nicht.
    Weis jemand warum?

    Wie Ink es schon sagte wird das am Streamer liegen, du musst einfach nur den Boden bzw. die Objekte in der Nähe der Stelle an der der Spieler dann reinkommt in CreateObject verändern, dann dürfte das wieder gehen.


    Ja hattest recht, lag am Streamer. Habe den Boden nun auf CreateObject gestellt und siehe da es geht!


    -DANKE!

    Hey.


    Ich habe feolgendes Problem. Manchmal fällt ein Spieler durch das Interior. Es handelt sich um ein gemapptes Interior wovon ich aber leider nicht die Virtuelle Welt bzw. die InteriorID weis.
    Weis jemand wie ich den Fehler beheben kann?


    Gruß Jay_Diesel

    Ich habe nun alles laut Redame gemacht, doch leider sagt er mir beim Compilen folgenden Error:
    JunkBuster.pwn(105) : fatal error 111: user error: Please read the README.


    Habe "#define I_AM_NO_RETARD" aber wie laut Redame ganz oben hingesetzt:
    #if !defined I_AM_NO_RETARD
    /*
    +-----------------------------------------------------------------------+
    ¦ JunkBuster Anti-Cheat ¦
    ¦ by ¦
    ¦ Double-O-Seven ¦
    ¦ ¦
    ¦ This Anti-Cheat script is made by me, Double-O-Seven. The famous ¦
    ¦ Anti-Cheat system "PunkBuster" inspired me the script a new ¦
    ¦ Anti-Cheat script for SA:MP. It contains many functions against ¦
    ¦ normal cheats and cheats from specific cheat tools. It's against ¦
    ¦ (command) spam, too. ¦
    ¦ If JunkBuster kicks/bans too much innocent players, disable the codes ¦
    ¦ which kick/ban too many innocent players. You can easily configurate ¦
    ¦ JunkBuster in the file "JunkBuster.cfg" in the folder "JunkBuster" ¦
    ¦ in the folder "scriptfiles". Use "/jbcfg" ingame if you are ¦
    ¦ (rcon)admin to update the configuration. ¦
    ¦ "ForbiddenWeapons.cfg" to forbidden weapons. ¦
    ¦ ¦
    ¦ The main script of JunkBuster is no longer an include! ¦
    ¦ It's a filterscript now! Use JunkBuster.inc for all your ¦
    ¦ other scripts or something may not work as it should. ¦
    ¦ ¦
    ¦ This script has been made by Double-O-Seven! ¦
    ¦ ¦
    ¦ You are NOT allowed to: ¦
    ¦ - Remove this text ¦
    ¦ - Rename JunkBuster! Never! ¦
    ¦ - Re-release this script ¦
    ¦ - Say it's your own script ¦
    ¦ - Remove the "JunkBuster:" tag from client messages! ¦
    ¦ ¦
    ¦ But you are allowed to add more functions and use it on your server. ¦
    ¦ ¦
    ¦ Thanks to ~Cueball~ for his zone script, ZeeX for ZCMD ¦
    ¦ and Y_Less for sscanf function. I also thank dUDALUS for allowing ¦
    ¦ me to cheat on his server. ¦
    ¦ ¦
    ¦ (If I write SS anywhere, it means "Server Side", not "Schutzstaffel". ¦
    ¦ If I write CS anywhere, it means "Client Side", not "Counter Strike".)¦
    +-----------------------------------------------------------------------+
    */


    //==============================================================================


    /*


    Changelog Update 11:
    - Temp Ban functions fixed
    - Synchronization code rewritten
    - SplitIp functino fixed
    - When Anti-Moneyhack is enabled, JB will automatically disable stunt bonuses
    - Anti-joypad code rewritten (it actually works now)
    - When a player enters a vehicle, vehicle components which shouldn't be on the vehicle will get removed
    - Fixed a bug anti-tuning-hack: Players could get kicked when vehicle got destroyed
    - Added faster airbrake detection. You can choose between the old detection and the new one. The new one is enabled by default. Server restart is required to change detection mode.
    - It's now fully compatible with LuxAdmin (use #include <JunkBuster_Slim> in LuxAdmin)


    Changelog Update 10:
    - Double-O-Bits instead of y_bit
    - Anti-joypad
    - Advanced speedhack detection with individual speed limit for each vehicle
    - Anti-armed vehicles
    - Improved anti-moneyhack
    - Command /jbreports for all admins: Command lists the newest JB reports
    - Memory usage optimized
    - SetJBVar, GetJBVar functions
    - Warnings for drive-byers
    - Unified prefix syntax (CALLBACK:, PRIVATE:, PUBLIC:)
    - Optimized code for IP-bans, blacklist, whitelist and tempbans
    - If an admin accidently types the rcon-password into the global chat, JunkBuster blocks it
    - Blacklist functions etc are now available for other scripts
    - Dialog for hack codes (If you don't understand you will after reading the dialog)
    - Colored variable list dialog (green = on, red = off)
    - AdvertisementCheck recoded
    - Detection of vehicle-repair hack
    - Detection of tuning hack
    - Detect if a players cheats or gets a weapon for free in Ammu-Nation
    - Made hooking easier in JunkBuster.inc. Not important for you, just for me.
    - Syncing of health/armour shops improved. Health now gets only sync in restaurants and armours only in Ammu-Nation instead of both locations.
    - Weapons also only get synced in Ammu-Nation instead of all shops. Also, only buyable weapons get synced clientside.
    - GodModeCheck rewritten. Should now work better.
    - Anti-AFK? Or was this already in update 9..?
    - Airbrake now spelled correctly. Also allowed me to give the variable AIRBRAKE a new function as lower speed limit for airbrake without causing trouble on already existing servers which would have speed limit of 1... w/e
    - New detection of vehicle spawning (the old method did absolutely nothing in SA-MP 0.3)
    - One of the the GlobalUpdate functions removed.
    - JunkBuster can now take action when a player has too many warnings in total
    - Hooked SetPlayerPosFindZ
    - Things I forgot?


    */


    /*
    A new ban system using SQLite. It's much slower than the old ban system and you can't use JB's rangeban system, which
    has the advantage of having a whitelist the make exceptions for some players.
    Uncomment the following line to use a database for banning players.
    (Tempbans, static IP bans (only with an associated name) and blacklist supported. Whitelist is kinda also supported...)
    At the moment I can't see any advantage in using the database except for the unlimitted amount of people you can ban with it.
    The file system is limitted by MAX_JB_BANS. Database isn't. Oh, before I forget, the database does also not work correctly
    with some names with special symbols.
    >> It's just experimental. (However, you could make it work properly if you have to knowledge.)
    */



    #error Please read the README.
    #endif


    Woran kann das denn liegen? Include usw. ist drinne