Commit Graph

127 Commits

Author SHA1 Message Date
shavitush
a9bd3d8827 Fixed caching for styles from core and modules. (#494)
Added `bool manual` to `Shavit_OnStyleChanged`.
2017-10-16 22:04:58 +03:00
shavitush
813a3c2b0a Clone database handle. Add 'Shavit_GetDatabase'.
Shavit_GetDB is now deprecated.
Shavit_OnDatabaseLoaded's parameters are now different.

This will allow plugins to be late-loaded more safely.
2017-09-11 19:01:24 +03:00
shavitush
04bd94854d Added 'Shavit_OnTierAssigned'. (#475) 2017-08-15 03:10:41 +03:00
shavitush
c5ebe2ee5c Updated description for rank natives. 2017-08-12 20:13:45 +03:00
shavitush
f013cf1a44 Fixed a typo. 2017-08-11 17:23:12 +03:00
shavitush
e8325ce9e4 Removed unused forward from rankings.
The forward won't be used at all and I don't plan on rewriting it, as
point recalculation will happens upon command/map change.
2017-08-06 15:27:06 +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
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
a0668e9da7 HOTFIX: Fixed shavit-replay memory leaks. (#454) 2017-08-01 21:16:44 +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
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
7fc0411131 Added multiple tracks support for replays. 2017-07-29 12:57:56 +03:00
shavitush
e903614ca0 Add track to Shavit_OnWRDeleted. 2017-07-29 08:55:33 +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
9b0fc4001a Added Shavit_GetReplayBotStyle(). Fixes #429. 2017-07-28 03:41:19 +03:00
shavitush
f944b3d936 Implemented Shavit_OnUserCmdPre. (#425) 2017-07-28 03:10:13 +03:00
shavitush
02471700b7 Fix merge conflict. 2017-07-28 02:11:30 +03:00
shavitush
f9ef644ac6 Fixed invalid entity issue (#423) 2017-07-26 20:32:41 +03:00
shavitush
375b863adf Removed <dynamic> from shavit.inc. 2017-07-23 21:09:26 +03:00
Unknown
7b9a96909a Add "bonus_velocity" to the style settings 2017-07-18 16:56:20 +02:00
Unknown
c69508700a Add "Minimum Velocity" style 2017-07-17 22:58:37 +02:00
shavitush
f46d5782d5 Added SHSW combinations to snapshots. 2017-07-15 11:40:08 +03:00
shavitush
80554b5bea Removed pagination for 9 (8 in CS:GO) menu items for !replay. 2017-07-15 10:24:50 +03:00
shavitush
9334951f39 Removed the BhopStyle enum. (#389) 2017-07-13 20:06:24 +03:00
shavitush
37f331ba2c Added a central replay bot. (#195) 2017-07-13 19:38:48 +03:00
shavitush
ddce025077 Added sounds for worst record, added Shavit_OnWorstRecord. (#293) 2017-07-13 09:50:54 +03:00
shavitush
c95e8c30f4 Added zone edit capabilities. (#299) 2017-07-13 08:24:02 +03:00
shavitush
1f2392b826 Implemented custom clan tags. (#385) 2017-07-12 21:27:40 +03:00
shavitush
083a1e5078 Implement return values for timer start/end, add Shavit_OnFinishPre (#386) 2017-07-12 20:14:38 +03:00
shavitush
5efbaac5c8 Added track related arguments to natives. (#133) 2017-06-24 12:40:58 +03:00
shavitush
8c2f86394e Implement missing features and forwards. 2017-06-24 02:09:52 +03:00
shavitush
c85f69a27b Rewrite most of the zones plugin. (#161) 2017-06-24 00:27:59 +03:00
shavitush
8aa310714a Add 'velocity' style setting. (#363) 2017-06-17 10:38:21 +03:00
shavitush
d429dd0a78 Implement snapshots for checkpoints/TAS. #313 #158 2017-06-17 09:34:46 +03:00
shavitush
4998739c11 Add 'disable record sounds' to HUD. (#306) 2017-06-05 22:09:40 +03:00
Kryptanyte
b83e2ed71f Custom Spawn 2016-10-04 01:49:23 +13:00
shavitush
477fbb4afa Add chat configurations (shavit-messages.cfg) 2016-09-12 00:02:02 +03:00
shavitush
2d33a2b3b3 Add 'special' property for modular use (#183) 2016-09-11 14:14:20 +03:00
shavitush
bbaf70ec87 Add +strafe blocking property (#159) 2016-09-10 20:11:16 +03:00
shavitush
1b3ace55c8 [config] Add block_pleft and block_pright 2016-09-10 18:14:06 +03:00
shavitush
207f5dee52 fSpeed >> fRunspeed in the repository 2016-09-10 18:00:31 +03:00
shavitush
503c163709 Shavit_OnDatabaseLoaded and late loading core 2016-09-10 17:47:52 +03:00
shavitush
311f5ba146 Add Shavit_GetStyleCount() 2016-09-10 16:53:50 +03:00
shavitush
4387e63baf Fix compilation for shavit-misc 2016-09-10 16:48:54 +03:00
shavitush
a332dd124f Remove references to old style configs 2016-09-10 14:57:03 +03:00
shavitush
9c160b47eb Implement config loader 2016-09-10 14:48:06 +03:00