PDA

View Full Version : locking maps


necronos
28th Jul 2004, 06:54 AM
yesterday i installed ut2vote43 on our servers, but we still have a problem: how can i set up, that after playing a map it is locked for a period of (for example) 7 maps. i tried it with setting "MapLimits=7" in the [UT2Vote43.UT2VoteGameTypes]-section but nothing happens. any hints?

PoW
28th Jul 2004, 01:38 PM
Hi necronos,

Do you have bAllowGames=True? If yes, then remember that you have to set MapLimit=7 for each game type.
I have i.e. DM with MapLimits=10 and its working here without any probs.
Let us know if you have set this correctly. If not, it will be helpful if you post your complete UT2Vote43.ini (you can, of course, delete your passwords before)

necronos
29th Jul 2004, 04:24 AM
i have "bAllowGames=True", but the map limit does not work..

here is my ut2vote43.ini:

[UT2Vote43.UT2VoteConfigs]
VoteAdminPass=****
ClanAdminPass****
GamePassword=
DefaultGame=XGame.xDeathMatch
DefServerName=[AoC] Bloodbash Public UT2k4
ServerMuts=utcompv13b.MutUTComp
ServerLine=?GameStats=True
bAllowArena=False
bAllowMuts=True
bAllowKick=True
bAllowGames=True
bNoVotePopup=False
bDoGamePopup=False
bColorSkins=False
bNoWeapShake=True
bAllowBehind=True
bTallyOverlay=True
bShowBotsKick=False
bAdrenDisable=False
bNoComboAdren=False
bVoteWhenDead=False
bWebadmin=True
bArenaAlone=False
bMutAlone=True
bNoRestart=False
bHideNames=False
bAlwaysKick=True
bAltSwitch=True
bMinMaxMaps=False
bDisAllVoting=False
bNoWeapStats=False
bDisServAdmin=False
bDisOpinion=False
bDisAdminMesg=False
bClanServName=True
bDisDemoRec=True
bUseChatLog=False
bUseChatMap=False
bUseChatIDs=False
bSwitchDefMap=False
bUseRandomMap=True
bUseUniqueID=True
bDMSkinBright=True
MesgTypeTime=40
SkinBright=150
bArena=False
bArenaAST=False
bArenaBIO=False
bArenaFLK=False
bArenaLNK=False
bArenaMIN=False
bArenaRED=False
bArenaROC=False
bArenaSHK=False
bArenaLIT=False
bArenaAVR=False
bArenaGRN=False
bArenaMLY=False
bArenaSNP=False
LevelEndTime=34650751
Nounce=1

[UT2Vote43.UT2VoteVoting]
bChangeVote=True
VoteMinTime=10
VoteMaxTime=30
VoteStepTime=7
VoteIdleTime=10
GameVoteTime=10
VotePercent=51
GameVoteLimit=3

[UT2Vote43.UT2VoteIniOnly]
bStandardServer=True
bSortOpinion=True
bDisplayRec=True
bCheckMaps=False
bDisMapCon=False
bUseGameName=True
bDetectUTComp=True
bAdminAtEnd=False
bSortMutsList=True
bSortGameList=False
BanMinLevs=1
BanMaxLevs=99
DefaultSwitch=0
NumHitSound=3
MapListSort=0
WaitForLevel=90
OtherDMPrefix=

