Commit Graph

171 Commits

Author SHA1 Message Date
rtldg
6386098a00 initial EndTouchFix stuff 2021-04-30 21:31:51 +00:00
rtldg
ecc2d8d2c0 use the wr table view in some more places 2021-04-30 07:30:45 +00:00
rtldg
b2cfc88651 limit buffer size for SayText2 2021-04-10 12:03:38 +00:00
rtldg
cb39acc33b remove stylesettings_t and break 3rd party plugins 2021-04-08 21:19:18 +00:00
rtldg
28f10b8899 fix bug that causes the last style to parse twice (and register command callbacks twice) 2021-04-08 15:18:20 +00:00
rtldg
5c772b06e3 hopefully fix checkpoint timescale stuff 2021-04-07 17:21:53 +00:00
rtldg
a0a74b8eaa too tired for commit messages but i promise this is a good one and if you're not satisfied then we will fully refund your purchase of the bhoptimer 2021-04-07 05:36:15 +00:00
rtldg
d272aae97b bad thing to not let you pause while crouching 2021-04-06 18:10:59 +00:00
Nairda
cd8bbdf850
update menu drawing time (#1036)
* Update shavit-rankings.sp

* Update shavit-rankings.sp

* Update shavit-hud.sp

* Update shavit-core.sp

* Update shavit-misc.sp

* Update shavit-replay.sp

* Update shavit-stats.sp
2021-04-01 13:44:10 +00:00
rtldg
7117b38038 reset stamina on landing for easybhop so you don't have to change sv_staminalandcost on csgo for stamina scroll stuff 2021-03-23 12:29:57 +00:00
rtldg
19c5ccb7f3 add sm_ccadd and sm_ccdelete 2021-03-22 09:42:03 +00:00
rtldg
1c4438911d remove use of MAX_NAME_LENGTH_SQL (32) and replace with MAX_NAME_LENGTH (32) 2021-03-19 02:39:27 +00:00
rtldg
bf7f68faec change all menus to display for at least 5 minutes 2021-03-14 00:03:10 +00:00
rtldg
a89e306322 add message about !m/!main 2021-03-11 09:46:49 +00:00
rtldg
17847d7cb0 add more setstart cmds, add anglesonly for floating bonuses, add missing create table, fix some sql ordering 2021-03-11 09:37:48 +00:00
rtldg
96ee05b5aa add sm_main/sm_m 2021-03-11 08:20:18 +00:00
BoomShot
e6b3baae81 Maintain user's current track when restarting
Previously, the timer would send you to the main start zone every time a player used sm_r, so now it'll send them to their respective track.
2021-03-11 00:00:30 -05:00
rtldg
ad9581ce2e add sm_b%d for bonuses and sm_s%d for stages 2021-03-11 02:09:23 +00:00
rtldg
e08a1bf952 rename player_speedmod_AcceptInput to DHook_AcceptInput_player_speedmod 2021-03-08 22:27:37 +00:00
rtldg
6db6b5f3cf fix player_speedmod & timescaled styles interacting 2021-03-08 01:52:08 +00:00
rtldg
ee11fa10d4 add Shavit_DeleteWR. refactor run deletion & wipeplayer 2021-03-04 05:53:41 +00:00
rtldg
9d26e5cddb add sm_fling back for testing whoops 2021-03-04 05:29:28 +00:00
Joe
b62352835f
Merge branch 'very_good_yes' into delete_replay 2021-03-01 02:12:30 +00:00
Joe
d3eede84f8
no sm_fling in timer 2021-03-01 02:01:12 +00:00
Joe
27dfcd740f add timestamp to finish-forwards. add Shavit_ShouldSaveReplayCopy and Shavit_OnReplaySaved 2021-02-27 19:39:21 +00:00
Joe
a6ff5dd94c
Avg and max velocity (#1017)
Adds Shavit_GetAvgVelocity(), Shavit_GetMaxVelocity(), Shavit_SetAvgVelocity(), Shavit_SetMaxVelocity().
Adds `float avgvel, float maxvel` to Shavit_OnWorldRecord, Shavit_OnFinish_Post, Shavit_OnFinish, Shavit_OnWorstRecord.
Adds avg/max velocity to cp_cache_t and timer_snapshot_t
Prints avg/max velocity to run-finish message.
2021-02-27 18:33:07 +00:00
Joe
ee2ed22af0 fix forward param count 2021-02-26 19:25:35 +00:00
Joe
f869498af3 fuck 2021-02-26 19:19:51 +00:00
Joe
e38eceedbe remove preframes from avg vel calc 2021-02-26 19:17:32 +00:00
Joe
5351e49e76 spread avg/max velocity into as many places as possible 2021-02-26 18:28:40 +00:00
Joe
7b2fb3be65 store avg/max velocity in persistent data & cpcache 2021-02-26 17:53:42 +00:00
Joe
71e804420c change avg/max velocity to work off frames 2021-02-26 17:34:29 +00:00
Joe
07e07fd7c8 fix typos for avg/max velocity 2021-02-26 02:46:08 +00:00
KiD Fearless
f84e271c55 Add SetStyleSetting Natives #877 2021-02-25 18:28:08 -07:00
deadw1nter
32336e5ab6 Merge remote-tracking branch 'upstream/very_good_yes' into delete_replay 2021-02-24 10:44:29 +08:00
Joe
d4893ec713 add Shavit_GetAvgMaxVelocity() and hope for best 2021-02-23 05:32:13 +00:00
Joe
4087ba778d
block s on regular hsw (so you can't shsw...) (#973)
* block s on regular hsw (so you can't shsw...)

* block shsw on hsw while still allow S to stop

* also remove IN_FORWARD when removing IN_BACK

i hope these commits are squashed so nobody sees these

* remove unnecessary bStop variable for shsw
2021-02-21 16:20:55 -07:00
KiD Fearless
590b70dd2f Sent players movetype to none to prevent movement processing, don't allow paused players to finish the map
Thanks acer for the report
2021-01-13 10:22:18 -07:00
KiD Fearless
dc57d481f8 Change Shavit_GetStyleStrings to use style keys 2020-12-29 11:12:31 -07:00
kidfearless
f997d4e544 implement force_timescale in configs 2020-12-14 15:12:22 -07:00
kidfearless
b2da978f73 re-work shavit-core to use GetStyleSetting stocks. Log error when using Shavit_GetStyleSettings. 2020-12-14 15:02:59 -07:00
kidfearless
1011629ec4 Add helper natives for Shavit_GetStyleSetting 2020-12-04 07:36:24 -07:00
kidfearless
69efd6c5e8 use smcparser for style loading 2020-12-04 06:49:15 -07:00
kidfearless
db27bdce14 Added Shavit_GetStyleSetting, deprecated Shavit_GetStyleSettings 2020-12-01 08:43:06 -07:00
Joe
a1e60b39fa
Multiple bonuses (#982)
* cleanup GetTrackName()

* a few more changes to change mod_zone_bonus & add Track_Bonus_Last

* fix undefined symbol sTrack

* fixup !bwr for multiple bonuses

* fix GetTrackName() after I broke it

* add bonus number param to help text of sm_bwr

* fix !wr after I broke it adding !bwr [bonus number]

* ignore checkpoint zones for now because nothing is ready for them

* update points for bonus #2 through #8 at same time

so instead of something like `9 (track count) * 22 (style count)` queries, it'll do `3 (main, bonus1, rest of bonuses) * 22 (style count)` queries and the rest of the bonuses on the recalc all in the same query
2020-11-30 09:40:45 -07:00
Joe
3d670a7812
allow !resume when not on the ground (#966)
* allow !resume when not on the ground

* block !pause if moving / velocity != 0.0
2020-11-30 09:36:05 -07:00
KiD Fearless
06addf326f Implement the ProcessMovment forwards 2020-11-23 13:56:30 -07:00
KiD Fearless
069450d443 remove unused variable 2020-11-22 09:54:34 -07:00
KiD Fearless
7a3efcfe6b Revert "Remove The Loop"
This reverts commit 60599ee95d.
2020-11-21 14:33:04 -07:00
KiD Fearless
60599ee95d Remove The Loop 2020-11-20 17:46:26 -07:00