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

Beiträge von Ketchupmaster

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!
  • finall kill cam download from here

    • Ketchupmaster
    • 9. August 2014 um 03:34

    Woot, this is final killcam for FFA games and such also? and with or without mods?

  • Happy Easter!

    • Ketchupmaster
    • 20. April 2014 um 13:39

    Happy easter everyone and the team! :)

  • !warn cmd..need to modify..anyone knows how to?

    • Ketchupmaster
    • 18. April 2014 um 22:39
    Zitat von Azad69

    Not working.....Still the warn is only visible to warn giver and who got warned...Don't want that...I want the MAM to say the warn in console without giving pm to the two players..The warn will be visible to everyone

    Strange, it works for me.

    Is it the same error as before? If theres a error can you copy the error and the line that the errror occurs.

  • Forbidden weapons

    • Ketchupmaster
    • 18. April 2014 um 22:37
    Zitat von juni

    hi back
    ty dude
    you have tested?
    it work?

    No I havnt. I dont have servers which I need restriction on.

  • Forbidden weapons

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


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

    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.

  • Forbidden weapons

    • Ketchupmaster
    • 17. April 2014 um 23:19

    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>"

  • TCP Console not connecting

    • Ketchupmaster
    • 17. April 2014 um 13:18
    Zitat von Nichrome

    Hi,
    thanks for response.

    Made it working but only for 2 people (from backup made ages ago when it was working)

    I've tried adding another person to the TCP_User *.db I believe* but this person cannot log in.

    I've made simple change to the file as it was saying:
    NICK:MASTER:HASHPASSWORD
    NICK:MASTER:HASHPASSWORD

    so I've added another one with generated password in hash but it doesn't work.

    Any advice on this is greatly appreciated :)

    Thanks

    Alles anzeigen

    I never really used tcp before, but you have a generated password so it would be like this:

    Nichrome:master:0feca720e2c29dafb2c900713ba560e03b758711

    As an example. Eventually you used a bad generator that just isnt working right. As Master of Little said, sha1.
    Heres a sha1 generator: http://www.sha1generator.de/

  • !warn cmd..need to modify..anyone knows how to?

    • Ketchupmaster
    • 17. April 2014 um 13:03
    Zitat von Azad69

    :(


    PHP Parse error: syntax error, unexpected T_VARIABLE in E:\adminmod\plugins\warns.php on line 84

    Hmmm, not sure why line 84 would be wrong. 84 for me is

    Spoiler anzeigen

    82. case "kick":
    83. $players[$towarn]->kick($mod->getCV("warns", "kickreason"));
    84. break;


    Here is the full warns.php that I have and it works for me.


    Spoiler anzeigen

    <?php

    /*
    PLUGIN: Warns
    =============
    Admins can warn players with !warn [reason]; when a player has more than X
    warnings he will be kicked/banned

    CONFIG
    ------
    [warns]
    enabled = 1 ;enable plugin
    warnstokick = 3 ;warnings to kick
    mode = "tempban" ;kick/ban/tempban
    kickreason = "To many warns by admin" ;Reason for kick

    COMMANDS
    --------
    !warn

    NAMESPACE: warns

    Functions:
    warn_main
    warns_playerInit

    */

    $mod->setDefaultCV("warns", "enabled", 0);
    $mod->setDefaultCV("warns", "warnstokick", 3);
    $mod->setDefaultCV("warns", "mode", "tempban");
    $mod->setDefaultCV("warns", "kickreason", "To many warns by admin");

    $mod->registerEvent("playerJoined", "warns_playerInit");
    $mod->registerCommand("warn", "|^warn \S.*$|i", "warn_main");

    //Init Players because playerJoined isn't called at startup
    array_map("warns_playerInit", array_keys($players));

    function warn_main($guid, $parameters) {
    global $mod;
    global $players;

    if (!$mod->getCV("warns", "enabled")) {
    return false;
    }

    $parastring = implode(" ", $parameters);
    if (strpos($parastring, "\\") !== false) {
    list($player, $parameters) = explode("\\", $parastring, 2);
    $player = trim($player);
    $parameters = array(trim($parameters));
    }
    else {
    $player = array_shift($parameters);
    }
    $towarn = $mod->findPlayerGuid($player);

    if (!$towarn) {
    $players[$guid]->say($mod->getLngString("playerNotFound", array("<SEARCH>"), array($player)));
    return false;
    }

    if ($players[$towarn]->isProtected()) {
    $players[$guid]->say($mod->getLngString("cantEffectProtected"));
    return false;
    }

    $reason = implode(" ", $parameters);

    $mod->findReason($reason);

    $players[$towarn]->warns_warns ++;
    $players[$towarn]->say($mod->getLngString("warnedByAdmin", array("<REASON>", "<WARNS>", "<MAXWARNS>"), array($reason, $players[$towarn]->warns_warns, $mod->getCV("warns", "warnstokick"))));
    $GLOBALS['logging']->write(MOD_NOTICE, "Warns: Player '".$players[$towarn]->getName()."' has been warned, reason: '$reason', PID".$players[$towarn]->getPID().", GUID:".$players[$towarn]->getGuid());

    $mod->say($mod->getLngString("hasBeenWarned", array("<NAME>", "<REASON>", "<WARNS>", "<MAXWARNS>"), array($players[$towarn]->getName(), $reason, $players[$towarn]->warns_warns, $mod->getCV("warns", "warnstokick")))); if ($players[$towarn]->warns_warns >= $mod->getCV("warns", "warnstokick")) {
    switch ($mod->getCV("warns", "mode")) {
    case "tempban":
    $players[$towarn]->tempBan($mod->getCV("warns", "kickreason"));
    break;
    case "kick":
    $players[$towarn]->kick($mod->getCV("warns", "kickreason"));
    break;
    case "ban":
    $players[$towarn]->ban($mod->getCV("warns", "kickreason"));
    break;
    }
    }

    }

    function warns_playerInit($guid) {
    $GLOBALS['players'][$guid]->warns_warns = 0;
    }

    Make sure you replaced it, and not just pasted it in so both is there.

  • TCP Console not connecting

    • Ketchupmaster
    • 17. April 2014 um 01:59

    Make sure you fixed the stuff here in config.cfg

    [tcp_query]
    enabled = 1
    ip = "0.0.0.0"
    port = 1337
    logintimeout = 30
    defaulaction = "say"
    sayprefix = "^3TCP-Admin (<ADMIN>): ^7"
    admingroups = "master,admin"
    disallowedcommands = "vote,yes,no,stats,session"
    maxconnections = 5

  • !warn cmd..need to modify..anyone knows how to?

    • Ketchupmaster
    • 17. April 2014 um 01:51

    Replace the line

    $players[$guid]->say($mod->getLngString("hasBeenWarned", array("<NAME>", "<REASON>", "<WARNS>", "<MAXWARNS>"), array($players[$towarn]->getName(), $reason, $players[$towarn]->warns_warns, $mod->getCV("warns", "warnstokick"))));

    with the line

    $mod->rconSay($mod->getLngString("hasBeenWarned", array("<NAME>", "<REASON>", "<WARNS>", "<MAXWARNS>"), array($players[$towarn]->getName(), $reason, $players[$towarn]->warns_warns, $mod->getCV("warns", "warnstokick"))));

    In adminmod/plugins/warns.php


    Thanks to NiNJA for helping me with this one :biggrin:

  • !tempban commands don't work ?

    • Ketchupmaster
    • 17. April 2014 um 00:52
    Zitat von Dunciboy


    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


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

  • double message?

    • Ketchupmaster
    • 17. April 2014 um 00:15
    Zitat von Voices

    Maybe you started your MAM twice.

    What my bestfriend Voices said. It happened to me before, I started mam from two different servers for the same server :P

  • Connect MAM to MySQL Database

    • Ketchupmaster
    • 17. März 2014 um 16:06
    Zitat von belstgut

    can u post mam log when it crashes? and for displaying stats on website, you need a webfrontend which connects to your database and displays the statistics.

    Couldnt find anything on the mam log. It says last updated 17.03.2014 but the last line is from 14.03.2014.

    And what is this webfrontend? How do I do it?

    Thanks

  • Connect MAM to MySQL Database

    • Ketchupmaster
    • 17. März 2014 um 14:43

    UPDATE:

    Manuadmimod keeps crashing after this. It fails in starting :(


    EDIT:

    On

    [statistics]
    statsstring = "^2Kills: <KILLS> ^1Deaths: <DEATHS> ^3K/D: <KPD> ^2time: <ONLINETIME> min ^3K/M: <KPM> ^2HS: <HEADSHOTS> ^7TKs: <TEAMKILLS>"
    whisperstats = 0
    savestats = "sqlite3"

    Here i changed savestats to mysql, but then manuadminmod crashed. Also tried MySQL in case that would work but still crash. Then i changed back to sqlite3 and MAM runs. But statistics website not working:/

  • Connect MAM to MySQL Database

    • Ketchupmaster
    • 17. März 2014 um 14:23
    Zitat von belstgut

    in your stats settings select mysql as database and add your database auth to the config

    Now I added my database to the config. What do i do now to make it display the stats on my stats website? :)

  • !tempban commands don't work ?

    • Ketchupmaster
    • 17. März 2014 um 13:51

    I have the exact same problem.

  • Connect MAM to MySQL Database

    • Ketchupmaster
    • 17. März 2014 um 13:42
    Zitat von Master of Little

    Ahoi,
    do you use MySQL or SQLite?

    I use MySQL :)

  • Connect MAM to MySQL Database

    • Ketchupmaster
    • 17. März 2014 um 13:31

    Hey guys, im trying to make a Stats page for my servers running ManuAdminMod. I have problems figuring out what I have to do to connect the servers MAM to a MySQL database.

    Does anyone know how and wants to help me? :D

    Thanks

  • Aliases, tempban and stats commands not working properly

    • Ketchupmaster
    • 8. Februar 2014 um 11:55

    I think im using the version before, 11.5 or something.

  • Aliases, tempban and stats commands not working properly

    • Ketchupmaster
    • 8. Februar 2014 um 01:06

    Hey.

    The three commands !aliases, !tempban and !stats is not working like it should:


    !Aliases only show the current aliases, if I join the servers as Ketchup I only have that alias until I change alias in the current game. If I change name to for example Master, and reconnect to the servers, my only alias is Master. While it should be every alias I ever used in the server.


    !tempban is not working either, it says that I temporary banned player blabla, but he is still in the server playing, and isnt banned.

    !stats is also not working, I want it to be the total stats of all gamestats, totally playtime, kills, deaths, k/d etc, but its just for the current games.


    Anyone know what the problem can be? I can upload any files needed.

    Heres some files I think might be needed:


    Statistics.php: http://www20.zippyshare.com/v/57587493/file.html

    stats.db: http://www20.zippyshare.com/v/3102264/file.html

    basiccommands.php: http://www20.zippyshare.com/v/76753192/file.html


    Thanks for any help:)

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