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

Beiträge von Circuit_

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!
  • 1.6 Bug maybe?`

    • Circuit_
    • 22. September 2009 um 14:30

    This keeps coming up every once in a while, I have to restart to get rid of it.


    Code
    1253622174 [22.09.09 14:22:54]  !! Warning: Mission translation for 'team__cod5' for language 'en'


    Thanks

  • Mysql Stats plugin

    • Circuit_
    • 17. September 2009 um 17:30

    When the mod is running, sometimes the Mysql connection is lost and crashes in 2 spots.


    Code
    [17-Sep-2009 16:48:18] PHP Fatal error:  Call to a member function num_rows() on a non-object in ".."\statistics.php on line 321
    [17-Sep-2009 17:10:44] PHP Fatal error:  Call to a member function fetch_assoc() on a non-object in "..."\statistics.php on line 362


    Thanks for any help on this

  • Need to check the team the killer was on

    • Circuit_
    • 17. September 2009 um 17:12

    Got it.


    PHP
    $player =& $players[$killer_guid];
     $curteam = $mod->getLongTeamName($player->getTeam());
     
        if (!$mod->getCV("weaponrestrictions", "enabled")) {
            return;
        }
        if ($players[$killer_guid]->isProtected()) {
            return;
        }
       if ($curteam == "Red Army") {
  • Need to check the team the killer was on

    • Circuit_
    • 16. September 2009 um 15:28

    Would something like this work?


    PHP
    if ($players[$team] == "allies"){cod to run here}
  • FTP error

    • Circuit_
    • 15. September 2009 um 21:19
    Zitat von manu

    Your FTP-Server does not support RETRY. But adminmod needs this to work. Update your FTP server to a version which supports RETRY


    Is it possible that the my firewall on the server I was installing this on is causing a problem? Worked fine from my home PC??


    Thank you

  • FTP error

    • Circuit_
    • 15. September 2009 um 16:15

    Well I had the script up and running, and was working fine. Now all of a sudden I get this error, after I moved it to my server box. I don't believe its a major error but not sure.


    PHP
    : === Start processing loglines... === 
          0:00 [15.09.09 15:42:34] PHP-Error: Warning in :\Documents and Settings\Admin\Desktop\Bolt\adminmod\classes\parser_ftp.class.php:104 => ftp_get(): 'RE*T 75916963': command not understood 
          0:00 [15.09.09 15:42:34]  !! Warning: Error getting new loglines by FTP (code: 2), trying to reconnect... 
          0:00 [15.09.09 15:42:34] Notice: waiting 2 seconds until next try... 
          0:00 [15.09.09 15:42:36] Notice: Successfully reconnected to FTP server: '209.246.142.209' on port 21 as '759557c' 
          0:00 [15.09.09 15:42:37] PHP-Error: Warning in :\Documents and Settings\Admin\Desktop\Bolt\adminmod\classes\parser_ftp.class.php:104 => ftp_get(): 'RE*T 75916963': command not understood 
          0:00 [15.09.09 15:42:37]  !! Warning: Error getting new loglines by FTP (code: 2), trying to reconnect...


    Thanks.

  • Need to check the team the killer was on

    • Circuit_
    • 14. September 2009 um 21:22

    Kick if killer used a restricted weapon on a certain team "allies"


    like this maybe, Where have the if to look $team and see if it = allies. thanks

    PHP
    function weaponrestrictions_main($parameters) { 
    global $mod; 
    global $players; 
    global $logging; 
    list($killer_guid, $victim_guid, $weapon, $team) = $parameters; 
    if (!$mod->getCV("weaponrestrictions", "enabled")) { 
    return; 
    } 
    if ($players[$killer_guid]->isProtected()) { 
    return; 
    } 
    
    
    
    
    if ($team == "allies" ) { 
    $players[$killer_guid]->weaponrestrictions_warns ++; 
    $weaponlong = $mod->getLongWeaponName($weapon); 
    if ($players[$killer_guid]->weaponrestrictions_warns >= $mod->getCV("weaponrestrictions", "warnstokick")) { 
    switch ($mod->getCV("weaponrestrictions", "mode")) { 
    case "tempban": 
    $players[$killer_guid]->tempBan(str_replace("", $weaponlong, $mod->getCV("weaponrestrictions", "kickreason1"))); 
    break; 
    case "kick": 
    $players[$killer_guid]->kick(str_replace("", $weaponlong, $mod->getCV("weaponrestrictions", "kickreason1"))); 
    break; 
    case "ban": 
    $players[$killer_guid]->ban(str_replace("", $weaponlong, $mod->getCV("weaponrestrictions", "kickreason1"))); 
    break; 
    } 
    } 
    else { 
    $players[$killer_guid]->say($mod->getLngString("usedRestrictedWeapon", array("", "", ""), array($weaponlong, $players[$killer_guid]->weaponrestrictions_warns, $mod->getCV("weaponrestrictions", "warnstokick")))); 
    $logging->write(MOD_NOTICE, "Player '".$players[$killer_guid]->getName()."' has been warned for using restricted weapon: $weapon, PID: ".$players[$killer_guid]->getPID().", GUID: ".$killer_guid); 
    } 
    }
    Alles anzeigen
  • Need to check the team the killer was on

    • Circuit_
    • 14. September 2009 um 20:18

    Looking for how to add the team the killer was on.


    thank you.

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