Commit Graph

311 Commits

Author SHA1 Message Date
shavit
90cd1ba53c Fixed shavit_misc_prespeed 4.
Set to 4 and combine with shavit_core_nozaxisspeed 1 to get the same behavior that SourceCode timer has.
2018-09-13 23:06:57 +03:00
shavit
791fc7c3b3 fixed memory leak with cps 2018-09-13 22:41:14 +03:00
shavit
b132ed4e08 pretend you didnt see this 2018-09-13 22:23:57 +03:00
shavit
be0b9e6c44 Added shavit_replay_botplususe (#660) 2018-09-13 22:23:29 +03:00
shavit
5a933fd135 Fixed segmented CPs and made !save match !cp's save behavior. 2018-09-13 22:04:44 +03:00
shavit
a584082fd7 bandaid fix for checkpoint theft exploit 2018-08-10 17:23:55 +03:00
shavit
bb81a61507 kinda fixed csgo hud (untested) 2018-08-10 17:13:55 +03:00
shavit
9d4077d4ba untested but might fix #0 in topleft hud
i can't reproduce the issue on demand unfortunately so this is a gamble
2018-07-10 08:35:00 +03:00
shavit
fbf7736ae1 fixed menu saving 2018-07-09 02:49:36 +03:00
shavit
ea339ed6c7 rewrote some of the save/tele code
for the 100000000th time
2018-06-29 00:50:56 +03:00
shavit
15a36a2e2f cya basevelocity (fix for prediction issue) 2018-06-28 19:12:43 +03:00
shavit
519756bd70 fixed the !save issues 2018-06-28 19:07:37 +03:00
shavit
b6ca23d9f0 reduced size to 32 blablabla yes the usual things sql error nairda 2018-06-26 19:30:18 +03:00
shavit
6ccecd8014 code duplication brothers 2018-06-26 19:27:48 +03:00
shavit
5d3bfc45f5 despacito 2018-06-23 21:47:03 +03:00
shavit
36b4ed4a94 Fixed !save behaving differently from the !cp menu option. 2018-06-23 11:36:33 +03:00
shavit
74239a3639 Fixed wrong classname variable in CP saving. 2018-06-23 11:27:33 +03:00
shavit
682932ed2e Changed velocity in misc to use vecAbsVelocity 2018-06-23 11:26:43 +03:00
shavit
2286344b8f Removed frames ArrayList deletion. 2018-05-14 03:17:56 +03:00
shavit
1cd46a71c2 (untested) Added base velocity saving 2018-05-14 03:16:56 +03:00
shavit
fca8eccdcc Changed ArrayList sizes to 32 bytes instead of cells. 2018-05-14 03:16:00 +03:00
shavit
b2ce7daa46 Retroactively ignore spawn point settings in zone config.
(to prevent errors from users who update from an earlier version)
2018-05-13 23:36:15 +03:00
shavit
67ec34a069 Use correct index for zone config. 2018-05-13 21:21:06 +03:00
shavit
1a07229685 Fixed CS:S spec list not respecting admin visibility cvar. 2018-05-13 21:18:52 +03:00
shavit
37a59f9a90 Fixed top-left HUD not showing correct style/track data. 2018-05-13 21:18:37 +03:00
shavit
f872a39981 Removed viewangle hijacking from CPs as we record real viewangles now. 2018-05-13 21:17:19 +03:00
shavit
26493c85a8 Fixed invalid client error on CP save. 2018-05-13 21:17:00 +03:00
shavit
535fee9785 Changed m_vecAbsVelocity to m_vecVelocity. 2018-05-13 21:16:50 +03:00
shavit
11c1e67933 Added shavit_misc_maxcp and shavit_misc_maxcp_seg. 2018-05-13 21:16:31 +03:00
shavit
cbb1af3bd0 Made CP save targetname/classname, both are very efficient now! 2018-05-13 21:16:06 +03:00
shavit
a572b20b89 Made viewangle recording use verified angles instead. 2018-05-13 21:14:44 +03:00
shavit
49705cf814 Fixed ArrayList ownership. 2018-05-13 21:14:21 +03:00
shavit
a1a318b007 Fixed SQL error on new setups. 2018-05-13 21:14:10 +03:00
shavit
1ba79fcc09 Removed flat zone cvar, added shavit-zones config instead.
Removed custom spawn from cfg to prevent confusions.
2018-05-13 21:13:13 +03:00
shavit
8a98fe96b9 Unrestricted movement when noclipping. 2018-05-09 19:55:15 +03:00
shavit
10f4cd2c2e Fixed percentile rankings being broken. 2018-05-08 22:25:02 +03:00
shavit
dc2eddf83f Fixed duplicated messages and console say. 2018-05-08 20:20:38 +03:00
shavit
3593e5a246 Fixed default colon character, increased MAXLENGTH_NAME. 2018-05-08 19:26:43 +03:00
shavit
a8a581e302 Bumped version to 2.1.3. 2018-05-08 19:04:30 +03:00
shavit
9461c29f71 Added my own minimal implementation of a chat processor.
* Removed Chat-Processor dependency.
* Added cvar `shavit_chat_colon`.
* Fixed inconsistencies with default chat messages.
2018-05-08 19:01:29 +03:00
shavit
b5a41ae4d0 Fixed chat color injection. 2018-05-08 16:31:36 +03:00
shavit
cc6b622d54 Added shavit_hud_speclist for HUD's spectator list.
Who to show in the spectators list?
* 0 - everyone
* 1 - all admins (admin_speclisthide override shavit_misc_speclist to bypass)
* 2 - players you can target
2018-05-08 16:26:53 +03:00
shavit
7e5f9c7c85 Added shavit_misc_speclist for misc's !speclist
Who to show in !specs?
* 0 - everyone
* 1 - all admins (admin_speclisthide override shavit_misc_speclist to bypass)
* 2 - players you can target
2018-05-08 15:58:12 +03:00
shavit
e3c8aaed70 Ensured SCPs with deleted replay data are gone. 2018-05-08 15:51:29 +03:00
shavit
d9222adaa3 Changed clan tag {time} to display only at 1 second or above. 2018-05-08 15:42:53 +03:00
shavit
7b3e61563b Bumped version to 2.1.2 2018-05-07 18:53:31 +03:00
shavit
06250b7fe0 Assigned style ID 0 on connect, merged style gameplay setting updates.
Should solve the out-of-bound error.
2018-05-07 18:53:17 +03:00
shavit
07434d085d Fixed chat printing error. 2018-05-07 18:25:13 +03:00
shavit
8be2d1085c Adjusted replays to record when the timer is running. 2018-05-07 18:25:01 +03:00
shavit
a0c13d466c Fixed possible memory leak. 2018-05-07 18:24:27 +03:00
shavit
2a4ffbb162 Changed bot flag behavior to remove flags when needed. 2018-05-04 14:34:45 +03:00
shavit
2cd0d3e2db Pop up SCP menu when changing from a segmented style. 2018-05-04 14:15:28 +03:00
shavit
f2887fabfa Changed default +left/right block behavior.
* 1 now blocks movement, 2 also stops timer.
2018-05-03 17:00:23 +03:00
shavit
ff31efeaf5 Merge branch 'master' into very_good_yes 2018-05-03 16:00:05 +03:00
shavit
e5ab100053 Fixed checkpoints triggers exploit and bumped version to 2.1.1.
Thanks @SlidyBat :)
2018-05-03 15:58:41 +03:00
strafe
b51460fff3 Copy missing style string in shavit-replay + docs 2018-05-03 12:35:32 +01:00
shavit
4bcfae7e94 Don't show perf% for old records. 2018-05-02 13:54:01 +03:00
shavit
e357131299 Changed weapon removal method. 2018-05-02 12:34:11 +03:00
shavit
8c25086471 Added perfect jump% measuring for scroll styles.
* Added `oldtime` and `perfs` parameters for forwards that missed them.
* Added `iMeasuredJumps` and `iPerfectJumps` to snapshots.
* Added a database migration to add `perfs` column.
* Added perfect jumps% to CS:S keyhint HUD. Not necessary in CS:GO due to annoying limitations.
* Added perfect jumps% to WR menu.
* Added `Shavit_GetPerfectJumps` native.
2018-05-02 12:21:38 +03:00
shavit
8861c388fe Added record count in !delete menu, disabled buttons when unnecessary. 2018-05-02 10:56:21 +03:00
shavit
a82a983b52 Fixed weapon cleanup when dropped by disconnected players. 2018-05-02 10:52:05 +03:00
shavit
799d6ba65b Added replay deletion to admin menu. 2018-05-02 10:30:44 +03:00
shavit
c1b93bfdff Opt-in to per-plugin adminmenu integration rather.
Rather than creating the category via core and then adding items on it.
2018-05-02 10:23:43 +03:00
shavit
fa78e70dbb Fixed manually going to spectator team. 2018-05-02 09:54:15 +03:00
shavit
0c59af68f1 Always respect shavit_replay_defaultteam. 2018-05-02 09:45:42 +03:00
shavit
ee713d829f Respect mp_humanteam in jointeam hook. 2018-05-02 09:45:12 +03:00
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
99335a54f2 Fixed memory leak with Shavit_SetReplayData. 2018-05-01 22:25:29 +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
f30a99fa14 Fixed a bug when loading a state after finishing the map. 2018-04-30 13:07:56 +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
49d1dc0deb oops 2018-04-30 12:33:00 +03:00
shavit
4712edc803 Bumped version to 2.1.0
This is a very quick jump from 2.0.3, but segmented runs were something that was requested for very long time so it's justified.
2018-04-30 12:07:41 +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
41c2136b42 Added Shavit_HijackAngles.
This native hijacks the replay recording so that the current tick will have your desired angles recorded to the replay data.
2018-04-30 11:51:50 +03:00
shavit
499a395baf Added shavit_replay_botshooting.
This cvar can allow you to disable attacking buttons for bots. 0 will make the bots not press mouse1/mouse2 at all. 1 will only allow shooting, 2 will only allow right clicking and 3 will allow everything.
2018-04-30 01:10:51 +03:00
shavit
a03fc893c0 Bumped version to 2.0.3 2018-04-30 00:35:13 +03:00
shavit
f01ff69841 Merge branch 'master' into very_good_yes 2018-04-30 00:34:33 +03:00
shavit
050a77ca0a Merge remote-tracking branch 'origin/master' 2018-04-30 00:34:25 +03:00
shavit
b5f0f7b4c0 Fixed an issue where players get a wrong rank when actually unranked.
Thanks Nairda for finding this!
2018-04-30 00:34:14 +03:00
strafe
e90b847f08 Typos 2018-04-28 17:19:13 +01:00
shavit
fb18240253 Reworked sounds to emit properly in CS:GO. 2018-04-28 09:53:58 +03:00
shavit
b7db4b55c3 Scaled slide zones scale with speed/gravity. 2018-04-28 09:53:33 +03:00
shavit
43727c15fe Micro optimization in spawn point generation. 2018-04-28 09:41:50 +03:00
shavit
f63a05f2a9 Added documentation for Shavit_HasStyleAccess. 2018-04-26 18:59:30 +03:00
shavit
fabc24ca6f Added style permissions. (#622)
* Added `Shavit_HasStyleAccess` native.
* Added `permissions` setting to styles. Use like "p;style_tas" for example. First section is the flag needed, and the second section is the override for it.
2018-04-26 18:56:31 +03:00
shavit
daa04fbf21 Bumped version to 2.0.2 2018-04-19 03:40:20 +03:00
shavit
3681cb2f3d Added shavit_core_defaultstyle.
Usage: style ID. Add an exclamation mark as the prefix to ignore style coookies.
2018-04-19 03:38:16 +03:00
shavit
e2e60bdc70 Code style adaptions. 2018-04-15 21:56:48 +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
a4ecd879b9 Fixed 'to rank' parameter for pecentile ranking. 2018-04-15 21:22:50 +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
shavitush
5ddbbdcede Fixed built-in triggers not saving spawn point before map changes. 2018-03-31 19:38:56 +03:00
shavit
739562216d Fix main track replay HUD looking terrible after the CS:S HUD fix. 2018-03-24 03:02:33 +03:00
shavit
b41db94b87 what the fuck sourcemod
this commit fixes an issue where you sometimes don't see the current chat title selected in the chat ranks menu

why does it happen? i don't know, i have no idea at all..
2018-03-24 03:02:15 +03:00