A temp MapVote - until some updates will get done

Need some nice Mods? Here, you are right!
Post Reply
User avatar
sektor2111
Godlike
Posts: 6403
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

A temp MapVote - until some updates will get done

Post by sektor2111 »

This this is called a MapVote which has been tested a bit - It's based on a Release done by Deepak O V and Spectra which were doing "UL" one with 8 columns. This one works like original extended work, but having a couple of modifications in purpose to prevent crashing at loading... all maps 2000+ and some things were a bit fine tuned.
[attachment=1]MapVoteULTv2NS.zip[/attachment]
At this moment v2_3 is in working phase, there are going to be perhaps 4095 maps, and some changes are going to be operated as long as we have a loooong list to sort, depending on server power might allow game-play while server's CPU will work for sorting stuff. It might be possible that saving configuration to suffer some modifications as well because this stuff takes resources and it must be done different.
I'll try to explain some hints in a doc which I will upload here a bit later. Source-code stay private at moment - it's not my decision for it - in private we might speak more about it.

Run-Line call MapVoteULv2NS.BDBMapVote
Server.INI (or other)
ServerPackages=MapVoteULv2NS
start server - admin login - make sure about bReloadMapsOnRequestOnly=True - I'm gonna explain this, press "reloadmaps" button, patience in first second until sorting percent starts to broadcast On-Screen. When it's done see admin panel and you might hit "Save" button.

This stuff won't save any MAP-LIST in client because if is a public mutator, many servers might have different setup and then maps are different when they use the same things, and then will create an INI soup with maps in client just because of... nothing too wise.

Edit:
Return to setup part - which I don't see it as being very known
We go for URL things available >>
ServerInfoURL=someUTdude.no-ip.org/serverinfo.htm
MapInfoURL=someUTdude.no-ip.org/MapsCTFDM/


As you might notice or not, this is how it should look like URL things from a mapvote INI file - the rest are myths.
You need a very valid WebServer and then a HTM file containing a simple setup as bellow:
  • <html>
    <body bgcolor=#007F7F text=#FFFFFF link=#FF0000 alink=#ffffff>
    <center><h1><font color=#7F007F>Welcome to OUR Server (Me/Admin and You/Player) </font></h1></center>
    <br>
    Enjoy your stay in here... or just move out.<br>
    <br>
    <font color=#BAF000><blink><u><b>Server Schedule:<b></u></blink></font><br>
    Monday - Friday 0:00-23:58<br>
    Saturday - Sunday 0:00-23:59 <br>
    <br>
    <font color=#BAF000><blink><u><b>Server Rules:<b></u></blink></font><br>
    1. No Whinning <br>
    2. No Camping <br>
    3. No Farting (except bean cases) <br>
    4. No Swimming (except Water-Zones)<br>
    5. No Living excessive <br>
    6. No Complaining about too many rules <br>
    <a href="http://someUTdude.no-ip.org/">Do not Click here to visit my web site</a>
    </body>
    </html>
MapInfoURL means the same (or another) Web-Service with or without a folder having inside map titles - example DM-Annama.htm, yes it's HTM as well without UNR inside, just the title. Example above is what I'm using and which do works >>

  • <html>
    <body bgcolor=#CC99FF text=#202020 link=#FF0000 alink=#ffffff>
    <center><h1><font color=#336600><u><b>Current Map Information</b></u></font></h1></center>
    <center><b>Current Map TYPE: Custom</b></center>
    <br>
    <font color=#600000><blink><u><b><center>Author:</center><b></u></blink></font>
    <center>
    <h2>
    <font color=#CC3300>John</font><br>
    </center>
    </h2>
    <font color=#600000><blink><u><b><center>Author notes:</center><b></u></blink></font><br>
    Description<br>
    The pavillion shrine of Annamama, Mohini Devi, the enchantress.<br>
    <br>
    <font color=#600000><blink><u><b><center>Issues:</center><b></u></blink></font><br>
    No issues found<br>
    or without issues : ) and so few words...<br>
    <br>
    <font color=#600000><blink><u><b><center>Modifications:</center><b></u></blink></font><br>
    It's not modified, and it won't be modified.<br>
    <br>
    <a href="http://someUTdude.no-ip.org/">Do not click here to visit my web site.</a>
    </body>
    </html>
