Post by Hook on Feb 6, 2018 16:41:54 GMT -6
CUSTOM SORTING MapVoteLA13 Map Columns...
Custom Sorting MapVoteLA13 (MapVote) Maps in the MapVoteLA13 Columns the way that YOU want!
This Idea was originally Discovered and Posted by Gopostal (aka Gopo, etc.) - Thanks!!!
Extensively Re-written, Clarified and Posted here at HUTP by Hook
As it comes, MapvoteLA13 has slots for up to 48 maps in each column, using different game types, etc.
If you try to add more maps than 48 (49 and on) it will just ignore the the rest after 48.
MapVote Source Code is not public, nor has it been updated by its author, Cratos, in a long while.
Also, the map arrays are probably hard coded at 48 maps, as per the MapVoteLA.ini file suggests or indicates.
OK, and I know that you have probably read the MapVoteLA13 Readmes, etc., and I know you can use all sorts of wildcards, etc., as Cratos says, to sort your columns, and also to add up to 1,024 maps that way to get around the 48 map limit.
That is OK too, if that is what you want or it fits your server, etc. - This is just Another Way of sorting your maps in MapVoteLA13.
With this way you will Not be using wild cards (the " * " symbol) at all.
SO, that said - If you want to sort your maps in the columns in a unique, custom way, or by other arbitrary ways like "big maps" or "maps with low grav" or whatever, then the wild cards will not do you much good.
OK, I think you understand what I am saying here.
Here (below) is a way that will allow you to sort many hundreds of maps (up to 1,023 - Not 1,024 - as the First Slot "M[0]=" must be BLANK) in any way that you like, in the 4 columns of MapVoteLA13.
Here is a Sample"MapListTemp.ini" file that was Created by MapVoteLA13 and then Altered by Gopostal as an Example ONLY!!! * (explained below)
Go ahead and Download Gopo's Example file - Attached here.
You will need to make your own file, or edit his file, as THIS file works on Gopo's server with HIS map list ONLY!
This Example "MapListTemp.ini" file will show you what a finished file will look like.
Gopo's Example file here has 323 of his maps listed in it.
MapListTemp.zip[/attachment]
Just take a Look at this Sample File for now.
Now, we will show you how to set it up for YOUR Server.
FIRST, make a list of all your maps that are in your server.
Then, decide which Columns in MapVoteLA13 you want, if there are any changes, etc.
Then, decide which maps you want in what columns in MapVote.
Now, add all the maps, (their names), into this "MapListTemp.ini" file, in the numbered slots.
Always Leave the First Slot "M[0]=" BLANK! (It MUST be kept blank)
Also, the "mapCount" must Always be Correct! (the Correct Quantity of maps in the slots)
The "mapCount" quantity in the example is the count for the Example File ONLY!
I do not know what the "PrefixDictionary=" setting is for so Leave it alone - Leave it Blank!
Here is the top section of the Example file attached:
[MapVoteLA13.MapListTemp]
PrefixDictionary=
mapCount=323
M[0]=
M[1]=MH-AF-WTC-105+FastFix:4
M[2]=MH-Ages(v2):3
M[3]=MH-Akemi_vs_Tomoko:2
M[4]=MH-AKEMI{fix}:4
NOTE: This list goes on up to: "M[1023]=" (Not 1024) for a total of 1,023 maps!
Again, the mapCount must be correct.
Update the "mapCount" map quantity if you add or subtract maps from this list.
Leaving the First Slot "M[0]=" BLANK - Now from [1] on just start adding your map names.
The ":4" after the map name tells it which of the 4 columns to Sort this map under in MapVote.
Add that column number for each map, separating the maps as to which column you want the maps in.
Columns are: ":1 :2 :3 and :4"
And Last, Save and close your server's "MapListTemp.ini" file.
Now, that all being done, open your server's "MapVoteLA.ini" file.
In the "MapVoteLA.ini" file set: bReloadMapsOnRequestOnly=True <-(set this to True)
Then Save and close your server's MapVoteLA.ini file.
If you haven't already, upload it back to your server's UT System Folder (aka Directory)
Now, upload the "MapListTemp.ini" file to the server's UT System Folder (aka Directory)
Now you can RE-Start your server.
DO NOT RELOAD MAPS!!! (See Button in MapVoteLA13 Vote Window) - this will overwrite your newly uploaded MapListTemp.ini file.
Note: For this reason, you should make a Back-Up file of this and all your important server files, just in case.
When you play your server now, the maps should all be sorted in the MapVoteLA13 Columns that you intended them to be in.
NOTE: This works just fine on a Multiple Game Type server.
It only sorts the maps into your designated columns that you assigned to each map.
MapVote still controls the mod load-out for each game type in each column.
* Actually, the Original "MapListTemp.ini" file is Created by MapVoteLA13 when you set this setting to True: bReloadMapsOnRequestOnly=True ( by Hook)
I will explain... ( by Hook)
OK - this is how I am GUESSING that this was discovered... (I will try it sometime to confirm this)
When in the MapVote.ini and the setting bReloadMapsOnRequestOnly=True is set to True, MapVote creates an ini file on its own called: MapListTemp.ini
In that created ini file is the list that MapVote will display based on the Last Map ReLoad.
That MapVoteLA13 Created ini file was taken and was Altered to fit the Sortation needs and wants for the 4 columns in MapVoteLA13.
This works when the setting bReloadMapsOnRequestOnly=True is set to true, as MapVote will Not reload the maps into the columns based on a new reload unless YOU Request it.
So, the 4 columns remain AS IS until the maps are reloaded into MapVote Manually or Requested.
Nice Find Gopo!!!
Which brings us to what Hook also figured out ... (below)
Tips and Tricks...
A MUCH Easier way to Create your "MapListTemp.ini" file!
It takes a While for sure to put in all your map names and then add the column numbers to them. WHEW!!!
The Much Easier way is to Let MapVoteLA13 create it For You.
FIRST - Shut Down or Stop your server.
Then - Open your server's "MapVoteLA.ini" file.
Find bReloadMapsOnRequestOnly= and set it to True like this...
bReloadMapsOnRequestOnly=True
Restart you server and hit your MapVoteLA13 Hot Key to bring up the MapVote Window, loading up all the maps.
MapVoteLA13 will Automatically Create your "MapListTemp.ini" file when you set this setting to True: bReloadMapsOnRequestOnly=True
Then, Shut Down or Stop your server again.
Your Newly Auto-Created MapListTemp.ini file should now be in your server's UT System Folder with all your maps names already listed in the list.
No Need to ADD all your map names, map counts, etc.
Now, all you need to do is Open your Auto-Created MapListTemp.ini file and edit the column numbers after each map name.
When you are done editing your MapListTemp.ini file, just Save it and Put it back in your UT System Folder and Restart your server.
DO NOT RELOAD MAPS!!! (See Button in MapVoteLA13 Vote Window) - this will overwrite your newly uploaded MapListTemp.ini file.
Note: For this reason, you should make a Back-Up file of this and all your important server files, just in case.
When you play your server now, the maps should all be sorted in the MapVoteLA13 Columns that you intended them to be in.
Another Trick or Idea...
You can make up several of these "MapListTemp.ini" files.
You can have several different copies with different map lists for different reasons.
You can name them differently such as "MapListTemp_BIG_MAPS.ini" or "MapListTemp_LG_MAPS.ini" or whatever.
You can then swap them in and out of your UT System folder to have MapVoteLA13 show different lists of maps for different occasions.
Just make sure that you COPY the renamed "MapListTemp_new_name.ini" files and rename them to the original name, "MapListTemp.ini", when you are actually using them in the UT System folder.
Then ReName them back to "MapListTemp_BIG_MAPS.ini" or "MapListTemp_LG_MAPS.ini" or whatever when you swap them back out again.
Enjoy! - Hook
Custom Sorting MapVoteLA13 (MapVote) Maps in the MapVoteLA13 Columns the way that YOU want!
This Idea was originally Discovered and Posted by Gopostal (aka Gopo, etc.) - Thanks!!!
Extensively Re-written, Clarified and Posted here at HUTP by Hook
As it comes, MapvoteLA13 has slots for up to 48 maps in each column, using different game types, etc.
If you try to add more maps than 48 (49 and on) it will just ignore the the rest after 48.
MapVote Source Code is not public, nor has it been updated by its author, Cratos, in a long while.
Also, the map arrays are probably hard coded at 48 maps, as per the MapVoteLA.ini file suggests or indicates.
OK, and I know that you have probably read the MapVoteLA13 Readmes, etc., and I know you can use all sorts of wildcards, etc., as Cratos says, to sort your columns, and also to add up to 1,024 maps that way to get around the 48 map limit.
That is OK too, if that is what you want or it fits your server, etc. - This is just Another Way of sorting your maps in MapVoteLA13.
With this way you will Not be using wild cards (the " * " symbol) at all.
SO, that said - If you want to sort your maps in the columns in a unique, custom way, or by other arbitrary ways like "big maps" or "maps with low grav" or whatever, then the wild cards will not do you much good.
OK, I think you understand what I am saying here.
Here (below) is a way that will allow you to sort many hundreds of maps (up to 1,023 - Not 1,024 - as the First Slot "M[0]=" must be BLANK) in any way that you like, in the 4 columns of MapVoteLA13.
Here is a Sample"MapListTemp.ini" file that was Created by MapVoteLA13 and then Altered by Gopostal as an Example ONLY!!! * (explained below)
Go ahead and Download Gopo's Example file - Attached here.
You will need to make your own file, or edit his file, as THIS file works on Gopo's server with HIS map list ONLY!
This Example "MapListTemp.ini" file will show you what a finished file will look like.
Gopo's Example file here has 323 of his maps listed in it.
MapListTemp.zip[/attachment]
Just take a Look at this Sample File for now.
Now, we will show you how to set it up for YOUR Server.
FIRST, make a list of all your maps that are in your server.
Then, decide which Columns in MapVoteLA13 you want, if there are any changes, etc.
Then, decide which maps you want in what columns in MapVote.
Now, add all the maps, (their names), into this "MapListTemp.ini" file, in the numbered slots.
Always Leave the First Slot "M[0]=" BLANK! (It MUST be kept blank)
Also, the "mapCount" must Always be Correct! (the Correct Quantity of maps in the slots)
The "mapCount" quantity in the example is the count for the Example File ONLY!
I do not know what the "PrefixDictionary=" setting is for so Leave it alone - Leave it Blank!
Here is the top section of the Example file attached:
[MapVoteLA13.MapListTemp]
PrefixDictionary=
mapCount=323
M[0]=
M[1]=MH-AF-WTC-105+FastFix:4
M[2]=MH-Ages(v2):3
M[3]=MH-Akemi_vs_Tomoko:2
M[4]=MH-AKEMI{fix}:4
NOTE: This list goes on up to: "M[1023]=" (Not 1024) for a total of 1,023 maps!
Again, the mapCount must be correct.
Update the "mapCount" map quantity if you add or subtract maps from this list.
Leaving the First Slot "M[0]=" BLANK - Now from [1] on just start adding your map names.
The ":4" after the map name tells it which of the 4 columns to Sort this map under in MapVote.
Add that column number for each map, separating the maps as to which column you want the maps in.
Columns are: ":1 :2 :3 and :4"
And Last, Save and close your server's "MapListTemp.ini" file.
Now, that all being done, open your server's "MapVoteLA.ini" file.
In the "MapVoteLA.ini" file set: bReloadMapsOnRequestOnly=True <-(set this to True)
Then Save and close your server's MapVoteLA.ini file.
If you haven't already, upload it back to your server's UT System Folder (aka Directory)
Now, upload the "MapListTemp.ini" file to the server's UT System Folder (aka Directory)
Now you can RE-Start your server.
DO NOT RELOAD MAPS!!! (See Button in MapVoteLA13 Vote Window) - this will overwrite your newly uploaded MapListTemp.ini file.
Note: For this reason, you should make a Back-Up file of this and all your important server files, just in case.
When you play your server now, the maps should all be sorted in the MapVoteLA13 Columns that you intended them to be in.
NOTE: This works just fine on a Multiple Game Type server.
It only sorts the maps into your designated columns that you assigned to each map.
MapVote still controls the mod load-out for each game type in each column.
* Actually, the Original "MapListTemp.ini" file is Created by MapVoteLA13 when you set this setting to True: bReloadMapsOnRequestOnly=True ( by Hook)
I will explain... ( by Hook)
OK - this is how I am GUESSING that this was discovered... (I will try it sometime to confirm this)
When in the MapVote.ini and the setting bReloadMapsOnRequestOnly=True is set to True, MapVote creates an ini file on its own called: MapListTemp.ini
In that created ini file is the list that MapVote will display based on the Last Map ReLoad.
That MapVoteLA13 Created ini file was taken and was Altered to fit the Sortation needs and wants for the 4 columns in MapVoteLA13.
This works when the setting bReloadMapsOnRequestOnly=True is set to true, as MapVote will Not reload the maps into the columns based on a new reload unless YOU Request it.
So, the 4 columns remain AS IS until the maps are reloaded into MapVote Manually or Requested.
Nice Find Gopo!!!
Which brings us to what Hook also figured out ... (below)
Tips and Tricks...
A MUCH Easier way to Create your "MapListTemp.ini" file!
It takes a While for sure to put in all your map names and then add the column numbers to them. WHEW!!!
The Much Easier way is to Let MapVoteLA13 create it For You.
FIRST - Shut Down or Stop your server.
Then - Open your server's "MapVoteLA.ini" file.
Find bReloadMapsOnRequestOnly= and set it to True like this...
bReloadMapsOnRequestOnly=True
Restart you server and hit your MapVoteLA13 Hot Key to bring up the MapVote Window, loading up all the maps.
MapVoteLA13 will Automatically Create your "MapListTemp.ini" file when you set this setting to True: bReloadMapsOnRequestOnly=True
Then, Shut Down or Stop your server again.
Your Newly Auto-Created MapListTemp.ini file should now be in your server's UT System Folder with all your maps names already listed in the list.
No Need to ADD all your map names, map counts, etc.
Now, all you need to do is Open your Auto-Created MapListTemp.ini file and edit the column numbers after each map name.
When you are done editing your MapListTemp.ini file, just Save it and Put it back in your UT System Folder and Restart your server.
DO NOT RELOAD MAPS!!! (See Button in MapVoteLA13 Vote Window) - this will overwrite your newly uploaded MapListTemp.ini file.
Note: For this reason, you should make a Back-Up file of this and all your important server files, just in case.
When you play your server now, the maps should all be sorted in the MapVoteLA13 Columns that you intended them to be in.
Another Trick or Idea...
You can make up several of these "MapListTemp.ini" files.
You can have several different copies with different map lists for different reasons.
You can name them differently such as "MapListTemp_BIG_MAPS.ini" or "MapListTemp_LG_MAPS.ini" or whatever.
You can then swap them in and out of your UT System folder to have MapVoteLA13 show different lists of maps for different occasions.
Just make sure that you COPY the renamed "MapListTemp_new_name.ini" files and rename them to the original name, "MapListTemp.ini", when you are actually using them in the UT System folder.
Then ReName them back to "MapListTemp_BIG_MAPS.ini" or "MapListTemp_LG_MAPS.ini" or whatever when you swap them back out again.
Enjoy! - Hook