Commit Graph

1387 Commits

Author SHA1 Message Date
rtldg
4e1f2db8ca clarify SayText2 buffer size comment 2021-10-16 04:45:19 +00:00
rtldg
499ba4c4ab Merge branch 'master' into reorg 2021-10-13 03:28:23 +00:00
rtldg
df2e9c402d fix own playtime display & rank in menu 2021-10-13 03:26:13 +00:00
rtldg
4d8faa1099 fix isBestReplay and isTooLong being swapped in Shavit_OnReplaySaved 2021-10-11 16:04:52 +00:00
rtldg
3ef2cf3f0e Merge branch 'master' into reorg 2021-10-11 14:55:59 +00:00
rtldg
474627e437 csgo doesn't need the quadruple percent-sign 2021-10-11 14:55:23 +00:00
rtldg
55b6253b30 use OnPlayerRunCmdPost for recording replay frames 2021-10-11 11:41:36 +00:00
rtldg
6325212dfb Merge branch 'master' into reorg 2021-10-11 06:02:44 +00:00
rtldg
0f66a081a3 remove css flashlight on !spec 2021-10-11 06:01:40 +00:00
rtldg
9dbd08eec9 Merge branch 'master' into reorg 2021-10-11 03:19:15 +00:00
rtldg
07a50717c4 remove debugging print 2021-10-11 03:18:57 +00:00
rtldg
e5a3af1aa7 Merge branch 'master' into reorg 2021-10-11 03:04:47 +00:00
rtldg
a0a2cce04a add wip alternatecenterkeys for css linux gamers 2021-10-11 03:04:37 +00:00
rtldg
af48f2d695 add note about adding more migrations to alter table to fix column order (for faster queries) 2021-10-10 07:51:41 +00:00
rtldg
41882d3465 reorganize playertimes columns (in create table). speed up point recalculation by inlining things where possible and caching wr last calculated against. 2021-10-10 07:50:45 +00:00
rtldg
60c614df9d add points_calced_from 2021-10-10 06:12:51 +00:00
rtldg
c81f958efb fix it changing human names on connect 2021-10-10 06:02:55 +00:00
rtldg
7ca863f04b move sql table creation and migrations 2021-10-10 05:14:37 +00:00
rtldg
f0908643f6 finish moving checkpoint stuff 2021-10-09 09:17:58 +00:00
rtldg
96496f14ba move most checkpoint stuff out of misc and into shavit-checkpoints 2021-10-09 05:40:33 +00:00
rtldg
0b31c6a608 remove Shavit_OpenCheckpointMenu 2021-10-08 15:07:08 +00:00
rtldg
d02cc0bd22 move some more stuff around 2021-10-08 15:03:09 +00:00
rtldg
8449c8b9d9 move physicsuntouch stuff to a different file 2021-10-08 14:46:36 +00:00
rtldg
ab0fc28c26 make replay reading/writing functions stocks 2021-10-08 10:59:56 +00:00
rtldg
77265805ac move anti-sv_cheats to own file 2021-10-08 10:30:52 +00:00
rtldg
611d0131c8 prevent plugin reloads recording half-replays 2021-10-08 10:20:52 +00:00
rtldg
1f090f9d27 move style_setting_t & license notice 2021-10-08 10:13:16 +00:00
rtldg
1140769b62 fix the replay recording after splitting up the files 2021-10-08 10:08:04 +00:00
rtldg
2e579b82ef move styles loaded forward 2021-10-08 09:54:11 +00:00
rtldg
58da675a7c prevent bots from querying playtime 2021-10-08 09:32:25 +00:00
rtldg
a0bf3b65e9 move style settings into own file 2021-10-08 09:04:45 +00:00
rtldg
93826ddfd8 cache float & int values for faster GetStyleSettings 2021-10-08 08:34:26 +00:00
rtldg
24337ba172 use .inc for shavit-replay-stocks 2021-10-07 20:09:30 +00:00
rtldg
4ad6706b47 fix some shavit-replay errors 2021-10-07 20:05:55 +00:00
rtldg
c33ea7c0d0 move UpdateStepSound stuff to shavit-replay 2021-10-07 19:48:51 +00:00
rtldg
c4783eae37 shavit_misc_staticprestrafe -> shavit_core_staticprestrafe 2021-10-07 19:30:33 +00:00
rtldg
cb3aad5ab4 initial commit for reorganization effort 2021-10-07 19:01:00 +00:00
rtldg
c5d4679c9a add missing sync display in css 2021-10-07 16:48:46 +00:00
rtldg
4e577fbe9b change !ccadd and !ccdelete flag from CHAT to RCON 2021-10-07 15:45:42 +00:00
rtldg
3552f29853 Replace Shavit_GetStyleSetting() in some places 2021-10-07 13:43:09 +00:00
rtldg
d86ac3f434 remove unnecessary TimerStatus casting 2021-10-07 12:25:08 +00:00
rtldg
0ec8bdb92b move charset stuff to GetTimerDatabaseHandle 2021-10-07 09:51:48 +00:00
rtldg
bfbeff6a86
Merge pull request #1084 from Sirhephaestus/patch-3
Spelling error
2021-10-07 05:11:49 +00:00
rtldg
ea419d0481
Merge pull request #1085 from e54385991/patch-1
fix 1.10 compile
2021-10-07 05:11:34 +00:00
rtldg
cf51054460 make rtv change map on novote 2021-10-07 05:09:23 +00:00
e54385991
612c81f01a
fix 1.10 compile 2021-10-07 12:47:50 +08:00
rtldg
4f98303b4c fix !map menu using wrong param for client 2021-10-07 03:54:31 +00:00
rtldg
ae82d9a5ad add shavit_rankings_weighting_limit 2021-10-06 07:14:31 +00:00
rtldg
0164d15910 fix shavit-mapchooser error with novote & rtv 2021-10-06 04:52:12 +00:00
Sirhephaestus
3e6d79942a
Spelling error 2021-10-05 22:39:58 -04:00
rtldg
6c66c70094 test multiple sql connections in shavit-rankings 2021-10-05 16:28:51 +00:00
rtldg
7383cba61f remove duplicate map tier retreival 2021-10-05 16:17:01 +00:00
rtldg
838d33510b make shavit_rankings_weighting 1.0 not use a sql-function 2021-10-05 14:34:01 +00:00
rtldg
235cc9f241 work on improving rankings queries 2021-10-05 11:00:13 +00:00
rtldg
a3e3e0682b add smc_mapvote_printtoconsole 2021-10-05 05:48:08 +00:00
rtldg
9b00e1f16a replace playertimer_t with timer_snapshot_t 2021-10-05 05:31:53 +00:00
rtldg
22a87ce3ee add Shavit_GuessPointsForTime so we can recalc styles only on WR 2021-10-05 04:43:10 +00:00
rtldg
3388c7b5d3 !map without args will show the menu using the smc map list. !map mapname will still use the entire maps folder 2021-10-05 03:00:03 +00:00
rtldg
4f8fd211f3 test speeding up recalc queries 2021-10-04 14:12:47 +00:00
rtldg
523ce285a1 3.0.9a 2021-10-04 14:12:05 +00:00
rtldg
b2a95095e7 3.0.8 2021-10-04 11:40:55 +00:00
rtldg
276d74b968 don't show !map menu when only 1 item 2021-10-04 11:09:37 +00:00
rtldg
afed33e944 add matches-menu to !map 2021-10-04 10:49:02 +00:00
rtldg
e174b95043 adjust dynamic time limit to always multiply average 2021-10-04 10:06:00 +00:00
rtldg
f7fd2af33c use names on bot connect & some changes 2021-10-04 09:42:27 +00:00
rtldg
56852292e0 cleanup shavit-mapchooser change map timers 2021-10-04 08:16:35 +00:00
Sirhephaestus
f425294f54 add sm_reloadmap & sm_restartmap 2021-10-04 06:54:29 +00:00
Sirhephaestus
c3e57b851c Prevent nominate/unnominate if vote is active or finished 2021-10-04 06:47:37 +00:00
rtldg
828240849c Revert "change admin menu permissions used"
This reverts commit e4081a5622.
2021-10-04 04:13:34 +00:00
rtldg
e4081a5622 change admin menu permissions used 2021-10-04 04:09:47 +00:00
rtldg
480dbefabc add this format back because i messed up spectating someone 2021-10-02 10:45:51 +00:00
rtldg
0f250cc780 i broke argless !mapsdone 2021-10-02 04:45:18 +00:00
rtldg
bfdfff0eb1 remove usage of BHStartZoneDisallowed 2021-09-28 08:18:46 +00:00
rtldg
c52eb10755 add ranks to playtime menu 2021-09-28 06:43:35 +00:00
rtldg
e53fb80373 add shavit_misc_spec_scoreboard_order 2021-09-28 05:25:49 +00:00
rtldg
9e99f6a780 typo'd in this 2021-09-28 04:22:19 +00:00
rtldg
4b0b62b3cb print who extended the map 2021-09-28 02:47:31 +00:00
rtldg
53fbae385a add shavit_timelimt_hide321countdown 2021-09-28 02:46:07 +00:00
rtldg
6b2f709320 change the dynamic time limit averaging from row-count to the minimum times thing 2021-09-28 02:14:52 +00:00
rtldg
1dd2b0ede8
Merge pull request #1080 from Sirhephaestus/timer
Add minimum and maximum dynamic timelimit
2021-09-28 02:06:30 +00:00
rtldg
ad48845d62 add shavit_timelimit_hidecvarchange 2021-09-28 02:05:12 +00:00
Sirhephaestus
35de5f5716
Update shavit-timelimit.sp 2021-09-27 21:45:36 -04:00
rtldg
b1a5339910 add shavit_hud_debugtargetname for me :) 2021-09-27 00:01:04 +00:00
rtldg
7375900b83 add map count to tier display string 2021-09-26 11:29:24 +00:00
rtldg
83a572ce96 make alphabetic results follow smc_min_tier & smc_max_tier 2021-09-26 11:27:49 +00:00
rtldg
32f0e50905 i broke !profile 2021-09-25 12:24:19 +00:00
rtldg
797fe65367 angry emoji 2021-09-25 00:28:15 +00:00
Sirhephaestus
468e9bfee9
Update shavit-mapchooser.sp
Add timeleft to HideRTVChat
2021-09-24 20:18:11 -04:00
rtldg
e7bf386d14 handle csgo usp & p2000 better through item definition indexes 2021-09-23 10:27:30 +00:00
rtldg
346d7f903c 3.0.7a -> 3.0.7 2021-09-22 14:10:30 +00:00
rtldg
aa1703ce48 fix description for smc_autocomplete_prefixes 2021-09-22 13:48:25 +00:00
rtldg
44cb918759 some strategic map lowercasings 2021-09-22 06:04:30 +00:00
rtldg
dee57b2c3d fix !hide & your own csgo footsteps 2021-09-22 05:10:51 +00:00
rtldg
2d11d94237 remove unused doublestep +ds/-ds command 2021-09-21 04:38:51 +00:00
rtldg
f23bd4b96c lowercase map names in db 2021-09-21 04:30:59 +00:00
rtldg
0698a9d77e make !mapsdone/!mapsleft steamid work 2021-09-21 03:53:56 +00:00
rtldg
b94caead91 add a mapchooser map results print 2021-09-20 21:11:33 +00:00
rtldg
5a5b868c29 lowercase strings coming from !nominate 2021-09-20 05:05:36 +00:00
rtldg
98ad99af3a stats menu cleanup + style playtime 2021-09-19 23:34:42 +00:00
rtldg
0530a33633 small whitespace fix 2021-09-19 22:40:27 +00:00
rtldg
8b85916201 fix stats menu map completion percentage 2021-09-19 22:37:17 +00:00
rtldg
8dc87f46e8 simplify stats menu gI_Style usage 2021-09-19 22:36:31 +00:00
rtldg
39904383bb Merge branch 'stats_menu' 2021-09-19 22:26:34 +00:00
rtldg
3426b9c73d add some things to make sure the query playtime query is attempted 2021-09-19 22:19:57 +00:00
rtldg
3155e3c15f add some more garbage to mess around with mvp count 2021-09-19 22:01:44 +00:00
rtldg
935f316b65 remove thing that would stop from overflowing regular checkpoints 2021-09-19 21:13:39 +00:00
rtldg
aa3ea6705a make sure to clear zone edits and stuff so we don't duplicate zones 2021-09-19 13:56:06 +00:00
rtldg
4346e10eac small timelimit change that might not change anything 2021-09-19 13:52:47 +00:00
Nukoooooooo
f796eb3544 uhhh ok 2021-09-19 08:13:27 +08:00
rtldg
f4d8e55789 stop endtouch booster abuse on segmented (requires eventqueuefix) 2021-09-17 03:30:14 +00:00
rtldg
031e640552 add some stuff to hopefully fix mvp counts being broken on css and sliding between different players 2021-09-17 02:32:50 +00:00
rtldg
7a1d10685e back to only printing 3,2,1 instead of 5,4,3,2,1 2021-09-17 01:31:47 +00:00
rtldg
5cc0bd300d add -1 as option for smc_mapvote_extend_limit 2021-09-16 00:02:20 +00:00
Nukoooooooo
9308ec3a63 Fixed N% when total map is 0 (ghetto way) 2021-09-16 01:51:39 +08:00
Nukoooooooo
95be6211cc Select the first style if we reopen the menu 2021-09-16 01:17:22 +08:00
Nukoooooooo
3a3b3027e7 Rework stats menu 2021-09-16 01:10:16 +08:00
rtldg
cc4d89cd42 make the votedelay menu stuff for No Vote only save you once so stack overflows dont pop up in the future 2021-09-15 13:21:39 +00:00
rtldg
81055252b9 fix padding with nominations 2021-09-15 12:35:36 +00:00
rtldg
fe076df49e increase zone tempent time further 2021-09-15 00:55:02 +00:00
rtldg
1951ac9a73 some timelimit changes so it instantly changes the map 2021-09-14 08:28:56 +00:00
rtldg
256baa91b8 disable smc_display_timeleft since shavit-timeleft exists 2021-09-14 03:52:38 +00:00
rtldg
3c8bd42561 stop printing float decimal for time-extended 2021-09-14 01:43:35 +00:00
rtldg
00d16405f6 use Transaction2 in more places 2021-09-14 01:43:23 +00:00
rtldg
fbcd691ec6 add sm_extend as alias and change some default admin flags on some vote commands 2021-09-14 00:50:21 +00:00
rtldg
9d1a0e10c0 fix mapchooser print & optional natives 2021-09-14 00:36:15 +00:00
rtldg
e305ad871c fix warnings and mapchooser crash 2021-09-13 13:34:57 +00:00
rtldg
07a55bd250 add track to zone log message 2021-09-13 12:02:57 +00:00
rtldg
70116ba168 nominate delay subtraction was flipped 2021-09-13 10:06:30 +00:00
rtldg
a4b7330625 add smc_nominate_delay 2021-09-13 07:26:15 +00:00
rtldg
fed35516f8 stop showing duplicate maps, add some filler, and error fix 2021-09-13 06:51:56 +00:00
rtldg
54a2d6123d fix stupid remaining & total needed stuff 2021-09-12 10:47:56 +00:00
rtldg
535917d0fc mapchooser changes 2021-09-12 09:18:52 +00:00
rtldg
636b16b7e9 add silly mapchange sound 2021-09-12 06:52:38 +00:00
rtldg
fcab0a7db6 make sure we always fill the tier cache 2021-09-12 05:02:08 +00:00
rtldg
411195e794 mapchooser fixes and qol changes 2021-09-12 02:42:12 +00:00
rtldg
a4bff5cca8 adjust shavit_misc_bhopsounds handling 2021-09-12 00:39:54 +00:00
rtldg
fb14355f9b stop multiple noclip commands from running in the same tick 2021-09-11 20:32:43 +00:00
rtldg
8ce930a0e3 mark Shavit_GetStyleSettingBool as optional for things that don't use bhoptimer 2021-09-11 19:57:47 +00:00
rtldg
7342baabe4 add thing to prevent segmented players from accidentally voting 2021-09-11 10:41:34 +00:00
rtldg
f55419cd10 add more mapchooser cvars and move stuff around 2021-09-11 08:58:28 +00:00
rtldg
49503f71ed increase convar_class default value buffer size 2021-09-11 08:00:54 +00:00
rtldg
f8147a63f3 move eventqueuefix timescaling into timer because carnifex is removing the built-in integration 2021-09-11 01:31:22 +00:00
rtldg
77bf06aa02 speed up !nominate and !map 2021-09-11 00:02:24 +00:00
rtldg
9a45f79348 add smc_rtv_spectator_cooldown 2021-09-10 02:41:42 +00:00
rtldg
1620cd3f30 add mixed maps+zones option to smc_maplist_type 2021-09-09 23:34:51 +00:00
rtldg
dc1f889b5f check if can write to replay folder on map start 2021-09-09 22:41:10 +00:00
rtldg
b6a3406dc3 revert to using RoundToCeil for the smc needed votes thing 2021-09-09 22:12:39 +00:00
rtldg
e8f2819837 add smc_anti_spam 2021-09-09 21:30:11 +00:00
rtldg
277211f6b0 add more people to smc authors list 2021-09-09 21:21:46 +00:00
rtldg
093d66f8b2 some more Shavit_GetMapTier -> Shavit_GetMapTiers 2021-09-09 21:17:27 +00:00
rtldg
9d8a7a4079 trim whitespace 2021-09-09 21:12:45 +00:00
rtldg
776832683d change tier default to 0 2021-09-09 21:11:48 +00:00
rtldg
cfbc059aab change nominate menu title 2021-09-09 21:10:41 +00:00
rtldg
83f2f72238 some speed improvements to nominate menu creation
this may help if you have 6.5k maps 😎😎😎
2021-09-09 21:09:46 +00:00
rtldg
698f1b8648 faster LowercaseString stock 2021-09-09 21:00:00 +00:00
rtldg
c908a90cf8 add smc_prefix 2021-09-09 20:53:29 +00:00
lilac1337
5fa45fb52b if there are 2 people on a server and smc_rtv_required_percentage is over 50, require both players to rtv 2021-09-09 19:55:39 +00:00
rtldg
811a106989 merge smc less-iterations patch 2021-09-09 19:41:27 +00:00
rtldg
27c1dd216c cleanup smc DEBUG usage 2021-09-09 19:22:03 +00:00
rtldg
92dbd1003f use convar_class for auto-filling the plugin cfg 2021-09-09 19:12:37 +00:00
rtldg
1484a0773a add note to shavit-mapchooser forwards 2021-09-09 19:03:12 +00:00
rtldg
c318154607 fix indentation warnings 2021-09-09 18:20:01 +00:00
rtldg
c8a119c3f5 add shavit-mapchooser forwards to shavit.inc 2021-09-09 18:17:19 +00:00
rtldg
f613fb55f1 update plugin info 2021-09-09 18:04:38 +00:00
rtldg
d79cf72559 add shavit-mapchooser from mbhound commit 09558202ce1ab21e3686b6576e21652768d86243 2021-09-09 18:00:55 +00:00
rtldg
1fd509cf52 change GetSpectatorTarget to work with OBS_MODE_POI & OBS_MODE_ROAMING 2021-09-08 20:26:20 +00:00
rtldg
24e6a0b937 fix bullet sound/impact hook 2021-09-08 20:23:08 +00:00
rtldg
ef5bf0c460 only show 'In End/Start Zone' for zones of your track 2021-09-08 17:43:08 +00:00
rtldg
bf9b73180f add !playtime menu 2021-09-07 09:01:26 +00:00
rtldg
d3b285f645 show playtime in !profile 2021-09-07 08:33:56 +00:00
rtldg
e30c46d41c run Shavit_OnDatabaseLoaded on shavit-stats lateload 2021-09-07 08:24:32 +00:00
rtldg
b23542c1d8 let !profile <steamid> work 2021-09-07 08:24:01 +00:00
rtldg
670f220b76 add playtime tracking 2021-09-07 08:13:30 +00:00
rtldg
6818151c4b some zone stuff. sorry commit msg hard 2021-09-07 05:20:59 +00:00
rtldg
b602c57440 add shavit_misc_prespeed_startzone_message for someone special 2021-09-06 19:34:56 +00:00
rtldg
cfa724f738 try to fix tf2 uncrouch spam from limiting velocity 2021-09-05 20:55:53 +00:00
rtldg
addf123025 precache zone stuff sooner in OnMapStart 2021-09-05 19:25:06 +00:00
rtldg
4d03e30e6f add dominatingme symbols for wr holders on a map 2021-09-05 17:42:43 +00:00
rtldg
f10fd5614c add disabled wrs_min removal thing 2021-09-05 16:27:15 +00:00
rtldg
6f87974938 recreate zones in case the entity randomly disappears. might fix a bug? 2021-09-05 16:26:52 +00:00
rtldg
6e3bd85c14 fix tf2 linux bot creation 2021-09-05 15:30:44 +00:00
rtldg
f88885bafc add another parameter to Shavit_OnReplayStart and Shavit_OnReplayEnd 2021-09-02 14:58:18 +00:00
rtldg
c0eaba7b37 still use angles even if setstart pos isn't in start zone 2021-09-02 13:33:04 +00:00
rtldg
f8eb56cd17 unload zones on plugin end (so reloading doesn't leave entities) 2021-09-02 13:18:45 +00:00
rtldg
831d46c4fa remove unnecessary check 2021-09-02 10:58:55 +00:00
rtldg
762c9a1923 swap GetTimerDatabaseHandle2 with Shavit_GetDatabase in a few places 2021-08-31 20:03:59 +00:00
rtldg
8bc2662418 less shitty wrholder queries 2021-08-31 19:58:21 +00:00
rtldg
c25e3404b4 fix mvp star queries not running 2021-08-31 18:45:43 +00:00
rtldg
5eae3f686a remove thing that was wiping !wr menu cache 2021-08-31 17:43:19 +00:00
rtldg
a62a5ca3bb increase zone life to help with flickering with a lot of zones 2021-08-28 21:23:31 +00:00
rtldg
05d50babf4 change string from 'invalid' to 'unknown' 2021-08-28 20:16:42 +00:00
rtldg
fe1d01e1fb add btimes replay support 🤝🤝🤝🤝🤝🤝🤝🤝🤝🤝🤝🤝🤝🤝🤝 2021-08-28 20:16:06 +00:00
rtldg
ea5e6b8535 prebuilt zone cache fixes and menu changes 2021-08-28 17:52:49 +00:00
rtldg
36a468615d add Shavit_SetReplayCacheName 2021-08-28 02:41:33 +00:00
rtldg
c80515496a add !wrn, !wrpre, !wrsw, etc for style commands 2021-08-28 02:27:56 +00:00
rtldg
d8dfef5279 trim some hud code 2021-08-28 01:32:08 +00:00
rtldg
82c1605e94 make !wr menu remember page on back button 2021-08-28 01:11:59 +00:00
rtldg
4440b8d469 make CreateAllNavFiles use valve-fs 2021-08-28 00:41:23 +00:00
rtldg
1954583070 add !ihate!main 2021-08-28 00:39:37 +00:00
rtldg
b893486972 refresh player's cache when their time is deleted 2021-08-28 00:20:40 +00:00