View previous topic :: View next topic |
Author |
Message |
zapo Newbie

Gender:  Joined: Sep 01, 2018 Posts: 11
Reputation: 4.5  

Status: Offline
Favourite TF2 Class: med/pyro |
Posted: Sat Dec 29, 2018 2:49 pm Post subject: [IDEA] Little changes of the maplist |
|
|
DaV edit 06/01/18 - Now live on Vanilla Fun and Vanilla Too Much Fun. betanominate is no longer needed. Use nominate as before
Just idea to discuss, I did similar thing on the server i used to play some years ago and it went well. Maybe it will go well here too.
I hope somebody accepts my challenge and will take part in this little discussion ;)
Problem:
Lot of people nominate maps from first 2 pages, some people nominate maps from further pages
We have lot of maps on the #1 server but we play often "the most played maps" like:
-badwater
-upward
-pl_pier
- insert the name of the map here
They are good to make server full and keeps it alive, i don't neglect it.
We were able to play recently i.e pl_goldrock more often than some time ago but I think there is still too little rotation such maps.
Unfortunately, the list of the maps is messy and if i want to choose something what is played rarely then i must look through some pages to check (or find) the map which can suit to the server and actually situation. If i finally find the map then i cant nominate it because 5 other maps were nominated earlier.
Proposition:
Make the list of the maps more friendly/orderly
When user types nominate then there could be list of sub-menus.
1. "The most played"
We could have here badwater, upward, barnblitz, pl_pier etc
2. "other payload maps"
3. "cp maps"
4. "koth maps"
5. other
All of the maps would be sorted alphabetical (to find maps easier).
Benefits:
1. There is no one big list of maps with many pages
2. User can find a map faster due to basic type of map (the most played, payload, cp, koth, etc)
3. There is greater chance ppl start to nominate other maps than the most played which are currently on first pages (it needs patience to find the map user thinks about)
Especially regular players who prefer "custom" maps and don't remember their names |
|
|
Back to top |
|
 |
DaV Community Admin


Gender:  Joined: Jul 15, 2011 Posts: 937 Location: Edinburgh Reputation: 193.5   votes: 2

Status: Offline
|
Posted: Sun Dec 30, 2018 8:57 pm Post subject: Re: [IDEA] Little changes of the maplist |
|
|
I actually quite like this idea
The nominate menu could definitely benefit from a bit more structure to better group maps of a similar type together. It could also do with a bit of a clear out as there's definitely maps on there that are not played much, if ever. Would reduce the sheer number of maps and free up a bit of space on the server too.
Unfortunately, I don't think the 'nominate' plugin out of the box can do this. Internally, maps that can be nominated are stored in a simple text file that the plugin reads in and displays.
However, we do have the source file for the plugin and I think it should be possible to update this to add a menu system as you've described. I'll have a look into this over the coming days and see what I can come up with! :P
Edit: How did you implement this on a previous server? Was it an available plugin we can download and use, or was it custom? I don't mind having a go at implementing it, but if there's something ready-made we can use, great. |
|
|
Back to top |
|
 |
zapo Newbie

Gender:  Joined: Sep 01, 2018 Posts: 11
Reputation: 4.5  

Status: Offline
Favourite TF2 Class: med/pyro |
Posted: Mon Dec 31, 2018 2:08 pm Post subject: Re: [IDEA] Little changes of the maplist |
|
|
DaV wrote (View Post): | How did you implement this on a previous server? Was it an available plugin we can download and use, or was it custom? I don't mind having a go at implementing it, but if there's something ready-made we can use, great. |
I don't know how it was implemented, i also wasn't responsible for scripts on the server (we had other hierarchy than the one on THG and technical-supervisors were responsible for script/plugin related things on servers), i just requested what we needed :P
As far I remember, I added zipped map to one folder and then i modified context of the txt file in other location (I added the name of the map to that file).
Maps names must be sorted manually.
The structure of the file looked like JSON:
- external nodes represented tabs/views/submenus (lets call them "ext")
- internal nodes of each "ext" node was the name of the map
It looked something like this (umc_mapcycle.txt):
https://forums.alliedmods.net/showthread.php?t=134190#Example
Maybe it was modification of the plugin above, but i don't guarantee |
|
|
Back to top |
|
 |
DaV Community Admin


Gender:  Joined: Jul 15, 2011 Posts: 937 Location: Edinburgh Reputation: 193.5   votes: 2

Status: Offline
|
Posted: Mon Dec 31, 2018 4:22 pm Post subject: Re: [IDEA] Little changes of the maplist |
|
|
[quote="zapo";p="51940"]
Thanks will take a look! |
|
|
Back to top |
|
 |
