Commit Graph

114 Commits

Author SHA1 Message Date
rtldg
187e749352 unset gB_Late after use 2021-07-06 08:51:35 +00:00
rtldg
6f058127c4 make all plugins require dhooks so there's error spam due to them not loading 2021-07-06 02:22:35 +00:00
rtldg
00fa237c28 hide flickering hint text when scoreboard is open 2021-07-06 01:56:15 +00:00
rtldg
28e9d4029b add postframes 2021-07-04 10:09:16 +00:00
rtldg
87e64c87c7 add HUD2_VELOCITYDIFFERENCE 2021-06-08 15:39:52 +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
35b61a0abc fix wrong variable being sizeof()'d 2021-05-25 18:53:06 +00:00
GAMMACASE
720251166e
Increase top left wr hud buffer size (#1050) 2021-05-23 08:33:37 +00:00
rtldg
0f37aac00f get all this gamedata stuff working on tf2 2021-05-17 10:51:31 +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
rtldg
9e39c10e28 shavit_hud_timedifference -> shavit_replay_timedifference 2021-04-11 03:36:47 +00:00
rtldg
cb39acc33b remove stylesettings_t and break 3rd party plugins 2021-04-08 21:19:18 +00:00
rtldg
85609db2e6 increase css center keys text buffer 2021-04-07 16:30:01 +00:00
rtldg
efea62a023 mark some forgotten natives as optional 2021-04-07 15:37:14 +00:00
rtldg
eaf2e3b280 less allocations for csgo zone hud 2021-04-06 14:26:47 +00:00
rtldg
aef853a308 fix csgo sm_keys alignment 2021-04-05 17:04:22 +00:00
rtldg
f9060498fb cleaner looking angle normalization for sm_keys direction 2021-04-05 11:18:45 +00:00
rtldg
3750c8edeb some angle diff arrows in keys
WHICH I CAN'T SEE IF IT LOOKS GOOD BECAUSE THE CHARACTERS DON'T SHOW ON LINUX
2021-04-02 18:31:24 +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
cb63c59352 add Shavit_GetReplayButtons() and fix error in #1033 2021-03-21 09:16:07 +00:00
rtldg
9e43f67fc3 add looping, dynamic, and prop replay bots
changed natives:
Shavit_OnReplayStart, Shavit_OnReplayEnd, Shavit_GetReplayBotFirstFrame, Shavit_GetReplayBotIndex,
Shavit_GetReplayBotCurrentFrame, Shavit_GetReplayTime, Shavit_GetReplayStatus, Shavit_StartReplay

added natives:
Shavit_IsReplayEntity

thanks carnifex for telling me how to make replay props
2021-03-19 03:03:24 +00:00
rtldg
bf7f68faec change all menus to display for at least 5 minutes 2021-03-14 00:03:10 +00:00
rtldg
6ff39c0891 hopefully remove velocity difference when timer stopped in csgo 2021-03-13 23:08:10 +00:00
rtldg
8b48ae8c91 add velocity difference
Shavit_GetClosestReplayTime(client, style, track) -> Shavit_GetClosestReplayTime(client)
+ Shavit_GetClosestReplayStyle(client)
+ Shavit_SetClosestReplayStyle(client, style) // to be used eventually for allowing you to change replay style to compare to
+ Shavit_GetClosestReplayVelocityDifference(client, threeD)
+ shavit_replay_timedifference_tick
2021-03-13 08:19:51 +00:00
rtldg
65f58219bd misc changes & stockify GetSpectatorTarget 2021-03-07 03:25:56 +00:00
rtldg
0caa746290 initial DynamicChannels stuff 2021-03-04 10:31:11 +00:00
Nairda
6554740254
useless pr, but KiD asked for it (#1007)
* useless pr, but KiD asked for it

added braces

* yesn't

updated to match the solid very good yes coding style

also, added extra two empty lines at the bottom just in case anything breaks
2021-01-24 19:46:03 -07:00
kidfearless
2f48ddb85a Removed shavit_getstylesettings from shavit-hud 2020-12-04 07:01: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
KiD Fearless
7696670d6d move replay check to actual usage location 2020-11-14 12:45:50 -07:00
KiD Fearless
77676db8ed Tidy up dynamic time difference so that both cheap and expensive methods are available.
dynamic time difference is now disabled by default, and will be using a shortened convar name. it is reccomended that if you do use the cheap method to set it to 2 or 3 as not having an early reference point was the main cause for time skipping.
2020-11-14 07:45:42 -07:00
kidfearless
b7be81f45c
Merge pull request #975 from GAMMACASE/spec_panel_fix
Spectator panel player name truncation improvement
2020-11-10 12:45:13 -07:00
kidfearless
c52c3c3e79
Add account id validation when deleting replays
* Fixed bugs

* Make it optional

* no empty line

* Update shavit-core.sp

* How can I didn't notice this before
2020-11-10 12:40:53 -07:00
Joe
86436b19d2
add turn binds to !keys (#980)
* add turn binds to !keys

* move turn keys to a newline
2020-10-30 16:20:18 -06:00
GAMMACASE
8230d55f3e Improve player name truncation in spec panel 2020-10-19 04:48:18 +03:00
deadw1nter
0cd539dfc4
How can I didn't notice this before 2020-09-17 10:54:03 +08:00
Q
733b9a61e3 Make it optional 2020-08-20 09:57:59 +08:00
Q
d4d51c752d Fixed bugs 2020-08-20 09:44:27 +08:00
KiD Fearless
bdc600fedb Wrap dynamic time difference in shavit-replay library check 2020-08-09 14:01:20 -06:00
Nairda
8fa69f9667
fix another typo (#947) 2020-07-29 17:14:10 -06:00
KiD Fearless
55abd218fc Fix Typo 2020-07-29 12:18:05 -06:00
KiD Fearless
8fe630f7c3 Add convar to enable and disable dynamic time differences 2020-07-23 19:55:55 -06:00
KiD Fearless
22ff805d4f #888 Add Convar for hud settings
also fix compile cause @nairdaa didn't test and neither did I.
2020-07-10 23:26:55 -06:00
Nairda
aa5d688ce1
add hud perf settings (#934)
* add hud perf settings

added option to enable/disable perf ratio from scroll styles

TODO later: 
- add an option to move perf ratio from right hud to main hud.

* Update shavit-hud.sp

* Update shavit-hud.sp

* fix tabbing

Co-authored-by: KiD Fearless <kidfearless1@gmail.com>
2020-07-10 21:55:00 -06:00
kidfearless
48f051f78c
Update very_good_yes from master (#932)
* Add Convar to restrict noclip in start zone

* remove unused translation file

* Require the enum struct size to be passed to natives

This should hopefully prevent Invalid memory access from plugins compiled on older version of the timer. If an enum struct is changed then plugins compiled on older version of the timer will be forced to be recompiled to match the version they are using.

* Fix save states not tracking preframes

Misc. name changes for natives. And a somehow possible exception fixed when getting a record.

* Add hitbox/center mass cvar (#930)

* Add optional cvar for player center of mass/player hitbox for touching zones

* 2.5.7a Final Changes

fix spelling mistake
add missing optional native
tabify spaces

Co-authored-by: Nairda <38843773+Nairdaa@users.noreply.github.com>
2020-07-07 17:37:17 -06:00
KiD Fearless
8f0fd02f32 Merge branch 'very_good_yes' 2020-06-16 21:01:24 -06:00
KiD Fearless
97eb4bfc00 re-add silly percentage 2020-06-16 19:32:06 -06:00
Nairda
d1308939bd
Add dynamic timer difference (#921) 2020-06-10 11:16:15 -06:00
Nairda
747e79f922
eh! (#920)
* Update shavit-misc.sp

* Update shavit-replay.sp

* Update shavit.inc

* Update shavit-misc.sp

* tested... my ass

fuck you sourcemod

* award goes to deadwinter again

L 06/03/2020 - 00:30:18: [SM] Exception reported: Invalid index 47081 (count: 3743)
L 06/03/2020 - 00:30:18: [SM] Blaming: shavit-replay.smx
L 06/03/2020 - 00:30:18: [SM] Call stack trace:
L 06/03/2020 - 00:30:18: [SM]   [0] ArrayList.Get
L 06/03/2020 - 00:30:18: [SM]   [1] Line 1806, D:\steamcmd\css\cstrike\addons\sourcemod\scripting\shavit-replay.sp::OnPlayerRunCmd


Bug fixed.

* oops

* even more bugs ok

* Update shavit-hud.sp
> just merge it, trust me im clueless
- Nairda
2020-06-09 09:46:20 -06:00
deadw1nter
e753b7bdd8
Remove extra prerun frame, Add dynamic time difference (#890)
* Make clearpreframe optional

* Remove extra prerun frame, Add dynamic time difference
2020-04-25 16:13:52 -06:00