Server lesst Minigun nicht zu!?

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
  • Hallo, ich habe ein minigun dm auf meinem server eingerichtet, doch sobald ich dan mit den befehl /dm4 eingebe, und er mich spawnd, kommt server colose the conection.


    Das ist aber nur wegen der minigun waffe, wen ich andere auswähle geht es. An was liegt das?



    if(strcmp(cmdtext,"/dm4",true)==0)
    {
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s ist DM4 beigetreten! (/dm4) minigun", name);
    SendClientMessageToAll(0xAA3333AA, string);
    SetPlayerPos(playerid,1368.2649,-1226.6609,187.2321);
    ResetPlayerWeapons(playerid);
    GameTextForPlayer(playerid,"Welcome to /DM4",4000,6);
    GivePlayerWeapon(playerid, 38,10);
    SetPlayerArmour(playerid, 100);
    return 1;
    }

  • Hast du ein AntiCheat wie z.B Junkbuster?

    Wer ist der Mensch hinter der Uniform? Ist euch das bekannt?
    Es ist der selbe der noch eben in Zivil neben euch stand.
    Warum wird er gehasst und so selten respektiert?
    Warum ist er derjenige der seinen Hals für euch riskiert?
    Trägt der Bulle eine Weste, das hat er früher nie gemacht,
    die Zeiten haben sich geändert und jeder Dienst ist ein Kampf!
    Warum gibt’s das SEK und warum sind sie so brutal?
    Und wieso hat wieder einer mit seinem Leben bezahlt?

  • ich gkaub kaum das die was damit zutuen hat, aber ok


    echo Executing Server Config...
    lanmode 0
    rcon_password
    maxplayers 300


    port
    hostname .:Gang-War Deathmatch 2.1 (0.3d):.
    gamemode0 Gang-War


    filterscripts gl_realtime Madmin1 weps commands account HappysTS


    announce 1
    query 1
    weburl www.blackenergie.de.to


    maxnpc 0
    onfoot_rate 40
    incar_rate 40
    weapon_rate 40
    stream_distance 300.0
    stream_rate 1000

  • also bei Madmin1 weps commands account HappysTS
    habe ich nach dem gesucht, hat aber bei allen nicht gefunden.


    bei Madmin, mit dem anti cheat bin ich mir nicht sicher was das ist:


    Gtamodeler's MAdmin Filterscript [1]
    *************************************************
    */
    #include <a_samp>
    #define FILTERSCRIPT
    /// COLOR'S ///
    #define green 0x33AA33AA
    #define red 0xFF0000AA
    #define yellow 0xFFFF00AA
    #define COLOR_RED 0xFF0000AA
    /// DEFINE'S ///
    #define heald 100
    #define armourd 100
    #define givecashd 1000
    new jailed[MAX_PLAYERS];
    ////////////////////////////////////////////////////////////////////////////////
    ////////////////////////////////////////////////////////////////////////////////
    strtok(const string[], &index)
    {
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
    index++;
    }
    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
    result[index - offset] = string[index];
    index++;
    }
    result[index - offset] = EOS;
    return result;
    }
    ////////////////////////////////////////////////////////////////////////////////
    ////////////////////////////////////////////////////////////////////////////////
    stock IsNumeric(const string[]) {
    new length=strlen(string);
    if (length==0) return false;
    for (new i = 0; i < length; i++) {
    if (
    (string[i] > '9' || string[i] < '0' && string[i]!='-' && string[i]!='+')
    || (string[i]=='-' && i!=0)
    || (string[i]=='+' && i!=0)
    ) return false;
    }
    if (length==1 && (string[0]=='-' || string[0]=='+')) return false;
    return true;
    }
    ////////////////////////////////////////////////////////////////////////////////
    ////////////////////////////////////////////////////////////////////////////////


    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print(" MAdmin Loadet... - by Gtamodeler");
    print(" Visit us => www.modding-land.de.vu <= ");
    print("--------------------------------------\n");
    return 1;
    }


    ////////////////////////////////////////////////////////////////////////////////
    ////////////////////////////////////////////////////////////////////////////////
    public OnPlayerCommandText(playerid, cmdtext[])
    {
    new index, cmd[128];
    cmd = strtok(cmdtext, index);
    Könnt ja vieleicht das sein

  • kannst ja mal versuchen jedes filterscript einzeln zu aktivieren und gucken, was dann passiert wenn du auf dem Server ne Minigun bekommst.
    Sonst seh ich hier nichts.


    Edit: Das FS ergibt für mich keinen Sinn und die Website ist auch fail.

    the ones who are crazy enough to think that they can change the world, are the ones who do
    - Steve Jobs

  • ok, hab jetzt sogar alles abgeschalten gehabt auser, commads (dort wo die dm drinnen sind) und es war immer noch da...


    Es muss íergentwas mit dem script zutuen haben:


    #include <a_samp>
    #define FILTERSCRIPT
    #define COLOR_LIGHTRED 0xFF6347AA
    #define COLOR_TEMP 0xFFFFFFAA
    #define COLOR_GREY 0xAFAFAFAA
    #define COLOR_GREEN 0x33AA33AA
    #define COLOR_DARKGREEN 0x00721CFF
    #define COLOR_RED 0xAA3333AA
    #define COLOR_YELLOW 0xFFFF00AA
    #define COLOR_WHITE 0xFFFFFFAA
    #define COLOR_ORANGE 0xFF8000FF
    #define COLOR_CREAM 0xF8BD6DFF
    #define COLOR_SILVER 0xC0C0C0FF
    #define COLOR_TEAL 0x00FFFFFF
    #define COLOR_BERG 0x804040FF
    #define COLOR_PINK 0xFF66FFAA
    #define COLOR_SPEW 0x808040FF
    #define COLOR_BLUE 0x0000FFFF
    #define COLOR_LIGHTBLUE 0x33CCFFAA
    #define COLOR_PURPLE 0x400080FF
    #define COLOR_COPPER 0x804000FF
    #define COLOR_RAREZ 0x06A7B9FF
    #define COLOR_GREY 0xAFAFAFAA
    #define COLOR_DARKRED 0xAA3333AA
    #define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
    #if defined FILTERSCRIPT
    new string[256];
    new string4[64];
    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print(" Filterscript (Commands) by Markus");
    print("--------------------------------------\n");
    return 1;
    }
    public OnFilterScriptExit()
    {
    return 1;
    }
    #else
    main()
    {
    print("\n----------------------------------");
    print("Filterscript (Commands) by Markus");
    print("----------------------------------\n");
    }
    #endif
    public OnGameModeInit()
    {
    return 1;
    }
    public OnGameModeExit()
    {
    return 1;
    }
    public OnPlayerRequestClass(playerid, classid)
    {
    return 1;
    }
    public OnPlayerRequestSpawn(playerid)
    {
    return 1;
    }
    public OnPlayerConnect(playerid)
    {
    return 1;
    }
    public OnPlayerDisconnect(playerid, reason)
    {
    return 1;
    }
    public OnPlayerSpawn(playerid)
    {
    return 1;
    }
    public OnPlayerDeath(playerid, killerid, reason)
    {
    return 1;
    }
    public OnVehicleSpawn(vehicleid)
    {
    return 1;
    }
    public OnVehicleDeath(vehicleid, killerid)
    {
    return 1;
    }
    public OnPlayerText(playerid, text[])
    {
    return 1;
    }

    public OnPlayerCommandText(playerid, cmdtext[])
    {
    dcmd(resetweapons,12,cmdtext);

    if (strcmp("/sdfsdfdgdfg", cmdtext, true, 10) == 0)
    {
    SendClientMessage(playerid,COLOR_RED,"Alle Commands:");
    SendClientMessage(playerid,COLOR_RED,"/heal , /kill");
    SendClientMessage(playerid,COLOR_RED,"/buyarmour(/ba) , /lock , /unlock");
    SendClientMessage(playerid,COLOR_RED,"/parachute, /fixcar , /backcar");
    SendClientMessage(playerid,COLOR_RED,"/dm1 , /dm2 , /credits");
    SendClientMessage(playerid,COLOR_RED,"Für Rcon-Admins: /resetweapons [id]");
    return 1;
    }

    if (strcmp("/FDGHFVCDF", cmdtext, true, 10) == 0)
    {
    SendClientMessage(playerid,COLOR_RED,"Dieser Filterscript wurde von Markus erstellt!");
    return 1;
    }
    if (strcmp("/heal", cmdtext, true, 10) == 0)
    {
    if (GetPlayerMoney(playerid) > 6000)
    {
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s hat sich geheilt (/heal)", name);
    SendClientMessageToAll(0xAA3333AA, string);
    SetPlayerHealth(playerid,100.00);
    GivePlayerMoney(playerid, -6000);
    SendClientMessage(playerid,0x33AA33AA,"Du hast dich geheilt für 6000$");
    }
    else
    {
    SendClientMessage(playerid,0xAA3333AA,"Du hast nicht genügend Geld!");
    }
    return 1;
    }


    if (strcmp("/kill", cmdtext, true, 10) == 0)
    {
    SetPlayerHealth(playerid,0);
    SendClientMessage(playerid,COLOR_RED,"Selbstmord ist keine Lösung, aber ein Ausweg!");
    return 1;
    }

    if(strcmp(cmdtext, "/buyarmour", true) == 0 || strcmp(cmdtext, "/ba", true) == 0)
    {
    if (GetPlayerMoney(playerid) > 9000)
    {
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s hat sich Armour gekauft! (/buyarmour)", name);
    SendClientMessageToAll(0xAA3333AA, string);
    SetPlayerArmour(playerid, 100);
    GivePlayerMoney(playerid, -9000);
    SendClientMessage(playerid,0x33AA33AA,"Du hast dir für 9000$ Armour gekauft.");
    }
    else
    {
    SendClientMessage(playerid,0xAA3333AA,"Du hast nicht genügend Geld!");
    }
    return 1;
    }

    if (strcmp("/sdfsdfsdfadhfgh", cmdtext, true, 10) == 0)
    {
    if (GetPlayerState(playerid) == 2)
    {
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if (i != playerid) SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid), i, 0, 1);
    }
    PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, COLOR_YELLOW, "Auto abgeschlossen!");
    }
    else
    {
    SendClientMessage(playerid, COLOR_RED, "Du fährst das Auto nicht!");
    }
    return 1;
    }
    if (strcmp("/sdföwösdfs", cmdtext, true, 10) == 0)
    {
    if (GetPlayerState(playerid) == 2)
    {
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if (i != playerid) SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid), i, 0, 0);
    }
    PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, COLOR_YELLOW, "Auto aufgeschlossen!");
    }
    else
    {
    SendClientMessage(playerid, COLOR_RED, "Du fährst das Auto nicht!");
    }
    return 1;
    }

    if (strcmp(cmdtext, "/owpgnjxcnalsd", true)==0)
    {
    GivePlayerWeapon(playerid, 46, 1);
    SendClientMessage(playerid,COLOR_RED,"Du hast einen Fallschirm erhalten!");
    return 1;
    }

    if(strcmp(cmdtext,"/jföaölwdycjnse",true) == 0)
    {
    SendClientMessage(playerid,COLOR_GREEN,"Auto repariert!");
    SetVehicleHealth(GetPlayerVehicleID(playerid),1250.0);
    return 1;
    }
    if (strcmp("/sjdljvnlsjnlef", cmdtext, true, 5) == 0)
    {
    if (IsPlayerInAnyVehicle(playerid))
    {
    new veh = GetPlayerVehicleID(playerid); SetVehicleToRespawn(veh);
    SendClientMessage(playerid, COLOR_GREEN, "Auto zur Spawnposition zurück gesetzt!");
    return 1;
    }
    }

    if(strcmp(cmdtext,"/dm1",true)==0)
    {
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s ist DM1 beigetreten! (/dm1)Desert Eagle", name);
    SendClientMessageToAll(0xAA3333AA, string);
    SetPlayerPos(playerid,-2119.2554,-194.4700,35.3203);
    ResetPlayerWeapons(playerid);
    GameTextForPlayer(playerid,"Welcome to /DM",4000,6);
    GivePlayerWeapon(playerid, 24 ,8000);
    return 1;
    }
    if(strcmp(cmdtext,"/dm2",true)==0)
    {
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s ist DM2 beigetreten! (/dm2) Desert Eagle", name);
    SendClientMessageToAll(0xAA3333AA, string);
    SetPlayerPos(playerid,2208.0815,2189.2583,103.8786);
    ResetPlayerWeapons(playerid);
    GameTextForPlayer(playerid,"Welcome to /DM2",4000,6);
    GivePlayerWeapon(playerid, 24, 8000);
    return 1;
    }

    if(strcmp(cmdtext,"/dm3",true)==0)
    {
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s ist DM3 beigetreten!(/dm3)Sniper Rifle", name);
    SendClientMessageToAll(0xAA3333AA, string);
    SetPlayerPos(playerid,2832.6602,2562.1594,17.6719);
    ResetPlayerWeapons(playerid);
    GameTextForPlayer(playerid,"Welcome to /DM3",4000,6);
    GivePlayerWeapon(playerid, 34,120);
    SetPlayerHealth(playerid, 100.0);
    return 1;
    }

    if(strcmp(cmdtext,"/dm4",true)==0)
    {
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s ist DM4 beigetreten! (/dm4) minigun", name);
    SendClientMessageToAll(0xAA3333AA, string);
    SetPlayerPos(playerid,1368.2649,-1226.6609,187.2321);
    ResetPlayerWeapons(playerid);
    GameTextForPlayer(playerid,"Welcome to /DM4",4000,6);
    GivePlayerWeapon(playerid, 38,6000);
    SetPlayerArmour(playerid, 100);
    return 1;
    }
    return 0;
    }
    dcmd_resetweapons(playerid, params[])
    {
    new name[MAX_PLAYER_NAME],name2[MAX_PLAYER_NAME];
    new playa = strval(params);
    if(!strlen(params))
    {
    SendClientMessage(playerid,COLOR_RED,"Tippe: /resetweapons [ID]");
    return 1;
    }
    if(IsPlayerConnected(playa))
    {
    if(IsPlayerAdmin(playerid))
    {
    ResetPlayerWeapons(playa);
    GetPlayerName(playerid, name, sizeof name);
    GetPlayerName(playa,name2, sizeof name2);
    format(string,sizeof string, "%s hat deine Waffen gelöscht!",name);
    SendClientMessage(playa,COLOR_RED,string);
    format(string4,sizeof string4,"Du hast %s Waffen entfernt!",name2);
    SendClientMessage(playerid,COLOR_RED,string4);
    return 1;
    }
    else
    {
    SendClientMessage(playerid,COLOR_RED,"Du bist kein Rcon-Administrator!");
    return 1;
    }
    }
    else
    {
    SendClientMessage(playerid,COLOR_RED,"Player ist nicht online");
    return 1;
    }
    }

    public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
    {
    return 1;
    }
    public OnPlayerExitVehicle(playerid, vehicleid)
    {
    return 1;
    }
    public OnPlayerStateChange(playerid, newstate, oldstate)
    {
    return 1;
    }
    public OnPlayerEnterCheckpoint(playerid)
    {
    return 1;
    }
    public OnPlayerLeaveCheckpoint(playerid)
    {
    return 1;
    }
    public OnPlayerEnterRaceCheckpoint(playerid)
    {
    return 1;
    }
    public OnPlayerLeaveRaceCheckpoint(playerid)
    {
    return 1;
    }
    public OnRconCommand(cmd[])
    {
    return 1;
    }
    public OnObjectMoved(objectid)
    {
    return 1;
    }
    public OnPlayerObjectMoved(playerid, objectid)
    {
    return 1;
    }
    public OnPlayerPickUpPickup(playerid, pickupid)
    {
    return 1;
    }
    public OnPlayerSelectedMenuRow(playerid, row)
    {
    return 1;
    }
    public OnPlayerExitedMenu(playerid)
    {
    return 1;
    }


    Dort wo só verschiedene Bustaben sind habe ich extra so gemacht ( also abgeschaltet)


    und wie das forum ist fail? wen du das méinst das es keine .de domain ist, liegt es daran, das mein forum technicker mir die dateien für die .de domain noch nicht geschickt hat, weil wir haben natürlich auch eine (www.gangwar-dm.de) ist aber offline.