[UT2Vote43.UT2VoteGameTypes]
GameType=(GameName="DeathMatch",HideVote=False,Clan=False,RequiredPlayers=1,MapLimits=7,ServerName="None",UseMapList=False,DefaultMap="DM-Antalus",MapPrefix="DM",GameClass="XGame.xDeathMatch",Mutators="None",Commands="?MaxLives=0?GoalScore=30?TimeLimit=20?MinPlayers=0?MaxPlayers=16?MaxSpectators=2?Translocator=False? Weaponstay=True?BalanceTeams=False?ForceRespawn=False?PlayersMustBeReady=False?Difficulty=5?GameStat s=False?GameSpeed=1.00?FF=0?NumBots=1")
GameType=(GameName="Team DeathMatch",HideVote=False,Clan=True,RequiredPlayers=2,MapLimits=7,ServerName="None",UseMapList=False,DefaultMap="DM-Antalus",MapPrefix="DM",GameClass="XGame.xTeamGame",Mutators="None",Commands="?MaxLives=0?GoalScore=50?TimeLimit=20?MinPlayers=0?MaxPlayers=16?MaxSpectators=2?Translocator=False? Weaponstay=True?BalanceTeams=True?ForceRespawn=False?PlayersMustBeReady=False?Difficulty=5?GameStats =False?GameSpeed=1.00?FF=0?NumBots=3")
GameType=(GameName="Capture the Flag",HideVote=False,Clan=True,RequiredPlayers=2,MapLimits=5,ServerName="None",UseMapList=False,DefaultMap="CTF-Chrome",MapPrefix="CTF",GameClass="XGame.xCTFGame",Mutators="None",Commands="?MaxLives=0?GoalScore=5?TimeLimit=20?MinPlayers=0?MaxPlayers=16?MaxSpectators=2?Translocator=True?We aponstay=True?BalanceTeams=True?ForceRespawn=False?PlayersMustBeReady=False?Difficulty=5?GameStats=F alse?GameSpeed=1.00?FF=0?NumBots=3")
GameType=(GameName="Double Domination",HideVote=False,Clan=True,RequiredPlayers=2,MapLimits=5,ServerName="None",UseMapList=False,DefaultMap="DOM-Core",MapPrefix="DOM",GameClass="XGame.xDoubleDom",Mutators="None",Commands="?MaxLives=0?GoalScore=5?TimeLimit=20?MinPlayers=0?MaxPlayers=16?MaxSpectators=2?Translocator=False?W eaponstay=True?BalanceTeams=True?ForceRespawn=False?PlayersMustBeReady=False?Difficulty=5?GameStats= False?GameSpeed=1.00?FF=0?NumBots=3")
GameType=(GameName="Bombing Run",HideVote=False,Clan=True,RequiredPlayers=2,MapLimits=5,ServerName="None",UseMapList=False,DefaultMap="BR-Anubis",MapPrefix="BR",GameClass="XGame.xBombingRun",Mutators="None",Commands="?MaxLives=0?GoalScore=15?TimeLimit=0?MinPlayers=0?MaxPlayers=16?MaxSpectators=2?Translocator=True?We aponstay=True?BalanceTeams=True?ForceRespawn=False?PlayersMustBeReady=False?Difficulty=5?GameStats=F alse?GameSpeed=1.00?FF=0?NumBots=3")
GameType=(GameName="Invasion",HideVote=False,Clan=False,RequiredPlayers=0,MapLimits=5,ServerName="None",UseMapList=False,DefaultMap="DM-Antalus",MapPrefix="DM",GameClass="SkaarjPack.Invasion",Mutators="None",Commands="?MaxLives=1?GoalScore=0?TimeLimit=0?MinPlayers=0?MaxPlayers=16?MaxSpectators=2?Translocator=False?We aponstay=True?BalanceTeams=False?ForceRespawn=False?PlayersMustBeReady=True?Difficulty=5?GameStats=F alse?GameSpeed=1.00?FF=0?NumBots=1")
GameType=(GameName="Mutant",HideVote=False,Clan=False,RequiredPlayers=0,MapLimits=7,ServerName="None",UseMapList=False,DefaultMap="DM-Antalus",MapPrefix="DM",GameClass="BonusPack.xMutantGame",Mutators="None",Commands="?MaxLives=0?GoalScore=30?TimeLimit=20?MinPlayers=0?MaxPlayers=16?MaxSpectators=2?Translocator=False? Weaponstay=True?BalanceTeams=False?ForceRespawn=False?PlayersMustBeReady=False?Difficulty=5?GameStat s=False?GameSpeed=1.00?FF=0?NumBots=1")
GameType=(GameName="Last Man Standing",HideVote=False,Clan=False,RequiredPlayers=7,MapLimits=0,ServerName="None",UseMapList=False,DefaultMap="DM-Antalus",MapPrefix="DM",GameClass="BonusPack.xLastManStandingGame",Mutators="None",Commands="?MaxLives=30?GoalScore=0?TimeLimit=20?MinPlayers=0?MaxPlayers=16?MaxSpectators=2?Translocator=False? Weaponstay=True?BalanceTeams=False?ForceRespawn=False?PlayersMustBeReady=False?Difficulty=5?GameStat s=False?GameSpeed=1.00?FF=0?NumBots=1")
GameType=(GameName="Assault",HideVote=False,Clan=True,RequiredPlayers=1,MapLimits=4,ServerName="None",UseMapList=False,DefaultMap="AS-Convoy",MapPrefix="AS",GameClass="UT2k4Assault.ASGameInfo",Mutators="None",Commands="?MaxLives=0?GoalScore=3?TimeLimit=0?MinPlayers=0?MaxPlayers=16?MaxSpectators=2?Translocator=True?Wea ponstay=True?BalanceTeams=True?ForceRespawn=False?PlayersMustBeReady=False?Difficulty=5?GameStats=Fa lse?GameSpeed=1.00?FF=0?NumBots=1")
GameType=(GameName="Onslaught",HideVote=False,Clan=True,RequiredPlayers=1,MapLimits=4,ServerName="None",UseMapList=False,DefaultMap="ONS-Torlan",MapPrefix="ONS",GameClass="Onslaught.ONSOnslaughtGame",Mutators="None",Commands="?MaxLives=0?GoalScore=3?TimeLimit=0?MinPlayers=0?MaxPlayers=16?MaxSpectators=2?Translocator=False?We aponstay=True?BalanceTeams=True?ForceRespawn=False?PlayersMustBeReady=False?Difficulty=5?GameStats=F alse?GameSpeed=1.00?FF=0?NumBots=1")
GameType=(GameName="InstagibInvasion",HideVote=False,Clan=False,RequiredPlayers=1,MapLimits=0,ServerName="None",UseMapList=False,DefaultMap="DM-Antalus",MapPrefix="DM",GameClass="InstagibInvasion.InstagibInvasion",Mutators="XGame.MutInstaGib,XGame.MutRegen",Commands="?MaxLives=1?GoalScore=0?TimeLimit=0?MinPlayers=2?MaxPlayers=16?MaxSpectators=2?Translocator=False?We aponstay=True?BalanceTeams=False?ForceRespawn=False?PlayersMustBeReady=False?Tournament=0?Difficulty =5?GameStats=False?FF=0?GameSpeed=1.00?NumBots=1")

