Commit Graph

86 Commits

Author SHA1 Message Date
strafe
623360a02a Account for track when respawning on restart (#554) 2018-01-13 10:58:22 +00:00
shavit
65abbce252 Fixed an issue where certain replays would not save. 2018-01-03 21:29:27 +02:00
shavit
5810dbc806 Micro-optimization to shavit-wr 2018-01-03 21:28:50 +02:00
shavit
74e3e74f32 Added shavit_misc_jointeamhook 2018-01-03 21:28:27 +02:00
shavit
f092b76f7b Hotfix for error log spam. 2017-12-30 05:08:03 +02:00
shavit
ebb3203c05 Added native zones support (#491)
CPs aren't implemented because the timer itself doesn't support them.
2017-12-30 05:06:33 +02:00
shavit
dd4234ae00 Added SnapToGrid function to make code cleaner. 2017-12-30 04:11:14 +02:00
shavit
2c30ef252e Changed grid snap's visualization. (#569) 2017-12-30 03:21:41 +02:00
shavit
fd06555188 Fixed prestrafe limit being wrong.
290 is apparently the accepted absolute maximum, so yeah.
2017-12-30 03:21:17 +02:00
shavit
16cc4caea2 Rewrite clan tag handling. 2017-12-24 23:40:23 +02:00
shavit
4f34901613 Fix for replay saving.
Some replays would not overwrite because of disrepancy between record time and frame count. This commit makes it so the replay saves as long as it contains less frames than the old one, which usually results in less time spent running.
2017-12-24 23:39:50 +02:00
shavit
2a6b3182d5 Rewrite autobhop code.
This commit uses a different method of autobhop.

Benefits over the old one:
* Doesn't break with unusual trigger_push setups (i.e. bhop_arcane_v1, bhop_cutekittenz, bhop_ml - or any map with badges' "unbreakable boosters" prefab).
* Doesn't modify the usercmd, therefore other plugins can see the jump button being in use.
2017-12-23 16:37:14 +02:00
shavit
4681e82e90 Fixed nonsense with KZ button hooking. 2017-12-20 09:18:56 +02:00
shavit
56fee65f34 Re-do points calculation.
This new method fixes LOTS of issues with the old one. Now it also is more "dynamic" and is simpler to use.
I have to note that it also takes approximately 14% of the time to execute relatively to the old method.
2017-12-18 23:00:02 +02:00
shavit
1c807bc79f Fix issue with HUD's style cache not updating properly. 2017-12-18 22:58:32 +02:00
shavit
09dee3ce29 Fix issue where new replays get saved even if done with CPs. 2017-12-18 22:57:57 +02:00
shavit
2a6b046652 Fix !hud consistency 2017-12-18 22:57:18 +02:00
shavit
48b66f09ef Reverted this change I forgot to remove in first place.. 2017-12-16 10:53:03 +02:00
shavit
990bbb802d Added slide zones (#558) 2017-12-16 10:27:02 +02:00
shavit
225dd2fadf Fixed "n records" in WR menu capping at shavit_wr_recordlimit 2017-12-11 21:21:33 +02:00
shavit
596934c735 Fixed shavit-wr's cvars being respected as bool instead of int (#535) 2017-12-11 20:46:07 +02:00
shavit
f06437084f Added Discord server to README 2017-12-11 09:56:12 +02:00
shavit
8ddf59a1c2 Source Engine 2013 changes. 2017-12-10 09:51:42 +02:00
shavit
cfde142e92 Added TF2 support. (#549)
Tested most of the things in-game, should be good to go!
2017-12-10 09:30:08 +02:00
shavit
a5a026e8c9 another oops 2017-12-10 01:54:43 +02:00
shavit
3710bfe170 Adjusted replay length. 2017-12-10 01:06:28 +02:00
shavit
ff8e20c44f Add chat message about entering an anti-cheat zone (#548) 2017-12-10 00:53:46 +02:00
shavit
1d8d43638b oops 2017-12-10 00:40:03 +02:00
shavit
b5181473b0 Fixed potential memory leak. 2017-12-10 00:39:03 +02:00
shavit
70c2c8e73e Workaround for WR deletion when rounding issues happen. 2017-12-10 00:34:31 +02:00
shavit
2f8be00a24 Added dynamic zone settings.
If you edit the plugin to add more zone tracks, now their zone settings will be respected too. To use this feature, copy the zone settings from the first one to the last one of each track, rename and modify. i.e. the diff for shavit-zones.cfg in this commit.
2017-12-10 00:29:34 +02:00
shavit
938b0d4f02 Added zone track enforcing (shavit_zones_enforcetracks) (#547) 2017-12-10 00:27:18 +02:00
shavit
a64b07d031 Fixed wall snapping not respecting grid snap (#541)
Not that great for maps where the mapper did a shitty grid setup. Use cursor position setup for those.
2017-12-10 00:04:27 +02:00
shavit
697fa9c5e7 Adjusted query priority (#542) 2017-12-09 23:37:49 +02:00
shavit
3b947e9b30 Added sSpecialString (specialstring) to style config (#543) 2017-12-09 23:35:41 +02:00
shavit
5b34eaf3a4 Fixed compilation on SourceMod 1.9 2017-12-09 23:24:35 +02:00
shavit
d26ad819a6 Adjusted snapshots' behavior and timer start conditions
It feels smoother now, nothing major.
2017-12-01 00:05:56 +02:00
shavit
30acc1ec65 Fixed locking issue in replay 2017-11-28 18:53:46 +02:00
shavit
712afbbf20 Reimplemented Native_GetReplayLength 2017-11-25 11:59:11 +02:00
shavit
e36d917f6d Update table creation queries. 2017-11-23 22:20:33 +02:00
shavit
1d84cfe866 Default convar usage changes, see commit description.
`shavit_misc_prespeedlimit`'s behavior was changed and is now `shavit_misc_prestrafelimit`. The value determines the maximum allowed prestrafe in the start zone *added* to the style's run speed. So i.e., Scroll can prestrafe up to 280 (in reality, 278) and Normal can up to 290.

The default settings for `shavit_core_blockprejump` and `shavit_misc_prespeed` were changed due to this commit.
`shavit_misc_createspawnpoints`'s default setting was changed to 6 as 32 didn't make much sense.
2017-11-22 18:24:45 +02:00
shavit
d0075a6115 Update WR deletion to properly delete new format replays. 2017-11-22 18:16:34 +02:00
shavit
42ee76c742 Added new natives and complete replay bots. (#537) 2017-11-21 12:24:21 +02:00
shavit
d20839218c New replay bot format (#434) and some of #537 2017-11-21 11:28:57 +02:00
shavit
cb250ee861 CallOnStyleChanged() where needed (#536) 2017-11-21 03:05:59 +02:00
shavitush
d371d99ff3 Fixed !rr selecting wrong row content. (#532) 2017-11-19 01:53:09 +02:00
shavitush
d443726fe3 Fixed issues with long names in !rr menu. 2017-11-19 01:43:38 +02:00
shavitush
af4a007c81 Fixed wrong WR count. (#532) 2017-11-19 01:34:32 +02:00
shavitush
5a51b109ac Fix recent HSW issues. (#529) 2017-11-19 01:03:47 +02:00
shavitush
da2d08d9fe Allow all movements on ladders. (#530) 2017-11-19 00:59:29 +02:00