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. Dunciboy

Beiträge von Dunciboy

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!
  • Punkbuster (Cod4)

    • Dunciboy
    • 27. April 2014 um 11:28

    You do get kicks for outdated punkbuster clients.

  • !tempban commands don't work ?

    • Dunciboy
    • 27. April 2014 um 11:23
    Zitat von Ketchupmaster

    Thanks! Worked great! Finally we can tempban on my servers. :w00t:

    Of course it works we use this on my server. I fixed this before the new version came out

  • !tempban commands don't work ?

    • Dunciboy
    • 27. März 2014 um 19:32
    Zitat von Mirko911

    the problem is, that 1.7a supports cracked and we won't give support for cracked so we don't implemented it

    Sadly one day you will have to upgrade because this is currently the only cod4 version that has ipv6 support.

  • !tempban commands don't work ?

    • Dunciboy
    • 22. März 2014 um 17:01
    Zitat von Master of Little

    If it doesn't work with 1.7a and with the 1.7 it does, then it's a problem with iceops and we can't do anythink about that


    To be honest they made temp banning even better. why should they downgrade it manuadminmod is outdated not the iceops files because i can define with tempban how long the ban takes without having to set tempbantime cvar or whatever that thing was called. So here is a fix. replace player.class.php with my version for 1.7a this also will remove delaying bans due to first announcing them in pm and then banning. player will now be instantly dropped and reason will be displayed in ban message. (the original file is located in the classes folder)

    WARNING: DO NOT INSTALL IF YOUR SERVER IS NOT RUNNING 1.7a

    player.class.php for cod 1.7a

  • register command

    • Dunciboy
    • 5. März 2014 um 12:29

    This is a B3 command it puts a user permanently in the b3 database and assigns them a b3 id

  • admin_valid

    • Dunciboy
    • 5. März 2014 um 12:28

    You should make that default ^^ because md5 i can just search md5 decoder enter a password and it takes 1 second to decode the md5 hash :p

  • admin_valid

    • Dunciboy
    • 3. März 2014 um 20:14

    Can't you use sha? becuase md5 is easy to decode.

  • Chat Flooding Control

    • Dunciboy
    • 27. Februar 2014 um 21:16

    Ok so i created this plugin where can I share this :D

  • forcereasontoban not working for tempban

    • Dunciboy
    • 27. Februar 2014 um 18:16

    Not really i just moved a line then made a small edit. see line 47 3 of the original script
    now look at line 50 of my script.

    I made this edit because with original script you would still ban without reason. Due to the fact tempban has time that has to be defined.

    Orignal script
    Code
    public function tempBan($guid, $parameters) {
            $parastring = implode(" ",$parameters);
            if (strpos($parastring, "\\") !== false) {
                list($player, $parameters) = explode("\\", $parastring);
                $player = trim($player);
                $parameters = array(trim($parameters));
            }
            else {
                $player = array_shift($parameters);
            }
    
    
    
    
            $tokick = $this->mod->findPlayerGuid($player);
    
    
    
    
            if (!$tokick) {
                $this->players[$guid]->say($this->mod->getLngString("playerNotFound", array("<SEARCH>"), array($player)));
            }
            else {
                //Check if there is enough power
                if($this->players[$tokick]->getNeededPower() > $this->players[$guid]->getPower()){
                    $this->players[$guid]->say($this->mod->getLngString("morePowerNeeded"));
                    return false;
                }
    
                if ($this->players[$tokick]->isProtected()) {
                    $this->players[$guid]->say($this->mod->getLngString("cantKickProtected"));
                    return false;
                }
                if (!empty($parameters)) {
                    if (is_numeric($parameters[0]) && $parameters[0] > 0) {
                        $time = array_shift($parameters);
                        if ($time > $this->mod->getCV("kickban", "maxtempbantime")) {
                            $time = $this->mod->getCV("kickban", "maxtempbantime");
                        }
                    }
                    else {
                        $time = false;
                    }
                    if (!empty($parameters)) {
                        $reason = implode(" ", $parameters);
                        $this->mod->findReason($reason);
                    }
                    else {
                        if($this->mod->getCV("kickban", "forcereason")){
                            $this->players[$guid]->say($this->mod->getLngString("forceReason"));
                            return false;
                        }
                        $reason = false;
                    }
                }
                else {
                    $reason = false;
                    $time = false;
                }
                if ($this->players[$tokick]->tempBan($reason, $time, $guid)) {
                    if (!$this->mod->getCV("kickban", "announce")) {
                        $this->players[$guid]->say($this->mod->getLngString("playerTempBanned", array("<PLAYER>"), array($this->players[$tokick]->getName())));
                    }
                }
                else {
                    $this->players[$guid]->say($this->mod->getLngString("anyError"));
                }
            }
        }
    Alles anzeigen
  • forcereasontoban not working for tempban

    • Dunciboy
    • 25. Februar 2014 um 22:02

    Yes and this fixes the bug. its no longer possible to tempban without reason with my edit.

  • No Stats DB found, start creating ...

    • Dunciboy
    • 21. Februar 2014 um 17:45

    Even though my stats.sqlite3 actually exists and isn't wiped at all it still has all the names in it etc. i keep seeing the message "No Stats DB found, start creating ..." in my logs when the statics.php loads up.

    Although nothing gets removed and everything is being saved fine.

  • forcereasontoban not working for tempban

    • Dunciboy
    • 21. Februar 2014 um 17:40

    Basicly [kickban] allows you to turn forcereasontoban on 1 and you are forced to put a reason in your ban with the current tempban function it doesn't work. Nobody read there configs here?

  • forcereasontoban not working for tempban

    • Dunciboy
    • 21. Februar 2014 um 17:19

    It doesn't work for a temporary ban

    Fix
    Code
    public function tempBan($guid, $parameters) {
            $parastring = implode(" ",$parameters);
            if (strpos($parastring, "\\") !== false) {
                list($player, $parameters) = explode("\\", $parastring);
                $player = trim($player);
                $parameters = array(trim($parameters));
            }
            else {
                $player = array_shift($parameters);
            }
    
    
    
    
            $tokick = $this->mod->findPlayerGuid($player);
    
    
    
    
            if (!$tokick) {
                $this->players[$guid]->say($this->mod->getLngString("playerNotFound", array("<SEARCH>"), array($player)));
            }
            else {
                //Check if there is enough power
                if($this->players[$tokick]->getNeededPower() > $this->players[$guid]->getPower()){
                    $this->players[$guid]->say($this->mod->getLngString("morePowerNeeded"));
                    return false;
                }
    
                if ($this->players[$tokick]->isProtected()) {
                    $this->players[$guid]->say($this->mod->getLngString("cantKickProtected"));
                    return false;
                }
                if (!empty($parameters)) {
                    if (is_numeric($parameters[0]) && $parameters[0] > 0) {
                        $time = array_shift($parameters);
                        if ($time > $this->mod->getCV("kickban", "maxtempbantime")) {
                            $time = $this->mod->getCV("kickban", "maxtempbantime");
                        }
                    }
                    else {
                        $time = false;
                    }
                    if (!empty($parameters)) {
                        $reason = implode(" ", $parameters);
                        $this->mod->findReason($reason);
                    }
                    else {
                        $reason = false;
                    }
                }
                else {
                    $reason = false;
                    $time = false;
                }
                if($this->mod->getCV("kickban", "forcereason") && !$reason){
                    $this->players[$guid]->say($this->mod->getLngString("forceReason"));
                    return false;
                }
                if ($this->players[$tokick]->tempBan($reason, $time, $guid)) {
                    if (!$this->mod->getCV("kickban", "announce")) {
                        $this->players[$guid]->say($this->mod->getLngString("playerTempBanned", array("<PLAYER>"), array($this->players[$tokick]->getName())));
                    }
                }
                else {
                    $this->players[$guid]->say($this->mod->getLngString("anyError"));
                }
            }
        }
    Alles anzeigen
  • Aliases broken

    • Dunciboy
    • 19. Februar 2014 um 21:17
    Zitat von Mirko911

    I've only 1 idea:

    change Line 629 to

    if ($result->fetch(PDO::FETCH_NUM)[0] == 0) {


    that was the first version which I used for testing and which worked for me. JaJe had problems with this line so I changed it to the actual line.


    This works.

  • Getip shows own ip

    • Dunciboy
    • 7. Februar 2014 um 19:39

    Get ip show your own ip instead of the ip of the users you are requesting it off.
    Manually fix:
    $ip = $this->players[$guid]->getIP();

    change the $guid to $player.

  • Problem with manuadmin for COD4

    • Dunciboy
    • 7. Februar 2014 um 19:38

    Remove banip.php because it won't work anymore. As sqlite uses pdo and that plugin is outdated.

  • Aliases broken

    • Dunciboy
    • 4. Februar 2014 um 22:40

    Now all of a sudden this happen when i load manu.

    root@*hidden*:/*hiden*/cod4/manumod# ./mam.sh debu g
    ManuAdminMod v0.12 Beta Copyright(C) 2008-2014 Manuel Kress
    This program comes free of charge and with ABSOLUTELY NO WARRANTY.
    Visit http://www.manuadminmod.de if you have any trouble.

    [04.02.14 22:39:35] Notice: ==========================================
    [04.02.14 22:39:35] Notice: Manu-Admin-Mod v0.12 Beta is starting...
    [04.02.14 22:39:35] Notice: ==========================================
    [04.02.14 22:39:35] Notice: !! Please wait until the mod is completely initial ised
    [04.02.14 22:39:35] Notice: Config loaded: config.cfg
    [04.02.14 22:39:35] Notice: Config loaded: maps.cfg
    [04.02.14 22:39:35] Notice: Config loaded: admins.cfg
    [04.02.14 22:39:35] Notice: Config loaded: groups.cfg
    [04.02.14 22:39:35] Notice: Config loaded: reasons.cfg
    [04.02.14 22:39:35] Notice: Language files loaded: en
    [04.02.14 22:39:35] Notice: All config files were parsed
    [04.02.14 22:39:35] Notice: RCON connection established (46.105.45.43:29098)
    [04.02.14 22:39:35] Notice: Game detected: Call of Duty 4
    [04.02.14 22:39:35] Notice: Dvar check successful
    [04.02.14 22:39:35] Notice: Synced playerlist with 'status' (5 players online)
    [04.02.14 22:39:35] Notice: Updated Dvar g_gametype
    [04.02.14 22:39:35] Notice: Updated teamnames ( vs. )
    [04.02.14 22:39:35] Notice: Sets Dvar _manuadminmod to '0.12 Beta'
    [04.02.14 22:39:35] Notice: == Loading plugins and commands ==
    [04.02.14 22:39:35] Notice: - Loading mapvote.php
    [04.02.14 22:39:35] Notice: - Loading scream.php
    [04.02.14 22:39:35] Notice: - Loading restore.php
    [04.02.14 22:39:35] Notice: - Loading baniprange.php
    [04.02.14 22:39:35] Notice: - Loading punkbuster.php
    [04.02.14 22:39:35] Warning: Punkbuster: PB is disabled on this server (sv_punkb uster = 0), please enable it before using this plugin
    [04.02.14 22:39:35] Notice: - Loading basiccommands.php
    [04.02.14 22:39:35] Notice: - Loading antiteamkiller.php
    [04.02.14 22:39:35] Notice: - Loading reset.php
    [04.02.14 22:39:35] Notice: - Loading voting.php
    [04.02.14 22:39:35] Notice: - Loading guidchecks.php
    [04.02.14 22:39:35] Notice: - Loading customcommands.php
    [04.02.14 22:39:35] Notice: - Loading weaponrestrictions.php
    [04.02.14 22:39:35] Notice: - Loading funmessages.php
    [04.02.14 22:39:35] Notice: - Loading geoip.php
    [04.02.14 22:39:35] Notice: - Loading pingkicker.php
    [04.02.14 22:39:35] Notice: - Loading banner.php
    [04.02.14 22:39:35] Notice: - Loading randommapcycle.php
    [04.02.14 22:39:35] Notice: - Loading spreemessages.php
    [04.02.14 22:39:35] Notice: - Loading permissionstest.php
    [04.02.14 22:39:35] Notice: - Loading nameprotection.php
    [04.02.14 22:39:35] Notice: - Loading warns.php
    [04.02.14 22:39:35] Notice: - Loading clientcmd.php
    [04.02.14 22:39:35] Notice: - Loading badwords.php
    [04.02.14 22:39:35] Notice: - Loading chatlog.php
    [04.02.14 22:39:35] Notice: - Loading deferredJobs.php
    [04.02.14 22:39:35] Notice: - Loading statistics.php

    Now it just quits and does nothing. removing statics.php solves it.

  • Banip plugin.

    • Dunciboy
    • 31. Januar 2014 um 22:07

    I'd like to see banip plugin to ban people by ip. I had one before but i can't use it anymore since pdo is being used for sqlite.

  • Request Chat logs 0.12 MAM

    • Dunciboy
    • 31. Januar 2014 um 17:13

    The first one already exist the second one haven't seen it yet but somebody with knowledge can easily make this.

  • Customm commands loging bug

    • Dunciboy
    • 29. Januar 2014 um 18:13

    I'm already happy its being updated now :)

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