These URL strings are part of MapVote replication parameters sent to client and they are going to be executed by Client-Only, Server only shows direction. Data-replication is declared reliable so server is making sure if this data was reaching correctly in client. If things are correctly set and bEntryWindows=True then player new comer in game will have opened WelcomeWindow if has a key bound for opening MapVote, else it will open key-binding menu.
For sure these info hints are not lost. Anyone curious about Info Section will be able to access them anytime in game.
[attachment=0]Info.PNG[/attachment]

By default we might have something as a screenshot when we were not having info about that Level. You can use some default or... a custom thing which will be placed in ServerPackages.
We speak about:
bLoadScreenShot=True
LogoTexture=Botpack.TeamSymbols.TLVenom


Keep moving when it needs.
Attachments
Info.PNG
MapVoteULTv2NS.zip
(115.2 KiB) Downloaded 120 times
User avatar
sektor2111
Godlike
Posts: 6403
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: A temp MapVote - until some updates will get done

Post by sektor2111 »

The Bump Here:
I have to do some checking for admins using whatever "WebAdmin" control. I'm not using it for some reasons
[OptionalReading]
default web control is too raw and uses resources for nothing relevant.

SuperWebAdmin admin seems to run against bots/monsters too - is another "fix" a la 2016 Edit2006 /Edit for a pawnlist.
It cannot be fixed easily due to files hack request attempting to assign constants.
It shows
SuperServerAdmin0 (Function SuperWebAdmin.SuperServerAdmin.QueryCurrentPlayers:10D8) Accessed None
and something

