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

Beiträge von Ancestral

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!
  • Kick by clientnumber

    • Ancestral
    • 21. April 2011 um 02:46

    thanks Manu, the getName trick works.

    I dont know but it works now the kick line :S

  • Kick by clientnumber

    • Ancestral
    • 20. April 2011 um 04:41

    Maybe somebody can help me, I have this code:

    PHP
    $number = 5;
    $xuid = $mod->findPlayerGuid($number);
    $players[$xuid]->kick($mod->getCV("registered", "kickreason"));
    $mod->rconSay("player number $number kicked);

    I get an php error on the $players sintax. I´m sure it is very simple. I´m working on an script for kick player number because its use a for sentence.
    Another kick question, is something like "findplayerguid" but for player name? like findplayerName($n);

    thanks

  • Add specific modes for each map on map rotation?

    • Ancestral
    • 26. März 2011 um 08:39

    cool, thanks!

  • Add specific modes for each map on map rotation?

    • Ancestral
    • 25. März 2011 um 22:08

    Hi, there is a way to make the random map and mode rotation with specific modes for each map? I want to add Oneflag CTF but only for native mw2 maps and skip the resurgence map pack with hangs the server.

    Like Afghan : Dom, Sab, CFT
    Favela: DD, OneFlag, War


    thanks!

  • bad names question

    • Ancestral
    • 3. März 2011 um 21:21

    its possible to make and expression to forbid nickname with spaces? like "A R N O L D" I can´t kick or ban players with spaces no their names!

  • PHP error please help

    • Ancestral
    • 27. Februar 2011 um 20:31

    here´s my weapon restriction, it works for RPG7, GL and THUMPER.

    [weaponrestrictions]
    enabled = 1
    weapons = "gl,m79,rpg,rpg_mp,m79_mp"
    warnstokick = 2
    mode = "kick"
    kickreason = "Arma Prohibida: <WEAPON>"

  • Suffle Players Command?

    • Ancestral
    • 22. Februar 2011 um 15:49

    thanks Luk, so the functions works inside php, but we dont have ANY command to set the team for a player.

  • Timed events

    • Ancestral
    • 22. Februar 2011 um 04:52

    My test works, but Manu seems the have 1 thread at time, and the mod is unresponsive for that period of time... :S

  • Suffle Players Command?

    • Ancestral
    • 22. Februar 2011 um 03:38

    Searching on Manu I found this:

    public function setTeam($team) {
    public function getTeam() {
    public function getPlayerList() {

    This funtions actually works? If they work maybe I can wrote a command to get all the players xuid, and team, and re-assing to a random team or use like autoteambalance feature.
    Somebody can confim this?

  • bad names question

    • Ancestral
    • 19. Februar 2011 um 06:24

    It works with parts of the name too.

  • bad names question

    • Ancestral
    • 18. Februar 2011 um 22:28

    In the folder config\plugins you have a file called BADNAMES.LST
    Inside this file you can write forbidden words or parts.

    Also check in your CONFIG.CFG of manu this is enabled.

    [nameprotection]
    enabled = 1
    badnamekick = 1
    badnamekickmode = "kick"

  • Timed events

    • Ancestral
    • 18. Februar 2011 um 00:38

    Thanks a lot Manu! You´r always saving me.

    more noob questions,
    With time() I can get current time right?

    What If I do the following, I will work?

    PHP
    <?php
    
    
    
    
    $mod->registerEvent("playerJoined", "TimedMessage");
    
    
    
    
    
    
    
    function TimedMessage($params) {
    	global $players;
    	$PlayerID = $players[$params]->getGuid();
    	$PlayerName = $players[$params]->getName();
    	JoinTime = Time();
    
    	do {
    	CurrentTime = Time();
    	Difference = (JoinTime - CurrentTime);
    	if (Difference == 60) {
    		$str = "^3You have been playing exactly for 1 minute";
    		$players[$PlayerID]->say($str);
    	}
    	if (Difference > 61) {
    		break;
    	}
    
    
    
    
    //	if (player leaves then playerleft = 1)
    	} while ($PlayerLeft > 0);
    }
    
    
    
    
    ?>
    Alles anzeigen
  • Timed events

    • Ancestral
    • 17. Februar 2011 um 20:16

    Thanks!

    But this event has no "amount of time" parameter?

    Is somewhere a list of Events? to see what can I do with manu and mw2?

  • Timed events

    • Ancestral
    • 16. Februar 2011 um 23:09

    Hi, maybe somebody can help me, its possible to make timed events? Like run a php plugin every 30 minutes? Or make a cycle code with time?

    Like check the ping every one minute or hour.

    thanks!

  • Create a new users command

    • Ancestral
    • 6. Februar 2011 um 05:56

    thanks a lot Manu!
    But I´m not sure if I´m get it right. I made this example:

    PHP
    <?php
    $mod->registerCommand("showinfo", false, "sinfo");
    
    
    
    
    function sinfo($params) {
    global $mod;
    global $players;
    $towarn = $mod->findPlayerGuid($player);
    /* Player XUID */
    	$PlayerGuid = $players[$towarn]->getGuid();
    /* Player ClientID */
    	$PlayerId = $players[$towarn]->getPid();
    /* Nickname */
    	$PlayerNickname = $players[$towarn]->getName();
    
    
    
    
    	$str = "^Info on player: $PlayerNickname ; ID is $PlayerID , XUID is $PlayerGuid";
    
    
    
    
    /* Show the info to the player called*/
            $MyOwnGuid = $players[$parametros]->getGuid();
    	$players[$MyOwnGuid]->say($str);
    
    
    
    
    }
    ?>
    Alles anzeigen
  • Create a new users command

    • Ancestral
    • 5. Februar 2011 um 17:12

    I have a new question, How to send a player parameter to the function? But only with part of the name like the kick command.

    I you have a player named "destroyer" you can use:

    !votekick destro

    How I can use this with my own command?

    (I´m making a tool to know if a player is in a text file)

    thanks!

  • Suffle Players Command?

    • Ancestral
    • 28. Januar 2011 um 01:20

    oh, ok, (sorry about not searching first)

  • Suffle Players Command?

    • Ancestral
    • 27. Januar 2011 um 04:42

    Hi, I´m wondering if is any way to make a plugin for suffle the players on the game.
    Sometimes you are playing 9vs5 and nobody want to balance, and the autoteambalance of cod just sucks.

    thanks!

  • white list

    • Ancestral
    • 26. Januar 2011 um 00:26

    Here, is in "registered players" topic
    http://manuadminmod.de/forum/index.php?page=Thread&threadID=1194&

  • only registered players?

    • Ancestral
    • 21. Januar 2011 um 03:40

    thanks master

    question: what is $allowed ?

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