[UT2Vote43.UT2VoteMutators]
Mutator=(FriendlyName="Berserk Weapons",HideVote=False,MutClassName="UnrealGame.MutBerserk",Voted=False)
Mutator=(FriendlyName="Big Head",HideVote=False,MutClassName="UnrealGame.MutBigHead",Voted=False)
Mutator=(FriendlyName="Camouflage combo",HideVote=False,MutClassName="Bonuspack.MutCrateCombo",Voted=False)
Mutator=(FriendlyName="Classic Sniper",HideVote=False,MutClassName="UTClassic.MutUseSniper",Voted=False)
Mutator=(FriendlyName="Fast Weapon Switch",HideVote=False,MutClassName="XGame.MutFastWeapSwitch",Voted=False)
Mutator=(FriendlyName="InstaGib",HideVote=False,MutClassName="XGame.MutInstaGib",Voted=True)
Mutator=(FriendlyName="Low Gravity",HideVote=False,MutClassName="UnrealGame.MutLowGrav",Voted=False)
Mutator=(FriendlyName="No Adrenaline",HideVote=False,MutClassName="XGame.MutNoAdrenaline",Voted=False)
Mutator=(FriendlyName="No Score Limit",HideVote=False,MutClassName="UT2Vote43.UT2VoteZeroScore",Voted=False)
Mutator=(FriendlyName="No Superweapons",HideVote=False,MutClassName="XWeapons.MutNoSuperWeapon",Voted=False)
Mutator=(FriendlyName="Onslaught Weapons",HideVote=False,MutClassName="Onslaught.MutOnslaughtWeapons",Voted=False)
Mutator=(FriendlyName="Pint-sized combo",HideVote=False,MutClassName="Bonuspack.MutPintSizeCombo",Voted=False)
Mutator=(FriendlyName="Quad Jump",HideVote=False,MutClassName="XGame.MutQuadJump",Voted=False)
Mutator=(FriendlyName="Regeneration",HideVote=False,MutClassName="XGame.MutRegen",Voted=False)
Mutator=(FriendlyName="Slow Motion Corpses",HideVote=False,MutClassName="XGame.MutSlomoDeath",Voted=False)
Mutator=(FriendlyName="UT Classic",HideVote=False,MutClassName="UTClassic.MutUTClassic",Voted=False)
Mutator=(FriendlyName="Vampire",HideVote=False,MutClassName="XGame.MutVampire",Voted=False)
Mutator=(FriendlyName="Zoom InstaGib",HideVote=False,MutClassName="XGame.MutZoomInstaGib",Voted=True)

