1. GSManager
    1. Funktionen
    2. Unterstützte Spiele
    3. Neuigkeiten
    4. Statistiken
    5. Serverliste
  2. Lexikon
  3. Filebase
  4. Entwicklung
  5. Forum
    1. Dashboard
    2. Unerledigte Themen
  6. Web-Interface
  7. Artikel
  8. Mitglieder
    1. Letzte Aktivitäten
    2. Benutzer online
    3. Team
    4. Mitgliedersuche
  • Anmelden
  • Registrieren
  • Suche
Alles
  • Alles
  • Artikel
  • Seiten
  • Dateien
  • Forum
  • Lexikon
  • Erweiterte Suche
  1. GSManager
  2. Mitglieder
  3. juni

Beiträge von juni

Das Projekt GSManager (vormals ManuAdminMod) wurde am 01.01.2020 eingestellt - diese Internetpräsenz bleibt verfügbar, die Software wird aber nicht länger gepflegt. Vielen Dank für eure Unterstützung in den mehr als zehn vergangenen Jahren!
  • Best PLAYER

    • juni
    • 30. April 2014 um 18:16
    Zitat von Mirko911

    atm. we're busy with developing the next version of mam


    Hi Mirko911
    ty for info
    tell me when next version comin?

  • Best PLAYER

    • juni
    • 30. April 2014 um 14:48

    Hi ALL
    so NOT solution !
    :blink:
    anyone !

  • !tempban commands don't work ?

    • juni
    • 30. April 2014 um 14:31
    Zitat von Raiden

    MAM restarts the exclusion of players how to fix this error? :wacko:

    Code
    [30.04.14 01:21:33] Error: ConfigVar [kickban]modpower NOT set and can't use a d
    efault value←[0m
    10s to quit
    Exit cause of a critical error


    P.S my server MW2


    Hi all
    Raiden
    I think you have problem link
    your MAM can't find you server or your PHP
    try make you PHP and MAM in different Disc
    maybe (IP or Port, see you config.cfg)

    PS.Удачи (RU) >> Good luck (EN)

  • again Forbidden weapons

    • juni
    • 28. April 2014 um 21:05
    Zitat von Mirko911

    you're the first one who asks for it ;)

    if you want this feature, we can try to implement it into the next MAM Version


    Yo Mirko911
    thx for answer
    nice news ty to ,pity you can't create with this version
    well i wait next version

  • again Forbidden weapons

    • juni
    • 28. April 2014 um 09:22

    Hi all team MAM
    why exist restricted weapon in map, but not in game type
    i think this question can respond me developers MAM

    PS.sorry for bad english (google translate)
    :cool:

  • Best PLAYER

    • juni
    • 28. April 2014 um 09:16
    Zitat von Voices

    Das ergibt keinen sinn wenn du das jede Map anzeigen willst von den spielern die auf dme Server sind kein spieler wird 1000 Kills schaffen.

    Its not possible to make 1000 kills on 1 Map so the SQL syntax doesnt make sense and with the new Database class its kinda different anyway.


    Hi all
    i m agree Voices
    its not possible 1000 kill in one map
    :blink:
    so guys not solution?

  • Best PLAYER

    • juni
    • 25. April 2014 um 18:46

    Hello & moin^^
    thx for answer
    but i tolk to 3 best players show in the game how messages
    no !statst
    show evry 2 minuts the best 3 players in the game
    and second questions
    every maprotate new 3 best player
    thx

  • Best PLAYER

    • juni
    • 22. April 2014 um 23:50

    Hi MAM team
    exist messages in server the best players or 3 best players
    but show every 60 sec(example) stats 3 best players,every map rotate new stats 3 best players

  • Forbidden weapons

    • juni
    • 19. April 2014 um 23:20
    Zitat von Dennis

    Please try to describe the problem a little bit better, noone can help you with those texts,
    and to be honest they are violating our ToS. So please, try to express yourself in a manner
    that is a bit more understandable or i really need to take action against you. We just can't
    sit here for hours to think about what you are meaning.


    Hi all & Denis
    You need just see what we talk here
    it's not difficult.
    we want try one PHP and commands ,for restrict weapon in SD game type
    :cool:

  • Forbidden weapons

    • juni
    • 19. April 2014 um 19:23

    Hi MAM team
    hello ketchupmaster
    dont work
    maybe need change name PHP
    wpgt

  • Forbidden weapons

    • juni
    • 18. April 2014 um 15:13
    Zitat von Ketchupmaster

    No I havnt. But to make it easier for you...

    PHP file her: Download PHP file here
    Upload the PHP file to plugins.

    Then add this to the config.cfg:

    [wpgt]
    enabled = 1
    weapons = "p90,knife,etc"
    gametype = "sd"
    warnstokick = 2
    mode = "kick"
    reason = "Used a restricted weapon: <WEAPON>"

    and modify the weapons to the weapons you want to restrict.

    Alles anzeigen


    hi back
    ty dude
    you have tested?
    it work?

  • Forbidden weapons

    • juni
    • 18. April 2014 um 09:02
    Zitat von Ketchupmaster

    Copy the code voices added, and open notepad++ or just notepad, past the code there and save the file as a .php file.


    And add this to config.cfg

    Spoiler anzeigen

    [wpgt]enabled = 1weapons = "p90,knife,etc"gametype = "sd"warnstokick = 2mdoe = "kick"reason = "Used a restricted weapon: <WEAPON>"


    yo all ,hi Ketchupmaster
    you have test it?
    it work?
    can you send me you new PHP
    because i try not work MAM

  • Forbidden weapons

    • juni
    • 17. April 2014 um 21:20
    Zitat von mrburel

    ins't the PHP attached to the spoiler ?! :D or am i completly wrong


    hi all
    we know need PHP
    make it

  • Forbidden weapons

    • juni
    • 15. April 2014 um 11:17
    Zitat von Voices
    Spoiler anzeigen
    PHP
    <?php
    
    
    
    
    /* 
     * WeaponrestrictionsGametype
     * Author: Voices
     * Xfire: voices95
     */
    
    
    
    
    $mod->setDefaultCV("wpgt", "enabled", 0);
    $mod->setDefaultCV("wpgt", "weapons", "");
    $mod->setDefaultCV("wpgt", "gametype", "sd");
    $mod->setDefaultCV("wpgt", "warnstokick", 2);
    $mod->setDefaultCV("wpgt", "mode", "kick");
    $mod->setDefaultCV("wpgt", "reason", "Used a restricted weapon: <WEAPON>");
    
    
    
    
    $wpgt = new WeaponrestrictionsGametype();
    
    
    
    
    $wpgt->event_playerInit();
    
    
    
    
    $mod->registerEvent("playerJoined", "event_playerInit", $wpgt);
    $mod->registerEvent("playerKill", "event_CheckKill", $wpgt);
    $mod->registerEvent("playerTeamKill", "event_CheckKill", $wpgt);
    
    
    
    
    class WeaponrestrictionsGametype {
        private $players;
        private $mod;
        private $logging;
    
    
    
    
        public function __construct() {
            $this->players = &$GLOBALS['players'];
            $this->mod = &$GLOBALS['mod'];
            $this->logging = &$GLOBALS['logging'];
        } 
    
        public function event_CheckKill($parameters) {
            list($killer_guid, $victim_guid, $weapon) = $parameters;
    
            if (!$this->mod->getCV("wpgt", "enabled")) {
                return;
            }
    
    
    
    
            if ($this->players[$killer_guid]->isProtected()) {
                return;
            }
    
            if($this->mod->getCurrentGametype() !== $this->mod->getCV("wpgt", "gametype")) {
                return;
            }
    
            $weapons = explode(",", strtolower($this->mod->getCV("wpgt", "weapons")));
            $restricted = false;
            if ($weapon[1] == "MOD_MELEE") {
                if (in_array("knife", $weapons)) {
                    $restricted = true;
                }
                else {
                    //Dont warn when player knived while he had a restricted weapon
                    return;
                }
            }
    
    
    
    
            if($this->isForbiddenWeapon($weapon[0], $weapons)) {
               $restricted = true; 
            }
    
            if (!$restricted) return;
    
            if ($this->players[$killer_guid]->wpgt_warns >= $this->mod->getCV("wpgt", "warnstokick")) {
                $this->punishPlayer($killer_guid, $weapon[0]);
            }  
        }
    
        public function event_playerInit() {         
            foreach (array_keys($this->players) as $guid) {
                $this->players[$guid]->wpgt_warns = 0;
            }    
        }
    
        private function isForbiddenWeapon($weapon, $weapons) {
            if (!in_array($weapon, $weapons)) {
                return true;
            }
    
            return false;
        }
    
        private function punishPlayer($guid, $weapon) {
            switch ($this->mod->getCV("wpgt", "mode")) {
                    case "tempban":
                            $this->players[$guid]->tempBan(str_replace("<WEAPON>", $weapon, $this->mod->getCV("wpgt", "reason")));
                            break;
                    case "kick":
                            $this->players[$guid]->kick(str_replace("<WEAPON>", $weapon, $this->mod->getCV("wpgt", "reason")));
                            break;
                    case "ban":
                            $this->players[$guid]->ban(str_replace("<WEAPON>", $weapon, $this->mod->getCV("wpgt", "reason")));
                            break;
            }
        }    
    }
    Alles anzeigen

    This Plugin is not tested yet.

    Concifg.cfg:
    [wpgt]
    enabled = 1
    weapons = "p90,knife,etc"
    gametype = "sd"
    warnstokick = 2
    mdoe = "kick"
    reason = "Used a restricted weapon: <WEAPON>"

    Hope it works if not tell me the Error.

    Alles anzeigen

    Hi back Voices
    don't work dude
    i think need PHP

  • Forbidden weapons

    • juni
    • 15. April 2014 um 10:52
    Zitat von Voices
    Spoiler anzeigen
    PHP
    <?php
    
    
    
    
    /* 
     * WeaponrestrictionsGametype
     * Author: Voices
     * Xfire: voices95
     */
    
    
    
    
    $mod->setDefaultCV("wpgt", "enabled", 0);
    $mod->setDefaultCV("wpgt", "weapons", "");
    $mod->setDefaultCV("wpgt", "gametype", "sd");
    $mod->setDefaultCV("wpgt", "warnstokick", 2);
    $mod->setDefaultCV("wpgt", "mode", "kick");
    $mod->setDefaultCV("wpgt", "reason", "Used a restricted weapon: <WEAPON>");
    
    
    
    
    $wpgt = new WeaponrestrictionsGametype();
    
    
    
    
    $wpgt->event_playerInit();
    
    
    
    
    $mod->registerEvent("playerJoined", "event_playerInit", $wpgt);
    $mod->registerEvent("playerKill", "event_CheckKill", $wpgt);
    $mod->registerEvent("playerTeamKill", "event_CheckKill", $wpgt);
    
    
    
    
    class WeaponrestrictionsGametype {
        private $players;
        private $mod;
        private $logging;
    
    
    
    
        public function __construct() {
            $this->players = &$GLOBALS['players'];
            $this->mod = &$GLOBALS['mod'];
            $this->logging = &$GLOBALS['logging'];
        } 
    
        public function event_CheckKill($parameters) {
            list($killer_guid, $victim_guid, $weapon) = $parameters;
    
            if (!$this->mod->getCV("wpgt", "enabled")) {
                return;
            }
    
    
    
    
            if ($this->players[$killer_guid]->isProtected()) {
                return;
            }
    
            if($this->mod->getCurrentGametype() !== $this->mod->getCV("wpgt", "gametype")) {
                return;
            }
    
            $weapons = explode(",", strtolower($this->mod->getCV("wpgt", "weapons")));
            $restricted = false;
            if ($weapon[1] == "MOD_MELEE") {
                if (in_array("knife", $weapons)) {
                    $restricted = true;
                }
                else {
                    //Dont warn when player knived while he had a restricted weapon
                    return;
                }
            }
    
    
    
    
            if($this->isForbiddenWeapon($weapon[0], $weapons)) {
               $restricted = true; 
            }
    
            if (!$restricted) return;
    
            if ($this->players[$killer_guid]->wpgt_warns >= $this->mod->getCV("wpgt", "warnstokick")) {
                $this->punishPlayer($killer_guid, $weapon[0]);
            }  
        }
    
        public function event_playerInit() {         
            foreach (array_keys($this->players) as $guid) {
                $this->players[$guid]->wpgt_warns = 0;
            }    
        }
    
        private function isForbiddenWeapon($weapon, $weapons) {
            if (!in_array($weapon, $weapons)) {
                return true;
            }
    
            return false;
        }
    
        private function punishPlayer($guid, $weapon) {
            switch ($this->mod->getCV("wpgt", "mode")) {
                    case "tempban":
                            $this->players[$guid]->tempBan(str_replace("<WEAPON>", $weapon, $this->mod->getCV("wpgt", "reason")));
                            break;
                    case "kick":
                            $this->players[$guid]->kick(str_replace("<WEAPON>", $weapon, $this->mod->getCV("wpgt", "reason")));
                            break;
                    case "ban":
                            $this->players[$guid]->ban(str_replace("<WEAPON>", $weapon, $this->mod->getCV("wpgt", "reason")));
                            break;
            }
        }    
    }
    Alles anzeigen

    This Plugin is not tested yet.

    Concifg.cfg:
    [wpgt]
    enabled = 1
    weapons = "p90,knife,etc"
    gametype = "sd"
    warnstokick = 2
    mdoe = "kick"
    reason = "Used a restricted weapon: <WEAPON>"

    Hope it works if not tell me the Error.

    Alles anzeigen

    Hi Voices
    thx for help
    i hope it work
    :cool:
    PS. don't need PHP?

  • Forbidden weapons

    • juni
    • 14. April 2014 um 16:43

    Hi all
    so anyone can help me?!?
    i want retrict weapon in gametype "Searsh and destroy" just LMG (M249;RPD,M60)

  • Problem with kick

    • juni
    • 28. März 2014 um 09:03
    Zitat von Azad69

    MAM o.15 ?

    The latest MAM version is ManuAdminMod 0.12 Beta


    yo dude
    i m sorry 0.12 ^^

  • sd

    • juni
    • 27. März 2014 um 19:04
    Zitat von Azad69

    sd= search and destroy ? :biggrin:

    Hi all MAM team
    lol Azad69 SD = Srarch and destroy

  • Problem with kick

    • juni
    • 27. März 2014 um 19:03
    Zitat von Azad69

    And from where did you downloaded MAM 0.15 ? :wacko:

    Yo all
    hi Azad69
    from here i download MAM why?

  • Commands problem

    • juni
    • 26. März 2014 um 23:13

    hello team MAM
    me to i have one question
    is normal? when i kick player command work after 5 sec
    mam is not right now

  1. Mitarbeiter
  2. Datenschutzerklärung
  3. Nutzungsbedingungen
  4. Impressum
  5. Kontakt
Community-Software: WoltLab Suite™