Commit Graph

176 Commits

Author SHA1 Message Date
d35258404d now cooldowns should be respected god dammnit 2024-10-12 17:18:09 +02:00
65932af8db added so maps are greyed out for admins and leaders too in case of cooldowns 2024-10-12 00:47:07 +02:00
c012ab6581 i had forgot that nominations need to respect cooldown too when low pop 2024-10-11 14:53:39 +02:00
c1371b3241 redid mapchooser so internal restrictions active in most cases respect map cooldowns. redid forum intergration with syntax compatible with 1.11 sourcemod. also added feature to it that during low pop people can get free vip 2024-10-11 13:44:11 +02:00
3244412eed hopefully the dread is finally over now 2024-10-01 00:50:34 +02:00
27dbbc9294 reworking the patchwork for rtv so it should seem normal. hopefully no more bugs 2024-09-29 15:03:09 +02:00
04e56aeeaa added check so mapchange actually happens if nextmap is set and time is ran out 2024-09-28 17:39:28 +02:00
d9987c554d added a casual pool feature that will be prioritized when picking random maps for the mapvote 2024-09-27 12:31:54 +02:00
c267fb1457 moving cvars over to the mapchooser_extended.cfg so people can see the values at https://unloze.com/mapchooser_css_ze/mapchooser_extended.cfg 2024-09-27 00:51:28 +02:00
7e473490d1 comically retarded solution. but hey if it looks fine its fine 2024-09-26 17:56:37 +02:00
566916ff1b now admins cant fuck over the vote anymore by panic extending the last second possible 2024-09-22 19:25:11 +02:00
5fbae4b560 changed the mp_chattime to use revote warning timer cvar. removed some logging 2024-09-22 16:31:49 +02:00
aad7bf415b instead now using cssfixes to patch out the frozen command so that i dont handle it here 2024-09-22 10:10:07 +02:00
2508ad1957 i dont know why 1.0 is needed instead of 0.1. on dev it was fine but on ze 1.0 is needed 2024-09-21 16:55:29 +02:00
924ffd318c added timer so people can walk during the intermission 2024-09-21 13:32:16 +02:00
3589dd66a3 forgot what i updated again but looks good on ze now. the random extend vote should hopefully not happen anymore when not intended. the mp_chattime stuff was moved to pluginstart, mapstart and mapend and seems to let the vote run fine now instead of switching map 2024-09-21 11:18:03 +02:00
e35b6a55ab added message indicating that rtv went through 2024-09-20 15:01:27 +02:00
39628347b9 should safeguard votes from happening when the last vote is done, except of revotes of coruse 2024-09-20 13:40:31 +02:00
dc7cdd5e10 added check so if rtv happens while the last round ended that the map switches instantly. added novote option to the extend vote. added that the extend vote cant have a revote. 2024-09-20 12:22:17 +02:00
c25a3e203e fixed timer displaying when it should not 2024-09-20 11:28:02 +02:00
4302ed9247 fixed that on terminate round would constantly trigger new votes again 2024-09-20 11:04:56 +02:00
cbf1d4e15a added phrases and edition of mapchooser where mapvoting happens at the end of the map 2024-09-19 19:55:32 +02:00
9158cb6f32 fixed boundarie issues that only happen when alone 2024-09-19 18:59:28 +02:00
770f17c31e removed that mapleaders automatically just get 999 votes 2024-07-26 22:53:27 +02:00
0115f8bfc2 added native to leader to get if a client if one of the possible leaders. added to mapchooser that random picked maps respect cooldowns as well. changed so leaders and admins skip all cooldowns and restrictions 2024-07-26 18:33:39 +02:00
8b94b0fc45 preventing leader nomination from getting picked in wrong order 2024-07-23 21:24:05 +02:00
103cbc4d56 re-using the function xen made for comperator. differentiating between leader and admin nom a bit more clearly 2024-07-23 19:40:48 +02:00
aaec53ec79 eventually i gotta hit it right with a spot that works 2024-02-13 23:36:24 +01:00
56f6ac7e38 okay so mapend also did not detect it just like mapstart. right after the vote is however a fitting point to set the bol 2024-02-13 22:16:53 +01:00
af83da6f34 just betting on it working on mapend, ofc nobody is on a team at mapstart, me dumb 2024-02-13 21:21:57 +01:00
dbcc12fb03 changed true to false so CD is put on for when no map restrictions because of less than min requirement for enabling nomination restrictions 2024-02-08 18:43:22 +01:00
3713304d0d fixed client index being incorrect 2024-01-20 17:46:23 +01:00
5b62ad860f simple implementation so that nomination count also is affected by playtime 2024-01-19 00:17:10 +01:00
6959ce819c added restriction check so not displaying average hour if not restricted 2023-12-11 13:48:12 +01:00
7290cccb9d had forgotten check for mapstart/mapend which is needed for actual CD 2023-12-10 22:02:42 +01:00
7995d7dd82 fixed spelling mistake 2023-12-10 21:42:32 +01:00
9f42cd9e81 forgot spectator check 2023-12-10 15:22:08 +01:00
5ab55caec8 added feature so that all restrictions are removed if less than a certain amount of clients are considered active 2023-12-10 15:17:44 +01:00
jenz
714dbe9571 made decision to remove checkmaprestrictions as it just annoys people because they dont understand why their nominations suddenly are removed 2023-11-04 23:09:33 +01:00
jenz
04ab4f9602 added feature for leader to nominate a map which skips the restrictions 2023-11-04 20:48:13 +01:00
jenz
8c673f4401 fixing runoff votes as sometimes they did happen despite a map receiving over 51% of votes 2023-10-10 00:11:30 +02:00
jenz
1de17daf48 updated the avghour message again to display percentage for rtv correctly 2023-09-30 11:45:13 +02:00
jenz
47085dcacf set cap to 100% 2023-09-30 10:05:40 +02:00
jenz
fc2f5d6eb9 updated the avghour command to distinct between nomination average hour and the mapvote/rtv average hour and also shows the clients own mapvote/rtv boost plus percentage worth 2023-09-30 03:15:44 +02:00
jenz
20ddc26c76 added showing percentage worth to both mapvote menu and to rtv messages 2023-09-29 20:14:21 +02:00
jenz
85504bef9b should represent revoting hopefully 2023-09-24 19:21:16 +02:00
jenz
75816b367d fixed percentage bugs and voting bugs when vote finished 2023-09-23 11:38:55 +02:00
jenz
8b03595c85 paranthesis 2023-09-23 10:02:07 +02:00
jenz
582703c271 updated translation file and mapvoting to allow weighted mapvotes 2023-09-23 03:03:02 +02:00
jenz
0b14a79482 updated mapchooser to avoid bug caused by calling rockthevote native or by calling SetupTimeleftTimer without g_WaitingForVote check 2023-09-17 15:53:15 +02:00