[UT2Vote43.UT2VotePackages]
Packages=(MutClassName="Whatever.MutWhatever",ServerPackages="Whatever,Whatnext")

[UT2Vote43.UT2VoteMapInfo]
LimitMap=(MapName="DM-Gael",GameClass="XGame.xDeathMatch",LevelCount=8)
LimitMap=(MapName="DM-CBP2-KillbillyBarn",GameClass="XGame.xTeamGame",LevelCount=6)
LimitMap=(MapName="DM-Gael",GameClass="XGame.xTeamGame",LevelCount=7)
LimitMap=(MapName="DM-Gestalt",GameClass="XGame.xTeamGame",LevelCount=8)
CheckMap=(MapName="DM-Smallmap",MinPlayers=0,MaxPlayers=4)
CheckMap=(MapName="CTF-Hugemap",MinPlayers=10,MaxPlayers=50)

[UT2Vote43.UT2VoteNewMaps]
NewMap=(MapName="DM-Whatever")

[UT2Vote43.UT2VoteKickBan]
BanPlayer=(NickName="Whatever",UniqueID="4230fjj7a6cafda49fed3f4200fa97kk",IPaddrs="123.123.123.123",Levels=111)

[UT2Vote43.UT2VoteGameSwitch]
SwitchToGame=(SwitchHour=12,ClassName="XGame.xDeathMatch",DoSwitch=False)

[UT2Vote43.UT2VoteMapsVoted]
VotedMap=(Opinion=6,Voted=5,Map="DM-DE-Grendelkeep")
VotedMap=(Opinion=5,Voted=3,Map="DM-Gael")
VotedMap=(Opinion=2,Voted=1,Map="DM-Goliath")
VotedMap=(Opinion=1,Voted=4,Map="DM-Antalus")
VotedMap=(Opinion=0,Voted=1,Map="DM-NightOfNature")
VotedMap=(Opinion=0,Voted=0,Map="DM-Rankin")
VotedMap=(Opinion=0,Voted=2,Map="DM-Aristocracy2004")
VotedMap=(Opinion=0,Voted=1,Map="DM-Oceanic")

[UT2Vote43.UT2VoteClanSetup]
ClanGameNum=0
ClanMapNum=0
ClanGameClass[0]=
ClanGameClass[1]=
ClanGameClass[2]=
ClanGameName[0]=
ClanGameName[1]=
ClanGameName[2]=
ClanMapListA[0]=
ClanMapListA[1]=
ClanMapListA[2]=
ClanMapListA[3]=
ClanMapListA[4]=
ClanMapListA[5]=
ClanMapListA[6]=
ClanMapListA[7]=
ClanMapListA[8]=
ClanMapListA[9]=
ClanMapListB[0]=
ClanMapListB[1]=
ClanMapListB[2]=
ClanMapListB[3]=
ClanMapListB[4]=
ClanMapListB[5]=
ClanMapListB[6]=
ClanMapListB[7]=
ClanMapListB[8]=
ClanMapListB[9]=
ClanMapListC[0]=
ClanMapListC[1]=
ClanMapListC[2]=
ClanMapListC[3]=
ClanMapListC[4]=
ClanMapListC[5]=
ClanMapListC[6]=
ClanMapListC[7]=
ClanMapListC[8]=
ClanMapListC[9]=
ClanCommandsA=
ClanCommandsB=
ClanCommandsC=
ClanWarmLineA=
ClanWarmLineB=
ClanWarmLineC=
ClanMutsLineA=
ClanMutsLineB=
ClanMutsLineC=
ClanTransloc[0]=0
ClanTransloc[1]=0
ClanTransloc[2]=0
ClanWeapStay[0]=0
ClanWeapStay[1]=0
ClanWeapStay[2]=0
ClanPlayReady[0]=0
ClanPlayReady[1]=0
ClanPlayReady[2]=0
ClanTieBreak[0]=0
ClanTieBreak[1]=0
ClanTieBreak[2]=0
ClanWarmReqd[0]=0
ClanWarmReqd[1]=0
ClanWarmReqd[2]=0
ClanWarmOnce[0]=0
ClanWarmOnce[1]=0
ClanWarmOnce[2]=0
ClanGoalScore[0]=0
ClanGoalScore[1]=0
ClanGoalScore[2]=0
ClanTimeLimit[0]=0
ClanTimeLimit[1]=0
ClanTimeLimit[2]=0
ClanFriendly[0]=0
ClanFriendly[1]=0
ClanFriendly[2]=0
ClanPlayernum[0]=0
ClanPlayernum[1]=0
ClanPlayernum[2]=0
ClanSpectnum[0]=0
ClanSpectnum[1]=0
ClanSpectnum[2]=0
ClanGameSpeed[0]=1.000000
ClanGameSpeed[1]=1.000000
ClanGameSpeed[2]=1.000000
ClanForceRep=False
ClanNoRedeem=False
ClanNoPowers=False
ClanNoAdrena=False
ClanWarmStart=False
ClanWarmWeaps=False
ClanWarmKill=False
ClanTourney=False
ClanServName=
ClanMatch=False
ClanPractice=False
ClanPlayRed=False
ClanBotSkill=5
ClanGamePass=
ClanRedName=
ClanBluName=
ClanWarmTime=10
ClanEndWait=30
ClanSkinGlow=True
ClanDemoRec=False
ClanDoWarmup=False
ClanRedScore=0
ClanBluScore=0
ClanRedGames=0
ClanBluGames=0

