Commit Graph

745 Commits

Author SHA1 Message Date
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
shavitush
7a325a41b5 Add a more complete version of bonuses. 2017-07-29 08:21:14 +03:00
shavitush
67caaf8d07 Barebones bonus timer. 2017-07-29 06:46:49 +03:00
shavitush
c385adb50d Added shavit-common.phrases.txt, made tracks be grabbed dynamically. 2017-07-29 05:27:27 +03:00
shavitush
ec8c8264ab Minor optimization in GetRankForTime. 2017-07-28 21:34:06 +03:00
shavitush
1573385823 Allowed reloading of shavit-core. 2017-07-28 21:22:23 +03:00
shavitush
217f1d5bef Allowed shavit-zones to be reloaded while the server is running. 2017-07-28 21:12:03 +03:00
shavitush
bfcc337598 Allowed shavit-wr to be reloaded while the server is running. 2017-07-28 21:09:29 +03:00
shavitush
7063e86cfa Fixed bot teleporting to last frame of a replay randomly. (#416) 2017-07-28 20:55:00 +03:00
shavitush
c996e29982 Added some checks to make sure the bot will not float around (UNTESTED, #416). 2017-07-28 20:47:07 +03:00
shavitush
69b621bdb1 Remove debugging. 2017-07-28 20:37:34 +03:00
shavitush
c47903e11e Format seconds now. (#414) 2017-07-28 20:00:41 +03:00
shavitush
7a25dedadb Fix invalid handle. 2017-07-28 07:20:48 +03:00
shavitush
08fb809619 Clean up handles in shavit-replay. 2017-07-28 07:19:28 +03:00