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
Dieses Thema
  • Alles
  • Dieses Thema
  • Dieses Forum
  • Artikel
  • Seiten
  • Dateien
  • Forum
  • Lexikon
  • Erweiterte Suche
  1. GSManager
  2. Forum
  3. Unterstützung
  4. Installation

MAM on a COD4 deathrun errors

  • Psycko
  • 27. Februar 2013 um 02:26
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!
  • Psycko
    Anfänger
    Punkte
    75
    Beiträge
    14
    • 27. Februar 2013 um 02:26
    • #1

    Hello, i installed mam on my comp for a rented server, all work fine but i have an error on log:
    0:00 [27.02.13 01:40:26] PHP-Error: Notice in :\adminmod\classes\mod.class.php:285 => Undefined index: scr_axis
    0:00 [27.02.13 01:40:26] PHP-Error: Notice in :\adminmod\classes\mod.class.php:286 => Undefined index: scr_allies
    0:00 [27.02.13 01:40:26] PHP-Error: Notice in :\adminmod\classes\mod.class.php:287 => Undefined index: scr_allies
    0:00 [27.02.13 01:40:26] PHP-Error: Notice in :\adminmod\classes\mod.class.php:287 => Undefined index: scr_axis

    Here are the lines 281 to 289:
    public function updateTeamNames() {
    //Get team names
    if (in_array($this->getGame(), array("cod4", "cod5"))) {
    $teamnames = $this->rconDvarList("scr_a*s");
    $this->teamnames["axis"] = $teamnames["scr_axis"];
    $this->teamnames["allies"] = $teamnames["scr_allies"];
    $this->logging->write(MOD_NOTICE, "Updated teamnames ($teamnames[scr_allies] vs. $teamnames[scr_axis])");
    return;
    }

    Everything work exept that error spam on my logs..., any idea to fix it please?

    2nd point; as deathrun have a vote map on the end of maps, i want to delete the spamming message about the next map if possible... (cause realy useless for me and spam too much the chat)
    This message i mean: "next map is mp_dr_xxxxxxxx, !skip to skip the map................."

    Thanks per advance.

  • Mirko911
    Entwickler
    Reaktionen
    165
    Punkte
    16.820
    Trophäen
    6
    Beiträge
    3.263
    Einträge
    11
    • 27. Februar 2013 um 06:58
    • #2

    remove it from banner.lst in your config folder

  • Yenz
    Entwickler
    Reaktionen
    90
    Punkte
    10.180
    Trophäen
    5
    Beiträge
    1.988
    Einträge
    9
    • 27. Februar 2013 um 10:43
    • #3

    I assume that a deathrun server don't need any teamnames.

    In this case you can replace the line 281:

    PHP
    public function updateTeamNames() {


    with the following

    PHP
    public function updateTeamNames() { return;


    (append "return;")

    Einmal editiert, zuletzt von Yenz (27. Februar 2013 um 13:19)

  • Dieses Thema enthält 6 weitere Beiträge, die nur für registrierte Benutzer sichtbar sind.
  1. Mitarbeiter
  2. Datenschutzerklärung
  3. Nutzungsbedingungen
  4. Impressum
  5. Kontakt
Community-Software: WoltLab Suite™