olshi Enthusiast

Joined: Jul 23, 2015 Posts: 33
Reputation: 23.2   votes: 1

Status: Offline
|
Posted: Tue Jan 01, 2019 9:08 am Post subject: Re: [IDEA] Little changes of the maplist |
|
|
Is it also possible to remove 2fort and similar maps that only get nominated by trolls? It's not fair to other players, who then can't make genuine nominations, because trashy maps are occupying some of the limited (5) nomination slots. I've seen this happen often lately, especially with certain individuals on the server. |
|
|
Back to top |
|
 |
Please view and read our Forum & Server Rules
|
DaV Community Admin


Gender:  Joined: Jul 15, 2011 Posts: 937 Location: Edinburgh Reputation: 193.5   votes: 2

Status: Offline
|
Posted: Wed Jan 02, 2019 3:43 pm Post subject: Re: [IDEA] Little changes of the maplist |
|
|
olshi wrote (View Post): | Is it also possible to remove 2fort and similar maps that only get nominated by trolls? It's not fair to other players, who then can't make genuine nominations, because trashy maps are occupying some of the limited (5) nomination slots. I've seen this happen often lately, especially with certain individuals on the server. |
I can certainly remove 2fort from the nominate list if required, but of course this prevents everyone from playing it, even the ones who want to. I realise it's a map that is played very rarely though.
I've increased the number of nominations to 6. This is the maximum allowed via the cvar. I can likely increase it further if needed but would need to recompile a plugin.
I do agree though that it's unfair for others if some players are nominating unconventional maps just because. Feel free to PM me names if you want olshi.
With my newly acquired sourcemod scripting knowledge I can likely block players nominating using their steamID if required, but hoping it doesn't have to come to that... |
|
|
Back to top |
|
 |
zapo Newbie

Gender:  Joined: Sep 01, 2018 Posts: 11
Reputation: 4.5  

Status: Offline
Favourite TF2 Class: med/pyro |
Posted: Wed Jan 02, 2019 5:54 pm Post subject: Re: [IDEA] Little changes of the maplist |
|
|
DaV wrote (View Post): |
but of course this prevents everyone from playing it, even the ones who want to. I realise it's a map that is played very rarely though.
|
Majority of maps is played rarely, we have just too many maps and there is no possibility to play them all.
If we remove them then problem will be solved. If somebody wants to add map on the server then they can write a post on forum :)
I hope something will change when maps are reordered in (sub)menus.
Btw Dav, maybe there should be separate new subject/post (due to redesigning maplist menu) on the forum related to maps which should be on the #1 while you fight with the script to display maps ? People who are interested will take part in discussion and when you finally end the modification of plugin you will have also list of suggested maps by players to remove.
I've seen some reasonable players (i count on you too olshi!) on forum so there is also hope they will answer |
|
|
Back to top |
|
 |
olshi Enthusiast

Joined: Jul 23, 2015 Posts: 33
Reputation: 23.2   votes: 1

Status: Offline
|
Posted: Thu Jan 03, 2019 11:22 am Post subject: Re: [IDEA] Little changes of the maplist |
|
|
DaV wrote (View Post): | I've increased the number of nominations to 6. This is the maximum allowed via the cvar. I can likely increase it further if needed but would need to recompile a plugin. |
Thanks. That's probably the best solution. I'm not even sure anything should be changed at all. It's not a major problem, more a minor annoyance. It's just trolls being trolls nominating controversial maps, not because they want to play them, but to annoy certain players. |
|
|
Back to top |
|
 |
DaV Community Admin


Gender:  Joined: Jul 15, 2011 Posts: 937 Location: Edinburgh Reputation: 193.5   votes: 2

Status: Offline
|
Posted: Thu Jan 03, 2019 4:37 pm Post subject: Re: [IDEA] Little changes of the maplist |
|
|
OK, I've now got a version of this up and running and ready for testing on #1.
It can be accessed by typing 'betanominate' in chat rather than 'nominate'. It should work alongside the existing/old nominate menu, so either menu can be used to nominate maps (or directly in chat if you know the map name, as before)
I haven't yet added a 'popular maps' option yet but all maps available through the nominate list should be in one of the following sections:
1. Payload
2. Capture Point
3. King Of The Hill
4. Miscellaneous
5. Valve Vanilla
Feel free to give it a test and let me know of any issues  |
|
|
Back to top |
|
 |
zapo Newbie

Gender:  Joined: Sep 01, 2018 Posts: 11
Reputation: 4.5  

