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

Beiträge von Raiden

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!
  • Russian laguage for GSManager

    • Raiden
    • 8. Februar 2017 um 11:59

    Thank you, I posted Plugin-Store, hope all well filled ^^

  • Russian Language

    • Raiden
    • 8. Februar 2017 um 11:53

    Raiden added a new version:

    Datei

    Russian Language

    Russian Language for GSManager.
    Raiden
    8. Februar 2017 um 00:00
    Zitat

    Initial Release.

  • Russian Language

    • Raiden
    • 8. Februar 2017 um 11:41

    Raiden added a new file:

    Datei

    Russian Language

    Russian Language for GSManager.
    Raiden
    8. Februar 2017 um 00:00
    Zitat

    Installation:

    Unpack the archive into the root folder of your GSManager installation, edit the file basics.json and set encodingto Windows-1251 and language to russian as shown in the image below:

    ac84fd94eaf44adbb0bdb4cd634968dc.png

    36bc1892036144dda259c389d9af95dc.png

  • Anti Spam

    • Raiden
    • 8. Februar 2017 um 11:34

    Oh it's great that the warnings are stored, thanks for the quick response!

  • Anti Spam

    • Raiden
    • 8. Februar 2017 um 09:44

    Do I understand correctly, thank you for the quick response))

    Java
    "punishment": {    
    "actions": [
    [0, "warn", {}],
    [25, "kill", {}],
    [50, "kick", {}],
    [75, "tempban", {"time": 60}],
    [100, "ban", {}]
     ],

    The numbers before the action are the number of warnings?

    A warning reset the player if he leaves the server, and then comes back?

  • Russian laguage for GSManager

    • Raiden
    • 8. Februar 2017 um 00:01

    I've added Russian language GSManager 1.2.1, wanted to give us something to help and so to speak to expand the audience of users ... I hope I did not break nor a licensing agreement, but whatever it was, you can delete it or add-in program from its name!
    Installing:
    Unpack the archive into a folder with the program and set in the config russian language and character Windows-1251 as in the image below.

    Screenshot

    ac84fd94eaf44adbb0bdb4cd634968dc.png

    36bc1892036144dda259c389d9af95dc.png

    Dateien

    Rus_lang_gsm.zip 18,91 kB – 625 Downloads
  • Anti Spam

    • Raiden
    • 7. Februar 2017 um 22:39

    How to configure this plug-in, that is, how to set the number of warnings and/or to remove them, which would exclude players censor immediately without warning?

    Java: censor.json
    {    "censor": {        
    "enabled": true,        
    "badname": true,        
    "badnames": {            
    "regexp:[nb][o0]{2,}[bn]": 5,            
    "regexp:f+\\s*[ui]+\\s*c+\\s*k+": 5,            
    "regexp:m\\s?(รถ|oe|o3)\\s?s\\s?[e3]": 5,            
    "anal": 5,            
    "arschloch": 5,            
    "bastard": 5,            
    "beschissen": 5,            
    "bitch": 5,            
    "ciemniak": 5,
    ...................
    Alles anzeigen

    what kind of numbers next to each word?

  • Problem with GSManager and IW4X (solved) 1 new problem

    • Raiden
    • 6. Februar 2017 um 10:27

    Loontick, it is necessary to speak iv4x developers, it is their omission! I like because it is not working properly UltraStats.

  • Problem with GSManager and IW4X (solved) 1 new problem

    • Raiden
    • 4. Februar 2017 um 09:07

    Loontick, my too was on React and now iw4x! Notification to the team name was at MAM, is simply a notice and you can comment out if it is an eyesore, as the developers have long changed the names of the teams on their projects (which already had a lot of). Maybe you need to add the maps and game types in the relevant files?

    Path


    http://prntscr.com/e4bck9

    Punkbuster disconnect in GSM and server config set sv_punkbuster "0". I have with him even Guid were not determined, I could not assign administrators and banned.

    Punkbuster

    536389dacd884df1b2e2f39780a93948.png

  • Problem with GSManager and IW4X (solved) 1 new problem

    • Raiden
    • 3. Februar 2017 um 22:12

    You specifically detailing since ManuAdminMod and GSManager is fundamentally different add-ons, but on iw4x MAM does not work, but GSM 1.2.1 copes, although perhaps there are still some nuances ...

  • Plugin GSM for the script VAS

    • Raiden
    • 3. Februar 2017 um 19:09

    Yes, yes, I understand you are one, and we have a lot of ;)

    It is a pity that the developers call of duty negligently all done thus adding us to work ...

    It's been a long time since you promised me to rewrite the plugin, please tell me, will you do it or should I look for other solutions?

  • Plugin GSM for the script VAS

    • Raiden
    • 2. Februar 2017 um 16:53

    Yes, I have a server CoD6 and I can certainly test!

  • Plugin GSM for the script VAS

    • Raiden
    • 1. Februar 2017 um 12:29

    Mirko911, yes, yes exactly! So it is possible to fix whatever he was working on GSManager?

  • Plugin GSM for the script VAS

    • Raiden
    • 31. Januar 2017 um 20:52

    This plugin Vote&AdminSystem (for MW2) was written for ManuAdminMod long been one person for the convenience of voting and server administration Cod 6, the script passed plugin commands to kick, tempban and ban a plug-in to apply them in action, but now I can not and do not want to use manuadminmod when it there Game System Manager, so here is whether this plug-in can be rewritten to GSM?

    That plugin code:

    Code plugin vas
    PHP: vas.php
    <?php
    /*
    PLUGIN: VAS
    ================
    Interaction with Vote&AdminSystem for MW2
    Used to kick, ban and tempban from VAS menu
    created by Dimnik_u11
    
    */
    
        global $mod;
    
        if (!$mod->getCV("ftp", "enabled")) {
            $vasparser = new parser($mod->getCV("main", "logfile"), $success);
        }
        else {
            $vasparser = new parser_ftp($mod->getCV("main", "logfile"), $success, $mod->getCV("ftp", "host"), $mod->getCV("ftp", "user"), $mod->getCV("ftp", "password"), $mod->getCV("ftp", "port"), (bool)(int)$mod->getCV("ftp", "passive"));
        }
        if (!$success) {
            $logging->write(MOD_ERROR, "Couldn't open server's logfile: '".$mod->getCV("main", "logfile")."'");
            return;
        }
    
        $logging->write(MOD_NOTICE, "--- VAS plugin: Start processing loglines... ---");
        
        $mod->setDefaultCV("vas", "banlistfile", $mod->getConfigDir() . "/plugins/banlist.txt");
        $mod->setDefaultCV("vas", "enableban", 0);
        $mod->setDefaultCV("vas", "logging", 0);
    
        
        $banlistfile = $mod->getCV("vas", "banlistfile");
        $srvlogfile = $mod->getCV("main", "logfile");
        $logenable = $mod->getCV("vas", "logging");
    
        $mod->registerEvent("everyTime", "vas_check");
        $mod->registerEvent("playerJoined", "ban_check");
    
    
    function vas_check() {
        global $logging;
        
        $vas_command = getLine();
        if ($vas_command === false){
            return;
        }
        $action = $vas_command["action"];
        $parts = $vas_command["parts"];
        vas_execute($action,$parts); 
    
    }
    
    function getLine() {
        global $logging;
        global $vasparser;
        global $logenable;
    
        clearstatcache();
    
        $newlines = $vasparser->getNewLines();
        foreach ($newlines as $line) {
            //$logging->write(MOD_NOTICE, "VAS: New line. $line");
            $pattern_abs = '|^\s*(\d+) |';
            $pattern_rel = '|^\s*(\d+):(\d{2}) |';
    
            if (preg_match($pattern_rel, $line, $subpatterns)) {
                $timestamp = 60 * $subpatterns[1] + $subpatterns[2];
            }
            elseif (preg_match($pattern_abs, $line, $subpatterns)) {
                $timestamp = $subpatterns[1];
            }
            else {
                return false;
            }
            $line = trim(str_replace($subpatterns[0], "", $line));
            
            if (strpos($line, "VAS") === 0) {
                $line = trim(str_replace("VAS;", "", $line));
                if($logenable) $logging->write(MOD_NOTICE, "VAS: $line");
                if (strpos($line, "execute") === 0) {
                    $line = trim(str_replace("execute;", "", $line));
                    //$logging->write(MOD_NOTICE, "VAS: execute in line. $line");                
                    $vas_action = vas_getAction($line);
                    $vas_parts = vas_ParseParts($line);
                    return array(
                    "action" => $vas_action,
                    "parts" => $vas_parts,
                    );    
                }
            }
        }
        return false;
    }
    
    function vas_ParseParts($line) {
        $parts = explode(";", $line);
        array_shift($parts);
        return $parts;
    }
    
    function vas_getAction($line) {
            $vas_actions = array(
                "kick" => "kick;",
                "ban" => "ban;",
                "tempban" => "tempban;",
                "warning" => "warning;"
            );
            foreach ($vas_actions as $key => $value) {
                if (strpos($line, $value) === 0) {
                    return $key;
                }
            }
            return "unknown";
    
    }
    
    function vas_execute($action,$parts) {
        //global $players;
        global $mod;
        global $logging;
        global $banlistfile;
        $rcon = & $GLOBALS['rcon'];
    
        //list($except_guid, $except_pid, $except_name, $except_reason, $except_by) = $parts;
    
        switch ($action) {
            case "kick":
                //"VAS - guid ; name ; reason ; kickby
                list($except_guid, $except_pid, $except_name, $except_reason, $except_by, $adminname) = $parts;
                //list($kick_guid, $kick_pid, $kick_name, $kick_reason, $kickby) = $parts;
                $toclient = "kicked for reason: " . $except_reason .  " (" . $except_by . ")";
                $logging->write(MOD_NOTICE, "VAS: command kick - player '$except_name', PID: $except_pid, GUID: $except_guid, reason: $toclient");                
                $rcon->rcon("clientkick " . $except_pid . " " . $toclient );
                $mod->triggerEvent("playerKicked", array($except_guid, $except_reason));
                break;
                
            case "tempban":
                //"VAS - guid ; name ; reason ; by
                list($except_guid, $except_pid, $except_name, $except_reason, $except_by, $adminname) = $parts;
                 //list($tban_guid, $tban_pid, $tban_name, $tban_reason, $tbanby) = $parts;
                $toclient = "tempbanned for reason: " . $except_reason .  " (" . $except_by . ")";
                $logging->write(MOD_NOTICE, "VAS: command tempban - player '$except_name', PID: $except_pid, GUID: $except_guid, reason: $toclient");                
                $rcon->rcon("tempBanClient " . $except_pid . " " . $toclient);
                $mod->triggerEvent("playerTempBanned", array($except_guid, $except_reason));
                break;
    
            case "ban":
                list($except_guid, $except_pid, $except_name, $except_reason, $except_by, $adminname) = $parts;
                $toclient = "banned for reason: " . $except_reason .  " (" . $except_by . ")";
                $logging->write(MOD_NOTICE, "VAS: command ban - player '$except_name', PID: $except_pid, GUID: $except_guid, reason: $toclient");                
                $rcon->rcon("tempBanClient " . $except_pid . " " . $toclient);
                $date = date("[d.m.y H:i:s]");
                $str = "$date Player \"$except_name\" ($except_guid) got BANNED for reason: $except_reason ($except_by)\n";
                $banlistfile_filehandle = fopen($banlistfile, "a");
                fwrite($banlistfile_filehandle, $str);
                fclose($banlistfile_filehandle);
                
                $mod->triggerEvent("playerBanned", array($except_guid, $except_reason));
                break;
            
            case "warning":
                
            default:
                return;
        }
        
    }
    
    function ban_check($guid) {
    
        global $players;
        global $mod;
        global $logging;
        $rcon = & $GLOBALS['rcon'];
        global $banlistfile;
    
        
        if (!$mod->getCV("vas", "enableban")) {
            return false;
        }
    
        //$ret = false; 
        if (($cont = file_get_contents($banlistfile)) === FALSE) return false;
        $findguidpos = strpos($cont, $guid);
        if ($findguidpos !== false) {
            $endstr = strpos($cont, chr(10), $findguidpos);
            $resonestart = strpos($cont, "reason:", $findguidpos);
            //$reasone = substr($cont, $resonestart, $endstr-$resonestart);
            $reasone = str_replace("reason: ", "" ,substr($cont, $resonestart, $endstr-$resonestart));
    
            $pid = $players[$guid]->getPID();
            $rcon->rcon("tempBanClient " . $pid . " " . $reasone);
            
            //$players[$guid]->kick("Autokick! BANED for $reasone");
            $logging->write(MOD_NOTICE, "BANCHECK: Player '".$players[$guid]->getName()."' guid: ($guid) was TempBanned. Stored reasone: '$reasone'");
        }
    
    }
    
    //}
    ?>
    Alles anzeigen

    Just add the script

    Dateien

    VAS_1.2.zip 31,73 kB – 601 Downloads
  • Website error

    • Raiden
    • 31. Januar 2017 um 20:13

    Thank you, now you can create threads, it is good that there is an archive, then you are the administrator who already do backups ^^ and it's good!

  • Website error

    • Raiden
    • 31. Januar 2017 um 10:02

    Thank you for the quick response, I'll wait, I appreciate your work on the project!

  • Website error

    • Raiden
    • 30. Januar 2017 um 22:57

    I apologize that are off topic, but I can not start a new topic, as well as see the documentation page, error page:

    http://prntscr.com/e2faat

    http://prntscr.com/e2fc57

  • !tempban commands don't work ?

    • Raiden
    • 30. April 2014 um 14:51

    juni, thanks already prompted me, but I figured out myself, once again returning the old MAM 0.11.4 ban because the function does not work for the MW2 ...

  • MAM 0.12 beta usage

    • Raiden
    • 30. April 2014 um 01:49

    Mirko911, sorry, my fault in the config was repeated commands from the plug Ban.php:

    Code
    [kickban]
    defaultkickreason = "Kicked by Admin"
    defaultbanreason = "Banned by Admin"
    modpower = 100
    forcereason = 1
    usepb = 1
    pbtempbanduration = 5
    announce = 1
    maxtempbantime  = 3600
    announcemessages = 5
    
    
    
    
    ........
    
    
    
    
    [kickban]
    enabled = 1
    
    
    
    
    DefaultKickReason = "Несоответствие требованиям сервера !"
    DefaultTempBanReason = "НАРУШЕНИЕ ПРАВИЛ ! БАН - Временный !"
    DefaultBanListReason = "ГРУБОЕ НАРУШЕНИЕ ! БАН - ПОСТОЯННЫЙ !"
    
    
    
    
    KickReason = "^5Kicked!^7=^5Исключён!"
    TempBanReason = "^3Blocked!^7=^3Заблокирован!"
    BanReason = "^1BANNED!^7=^1ЗАБАНЕН!"
    Alles anzeigen


    Thanks for the help!!

  • MAM 0.12 beta usage

    • Raiden
    • 30. April 2014 um 01:20

    All by default, I did not change anything, but what kind of team?

    Code
    [kickban]
    defaultkickreason = "Kicked by Admin"
    defaultbanreason = "Banned by Admin"
    modpower = 100
    forcereason = 1
    usepb = 1
    pbtempbanduration = 5
    announce = 1
    maxtempbantime  = 3600
    announcemessages = 5


    May be due to the fact that I use on the site and banlist plugin log writes to the database ...

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