Commit Graph

1607 Commits

Author SHA1 Message Date
Nairda
120f82eaf4
add test_ to default mapchooser exclusion list (#1121)
add default "test_" maps to be excluded from being shown in nominations and mapvotes
2022-02-10 20:14:29 +00:00
rtldg
22c9e50ed7 remove some warnings & TODOs 2022-02-09 22:28:16 +00:00
rtldg
2ef8407292 add note to SanerGetClientName & sourcemod 1.11 2022-02-09 22:16:14 +00:00
rtldg
ef5ac148b3 fix lowgrav & ladder combo sometimes breaking for chogi gf 2022-02-09 21:55:13 +00:00
rtldg
44eb29e27c some random error about a null checkpoints array comes up sometimes
L 01/24/2022 - 17:51:57: [SM] Exception reported: Invalid Handle 0 (error: 4)
L 01/24/2022 - 17:51:57: [SM] Blaming: shavit-checkpoints.smx
L 01/24/2022 - 17:51:57: [SM] Call stack trace:
L 01/24/2022 - 17:51:57: [SM]   [0] ArrayList.Length.get
L 01/24/2022 - 17:51:57: [SM]   [1] Line 1088, D:\sourcemod-1.10.0-git6528-windows\addons\sourcemod\scripting\shavit-checkpoints.sp::OpenNormalCPMenu
L 01/24/2022 - 17:51:57: [SM]   [2] Line 949, D:\sourcemod-1.10.0-git6528-windows\addons\sourcemod\scripting\shavit-checkpoints.sp::OpenCheckpointsMenu
L 01/24/2022 - 17:51:57: [SM]   [3] Line 787, D:\sourcemod-1.10.0-git6528-windows\addons\sourcemod\scripting\shavit-checkpoints.sp::Command_Checkpoints
2022-02-09 21:23:15 +00:00
rtldg
0bde3c42b6 add some random things to prevent stupid small replay files from trying to load or save 2022-02-09 20:50:49 +00:00
rtldg
0c459505c8 don't disable detour if detour was never enabled 2022-02-09 20:38:42 +00:00
Nairda
253321ced6
stats exploit
fix exploit allowing to "farm" playtime while spectating
2022-02-04 04:05:24 +00:00
rtldg
a0153de9f8 don't let mp_humanteam get in the way of jointeam 1 (for css spectate menu prompt on first join) 2022-02-04 02:21:28 +00:00
rtldg
987eebb3b0 draw perfs keyhint even in startzone so the hud doesn't resize constantly 2022-02-01 19:20:19 +00:00
rtldg
9a5ff64fc5 add speedmod & lagged movement values to debug targetname hud thing 2022-01-31 20:49:08 +00:00
rtldg
26dfdcc927 invert this duck autogain nsl boolean 2022-01-29 15:30:36 +00:00
rtldg
d335ec7262 v3.1.2 2022-01-28 17:19:29 +00:00
rtldg
0000000146 csgo can have non-string values in the variant of AcceptInput for player_speedmod 2022-01-22 18:06:40 +00:00
rtldg
0000000868 use Plugin_Stop instead of Plugin_Handled in command-listener 2022-01-21 08:39:08 +00:00
rtldg
0000000b2b Revert "update scoreboard/clantag more often" -- css scoreboard update interval is 1s
This reverts commit a8016dff00.
2022-01-20 16:50:39 +00:00
rtldg
00000008fd make sure the z isn't scaled just in case for prespeed_ez_vel 2022-01-20 18:45:34 +00:00
rtldg
dd0059f15f use a formula for the max prestrafe 2022-01-19 12:38:27 +00:00
rtldg
b042a6c170 v3.1.1 & CHANGELOG.md 2022-01-19 11:09:53 +00:00
rtldg
345461a838 hijack angles when autoprestrafing 2022-01-19 09:41:09 +00:00
rtldg
894ecdff48 make sure the DumbSetVelocity only happens if we scale prespeed speed 2022-01-19 09:41:09 +00:00
rtldg
117d2d277c set snapshot.fplayer_speedmod when checkpointing a bot so players don't get stuck 2022-01-19 09:41:08 +00:00
rtldg
7a11acf2e6 remove points_calced_from since it should only update on wr now so it's unnecessary 2022-01-19 09:41:01 +00:00
rtldg
b3b7de37e2 trim out some unnecessary point recalculations 2022-01-19 01:24:03 +00:00
rtldg
aef89e9bb4 add awful prestrafe limit thing because tas autoprestrafe on 128 tick goes slightly higher than 290.0 2022-01-18 17:55:03 +00:00
rtldg
01a62b5d6b hopefully save oldyaw for tas better 2022-01-18 15:56:56 +00:00
rtldg
9434e1395f silent offset messages 2022-01-18 15:06:52 +00:00
rtldg
37a3a63bad small edits to shavit-tas 2022-01-18 15:05:18 +00:00
rtldg
fda843a09f add !hideweps alias 2022-01-18 14:43:01 +00:00
rtldg
bacc5672fc remove auto-find-offsets cvar for m_surfaceFriction since it has false positives 2022-01-18 14:41:20 +00:00
rtldg
c8c87347a5 move the tas setting defaults below the specialstring setter stuff 2022-01-15 17:12:40 +00:00
rtldg
d1b2ffd461 normalize angle difference just in case 2022-01-15 13:02:45 +00:00
NukoOoOoOoO
e43c011711
basic autostrafe (#1114) 2022-01-15 12:56:38 +00:00
rtldg
062efd4772 prefix expected rank with # 2022-01-15 12:54:00 +00:00
rtldg
ecbc7edca2 add back reset checkpoints option when tas menu stuff 2022-01-15 12:49:09 +00:00
rtldg
3d40d4f809 add !adverts 2022-01-15 12:19:17 +00:00
rtldg
6d296caf36 make pb menu usage a bit nicer and less buggy 2022-01-15 12:08:01 +00:00
rtldg
2909a38179 fill replay name with steamid by default 2022-01-15 11:41:54 +00:00
rtldg
4167001b5c make block_pstrafe do nothing when autostrafe is enabled 2022-01-15 11:34:10 +00:00
rtldg
6c88f45ba0 make sure we wrap a shavit-mapchooser native in a check for the module being loaded 2022-01-14 08:11:40 +00:00
rtldg
9adc56e284 something to not print the timer message prefix space thing if there's no prefix 2022-01-13 17:50:36 +00:00
rtldg
4d9f3f9a1b move this tas vel change into an else statement 2022-01-13 12:43:52 +00:00
rtldg
ac9b204ffd only 1 decimal for timescale in menu 2022-01-13 03:29:11 +00:00
rtldg
b4d13836ea remove forgotten chat timescale float print thing 2022-01-13 03:22:18 +00:00
rtldg
6921f38214 make most of the timeleft messages silent 2022-01-11 11:41:57 +00:00
rtldg
cdd8c56a5e v3.1.1a 2022-01-11 11:04:40 +00:00
rtldg
0133300a40 v3.1.0 2022-01-11 10:14:39 +00:00
rtldg
b4b79d2159 update topleft on when changing spectatee 2022-01-11 10:13:28 +00:00
rtldg
5d47c2dd1b make !times open pb menu 2022-01-11 09:47:52 +00:00
rtldg
150bd15b55 move !extend to shavit-timelimit 2022-01-11 09:44:39 +00:00
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