Status: Offline
Favourite TF2 Class: med/pyro |
Posted: Thu Jan 03, 2019 7:11 pm Post subject: Re: [IDEA] Little changes of the maplist |
|
|
DaV wrote (View Post): | OK, I've now got a version of this up and running and ready for testing on #1.
|
You are fast, thx.
I wont ask if you are good programmer and you add tests to things you code :P
1. It seems
!betanominate insertMapName
doesn't work.
2. I couldn't find upward in betanominate-maplist (maybe i'm blind)
3. i could noimate badwater-pro when we were on badwater-pro |
|
|
Back to top |
|
 |
Please view and read our Forum & Server Rules
|
DaV Community Admin


Gender:  Joined: Jul 15, 2011 Posts: 937 Location: Edinburgh Reputation: 193.5   votes: 2

Status: Offline
|
Posted: Sun Jan 06, 2019 12:17 am Post subject: Re: [IDEA] Little changes of the maplist |
|
|
The updated nominate menu plugin is now live on the Vanilla Fun and Vanilla Too Much Fun servers.
Therefore betanominate is now no longer required and !nominate can be used as before.
I'll be adding it for the crit-vote server too, but as it has a different nominate list, I need to make up a few new files. Will try and do this tomorrow.
zapo wrote (View Post): | I wont ask if you are good programmer and you add tests to things you code |
Of course I test things I code It's my day job...although not using sourcemod! In this case it was manually tested by yours truly before I let you guys loose with it.
zapo wrote (View Post): | 1. It seems
!betanominate insertMapName
doesn't work. |
Yes I knew about this one. TLDR, I knew it would work fine once I removed the 'beta' menu so didn't bother trying to make that version work.
zapo wrote (View Post): | 2. I couldn't find upward in betanominate-maplist (maybe i'm blind) |
Should be listed under the 'Vanilla' menu, second from last entry. If it's still not there let me know and I'll try and figure out why not!
zapo wrote (View Post): | 3. i could noimate badwater-pro when we were on badwater-pro |
Hmm, that seems like a bug - I'll test this tomorrow and see if I can recreate. Although I haven't changed any of the sourcemod nomination code that decides whether a map is the 'current map' or 'recently played' etc and prevents you from nominating it.
Of course, that doesn't mean I haven't broken it in some other way
Thanks for testing it and giving feedback. |
|
|
Back to top |
|
 |
DaV Community Admin


Gender:  Joined: Jul 15, 2011 Posts: 937 Location: Edinburgh Reputation: 193.5   votes: 2

Status: Offline
|
Posted: Sun Jan 06, 2019 1:04 pm Post subject: Re: [IDEA] Little changes of the maplist |
|
|
zapo wrote (View Post): | 3. i could noimate badwater-pro when we were on badwater-pro |
This is now fixed  |
|
|
Back to top |
|
 |
zapo Newbie

Gender:  Joined: Sep 01, 2018 Posts: 11
Reputation: 4.5  

Status: Offline
Favourite TF2 Class: med/pyro |
Posted: Sun Jan 06, 2019 1:18 pm Post subject: Re: [IDEA] Little changes of the maplist |
|
|
DaV wrote (View Post): |
In this case it was manually tested by yours truly before I let you guys loose with it.
|
professionally its called beta-tests :P
DaV wrote (View Post): |
This is now fixed |
So there was a bug or you couldn't reproduce it ? |
|
|
Back to top |
|
 |
DaV Community Admin


Gender:  Joined: Jul 15, 2011 Posts: 937 Location: Edinburgh Reputation: 193.5   votes: 2

Status: Offline
|
Posted: Sun Jan 06, 2019 1:33 pm Post subject: Re: [IDEA] Little changes of the maplist |
|
|
zapo wrote (View Post): | So there was a bug or you couldn't reproduce it ? |
Bug. The existing sourcemod plugin uses a string map to track excluded/current/recently played maps. This worked when there was only one menu, but as soon as I added the others, it was clearing this cache for each menu, so it only worked for the last menu.
I've also added the plugin onto the crit-vote server too but the included maps are a little different. |
|
|
Back to top |
|
 |
olshi Enthusiast

Joined: Jul 23, 2015 Posts: 33
Reputation: 23.2   votes: 1

Status: Offline
|
Posted: Sat Jan 12, 2019 9:36 pm Post subject: Re: [IDEA] Little changes of the maplist |
|
|
Is it possible to show the names of players next to the maps they nominated during mapvote? |
|
|
Back to top |
|
 |
Please view and read our Forum & Server Rules
|
|