Commit Graph

350 Commits

Author SHA1 Message Date
rtldg
5fc891d6fa
move velocity_limit logic to work around duck spam 2022-08-07 07:25:20 +00:00
rtldg
898c46379d random things 2022-07-20 15:58:18 +00:00
rtldg
64bd95a73b add a_or_d_only style setting 2022-07-01 13:17:38 +00:00
rtldg
5056917d78 some log messages 2022-06-28 02:16:24 +00:00
rtldg
4486528880 preliminary postgresql support 2022-06-23 09:10:22 +00:00
rtldg
0f44dd1710 add shavit_core_log_sql & remove Database2/Transaction2 methmodmaps 2022-06-13 06:28:46 +00:00
rtldg
09917f91d9 fix adminmenu 2.0 2022-06-07 16:53:01 +00:00
rtldg
8f11f9aaf1
reset speedmod on starttimer since it seems fine 2022-05-29 02:55:26 +00:00
rtldg
ed481b216c don't clone database handle if it's 0 2022-05-26 00:35:58 +00:00
rtldg
7dddfe25f3 make wr menu also print steamids to chat for #1146 2022-05-25 13:01:07 +00:00
rtldg
ef3ca621c4 add more contributors & copyright attributions. mostly done via git blame but also it's also likely i missed some people. 2022-05-25 11:43:57 +00:00
BoomShot
e817a9ada7
Small fix for shavit-core (#1144) 2022-05-21 13:36:22 +00:00
rtldg
53463d8fb9 alternative teleport angle hijack stuff 2022-05-19 08:39:48 +00:00
rtldg
1230bf9266 remove Shavit_Core_CookiesRetrieved 2022-04-15 22:33:08 +00:00
rtldg
fb5c247953 add some checks if shavit-zones is loaded 2022-04-15 15:51:54 +00:00
rtldg
9902b8adac some potential steamid future proofing 2022-04-12 18:42:25 +00:00
Shahrazad
6d208a8595
merge CP menus & shavit-kz.sp, etc. (#1137)
* fix normal CP menu spams on changing the style from non-kz to kz styles

* fix normal CP menu spams on changing from non-kz to kz styles, again

* merge OpenKZCPMenu() into OpenNormalCPMenu() and rename it to OpenCPMenu()

* fix handle error on server restart in KZCP styles

* 1. Added "kzcheckpoints_ontele" and "kzcheckpoints_ontele" style settings(merged in `shavit-kz.sp`).
2. Added "force"(ignore style access) parameter for "Shavit_LoadSnapshot()" and "Shavit_LoadCheckpointCache()".
3. Made "segments" as a style setting instead of special strings.
   (use "segments" as specialstrings is still feasible)

note: maybe better to change TAS's default ranking multiplier to "0.0" since segmented style is also "0.0".

* 😵‍💫

* updated shavit-checkpoints.sp

* updated style-settings.sp
2022-04-11 13:58:18 +00:00
rtldg
ef51513fcc rename CreateInterface gamedata to CreateInterface_Server 2022-03-29 12:47:01 +00:00
rtldg
724244f3e8 stop calculating vel twice 2022-03-14 05:36:58 +00:00
rtldg
80e8480b7a add Shavit_GetReplayEntityFlags & have scroll count work for replay bots (non-prop) #1125 2022-02-24 06:24:33 +00:00
rtldg
89e97dfd3d don't start non-prespeed styles unless on ground for .5s 2022-02-13 20:37:15 +00:00
rtldg
ef5ac148b3 fix lowgrav & ladder combo sometimes breaking for chogi gf 2022-02-09 21:55:13 +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
dd0059f15f use a formula for the max prestrafe 2022-01-19 12:38:27 +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
9434e1395f silent offset messages 2022-01-18 15:06:52 +00:00
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