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

Beiträge von gr33nd3v1l

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!
  • Slap command

    • gr33nd3v1l
    • 8. Juli 2011 um 18:52

    I was wondering if it was possible to implement a slap command.
    User calls for command !slap <name\player number>
    console outputs: <PLAYERSLAPPED> has been slapped by <PLAYERCALLED> (Slapped <NUMBER OF TIMES> times today.)

    So it would keep track of how many times a player has been slapped, and reset it every day.

    Just thought it would be a fun command, open for brainstorming
    :)

  • "Fiendly fire"

    • gr33nd3v1l
    • 4. Mai 2011 um 20:36
    Zitat von manu

    Try !setff and !help setff for help

    For the second: Do not edit something in the php-files. That won't work as you want. Use the config files instead. In the config.cfg you can edit the statsstring. Just remove the part with <PLAYER_NAME>, type !readconfig and that's it

    I was more thinking along the lines of separate code for serverstats and separate for playerstats. I want it to show the player name when player calls for !stats, but i don't want it to show the name when player calls for !serverstats

    And friendlyfire is answered here: Friendly Fire command problem
    But didn't help me, it still says FIENDLY even after i change main.lng and even edit all the backups and basic.lng

  • Friendly Fire command problem

    • gr33nd3v1l
    • 4. Mai 2011 um 20:33

    Upon changing main.lng and rereading config, nothing happened..

    Are you sure its in the language files? :S

  • "Fiendly fire"

    • gr33nd3v1l
    • 18. April 2011 um 11:10

    I just noticed it says Fiendly fire, and i've been looking for the string to change, but i just can't find it :S

    Could you tell me what and where to change.

    Also i was wondering if you guys could help me with a little custom command.
    I use this string for !stats
    $mod->setDefaultCV("statistics", "statsstring", "^1<PLAYER_NAME>| ^2Kills: <KILLS> ^1Deaths: <DEATHS> ^3K/D: <KPD> ^2time: <ONLINETIME> min ^3K/M: <KPM> ^2HS: <HEADSHOTS> ^7TKs: <TEAMKILLS>");

    So i was wondering if there is any way to disable the <playername> part when players call for !serverstats, because then it also shows their name, and some pretty impossible kills next to it.
    Just wondering :)

  • Headshots & Nutshots

    • gr33nd3v1l
    • 15. November 2010 um 21:29

    Now i have a different inquiry. I'll try to do it myself.

    I want a different message for knife kill.

    well i'm shit at coding, but i think it would go something like

    if weapon detected = knife
    then send message MOD_KNIFE

    could someone do that for me?

  • Headshots & Nutshots

    • gr33nd3v1l
    • 15. November 2010 um 21:13

    at end of config.cfg:

    Code
    [extramessages]
    headshot_enabled = 1
    headshot_message = "^7<ATTACKER> ^2blasted ^7<VICTIM>'s ^1head ^2off with (^7<WEAPON>^2)"
    falling_enabled = 1
    falling_message = "^7<VICTIM> ^2thinks penguins can fly!"

    In this folder, both of the extramessages files:

    ED: I renamed it to extramessages.php and removed the headshots.php now.


    It contains:

    Spoiler anzeigen

    <?php
    $mod->setDefaultCV("extramessages", "headshot_enabled", 0);
    $mod->setDefaultCV("extramessages", "falling_enabled", 0);
    $mod->setDefaultCV("extramessages", "headshot_message", "^7<VICTIM>^2's brains were splattered by ^7<ATTACKER> ^2(^7<WEAPON>^2)");
    $mod->setDefaultCV("extramessages", "falling_message", "^7<VICTIM> ^2thinks penguins can fly!");
    $mod->registerEvent("playerKill", "extramsgs_kill");
    $mod->registerEvent("playerSelfKill", "extramsgs_selfkill");

    function extramsgs_kill($args) {
    list($guid, $victim, $weapon, $damage, $bodypart) = $args;
    global $players;
    global $mod;

    if (!$mod->getCV("extramessages", "headshot_enabled")) return;
    if ($weapon[1] != "MOD_HEAD_SHOT" && $bodypart != "head") return;

    $attacker =& $players[$guid];
    $victim =& $players[$victim];

    $search = array("<ATTACKER>", "<VICTIM>", "<WEAPON>");
    $replace = array($attacker->getName(), $victim->getName(), $mod->getLongWeaponName($weapon));

    $mod->rconSay(str_replace($search, $replace, $mod->getCV("extramessages", "headshot_message")));
    }

    function extramsgs_selfkill($args) {
    list($guid, $weapon, $damage, $bodypart) = $args;
    global $players;
    global $mod;

    if (!$mod->getCV("extramessages", "falling_enabled")) return;
    if ($weapon[1] != "MOD_FALLING") return;

    $victim =& $players[$guid];

    $search = "<VICTIM>";
    $replace = $victim->getName();

    $mod->rconSay(str_replace($search, $replace, $mod->getCV("extramessages", "falling_message")));
    }
    ?>

    ED:
    I see, I had it in adminmod\config\plugins

    not adminmod\plugins

    It should work now, but ill have to reset mod.

  • Headshots & Nutshots

    • gr33nd3v1l
    • 13. November 2010 um 19:56

    well that didnt work =.=

  • Headshots & Nutshots

    • gr33nd3v1l
    • 10. November 2010 um 23:12

    exactly. where?

  • Headshots & Nutshots

    • gr33nd3v1l
    • 8. November 2010 um 18:35

    Isn't there one already?

    :(

  • Headshots & Nutshots

    • gr33nd3v1l
    • 8. November 2010 um 16:39

    Can someone please redirect me to where i can find them..
    I tried putting this in my config

    Code
    [extramessages]
    headshot_enabled = 1
    headshot_message = "^7<ATTACKER> ^2blasted ^7<VICTIM>'s ^1head ^2off with (^7<WEAPON>^2)"
    falling_enabled = 1
    falling_message = "^7<VICTIM> ^2thinks penguins can fly!"

    And made this in plugins

    Zitat von extramessages.lst

    <?php
    $mod->setDefaultCV("extramessages", "headshot_enabled", 1);
    $mod->setDefaultCV("extramessages", "falling_enabled", 1);
    $mod->setDefaultCV("extramessages", "headshot_message", "^7<VICTIM>^2's brains were splattered by ^7<ATTACKER> ^2(^7<WEAPON>^2)");
    $mod->setDefaultCV("extramessages", "falling_message", "^7<VICTIM> ^2thinks penguins can fly!");

    $mod->registerEvent("playerKill", "extramsgs_kill");
    $mod->registerEvent("playerSelfKill", "extramsgs_selfkill");

    function extramsgs_kill($args) {
    list($guid, $victim, $weapon, $damage, $bodypart) = $args;
    global $players;
    global $mod;

    if (!$mod->getCV("extramessages", "headshot_enabled")) return;
    if ($weapon[1] != "MOD_HEAD_SHOT" && $bodypart != "head") return;

    $attacker =& $players[$guid];
    $victim =& $players[$victim];

    $search = array("<ATTACKER>", "<VICTIM>", "<WEAPON>");
    $replace = array($attacker->getName(), $victim->getName(), $mod->getLongWeaponName($weapon));

    $mod->rconSay(str_replace($search, $replace, $mod->getCV("extramessages", "headshot_message")));
    }

    function extramsgs_selfkill($args) {
    list($guid, $weapon, $damage, $bodypart) = $args;
    global $players;
    global $mod;

    if (!$mod->getCV("extramessages", "falling_enabled")) return;
    if ($weapon[1] != "MOD_FALLING") return;

    $victim =& $players[$guid];

    $search = "<VICTIM>";
    $replace = $victim->getName();

    $mod->rconSay(str_replace($search, $replace, $mod->getCV("extramessages", "falling_message")));
    }
    ?>

    Alles anzeigen

    But no luck, it still doesn't work

  • [Request] Automatic .cfg loader

    • gr33nd3v1l
    • 29. Oktober 2010 um 17:45

    Okay, thanks.

    That's all i think :)

  • [Request] Automatic .cfg loader

    • gr33nd3v1l
    • 29. Oktober 2010 um 14:27

    In that folder, what is default.cfg for?

    Thanks for this :)

  • [Request] Automatic .cfg loader

    • gr33nd3v1l
    • 28. Oktober 2010 um 17:56

    my config contains server commands, so i believe server.cfg would be the one i'm looking for

    since every new round team names reset to normal, let's say i want to load this every round (automatically)

    Zitat von names.cfg

    g_teamname_allies "Russkaya O'A"
    g_teamname_axis "Schutzstaffel"

    PS
    By the way, are you manu from Garena, EU 2 by any chance

  • [Request] Automatic .cfg loader

    • gr33nd3v1l
    • 28. Oktober 2010 um 16:03

    What I need is an automatic .cfg loader after each SnD and Sab round, and map start.
    To be precise, I want to rename the teams, i made the config, all i need is manu to load it every new round and every new map.

    I'll try to do it on my own now, but in the meantime, all help is strongly encouraged :)

    If i manage to do it on my own, though, I will post my results and findings here, for future reference.

  • Sqlite extension for PHP

    • gr33nd3v1l
    • 28. Oktober 2010 um 15:57
    Zitat von Luk

    In your serverconfig, you need
    set sv_log_damage 1

    <3

    i knew i managed to set it up ONCE but never remembered how to do it properly

    Everything is working now, today when i restarted, it failed to detect game, but since i know i am running cod4 (<.<) i edited daemon.php to set to cod4 automatically.

    Thanks everyone. :groesste:

  • Sqlite extension for PHP

    • gr33nd3v1l
    • 28. Oktober 2010 um 02:41

    I can't start php.exe

    Is that supposed to be like that?
    It crashes the same way.
    Tried reinstalling many times.

    ________

    Okay my problem is definitely PHP
    Can any of you guys help me with that or am i in the wrong place at the wrong time

    ________


    Spoiler anzeigen

    0:00 [28.10.10 03:14:01] Notice: ==========================================
    0:00 [28.10.10 03:14:01] Notice: Manu-Admin-Mod v0.11.3 beta.gif" wcf_src=http://www.manuadminmod.de/forum/wcf/images/smilies/beta.gif alt="beta"> is starting...
    0:00 [28.10.10 03:14:01] Notice: ==========================================
    0:00 [28.10.10 03:14:01] Notice: !! Please wait until the mod is completely initialised
    0:00 [28.10.10 03:14:01] Notice: Config loaded: config.cfg
    0:00 [28.10.10 03:14:01] Notice: Config loaded: maps.cfg
    0:00 [28.10.10 03:14:01] Notice: Config loaded: admins.cfg
    0:00 [28.10.10 03:14:01] Notice: Config loaded: groups.cfg
    0:00 [28.10.10 03:14:01] Notice: Config loaded: reasons.cfg
    0:00 [28.10.10 03:14:01] Notice: Language files loaded: en
    0:00 [28.10.10 03:14:01] Notice: All config files were parsed
    0:00 [28.10.10 03:14:01] Notice: RCON connection established (127.0.0.1:28960)
    0:00 [28.10.10 03:14:02] Notice: Game detected: Call of Duty 4
    0:00 [28.10.10 03:14:03] Notice: Dvar check successful
    0:00 [28.10.10 03:14:03] Notice: Synced playerlist with 'status'
    0:00 [28.10.10 03:14:04] Notice: Updated Dvar g_gametype
    0:00 [28.10.10 03:14:05] Notice: Updated teamnames (sas vs. ussr)
    0:00 [28.10.10 03:14:06] Notice: Sets Dvar _manuadminmod to '0.11.3 beta.gif" wcf_src=http://www.manuadminmod.de/forum/wcf/images/smilies/beta.gif alt="beta">'
    0:00 [28.10.10 03:14:06] Notice: == Loading plugins and commands ==
    0:00 [28.10.10 03:14:06] Notice: - Loading antiteamkiller.php
    0:00 [28.10.10 03:14:06] Notice: - Loading badwords.php
    0:00 [28.10.10 03:14:06] Notice: - Loading banner.php
    0:00 [28.10.10 03:14:06] Notice: - Loading basiccommands.php
    0:00 [28.10.10 03:14:06] Notice: - Loading customcommands.php
    0:00 [28.10.10 03:14:06] Notice: - Loading funmessages.php
    0:00 [28.10.10 03:14:06] Notice: - Loading mapvote.php
    0:00 [28.10.10 03:14:06] !! Warning: Mapvote: Randommapcycle is activated; you should only use either randommapcycle or mapvote but not both
    0:00 [28.10.10 03:14:06] !! Warning: Mapvote: Randommapcycle is activated; you should only use either randommapcycle or mapvote but not both
    0:00 [28.10.10 03:14:06] Notice: Set Dvar sv_maprotationcurrent to 'gametype war map mp_crash_snow'
    0:00 [28.10.10 03:14:06] Notice: - Loading modstuff.php
    0:00 [28.10.10 03:14:10] Notice: Heartbeat has been sent to serverlist at manuadminmod.de: Couldn't resolve hostname
    0:00 [28.10.10 03:14:10] Notice: - Loading nameprotection.php
    0:00 [28.10.10 03:14:10] Notice: - Loading pingkicker.php
    0:00 [28.10.10 03:14:10] Notice: - Loading punkbuster.php
    0:00 [28.10.10 03:14:11] !! Warning: Punkbuster: PB is disabled on this server (sv_punkbuster = 0), please enable it before using this plugin
    0:00 [28.10.10 03:14:11] Notice: - Loading randommapcycle.php
    0:00 [28.10.10 03:14:11] Notice: Randommapcycle: Setting nextmap to mp_citystreets (war)
    0:00 [28.10.10 03:14:12] Notice: Set Dvar sv_maprotationcurrent to 'gametype war map mp_citystreets'
    0:00 [28.10.10 03:14:12] Notice: - Loading spreemessages.php
    0:00 [28.10.10 03:14:12] Notice: - Loading statistics.php
    0:00 [28.10.10 03:14:12] !! Error: Statistics: SQLite extension for PHP is not installed! Please install the SQLite (v2.X) extension to use this feature

    _____

    I fixed that too, reinstalled with selected extension option: sqlite.

    New problem is this:
    sv_log_damage 1

    if i type it into console 'no such command'
    if i run manu admin it says sv_log_damage must be 1

    0:00 [28.10.10 03:21:32] PHP-Error: Notice in :\Games\Call of Duty 4 - Host Mode\adminmod\daemon.php:193 => Undefined index: sv_log_damage
    0:00 [28.10.10 03:21:32] PHP-Error: Notice in :\Games\Call of Duty 4 - Host Mode\adminmod\daemon.php:194 => Undefined index: sv_log_damage
    0:00 [28.10.10 03:21:32] !! Error: Dvar 'sv_log_damage' must be qual to 1, current:

  • Sqlite extension for PHP

    • gr33nd3v1l
    • 28. Oktober 2010 um 02:38

    Okayyy... I got my start.bat to run a few minutes ago, and it ran all the way till it said i had no php. I installed the complete php, and now it just crashes.
    It can be my config, or my php settings. I also installed xampp, and made a mysql database called mamstats...
    I seriously don't have a clue, i would just like to set up manuadmin on this pc, since it's the hosting pc as well.

    Help me out, there's no screen to provide since it just crashes via DrWatson.. Windows asks to send the stupid report or not. :pinch:

    __

    SO i managed to fix this by reinstalling php from different editions a million times.

    New problem is mysql.
    I'll edit my next post and give your the manu log

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