Commit Graph

324 Commits

Author SHA1 Message Date
rtldg
4167001b5c make block_pstrafe do nothing when autostrafe is enabled 2022-01-15 11:34:10 +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
b4d13836ea remove forgotten chat timescale float print thing 2022-01-13 03:22:18 +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
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
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
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
bff7ace887 more time stopping stuff for times that are too low 2021-12-31 18:58:30 +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
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
53aeec31f2 get more stoptimer confirmation menus working 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
f14ae3a604 ensure timescale-change callback is called on Shavit_LoadSnapshot 2021-12-27 11:03:12 +00:00
rtldg
78b276c350 change comment 2021-12-27 11:03:12 +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
25e6f29e7c change !resume message colors 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
1802dd8007 fix the player_speedmod button disable flags not working (for things like bhop_futile) 2021-12-17 00:56:18 +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
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
86b23b33a2 fix some kz button restarting things & add track param to Shavit_MarkKZMap() & Shavit_IsKZMap() 2021-12-05 01:52:04 +00:00
rtldg
76988a509b seriously no 0s times please 2021-12-03 23:01:44 +00:00
rtldg
c55531168d add Zone_NoTimerGravity and Zone_Gravity 2021-11-28 21:56:05 +00:00
rtldg
d45429127a mess around with StopChatSound stuff 2021-11-22 05:55:39 +00:00
rtldg
f344fddcdf add Loading to zone hud 2021-11-03 10:34:57 +00:00
rtldg
aba539856e merge bhopstats to remove dependency 2021-11-03 09:34:52 +00:00
rtldg
b9c6c47db4 swap #include <shavit> with <shavit/core> 2021-10-28 21:18:53 +00:00
rtldg
2fc7254149 add minimum_time & minimum_time_bonus style settings 2021-10-28 13:53:44 +00:00
rtldg
5312c31253 add SanerGetClientName 2021-10-26 21:35:01 +00:00
rtldg
b54de50c1a mess with some #include's and include-guards 2021-10-25 13:01:38 +00:00
rtldg
b364871df5 add steamid-stocks.inc 2021-10-25 12:40:24 +00:00
rtldg
966ceea5f8 finish splitting shavit.inc 2021-10-18 07:22:50 +00:00
rtldg
4b51bd7116 remove shavit_core_timernozone 2021-10-16 15:44:55 +00:00
rtldg
4e1f2db8ca clarify SayText2 buffer size comment 2021-10-16 04:45:19 +00:00
rtldg
7ca863f04b move sql table creation and migrations 2021-10-10 05:14:37 +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
77265805ac move anti-sv_cheats to own file 2021-10-08 10:30:52 +00:00
rtldg
1f090f9d27 move style_setting_t & license notice 2021-10-08 10:13:16 +00:00
rtldg
2e579b82ef move styles loaded forward 2021-10-08 09:54:11 +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
c4783eae37 shavit_misc_staticprestrafe -> shavit_core_staticprestrafe 2021-10-07 19:30:33 +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
9b00e1f16a replace playertimer_t with timer_snapshot_t 2021-10-05 05:31:53 +00:00
rtldg
44cb918759 some strategic map lowercasings 2021-09-22 06:04:30 +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
00d16405f6 use Transaction2 in more places 2021-09-14 01:43:23 +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
670f220b76 add playtime tracking 2021-09-07 08:13:30 +00:00
rtldg
cfa724f738 try to fix tf2 uncrouch spam from limiting velocity 2021-09-05 20:55:53 +00:00
rtldg
1954583070 add !ihate!main 2021-08-28 00:39:37 +00:00
rtldg
4553286104 stop timescale from being set to 0 2021-08-21 05:31:52 +00:00
rtldg
2b4d77d281 add sql logging define 2021-08-18 15:10:42 +00:00
rtldg
14c10049ce insert prebuilt zones into db so !mapsleft and !loadunzonedmap work better 2021-08-17 14:45:15 +00:00
rtldg
4da5d528a6 short circuit cheat-impulses check sooner 2021-08-17 11:27:39 +00:00
rtldg
6663305cec use GetAngleDiff in another place 2021-08-17 11:18:32 +00:00
rtldg
9f313ee0cf add more !DEBUG wrappers around sv_cheats stuff 2021-08-15 18:36:13 +00:00
rtldg
c5480e7087 adjust parameter count for kill commands 2021-08-15 13:53:29 +00:00
rtldg
140b43dd40 add shavit_core_disable_sv_cheats and make some commands rcon-flag only 2021-08-15 12:15:35 +00:00
rtldg
a521b658c2 track wasn't set for Shavit_OnRestartPre 2021-08-12 14:20:07 +00:00
rtldg
3f14b65cc4 add Shavit_OnRestartPre 2021-08-12 12:46:50 +00:00
rtldg
6c5be61344 try to consistently use lowercase mapnames and PLATFORM_MAX_PATH for mapname buffers 2021-08-08 15:55:09 +00:00
rtldg
176dc76267 remove duplicate GetString from HasStyleSetting 2021-07-30 11:39:18 +00:00
rtldg
fea39ce643 make Shavit_OnDatabaseLoaded run after migration like it's supposed to and attempt to use it for things 2021-07-30 08:17:31 +00:00
rtldg
506076723f try to improve timer accuracy by using ticks*tickinterval instead of time+=gameframetime 2021-07-29 00:25:02 +00:00
rtldg
6c2a48aec5 cleanup some timescaling code 2021-07-28 12:56:19 +00:00
rtldg
7b75eea957 add Shavit_OnStartPre and ignore Shavit_OnStart return value 2021-07-27 08:12:03 +00:00
rtldg
f2d304a918 some pause movement related stuff 2021-07-27 08:11:58 +00:00
rtldg
e6de599808 replay changes. renamed natives, version bump, implementation changes
>Renames:
framecache_t -> frame_cache_t
Shavit_GetReplayBotFirstFrame -> Shavit_GetReplayBotFirstFrameTime
Shavit_GetReplayPreFrame -> Shavit_GetReplayPreFrames
Shavit_GetReplayPostFrame -> Shavit_GetReplayPostFrames
Shavit_GetReplayCachePreFrame -> Shavit_GetReplayCachePreFrames
Shavit_GetReplayCachePostFrame -> Shavit_GetReplayCachePostFrames
Shavit_GetPlayerPreFrame -> Shavit_GetPlayerPreFrames

