Commit Graph

345 Commits

Author SHA1 Message Date
shavit
96bf46fdb9 Allow menu to reopen in case of missing frame array.
If you ever see this error happen and know how to reproduce it, report ASAP.
2018-05-01 22:31:04 +03:00
shavit
f8b5b1ef52 Adjusted max segmented CPs to 10.
In order to save server memory when many players are doing segmented runs.
2018-05-01 22:27:05 +03:00
shavit
66a2820808 Fixed segmented CP exploit 2.
Thanks @cytrus224.
You could borrow others' CPs on segmented styles and use their route.
2018-05-01 22:15:03 +03:00
shavit
647701c28d Fixed segmented CP exploit 1.
Thanks @kidfearless.
Bug allowed you to build up speed unintentionally in segmented runs.
2018-05-01 22:10:50 +03:00
shavit
91696294c4 Fixed memory leak and a bug with segmented checkpoints.
The bugs allowed you to save more than 25 segmented checkpoints, and create replay data over the existing data which caused a memory leak.
2018-04-30 12:42:14 +03:00
shavit
afe0a261a7 Added segmented run support with replay integration.
Use `segments` in the `specialstring` property to enable segmented checkpoints.
2018-04-30 12:04:48 +03:00
shavit
43727c15fe Micro optimization in spawn point generation. 2018-04-28 09:41:50 +03:00
shavit
26a5e946cb Reworked gun shot muting behavior + TF2 support.
* TF2 is now supported for gun shot muting.
* The parameter mismatch issue in CS:GO is now fixed.
* Now gun shots will be muted for you only when you use !hide. Everyone else's gun shots except your own and of the player you spectate will be muted.
2018-04-15 21:56:31 +03:00
shavit
de78f1ceb0 Also use m_bDucking for CS:GO. 2018-04-06 03:38:15 +03:00
shavit
7ff9f4e2a8 Fixed teleporting to ducked CPs in both CS:S/CS:GO. 2018-04-06 01:35:34 +03:00
shavit
29df19b1b3 Adjusted misc's description. 2018-04-06 01:34:52 +03:00
shavitush
0f0628719c Added proper ducktime for checkpoints (CS:S). 2018-03-31 19:52:14 +03:00
shavit
431287cd56 Fixed being able to cycle to non-existent CPs. (#607) 2018-03-24 02:01:55 +03:00
shavit
4176d68b86 Fixed errors when saving checkpoints on inactive bots. 2018-03-24 01:46:09 +03:00
shavit
8a7d3d4de0 Fixed targetname exploit.
Thanks Reeve/acer.
2018-03-24 01:42:08 +03:00
shavit
02beaad597 Reverted footstep muting.
Not that great in CS:GO unfortunately, and makes scroll styles unplayable in CS:S
2018-03-15 00:17:41 +02:00
shavit
a01bbefe39 Reset targetname upon restarting with practice mode.
Might not be the ideal solution, hope it is though.
2018-03-10 18:19:05 +02:00
shavit
2ac410926a Added the ability to save CPs from the replay bot. (#525)
This isn't perfect due to limitations, but it motsly works well!

* Surf-HSW styles won't save their WASD settings.
* Stamina will not be valid for scroll styles.
* Strafes/sync won't be saved from the bot.
2018-02-06 11:14:49 +02:00
shavit
34a4f9e4bb Fixed CP saving while not spectating a valid player. (#525) 2018-02-06 11:12:20 +02:00
shavit
5d3034664e Added setting 4 to shavit_misc_prespeed.
It allows you to stop prespeeding after a certain amount of velocity (shavit_misc_prestrafelimit), rather than only limit prestrafing.
2018-02-06 10:42:31 +02:00
shavit
36686e37b0 Fixed restart not removing pause status. (#590) 2018-02-04 15:38:38 +02:00
shavit
7cd9fbef9b Fixed states not applying correctly on style/track changes. (#588) 2018-02-04 10:26:10 +02:00
shavit
bb2571cd08 Add TF2 spawn point generation. 2018-02-04 10:25:27 +02:00
shavit
d7f9ed3186 Remove custom IsNullVector function. 2018-01-26 05:56:24 +02:00
shavit
1eda6a2616 just pretend that the previous commit never existed 2018-01-25 01:45:15 +02:00
shavit
132d3d80e2 Hacky fix for autorespawn.
L 01/24/2018 - 08:49:06: Info (map "bhop_forest") (file "errors_20180124.log")
L 01/24/2018 - 08:49:06: [SM] Exception reported: Invalid data pack handle 11503 (error 4)
L 01/24/2018 - 08:49:06: [SM] Blaming: shavit-misc.smx
L 01/24/2018 - 08:49:06: [SM] Call stack trace:
L 01/24/2018 - 08:49:06: [SM]   [0] DataPack.Reset
L 01/24/2018 - 08:49:06: [SM]   [1] Line 2059, E:\git\bhoptimer\addons\sourcemod\scripting\shavit-misc.sp::Respawn
2018-01-25 01:18:13 +02:00
shavit
917fe7e683 Fixed style changes not restarting with built in zones. (#582) 2018-01-22 18:58:17 +02:00
shavit
757e9de8c6 Fixed zone offset being wrong for point 1 (#585) 2018-01-22 18:33:47 +02:00
shavit
6690947e5f Added track letter ("{tr}") to scoreboard tag. (#584) 2018-01-18 18:24:47 +02:00
shavitush
72bb86eeef Merge remote-tracking branch 'origin/master' 2018-01-17 13:03:13 +02:00
shavit
56d37bb871 Added 'infinite checkpoints' (#575)
* Soft cap is 1000 to avoid going above the set heap size.

Also fixes:
* Adds entity flags to checkpoint data.
* Only sets your movetype to the one in the checkpoint data if it's either the walk or ladder types, so you can save while noclipping but teleport normally.
2018-01-16 11:47:34 +02:00
strafe
7e79b02167 Styling 2018-01-13 13:36:07 +00:00
strafe
623360a02a Account for track when respawning on restart (#554) 2018-01-13 10:58:22 +00:00
shavit
03074283ab Changed arg-less !spec to automatically forward to replay bot. (#574) 2018-01-13 09:54:25 +02:00
shavit
74e3e74f32 Added shavit_misc_jointeamhook 2018-01-03 21:28:27 +02:00
shavit
16cc4caea2 Rewrite clan tag handling. 2017-12-24 23:40:23 +02:00
shavit
f06437084f Added Discord server to README 2017-12-11 09:56:12 +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
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
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
db441dd28c Fixed checkpoint translation/speed. 2017-11-15 02:46:57 +02:00
shavit
934fc5d1e7 Extend checkpoints to work while spectating (#525) 2017-11-15 02:31:05 +02:00
shavit
26acaf57fb Changed default value for shavit_misc_resettargetname (#523) 2017-11-15 01:49:02 +02:00
shavitush
70e885c25f Restructured files. 2017-10-24 01:05:09 +03:00