Commit Graph

758 Commits

Author SHA1 Message Date
shavitush
143ca2b6cc Merge remote-tracking branch 'origin/master' into bugfixes 2017-08-06 11:00:54 +03:00
shavitush
b33174df8d Added new default zone sprite. (#462)
Also made the zone creation preview sprite more translucent and the
grid snap beam white.
2017-08-06 10:51:50 +03:00
shavitush
ab22de5d2f Changed default zone settings/beam. (#462)
The new beam is the new CS:GO beam but without the halo sprite. It looks
as good in CS:S too and the difference is very minor for CS:GO users.
2017-08-06 10:42:08 +03:00
shavitush
da2db39e20 Added 'shavit_zones_usecustomsprite' live changes.
Also added 'sm_reloadzonesettings'.
2017-08-06 10:10:48 +03:00
Unknown
93ae4f4175 Merge remote-tracking branch 'origin/master' 2017-08-05 12:28:40 +02:00
Unknown
9909b5f580 Minor code optimizations 2017-08-05 12:27:58 +02:00
Nickelony
7252d3cce4 Merge branch 'master' into master 2017-08-05 11:45:57 +02:00
Unknown
aacf5fd804 Code optimization + Match the current code style 2017-08-05 11:34:32 +02:00
shavitush
7b736caba8 Fixed unintended behavior in !replay.
Fixed an issue where if you were to start a replay playback, then
insta-regret it by stopping and then replaying - the bot would refuse to
play any new replays.
2017-08-05 08:46:54 +03:00
shavitush
70572acb08 Easybhop zones, refactoring. (#459)
Added zones that force easybhop on players to make maps like pcpie's bhop_X,
pappy's bhop_dangodongo_v2 or even *theoretically* bhop_aux_a9 possible on scroll/stamina styles.

Fixed a bug where zone entities would create themselves twice.
Fixed a bug where zone players wouldn't be marked out of zones after they're deleted.
2017-08-05 07:51:55 +03:00
Unknown
c027cd87e5 Add "shavit_misc_noblood" 2017-08-04 23:08:21 +02:00
shavitush
ba6be29b5d Added style/stylesttings to OnUserCmdPre. (#458)
* Shavit_OnUserCmdPre - the prefix didn't fit to the title.
2017-08-02 21:33:52 +03:00
shavitush
70d1d7ab29 Apply offset while creating a zone. (#452) 2017-08-02 10:49:12 +03:00
shavitush
d075fbb765 Added {rand} for CS:GO. (chat) 2017-08-02 08:19:37 +03:00
shavitush
201fb258fe Adjusted default zone offset to 0.5. 2017-08-02 06:52:08 +03:00
shavitush
28f6b10755 Added "shavit_zones_offset". (#452) 2017-08-02 06:48:37 +03:00
shavitush
884169e771 Added all-chat support.
Also added shavit-chat to smbuild again.
2017-08-02 06:07:19 +03:00
shavitush
ba0923f22a HOTFIX: Fixed memory leak in shavit-stats. (#454) 2017-08-01 21:23:04 +03:00
shavitush
a0668e9da7 HOTFIX: Fixed shavit-replay memory leaks. (#454) 2017-08-01 21:16:44 +03:00
shavitush
223efc4843 Fixed incompatibilty issue with Chat-Processor.
CS:S only - the issue doesn't exist in CS:GO!
Also added myinfo for shavit-chat.
2017-08-01 20:51:50 +03:00
shavitush
8ff72fed0a Chat plugin rewrite. (#436) 2017-08-01 19:13:07 +03:00
shavitush
066f60c057 Added 'Shavit_StopChatSound'. (#448) 2017-08-01 15:52:29 +03:00
shavitush
cdb745214d Added natives to get/set replay frames. #450 #158
*might* cause memory leaks - hopefully not. This is my first time doing
such a thing in SourcePawn.
2017-08-01 15:40:21 +03:00
shavitush
ce377bd64b Added "shavit_misc_restorestates". (#450)
Defaults to 0. It saves the players'
snapshots/postion/angles/velocity/filter names when they die/change
teams and restores it when they spawn.
2017-08-01 14:36:08 +03:00
shavitush
7db2617f96 Return view angles to pre-pause upon resuming. (#449) 2017-08-01 13:57:48 +03:00
shavitush
2f609d3263 Removed admins from spectator lists.
Figured this is a good thing for public servers.

Override is "admin_speclisthide" and needed admin flag is KICK.
2017-07-31 14:00:43 +03:00
shavitush
e4cf24d1c0 SDKHook bots too. 2017-07-31 13:14:07 +03:00
shavitush
ad6256a1fc Made footstep muting work for CS:GO. (#445) 2017-07-31 13:08:49 +03:00
shavitush
c9582393da Added the ability to delete per-track records.
Completes #133.
Update translation files!
2017-07-31 09:44:50 +03:00
shavitush
ddf09c0901 Deleted the web interface.
It's useless. I haven't seen anyone use it yet other than myself, and
thanks to !wr <name> in-game it's really unnecessary.
2017-07-31 09:13:30 +03:00
shavitush
47dcbdbd78 Mute others' gun sounds while hiding. (#445)
Untested, should work though.
2017-07-31 08:57:43 +03:00
shavitush
25345cc5d1 Fixed editing a zone's track.
Also fixed issue with the new footstep muting.
2017-07-31 08:11:08 +03:00
shavitush
1cfb7876ef Added footsteps muting when hiding. (CS:S, #445)
Couldn't find a proper CS:GO solution, sorry.
2017-07-31 06:52:03 +03:00
shavitush
3c7159ab87 Added 'shavit_misc_resettargetname'.
This setting will cause target names to reset upon timer start. This is
a solution to unfair skips.
2017-07-31 05:52:40 +03:00
shavitush
0a3b3ed2d4 Store player targetnames in checkpoints. (#401) 2017-07-31 05:41:34 +03:00
shavitush
cba7578df8 Added duck status saving to checkpoints. (#401)
Also added stamina saving.
2017-07-31 05:33:13 +03:00
shavitush
4902098570 Smoothen last frame of replay playback. (#446)
Now instead of straight up teleporting the bot to the last frame, I
change its velocity to make it as smooth as possible.
2017-07-31 05:20:14 +03:00
shavitush
9f220c0459 Added per-style sv_enablebunnyhopping. (#441)
Recompile all plugins after this commit to avoid weird issues.

The `shavit-styles.cfg` setting is `bunnyhopping`. This allows you to
add a _strafe style.
It does not respect _strafe map settings (they force
sv_enablebunnyhopping to 0) just like the custom airaccelerate doesn't
respect `sv_airaccelerate` changes done by maps.

Removed `shavit_core_forcebunnyhopping`.
2017-07-30 14:01:19 +03:00
shavitush
b46f12621d Reworked per-style airacceleration.
Made it replicate in a smoother way to clients.
Allowed airaccelerate to be a floating value.
2017-07-30 11:55:11 +03:00
shavitush
636b9f7a18 Add AA change message. (#442) 2017-07-30 11:42:07 +03:00
shavitush
3586a02d5c Fix hide cookie not being changed. 2017-07-30 05:41:50 +03:00
shavitush
ef8da0245e Minor optimization. 2017-07-30 04:08:08 +03:00
shavitush
9c697ecdae Use correct bounding box for CS:S. (#424) 2017-07-30 04:07:20 +03:00
shavitush
085e57a067 Adjust replay menu pagination. 2017-07-30 03:46:48 +03:00
shavitush
e5aa147310 Fix replays only working after a plugin reload. (#438) 2017-07-30 01:35:29 +03:00
shavitush
7fc0411131 Added multiple tracks support for replays. 2017-07-29 12:57:56 +03:00
shavitush
dc07ea7f0f Added shavit_stats_mvprankones_maintrack. 2017-07-29 11:09:06 +03:00
shavitush
16a9f3f105 Added multiple tracks support for mapsleft/mapsdone. 2017-07-29 11:03:16 +03:00
shavitush
e903614ca0 Add track to Shavit_OnWRDeleted. 2017-07-29 08:55:33 +03:00
shavitush
5f2ce3b359 Fixed WRName being incorrect for main track. 2017-07-29 08:28:55 +03:00