Commit Graph

148 Commits

Author SHA1 Message Date
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
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
jenz
709a07a62b excluding autismbots from rtv count 2023-03-15 19:00:57 +01:00
jenz
c8bcee4377 removed fakeclients, sourcetv, not yet connected clients, autismbots and nosteamers from counting towards player requirement for maps 2023-03-13 20:00:35 +01:00
jenz
de2dbcb9c5 handling rare case where cprint tries to send message to disconnected player 2023-03-12 19:42:12 +01:00
jenz
8bc1c2f22c fixed mistake so admin nominations are respected 2023-02-26 16:55:49 +01:00
jenz
1c29510d95 now i added the right file instead 2023-02-23 01:12:50 +01:00
jenz
ae65307c64 fixed admin nominations display on nomlist by giving them most votes 2023-02-23 01:09:49 +01:00
xen
5fd70ab580 rockthevote_extended: Add UnRTV 2023-02-15 14:31:06 +02:00
xen
ec961cfa58 rockthevote_extended: Add translations file 2023-02-15 13:57:05 +02:00