Code: Select all

	for (P=Level.PawnList; P!=None; P=P.NextPawn) {
		if (P.bIsPlayer && !P.bDeleteMe && SuperServerAdminSpectator(P) == None) {
			TempItem = new(None) class'ListItem';

			//IpToCountry stuff
			if(NetConnection(PlayerPawn(P).Player) != None && bIpToCountry)
			{
I see an unknown bIsPlayer presumed to be PlayerPawn later. We have another 2 (3) options.I GUESS Bot Skaarj Botz which are not "PlayerPawn(P)" and Skaarj uses 0 zero PlayerReplicationInfo...[/size]
[/OptionalReading]
So I have to get ready for bugs burial.
User avatar
sektor2111
Godlike
Posts: 6403
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: A temp MapVote - until some updates will get done

Post by sektor2111 »

Updated based on UTServerAdminSpectator player type for not being shown in players-list.
[attachment=0]MapVoteULv2_1NS.zip[/attachment]

Example of INI for whatever MultiServer
Spoiler
[MapVoteULv2_1NS.BDBMapVote]
bAutoDetect=False
bAS=False
bCTF=True
bDM=True
bTDM=True
bDOM=True
bLMS=True
bSortWithPreFix=True
ASClass=Botpack.Assault
VoteTimeLimit=50
KickPercent=51
bUseMapList=False
ScoreBoardDelay=5
bAutoOpen=True
bKickVote=True
bShowWhoKicksWho=True
bCheckOtherGameTie=True
RepeatLimit=0
MapListIfNooneVoted=9
MapVoteHistoryType=MapVoteULv2_1NS.MapVoteHistory1
ServerInfoURL=
MapInfoURL=
MidGameVotePercent=51
Mode=Majority
MinMapCount=2
bRemoveCrashedMaps=False
bEntryWindows=True
bDebugMode=False
bEnableEmptyServerLevelSwitch=True
EmptyServerLevelSwitchTimeMins=15
bLoadScreenShot=True
bReloadMapsOnRequestOnly=True
bFixCTFModifications=False
MapVoteTitle=Welcome
LogoTexture=
List1Priority=1.000000
List2Priority=1.000000
List3Priority=1.000000
List4Priority=1.000000
List5Priority=1.000000
List6Priority=1.000000
List7Priority=1.000000
List8Priority=1.000000
List1Title=MonsterHunt
List2Title=Capture the Flag
List3Title=DeathMatch
List4Title=Team DeathMatch
List5Title=Domination
List6Title=Last Man Standing
List7Title=Rocket CTF
List8Title=InstaGib DM
bList1ObeyRepeatLimit=True
bList2ObeyRepeatLimit=True
bList3ObeyRepeatLimit=True
bList4ObeyRepeatLimit=True
bList5ObeyRepeatLimit=True
bList6ObeyRepeatLimit=True
bList7ObeyRepeatLimit=True
bList8ObeyRepeatLimit=True
bUseExcludeFilter=False
CustomGameConfig[0]=(bEnabled=True,GameClass="Botpack.DeathMatchPlus",NewPrefix="IDM",Mutators="BotPack.InstaGibDM",Settings="")
CustomGameConfig[1]=(bEnabled=True,GameClass="BotPack.CTFGame",NewPrefix="RCTF",Mutators="BotPack.RocketArena",Settings="")
CustomGameConfig[2]=(bEnabled=True,GameClass="MonsterHunt.MonsterHunt",NewPrefix="MH",Mutators="",Settings="")
CustomGameConfig[3]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[4]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[5]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[6]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[7]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[8]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[9]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[10]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[11]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[12]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[13]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[14]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[15]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[16]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[17]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[18]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[19]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[20]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[21]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[22]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[23]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[24]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[25]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[26]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[27]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[28]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
CustomGameConfig[29]=(bEnabled=False,GameClass="",NewPrefix="",Mutators="",Settings="")
DefaultSettings=
List1Filter[0]=MH-*
List1Filter[1]=
...
List2Filter[0]=CTF-*
List2Filter[1]=
...
List3Filter[0]=DM-*
List3Filter[1]=
...
List4Filter[0]=TDM-*
List4Filter[1]=
...
List5Filter[0]=DOM-*
List5Filter[1]=
...
List6Filter[0]=LMS-*
List6Filter[1]=
...
List7Filter[0]=RCTF-*
List7Filter[1]=
...
List8Filter[0]=IDM-*
List8Filter[1]=
...
ExcludeFilter[0]=
ExcludeFilter[1]=
...
ExcludeFilter[2046]=
ExcludeFilter[2047]=
CrashedMaps[0]=
CrashedMaps[1]=
...
CrashedMaps[30]=
CrashedMaps[31]=
AccName[0]=
AccName[1]=
...
AccName[30]=
AccName[31]=
AccVotes[0]=0
AccVotes[1]=0
...
AccVotes[30]=0
AccVotes[31]=0
TmpNextVirtualPrefix=IDM
TmpNextRealPrefix=DM
It do includes MH-CTF-DM-TDM-DOM-LMS-RocketArenaCTF-InstaGibDM.
Attachments
MapVoteULv2_1NS.zip
(139.11 KiB) Downloaded 107 times
User avatar
Deepu
Adept
Posts: 350
Joined: Mon Nov 11, 2013 7:56 am
Personal rank: Average
Location: India
Contact:

Re: A temp MapVote - until some updates will get done

Post by Deepu »

UT Server admin spectator shows in this version? Why shows a player in Map Vote always?
User avatar
sektor2111
Godlike
Posts: 6403
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: A temp MapVote - until some updates will get done

Post by sektor2111 »

Yes, it was showing a player introduced by WebAdmin part (messaging purposes). Update has that fixed using:
"PlayerPawn && bIsPlayer && PlayerReplicationInfo" - then player won't be confused any longer.
You can update code for "UL2_3".

Like I said, I'm not using any WebAdmin - that module is too old and it's another gate for problems.
Post Reply