Commit Graph
157 Commits
Author SHA1 Message Date
jenz c25a3e203e fixed timer displaying when it should not 2024-09-20 11:28:02 +02:00
jenz 4302ed9247 fixed that on terminate round would constantly trigger new votes again 2024-09-20 11:04:56 +02:00
jenz cbf1d4e15a added phrases and edition of mapchooser where mapvoting happens at the end of the map 2024-09-19 19:55:32 +02:00
jenz 9158cb6f32 fixed boundarie issues that only happen when alone 2024-09-19 18:59:28 +02:00
jenz 770f17c31e removed that mapleaders automatically just get 999 votes 2024-07-26 22:53:27 +02:00
jenz 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
jenz 8b94b0fc45 preventing leader nomination from getting picked in wrong order 2024-07-23 21:24:05 +02:00
jenz 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
jenz aaec53ec79 eventually i gotta hit it right with a spot that works 2024-02-13 23:36:24 +01:00
jenz 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
jenz 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
jenz 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
jenz 3713304d0d fixed client index being incorrect 2024-01-20 17:46:23 +01:00
jenz 5b62ad860f simple implementation so that nomination count also is affected by playtime 2024-01-19 00:17:10 +01:00
jenz 6959ce819c added restriction check so not displaying average hour if not restricted 2023-12-11 13:48:12 +01:00
jenz 7290cccb9d had forgotten check for mapstart/mapend which is needed for actual CD 2023-12-10 22:02:42 +01:00
jenz 7995d7dd82 fixed spelling mistake 2023-12-10 21:42:32 +01:00
jenz 9f42cd9e81 forgot spectator check 2023-12-10 15:22:08 +01:00
jenz 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
jenz 59eb86fa23 now re-evaluting each rtv when a person disconnects or connects 2023-09-17 00:29:00 +02:00
jenz 50058d15f1 attempt at hopefully fixing the rare map voting bug 2023-09-14 21:31:57 +02:00
jenz 5808ec235d further changes to show rtv boost correctly and display in percentage 2023-09-12 21:20:16 +02:00
jenz c09968a69d new version of rtv based on average hours, original is still backup file on OVH 2023-09-12 16:10:32 +02:00
jenz 5e026ff7f3 reverted two return statements as i suspect them being cruelpits to glitched mapvotes 2023-09-05 21:46:00 +02:00
jenz 8651cae482 for some reason we miss these entires in translation file, so just replacing with simple print 2023-09-03 20:16:49 +02:00
jenz a4b527ea22 minor fixes to errors mentioned 2023-09-02 16:20:31 +02:00
jenz e00352d8a0 mini fix 2023-08-30 17:27:39 +02:00
jenz b64abac26d multiple syntax updates to adjust for 1.11.0.6946 SM build 2023-08-29 18:10:57 +02:00
jenz 8d6f4d98aa redid how often db reconnection is attempted 2023-06-18 23:56:04 +02:00
jenz a01e7bbfcb changed cheat flag to kick flag so admins can overule map restrictions, for example for nominate_addmap 2023-06-03 21:21:13 +02:00
jenz 275245d6ab further fixes to queries and timers 2023-04-30 19:57:25 +02:00
jenz 1cbbeecdb8 added average hour check for removing maps from nominations and added changed calls to always respect time restriction since initvote does so either way. Also added check to respect restrictions when calling sm_nomlist 2023-04-15 21:41:12 +02:00
jenz ea42dabf92 changed printchat to CReplyToCommand 2023-04-10 19:40:27 +02:00
jenz 1e82a10795 forgot adding () around the message 2023-04-09 14:34:30 +02:00
jenz 1c4f1d532c added support for average hours count on server 2023-04-09 13:57:09 +02:00
jenz d21303488b added feature to hide maps that are unavailable 2023-03-31 19:06:56 +02:00
jenz e094ed41aa removed unnecesary parameter, not sure if map being incorrect parameter type is fixed doe 2023-03-23 22:25:20 +01:00
jenz 5840846119 added missing phrase file and hopefully fixed errors thrown by mapchooser 2023-03-23 19:47:48 +01:00