ProAsm
29th Jul 2004, 05:41 AM
Everything looks fine except what are those spaces near the end of the GameType= where it says ?GameStats= and the last line with ?Difficulty=
Those spaces could stop the whole line from not working correctly.
If that does not make the MapLimits work, try setting your bMinMaxMaps=True, thats just a long shot as the two functions are related in the code.
Just a dumb question but you not using UT2VoteMulti are you.

necronos
29th Jul 2004, 05:53 AM
Everything looks fine except what are those spaces near the end of the GameType= where it says ?GameStats= and the last line with ?Difficulty=
Those spaces could stop the whole line from not working correctly.
If that does not make the MapLimits work, try setting your bMinMaxMaps=True, thats just a long shot as the two functions are related in the code.
Just a dumb question but you not using UT2VoteMulti are you.

i donīt use ut2vote multi.

the spaces in the game-type-lines are only here in this thread. dunno why this board puts them in. in my ini there are no spaces, so this can#t be the reason.

any other hints?

sh0V3l
29th Jul 2004, 07:30 AM
this doesnt look right to me LimitMap= i thought it was RejectMap= and CheckMap= in this section ?

[UT2Vote43.UT2VoteMapInfo]
LimitMap=(MapName="DM-Gael",GameClass="XGame.xDeathMatch",LevelCount=8)
LimitMap=(MapName="DM-CBP2-KillbillyBarn",GameClass="XGame.xTeamGame",LevelCount=6)
LimitMap=(MapName="DM-Gael",GameClass="XGame.xTeamGame",LevelCount=7)
LimitMap=(MapName="DM-Gestalt",GameClass="XGame.xTeamGame",LevelCount=8)

ProAsm
29th Jul 2004, 12:13 PM
That is correct shov3l - we changed it in 43 as it got confusing as I think it used to be Votingmap or something.

necronos, I'm outa idea's, maybe the other guys can help you as they mess about with stuff all the time.
Looking at your ini I see you have DefaultSwitch=0 try that at DefaultSwitch=5 and see if it effects the MapLimits.
Another thing you can try is add a Servername to one of the GameTypes (just copy and paste your DefServerName) and lets see if that effects anything.
I'm just taking long shots here but I know that Servername has fixed many things :)

According to your [UT2Vote43.UT2VoteMapInfo] the LimitMaps are being recorded and are working ok.
Just remember if you logon as Admin you will see all these maps in the Maps Menu, they are only invisible to Players (non Admin)

PoW
29th Jul 2004, 01:41 PM
I have DefaultSwitch=0 and MapLimits=10. Also I have a server name in the GameTypes. That you can edit in the Admin Options General Menu or directly in the GameTypes in the UT2Vote43.ini as ProAsm said.

If that all not works then the only idea I have is "utcompv13b.MutUTComp". Maybe this causes probs in connection with UT2Vote43.

necronos
29th Jul 2004, 04:07 PM
it works!!!

thanx a lot guys...!!!

i did everything you told me (incl. servernames, ben :-)) and now itīs fine ....