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

Several Errors

  • Freekers
  • 17. Mai 2010 um 11:02
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. offizieller Beitrag
  • Freekers
    Anfänger
    Punkte
    75
    Beiträge
    12
    • 17. Mai 2010 um 11:02
    • #1

    Hi !

    I am running ManuAdminMod V0.11.1 BETA. After some tweaking and trail and error, our server runs fine. However, ManuAdminMod still reports some warnings and errors in the LOG file and I was wondering how I could fix them:

    1. PHP-Error: Warning in functions.php:162 => Invalid argument supplied for foreach()

    2. !! Warning: ConfigVar [serverrules]enabled NOT set, using default: '1'

    3. Notice: Heartbeat has been sent to serverlist at manuadminmod.de: Couldn't resolve hostname

    Thanks in advance !

    Einmal editiert, zuletzt von Freekers (17. Mai 2010 um 15:04)

  • manu
    Meister
    Punkte
    10.835
    Trophäen
    3
    Beiträge
    2.113
    • 17. Mai 2010 um 13:54
    • #2

    There is an error in your config.cfg

  • Freekers
    Anfänger
    Punkte
    75
    Beiträge
    12
    • 17. Mai 2010 um 15:08
    • #3
    Zitat von manu

    There is an error in your config.cfg

    Hi Manu !!
    Thanks for your reply !

    I fixed error 2 by adding

    Code
    [serverrules]
     enabled = 1 (0)

    to my config.cfg

    However, I cannot see by what the other errors are caused by...

    Code
    [main]
    ip = "109.169.6.153"
    port = 28960
    logfile = "/cod4/main/games_mp.log"
    rconpassword = "xxxxx"
    timezone = "Europe/Amsterdam"
    prefix = "!"
    language = "en"
    antispam = 2
    logrcon = 0
    antistartupbug = "restart"
    fixguidrelax = 1
    pmprefix = "^1PM: ^2"
    responsefailcmds = 1
    
    
    
    
    [kickban]
    defaultkickreason = "Kicked by Admin"
    defaultbanreason = "Banned by Admin"
    usepb = 1
    pbtempbanduration = 5
    announce = 1
    maxtempbantime  = 1440
    
    
    
    
    [welcomemessages]
    enabled = 1
    master = "^1ATTENTION: <GROUP_NAME> ^7<PLAYER_NAME>^1 has joined the game!"
    admin = "^1<GROUP_NAME> ^7<PLAYER_NAME>^1 has joined the game!"
    member = "^2Welcome <GROUP_NAME> ^7<PLAYER_NAME>^2"
    user = "^2Welcome <GROUP_NAME> ^7<PLAYER_NAME>^2"
    default = "^2Welcome <GROUP_NAME> ^7<PLAYER_NAME>"
    whisper = 0
    
    
    
    
    [banner]
    enabled = 1
    time = 120
    
    
    
    
    [randommapcycle]
    enabled = 0
    maps = "mp_backlot,mp_bloc,mp_bog,mp_cargoship,mp_citystreets,mp_convoy,mp_countdown,mp_crash,mp_crash_snow,mp_crossfire,mp_farm,mp_overgrown,mp_pipeline,mp_showdown,mp_strike,mp_vacant,mp_shipment,mp_broadcast,mp_carentan,mp_creek,mp_killhouse"
    gametypes = "war"
    notlastmaps = 3
    notlastgt = 1
    
    
    
    
    [badwords]
    enabled = 1
    warnstokick = 3
    mode = "kick"
    kickreason = "Use of foul language"
    
    
    
    
    [warns]
    enabled = 1
    warnstokick = 3
    mode = "tempban"
    kickreason = "Too many warnings given to you by Admin. Listen better next time !"
    
    
    
    
    [pingkicker]
    enabled = 1
    maxping = 250
    checkinterval = 10
    warnstokick = 3
    mode = "kick"
    kickreason = "Sorry ! Your ping is too high"
    
    
    
    
    [nameprotection]
    enabled = 1
    badnamekick = 1
    badnamekickmode = "kick"
    badnamekickreason = "Your name contains an illegal part: <PART>"
    adminnamekick = 1
    adminnamekickmode = "kick"
    adminnamekickreason = "The nickname you use, is the same as one of our Admins. Please change it !"
    maxnamechanges = 5
    maxnamechangeskickmode = "kick"
    maxnamechangeskickreason = "STOP Changing your name !"
    uppercasedisallow = 1
    uppercasekickreason = "Please do not use only upper case letters in your nickname"
    uppercasekickmode = "kick"
    
    
    
    
    [modstuff]
    checkforupdates = 1
    checkinterval = 24
    announceinterval = 5
    serverlist = 1
    serverlistip = ""
    
    
    
    
    [customcommands]
    pbsay = "pb_sv_say -1 <ARG>"
    kickme = "pb_sv_kick <PLAYER:PBID> 0 <ARG:OPT:You kicked yourself>"
    payback = "pb_sv_kick <LAST_KILLER:PBID> 0 ^1NEVER KILL AN ADMIN!"
    
    
    
    
    [spreemessages_config]
    enabled = 1
    firstblood = 1
    killsprees = 1
    deathsprees = 1
    spreeendsfrom = 10
    multikills = 1
    spreeends = 1
    
    
    
    
    [spreemessages_messages]
    firstblood = "^7<PLAYER_NAME> ^1drew first blood!"
    multikill = "^7!! ^1Multikill ^7> ^2<PLAYER_NAME>^7 < ^1Multikill^7 !!"
    monsterkill = "^7!!!! ^1MONSTERKILL ^7>>> ^2<PLAYER_NAME>^7 <<< ^1MONSTER KILL ^7!!!!"
    end_kill = "^2<PLAYER_NAME>^1's killing spree ended (^2<KILLS> ^1kills). He was killed by ^3<KILLER_NAME>^1!"
    end_teamkill = "^2<PLAYER_NAME>^1's killing spree ended (^2<KILLS> ^1kills). He was killed by TEAMMATE ^3<KILLER_NAME>^1!"
    end_selfkill = "^2<PLAYER_NAME>^1's killing spree ended (^2<KILLS> ^1kills). He killed ^3himself^1, what a pity!"
    5  = "^7<PLAYER_NAME> ^1is on a ^3killing spree! ^1(^2<KILLS> ^1kills in a row)"
    10 = "^7<PLAYER_NAME> ^1is on a ^3rampage! ^1(^2<KILLS> ^1kills in a row)"
    15 = "^7<PLAYER_NAME> ^1is ^3dominating! ^1(^2<KILLS> ^1kills in a row)"
    20 = "^7<PLAYER_NAME> ^1is ^3unstoppable! ^1(^2<KILLS> ^1kills in a row)"
    25 = "^7<PLAYER_NAME> ^1is ^3godlike!! ^1(^2<KILLS> ^1kills in a row)"
    30 = "^7<PLAYER_NAME> ^1is ^3wicked sick!!! ^1(^2<KILLS> ^1kills in a row)"
    35 = "^7<PLAYER_NAME> ^1is ^3real Potter!!! ^1(Woohoo, ^2<KILLS> ^1kills in a row!)"
    -10 = "^7<PLAYER_NAME> ^1seems to have a bad day ... (^2<DEATHS>^1 deaths without a ^2kill^1)"
    -15 = "^7<PLAYER_NAME> ^1is on the best way to get ^3victim^1 of the day... (^2<DEATHS> ^1deaths w/o ^2kill^1)"
    -20 = "^7<PLAYER_NAME> ^1really gets his ^3ass kicked!^1 Oh well, ^2<DEATHS> ^1deaths without a ^2kill^1..."
    
    
    
    
    [mapvote]
    enabled = 0
    type = 0
    mapcount = 3
    duration = 620
    announce = 90
    maps = "<maps.cfg>"
    gametypes = "war"
    notlastmaps = 5
    notlastgt = 1
    votestoskip = "50%"
    
    
    
    
    [weaponrestrictions]
    enabled = 1
    weapons = "gl,frag_grenade_short"
    warnstokick = 2
    mode = "kick"
    kickreason = "Using a restricted weapon: <WEAPON>"
    
    
    
    
    [statistics]
    statsstring = "^2Kills: <KILLS> ^1Deaths: <DEATHS> ^3K/D: <KPD> ^2time: <ONLINETIME> min ^3K/M: <KPM> ^2HS: <HEADSHOTS> ^7TKs: <TEAMKILLS>"
    whisperstats = 1
    savestats = "sqlite"
    
    
    
    
    [antiteamkiller]
    enabled = 0
    min = -3
    start = 0
    warn = 3
    kick = 4
    teamkill = 1
    kill = 0.1
    mode = "tempban"
    kickreason = "Made too many teamkills"
    forgive = 1
    forgivetime = 30
    forgivepoints = 0.5
    
    
    
    
    [aliases]
    k      = "kick"
    b      = "ban"
    rm     = "quitmod"
    mr     = "quitmod"
    setlevel   = "setgroup"
    admincheck = "checkadmin"
    owned  = "fun owned"
    pwned  = "fun owned"
    killed = "fun killed"
    bye    = "fun bye"
    pizza  = "fun pizza"
    beer   = "fun beer"
    coke   = "fun coke"
    whoiam = "fun whoiam"
    groups = "setgroup listgroups dummy"
    f      = "forgive"
    y      = "yes"
    n      = "no"
    j      = "yes"
    ja     = "yes"
    nein   = "no"
    votekick   = "vote kick"
    votemap= "vote map"
    voteban= "vote ban"
    banlist= "pbbanlist"
    unban  = "pbunban"
    godmode= "fun godmode"
    aimbot = "fun aimbot"
    sex    = "fun sex"
    kamikaze   = "fun kamikaze"
    death  = "fun death"
    bigadmin   = "fun bigadmin"
    off    = "readconfig off"
    on     = "readconfig"
    
    
    
    
    [funmessages]
    enabled = 1
    killed  = "^7<PLAYER_NAME> ^1was last killed by ^7<PLAYER_LASTKILLER> ^1with a ^7<PLAYER_LASTWEAPONDEATH>"
    owned   = "^7<PLAYER_NAME> ^1killed ^7<PLAYER_LASTVICTIM> ^1with a ^7<PLAYER_LASTWEAPONKILL>"
    bye = "^7<PLAYER_NAME>^2 waves his hand to say ^1GOOD BYE^2. We surely meet later!"
    pizza   = "^2Someone calls Mario and he brings ^7<PLAYER_NAME>^2 a hot pepperoni pizza!"
    beer= "^2A nice sexy waitress brings ^7<PLAYER_NAME>^2 a nice pint of beer!"
    coke= "^2Ah... A delicious glass of cold Coca Cola[tm] (*thinks ^7<PLAYER_NAME>^2 while he's drinking*)"
    whoiam  = "^2My name is ^7<PLAYER_NAME>^2, I'm in the team ^7<PLAYER_TEAM>^2 with a ^7<PLAYER_LASTWEAPONKILL>^2 and have ^7<PLAYER_KILLS>^2 Kills"
    godmode = "^1GODMODE^2 is now enabled for player ^7<PLAYER_NAME>"
    aimbot = "^3<PLAYER_NAME> ^2turned on his ^1AIM-BOT!"
    sex = "^2SEX is not the answer. SEX is the question and ^7<PLAYER_NAME> ^2is the answer!!"
    kamikaze = "^7<PLAYER_NAME> ^2is desperately trying to figure out why kamikaze pilots wore helmets."
    death = "^2Hello ^7<PLAYER_NAME>^2, this is ^7Death. ^2Please answer when you're ready."
    bigadmin = "^1Ooooooh, ^3Big Admin is watching ^1YOU!"
    
    
    
    
    [voting]
    enabled = 0
    duration = 60
    interval = 120
    annouce = 15
    minplayers = 3
    maxvotesperplayer = 2
    allowkick = 1
    allowban = 1
    allowmap = 1
    allowgametype = 0
    allownextmap = 0
    allowrestart = 0
    allowedmaps = "mp_crossfire ,mp_backlot ,mp_bloc ,mp_citystreets ,mp_convoy  ,mp_farm ,mp_overgrown ,mp_pipeline  ,mp_strike,mp_carentan,mp_creek,mp_broadcast"
    allowedgametypes = "war"
    banduration = 60
    
    
    
    
    [ftp]
    enabled = 1
    host = "109.169.6.153"
    port = 21
    user = "xxxxxxx"
    password = "xxxxxxx"
    passive = 1
    
    
    
    
    [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
    
    
    
    
    [statistics_mysql]
    host = "localhost"
    user = "anonymous"
    password = ""
    database = "mamstats"
    prefix = "mam01_"
    
    
    
    
    [serverrules]
     enabled = 1 (0)
    Alles anzeigen

    Also, where can I change the output of the command !time ? It now says !time --> It's XX:XX but I want it to say !time --> The local time is now XX:XX

    Last but not least, if I enable [voting], manuadminmod crashes. It says it has to do with maprestart, altough I cannot find this error in the log... (it dissapears very quickly in the console)

    Thanks !

    Einmal editiert, zuletzt von Freekers (17. Mai 2010 um 15:20)

  • Dieses Thema enthält 9 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™