Commit Graph

1607 Commits

Author SHA1 Message Date
rtldg
f474a944ae option whether to draw !keys in the center or menu for csgo 2022-01-11 07:54:31 +00:00
rtldg
e1e404714b delete shavit-info 2022-01-11 07:23:57 +00:00
rtldg
91241c235c make sure that onstop forward runs 2022-01-11 05:43:44 +00:00
rtldg
573e97e9dc hsw shouldn't track strafes on w 2022-01-10 19:41:18 +00:00
rtldg
ec881bbae5 some final touch ups 2022-01-09 19:28:37 +00:00
rtldg
cf7c1d85bb something that might let people unrtv after a non-rtv'd mapvote 2022-01-09 18:35:45 +00:00
rtldg
0adf03b575 no decimal for timedifference when >= 60 2022-01-09 14:05:58 +00:00
rtldg
918cfde75d i don't want to see 'Timeleft: 1 minutes' 2022-01-09 13:53:11 +00:00
rtldg
46550e7a83 extend some hud stuff 2022-01-09 13:48:39 +00:00
rtldg
7675b60567 hud forward stuff 2022-01-09 10:48:48 +00:00
rtldg
b11b82b286 update some random strings 2022-01-07 16:52:12 +00:00
rtldg
f4d2d6d653 fix memory leak in spec_next/spec_prev listener. thx @Ciallo-Ani 2022-01-07 16:19:43 +00:00
rtldg
590d1fb290 adjustments to !pb 2022-01-07 15:44:22 +00:00
NukoOoOoOoO
3be3b4e3b2
Implementation of !pb / !time (#636) (#1108)
* Initial implementation of !pb / !time

* Lowercase map name
2022-01-07 14:41:55 +00:00
rtldg
fbdfc7bbea check if valid index of course :) 2022-01-05 21:11:50 +00:00
rtldg
0cc406c962 add 0.5x playback for replay bots 2022-01-05 21:08:26 +00:00
rtldg
871f59c235 save persistent data on ForcePlayerSuicide() / kill / CommitSuicide() 2022-01-05 12:18:45 +00:00
rtldg
776d32b0ef fix NoPlayers trace filter used for IsSurfing 2022-01-05 08:50:30 +00:00
rtldg
85c1617658 adjust specialstring style key setting 2022-01-05 08:14:26 +00:00
rtldg
fa58b0f7fe add shavit_chat_enabled 2022-01-05 04:54:57 +00:00
rtldg
0286df9edd miscellaneous tas fixes 2022-01-04 17:36:59 +00:00
rtldg
9c4f626076 fix Shavit_GetZoneID :^) 2022-01-04 15:41:43 +00:00
rtldg
3a87717250 correct tas style settings names 2022-01-04 14:56:12 +00:00
rtldg
3816aa3646 add something for tas jumping out of the start zone with a 0 offset 2022-01-04 14:50:50 +00:00
rtldg
baa824e872 add Shavit_GetZoneTrack, Shavit_GetZoneType, and Shavit_GetZoneID 2022-01-04 14:25:51 +00:00
rtldg
e8e8f71657 rename some tas things & give style settings per feature 2022-01-04 13:31:42 +00:00
rtldg
a115632b7b add chat messages for tas commands 2022-01-04 08:04:27 +00:00
rtldg
58dbd6d1c3 don't hook tas PostThinkPost for bots 2022-01-04 07:51:23 +00:00
rtldg
c089b3af9d add tas-feature toggle commands 2022-01-04 07:46:17 +00:00
rtldg
b25afa84a3 reopen tas settings menu to correct page 2022-01-03 18:48:23 +00:00
rtldg
d2763d337b add missing timescale handler for the tasmenu 2022-01-03 17:59:36 +00:00
rtldg
ccb0caee7b add edge-jumping to tas 2022-01-03 17:59:21 +00:00
defiy
4880735a71 use different way of setting velocity in tas-oblivious to help with boosters boosting too much (like on bhop_ragequit) 2022-01-03 07:58:17 +00:00
rtldg
527864b426 try to prevent annoying autojump spam 2022-01-03 07:51:37 +00:00
rtldg
240caba1a2 tas & timescale menu changes 2022-01-03 07:40:49 +00:00
defiy
6bc371e940 handle +duck for autogain 2022-01-02 17:42:35 +00:00
rtldg
3b5ed62b28 add sm_tasm alias 2022-01-02 17:26:56 +00:00
rtldg
b34a4e6677 add key overrides to tas menu 2022-01-02 17:26:29 +00:00
rtldg
42c4550df5 fix autogain not starting where you're aiming from 0 velocity 2022-01-02 17:04:47 +00:00
rtldg
c9c6a333a4 make all these tas functions stocks 2022-01-02 16:21:21 +00:00
rtldg
ba5ad21661 add tas settings menu & missing autojump natives 2022-01-02 15:40:59 +00:00
rtldg
da172f07aa tas credits & override fixes 2022-01-02 14:46:44 +00:00
rtldg
576c773134 finish adding apis for tas & such 2022-01-02 14:13:09 +00:00
rtldg
8a9fe14274 lowercase style settings that are set from specialstring 2022-01-02 13:23:53 +00:00
rtldg
1633201e16 put xutax & oblivious autostrafe types behind style setting 2022-01-02 12:33:42 +00:00
defiy
e3ed6027ca add oblivious autogain tas & prestrafe stuff 2022-01-02 12:17:55 +00:00
rtldg
2fa06031de shape into shavit-tas 2022-01-02 11:49:00 +00:00
XutaxKamay
1ce6acc5f4 xutax autostrafer stuff 2022-01-02 11:18:39 +00:00
rtldg
d83b62c070 change how we check for segments in shavit-checkpoints 2022-01-02 06:45:34 +00:00
rtldg
794c379bf2 add menu parameter to Shavit_OnCheckpointMenuMade 2022-01-02 06:42:48 +00:00
rtldg
578dd01e1a add +/- timescale to checkpoints menu 2022-01-02 05:54:41 +00:00
rtldg
0c91c19ba6 trim whitespace & add licenses 2022-01-01 10:15:28 +00:00
rtldg
168968800d add missing MarkNativeAsOptional for Shavit_GetReplayFolderPath 2022-01-01 10:15:28 +00:00
BoomShotKapow
0775d10d81 Add default parameters to stock function 2022-01-01 10:15:28 +00:00
rtldg
ae0145430a remove some sourcemod 1.11 warnings 2022-01-01 10:15:18 +00:00
BoomShotKapow
3348e54316 SourceMod 1.11 dev changes & Query -> Query2 2022-01-01 10:12:53 +00:00
rtldg
005f7d97f6 use dhooks.inc from sourcemod-1.11.0-git6837 2022-01-01 07:58:10 +00:00
BoomShotKapow
b17979aad0 Minor fix to KillAllZones 2022-01-01 07:18:07 +00:00
EvanIMK
4ec8a620be add Shavit_IsClientUsingHide() 2022-01-01 07:13:31 +00:00
rtldg
73d21ea9d1 set everything in specialstring as regular style keys 2022-01-01 07:12:10 +00:00
rtldg
ee7e13579f correct internal buffer sizes used for GetStyleStrings 2022-01-01 06:49:33 +00:00
rtldg
870c62a8c9 don't tele on style-change while dead & fix !r while dead not respawning 2022-01-01 05:02:09 +00:00
rtldg
f193679a9d get all the tas_timescale stuff working PERFECTLY 2021-12-31 19:00:58 +00:00
rtldg
8e0736e3d3 add prespeed_ez_vel 2021-12-31 18:58:30 +00:00
rtldg
bff7ace887 more time stopping stuff for times that are too low 2021-12-31 18:58:30 +00:00
rtldg
a750753a62 show toplefthud when spectating idle central !replay bot 2021-12-31 18:58:30 +00:00
rtldg
c00865c9ee make debug targetname thing a !hud option instead of cvar 2021-12-31 18:58:30 +00:00
rtldg
94b3c41f41 bump replay file version since end-zone-offset is now being used correctly for playertimes.... 2021-12-30 11:29:32 +00:00
rtldg
431fd18ecb make shavit-hud update topleft on track change 2021-12-30 10:17:14 +00:00
rtldg
cd2a74240a make style/track change callbacks actually change before calling 2021-12-30 10:17:01 +00:00
rtldg
900083b321 make ihatemain & advertisements silent messages 2021-12-30 09:25:14 +00:00
rtldg
0a99f06ff4 mess around with the timer starting & restarting code 2021-12-30 09:24:12 +00:00
rtldg
01a2e616a6 make smc_display_timeleft display time until map vote in chat 2021-12-30 07:53:28 +00:00
rtldg
8827864fb8 delay wrhrank queries since they're slow and block all the other queries which is very annoying for me since it's like a 4s query so i just sit there waiting for my cookies & such to load 2021-12-29 21:33:16 +00:00
rtldg
c177dfb671 combine wr & leaderboard queries 2021-12-29 21:11:19 +00:00
rtldg
43d6a31ac0 make shavit-wr validmaps query union mapzones&playertimes 2021-12-29 19:58:10 +00:00
rtldg
426d6af3c5 add some notes deleting some handles returned from natives 2021-12-29 19:31:12 +00:00
rtldg
ede141d8c0 recalc on wr delete & remove recalc on map end 2021-12-29 19:06:23 +00:00
rtldg
4c46975584 remove unnecessary query 2021-12-29 18:13:32 +00:00
rtldg
345d6bf28e cleanup mvp test stuff that i think didn't work 2021-12-29 18:10:19 +00:00
BoomShotKapow
94d8d91a82 fix wrholderrank table creation error with versions of mysql 8.0 (#1097) 2021-12-29 11:40:13 +00:00
rtldg
cd91255c52 make timer_countdown_timescale = fTimescale * style_timescale 2021-12-29 11:39:57 +00:00
rtldg
35391f36d1 make stoptimer confirmation menu work with styles and add some more forwards 2021-12-29 09:24:18 +00:00
rtldg
62c2a26e48 make spectate command use !spec handler 2021-12-29 09:24:18 +00:00
rtldg
53aeec31f2 get more stoptimer confirmation menus working 2021-12-29 09:24:18 +00:00
rtldg
aa7887ecf4 make some of these admin menus reopen 2021-12-29 09:24:18 +00:00
rtldg
caeb35febd make GetStyleSettingBool check float instead of int 2021-12-29 09:24:18 +00:00
rtldg
4aac85d3fd add some tas_timescale stuff and stuff kid-tas 2021-12-29 09:23:57 +00:00
rtldg
1509e77728 hopefully stop timer commands menu from being wiped on plugins reload 2021-12-29 08:55:20 +00:00
Nairda
fff864ffba
update sm_save & sm_tele descriptions to match readme (#1102) 2021-12-27 11:13:10 +00:00
rtldg
f89816449a add !prevcp, !nextcp, and !deletecp 2021-12-27 11:06:45 +00:00
rtldg
f14ae3a604 ensure timescale-change callback is called on Shavit_LoadSnapshot 2021-12-27 11:03:12 +00:00
rtldg
c68d50a4d0 show 'Refresh menu' on every zone menu page 2021-12-27 11:03:12 +00:00
rtldg
78b276c350 change comment 2021-12-27 11:03:12 +00:00
rtldg
3c59adce57 all valve_fs search-paths from maps folder reader 2021-12-22 08:16:34 +00:00
rtldg
223611d7a9 make cleaner !profile queries 2021-12-22 08:16:28 +00:00
rtldg
396f2017c5 add prespeed_type, blockprejump, nozaxisspeed, and restrictnoclip as available style settings 2021-12-21 00:38:14 +00:00
rtldg
7ca35b908b Revert "shavit_misc_staticprestrafe -> shavit_core_staticprestrafe"
This reverts commit c4783eae37.
2021-12-21 00:38:06 +00:00
rtldg
a79016397a wrap CalculateRunTime offset stuff in cvar check 2021-12-21 00:33:45 +00:00
rtldg
03c3af1a4f it's fine to have all the speedmod stuff in a post hook 2021-12-21 00:33:45 +00:00
rtldg
4b711b1fab add Shavit_GetReplayFolderPath_Stock 2021-12-21 00:33:45 +00:00
rtldg
25e6f29e7c change !resume message colors 2021-12-21 00:33:45 +00:00
rtldg
2e627fe3e2 update velocity-difference if pause-movement is enabled 2021-12-21 00:33:45 +00:00
rtldg
a146b51fb1 gimp Shavit_OnTimeIncrement and adjust tick->time stuff 2021-12-21 00:33:45 +00:00
rtldg
39c9d96924 don't do zone offset stuff on mins/maxs if the offset is bigger than the zone's x/y half-distance
xc_fox_shrine_japan_v1 will crash if i make a 16unit zone at the top (maybe elsewhere too?) so that's why this was added.
2021-12-21 00:33:45 +00:00
rtldg
6952bab715 add some unused zone things until i get around to messing with it more 2021-12-21 00:33:45 +00:00
rtldg
1802dd8007 fix the player_speedmod button disable flags not working (for things like bhop_futile) 2021-12-17 00:56:18 +00:00
rtldg
51427be3e9
Merge pull request #1094 from BoomShotKapow/master
Minor changes to replay-recorder
2021-12-16 10:21:59 +00:00
BoomShot
de1d1d5145
Fix isBestReplay being out of order 2021-12-16 04:08:13 -06:00
BoomShot
c14b133a42
Update documentation for Shavit_OnReplaySaved (#1) 2021-12-16 04:01:17 -06:00
rtldg
a8016dff00 update scoreboard/clantag more often 2021-12-15 12:57:51 +00:00
rtldg
6573e0cbbc add shavit_misc_resetclassname_main and such 2021-12-15 01:57:57 +00:00
rtldg
254eea7780 skip function stuff if shavit_rankings_weighting = 1 2021-12-14 11:26:27 +00:00
rtldg
c36bac0c84 move the perf measuring & bOnGround setting back since it's problematic with resetting stamina and I don't want to add another variable for if we were on the ground in the tick or something like that 2021-12-14 11:03:20 +00:00
rtldg
07de010a28 skip delay if we skip seconds on a replay bot 2021-12-11 04:11:52 +00:00
rtldg
0db2b30a77 base strafe count on input vel instead of buttons 2021-12-07 08:27:05 +00:00
rtldg
8830035af5 move strafe & perf measuring to OnPlayerRunCmdPost 2021-12-07 08:15:22 +00:00
rtldg
729f060f91 add shavit_core_save_ips if you don't want ips 2021-12-07 06:00:36 +00:00
rtldg
2316fac678 just use snapshot since that's what gA_Timers[] are made of 2021-12-07 05:53:20 +00:00
rtldg
04eea994d8 allow any number of kz buttons 2021-12-07 05:37:49 +00:00
rtldg
86b23b33a2 fix some kz button restarting things & add track param to Shavit_MarkKZMap() & Shavit_IsKZMap() 2021-12-05 01:52:04 +00:00
rtldg
f02ac94bbf let you press climb_endbuttons without being on the ground 2021-12-05 00:52:48 +00:00
rtldg
1946de926b move some more things into maps-folder-stocks.inc 2021-12-05 00:24:31 +00:00
rtldg
76988a509b seriously no 0s times please 2021-12-03 23:01:44 +00:00
rtldg
29d50b69c1 fix logic for easteregg ranks now that !ranks & !chatranks are merged 2021-12-01 22:22:25 +00:00
rtldg
2015027ed6 select track>0 because group by track>0 2021-12-01 04:34:50 +00:00
rtldg
616de1ce97 make sure some handles are deleted by littering deletes everywhere 2021-11-30 03:03:11 +00:00
rtldg
4fef03f925 remove new db connection stuff 2021-11-29 06:36:42 +00:00
rtldg
f5652c641e don't print practice mode warning when teleporting to practice mode checkpoint while already in practice mode 2021-11-29 05:02:19 +00:00
rtldg
f3ec01870b don't display stop confirmation when in practice mode 2021-11-29 04:46:47 +00:00
rtldg
2067dc7c38 change zones.cfg parsing to jump to keys instead of hoping they're in order 2021-11-29 04:34:23 +00:00
rtldg
c55531168d add Zone_NoTimerGravity and Zone_Gravity 2021-11-28 21:56:05 +00:00
rtldg
e32b79c941 make the setmaptier query not error 2021-11-28 06:02:20 +00:00
rtldg
b6a81e04e3 add some missing min/max cvar values 2021-11-28 04:15:28 +00:00
rtldg
64088b6147 fix !wr <mapname> matches menu giving the wrong map 2021-11-28 03:54:52 +00:00
rtldg
20dd2a9665 might help with '0.0%-0.1%' chat ranks 2021-11-28 03:35:34 +00:00
rtldg
6d21e25679 add some scuffed code to let you !settier N bhop_different_map 2021-11-28 03:08:41 +00:00
rtldg
4d1a0b5eb3 print steamid to chat when using !profile <otherplayer> 2021-11-28 02:23:32 +00:00
rtldg
f8f336d21a finish up this crusty code that'll use mapchooser maps in !profile 2021-11-28 01:54:25 +00:00
rtldg
79cd7f1225 add more things to anti-sv_cheats command list 2021-11-27 20:24:46 +00:00
rtldg
3c5958eb93 add some hacky menu stuff so the zone returns after hitting exit on the zone-edit menu 2021-11-27 20:19:38 +00:00
rtldg
183e758971 make recent-records use the cvar properly 2021-11-27 04:45:48 +00:00
rtldg
3574080e8e remove decimal from this cvar that doesn't use it 2021-11-27 03:21:50 +00:00
rtldg
c89e1d4400 use shavit-mapchooser list for some shavit-stats stuff 2021-11-22 19:41:18 +00:00
rtldg
d45429127a mess around with StopChatSound stuff 2021-11-22 05:55:39 +00:00
rtldg
910c253b8f
Merge branch 'master' into patch-18 2021-11-22 05:46:17 +00:00
rtldg
b78a6ec4ec draw start & end zone when !r or !end 2021-11-22 05:41:28 +00:00
Nairda
86747ac16c
translation phrase change to make more sense 2021-11-22 06:37:01 +01:00
rtldg
86a19a559c break out of loops after finding player 2021-11-22 05:26:04 +00:00
rtldg
fb62419006 stop tracking styleplaytime when dead 2021-11-22 04:34:59 +00:00
rtldg
bc978b6add send message to target player after !ccadd 2021-11-22 03:27:10 +00:00
rtldg
ad837a7d24 remove nomination on disconnect 2021-11-16 00:14:55 +00:00
rtldg
da734db699 add some stuff so we can use mapchooser's maps in mapsleft/mapsdone 2021-11-15 18:54:31 +00:00
rtldg
a2003f72c8 forgot to delete all_maps 2021-11-14 22:48:18 +00:00
rtldg
693e1ce641 OnClientPutInServer -> OnClientConnected to help prevent race condition 2021-11-14 22:04:34 +00:00
rtldg
cdb4b5746e add Shavit_GetMapsArrayList and Shavit_GetMapsStringMap 2021-11-12 23:16:51 +00:00
rtldg
30935885d4 merge !ranks and !chatranks 2021-11-12 21:21:21 +00:00
rtldg
473273627e make ccname not have an empty name 2021-11-12 20:06:10 +00:00
rtldg
9534fd5881 make !sp take priority over !addspawn 2021-11-12 19:36:07 +00:00
rtldg
ba05d685c4 Revert "remove !addspawn & !delspawn since we have !sp now"
This reverts commit 4b4773f8a5.
2021-11-12 19:24:30 +00:00
rtldg
8ce9cd97b4 fixup some gun spawning stuff 2021-11-12 19:02:31 +00:00
rtldg
4b4773f8a5 remove !addspawn & !delspawn since we have !sp now 2021-11-12 16:45:56 +00:00
rtldg
4e16365991 disable setting force_timescale automatically on timescale 2021-11-11 21:00:16 +00:00
rtldg
07b165b3ad fix css perfs not showing if sync not enabled 2021-11-08 21:36:30 +00:00
rtldg
bd596bec75 add sm_addzone & sm_delzone aliases 2021-11-08 15:58:46 +00:00
rtldg
64414f61e0 misc sql changes 2021-11-08 15:29:34 +00:00
rtldg
7e04e840c4 mess around with the csgo hud a bit 2021-11-06 13:55:41 +00:00
rtldg
30574923e5 add untested climb_zone_ parsing 2021-11-06 13:52:04 +00:00
rtldg
3485ed02e6 make AddHUDLine use a reference for iLines 2021-11-04 23:13:55 +00:00
rtldg
3295e23553 add some wip hud forwards & csgo !keys stuff 2021-11-04 23:06:27 +00:00
rtldg
48d8e01769 add kzcheckpoints_ladders style setting 2021-11-04 16:46:16 +00:00
rtldg
361826908e lower the minimum_time when prespeed is set 2021-11-04 14:55:08 +00:00
rtldg
f344fddcdf add Loading to zone hud 2021-11-03 10:34:57 +00:00
rtldg
03d44c9d23 adjust !keys alignment 2021-11-03 09:52:27 +00:00
rtldg
aba539856e merge bhopstats to remove dependency 2021-11-03 09:34:52 +00:00
BoomShotKapow
70ca6ace3d Add a native for getting Shavit's replay folder path for personal replays 2021-11-03 08:20:52 +00:00
rtldg
0e3c4e274e use updated ClosestPos stuff to not search preframes or postframes 2021-11-02 21:22:20 +00:00
rtldg
bce7c04afe add matches to !wr menu 2021-11-02 20:11:00 +00:00
rtldg
04c8cb8a85 remove shavit_checkpoints_experimental_segmented_eyeangle_fix / shavit_misc_experimental_segmented_eyeangle_fix 2021-11-02 19:32:51 +00:00
rtldg
d9a0714622 hijack angles on setstart restart 2021-11-02 19:32:07 +00:00
rtldg
9cb2298764 add !tptozone 2021-11-02 18:51:47 +00:00
rtldg
a68b21e9bd add !drawallzones/!drawszones & shavit_zones_allowdrawallzones 2021-11-02 18:21:14 +00:00
rtldg
c2ea042a6c remove unnecessary increment 2021-11-02 16:54:14 +00:00
rtldg
3c46d9c257 add something to migrate cvars from shavit-replay and shavit-misc 2021-11-02 15:55:33 +00:00
rtldg
709887d5ff remove some unused files 2021-10-29 01:33:04 +00:00
rtldg
b9c6c47db4 swap #include <shavit> with <shavit/core> 2021-10-28 21:18:53 +00:00
rtldg
d95771f9b4 readd shavit.inc as includes includer 2021-10-28 21:09:48 +00:00
rtldg
7e55e7d8ea move shavit.inc to shavit/core.inc 2021-10-28 21:09:22 +00:00
rtldg
5e91ded7b5 rename some checkpoint cvars & ensure shavit-replay-recorder generates cfg 2021-10-28 19:52:43 +00:00
rtldg
98505fd999 lower minimum_time to 3.75 2021-10-28 14:50:51 +00:00
rtldg
2fc7254149 add minimum_time & minimum_time_bonus style settings 2021-10-28 13:53:44 +00:00
rtldg
862d5e8c7b enable time difference by default because I'll include the closestpos ext in release zips 2021-10-28 11:58:10 +00:00
rtldg
f61ea0f070 fix name changes not showing up in chat 2021-10-27 19:13:22 +00:00
rtldg
8b4fdf3f34 touch up TrimTrailingInvalidUnicode() a little 2021-10-27 19:02:25 +00:00
rtldg
0591499471 make sure default pistol is given on cookiescached 2021-10-26 21:40:17 +00:00
rtldg
5312c31253 add SanerGetClientName 2021-10-26 21:35:01 +00:00
rtldg
8a31bc84aa replace shavit_misc_weaponsspawngood with !hud settings. also add default-pistol thing 2021-10-26 20:41:18 +00:00
rtldg
b5d8ad6e9a make sure changing map tier recalcs points 2021-10-26 15:37:50 +00:00
rtldg
2fb61d4807 remove .i from style_setting_t
should be faster this way
2021-10-26 14:23:58 +00:00
rtldg
184f157c25 make the AFTER sql stuff only happen on mysql 2021-10-25 13:04:18 +00:00