>Removed:
Shavit_GetPlayerTimerFrame
Shavit_SetPlayerTimerFrame
cp_cache_t.iTimerPreFrames

Replay format version bumped to distinguish old replays that had a bad iFrameCount from postframes.

Some unnecessary ArrayList writing in SaveReplay() has been removed.

shavit-replay.sp:Shavit_OnStart should be more readable now and will also hopefully now prevent some situations where script-execution could time-out due to wiping lots of frames.

Replay bots will now freeze at the end of a replay more smoothly now and not teleport for the last frame.
2021-07-25 16:29:29 +00:00
rtldg
5a12dd7502 move shavit_core_debugoffsets out of preprocesser DEBUG check 2021-07-22 12:42:29 +00:00
rtldg
4f704a2fe4 -1 all completions in the db 2021-07-22 10:49:16 +00:00
OliviaMourning
af8ab48fc9 add shavit_core_pause_movement stuff
Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2021-07-22 08:49:55 +00:00
rtldg
a6be0127ee add exact_time_int to playertimes to deal with floating point imprecision 2021-07-11 07:16:00 +00:00
rtldg
a05c15e5d7 lower minimum forwardmove/sidemove values for hsw 2021-07-09 13:16:44 +00:00
rtldg
3024982fe1 add SteamIDToAuth stock 2021-07-07 01:46:33 +00:00
rtldg
f2d396d61e bigger buffer for shavit_core_debugoffsets messages 2021-07-06 06:38:16 +00:00
rtldg
00a866bf59 add some shavit-styles.cfg index error checking 2021-06-15 17:45:33 +00:00
Nairda
178deb5b21
remove capital i (#1058)
from the range as it can be mistaken with lower case L
2021-06-14 18:32:25 +00:00
rtldg
acbcd86f18 remove some ambiguous characters from wipeplayer alphabet string 2021-06-14 17:16:53 +00:00
rtldg
69ca0af31b try to not get people stuck paused in the start zone 2021-06-14 17:16:10 +00:00
rtldg
02fb3e2f7e unadd chatstrings_t parameter from Shavit_OnChatConfigLoaded because it's not worth having 2021-05-29 02:03:21 +00:00
rtldg
5feea645c4 ugly shavit_core_timeinmessages fix 2021-05-25 10:57:11 +00:00
rtldg
3be13005e6 add chatstrings_t param to Shavit_OnChatConfigLoaded. add Shavit_GetStyleStringsStruct. add Shavit_GetChatStringsStruct. 2021-05-08 13:00:19 +00:00