Commit Graph

59 Commits

Author SHA1 Message Date
shavit
2ab6c57e1f Refactored whole plugin to use enum structs
SourceMod 1.10 is now a requirement.
2018-12-24 00:31:50 +02:00
shavit
3f7698f612 Merge branch 'master' into very_good_yes 2018-11-03 14:03:10 +02:00
shavit
ab56836314 added sourcetv checks to replay plugin 2018-11-03 10:26:23 +02:00
shavit
9442746a06 readability oops 2018-10-25 01:43:28 +03:00
shavit
fae99ff8d1 optimized replay writing to do less system calls 2018-10-25 01:42:17 +03:00
shavit
2e216dfad1 fixed replay sync when hitting thin teleports while ducking
tested in bhop_frankerz_999xl to see it doesnt randomly teleport, hope this is good
2018-10-25 01:38:04 +03:00
strafe
378fbda924 Fix newline 2018-10-18 21:10:08 +01:00
shavit
37413dd0d6 Shavit_OnReplayStart Shavit_OnReplayEnd #676 2018-10-10 19:33:52 +03:00
shavit
d1d594503e Dropped dynamic arrays for strings, unless necessary. 2018-09-23 04:16:23 +03:00
shavit
619e7da8f7 Made replay plugin not record more frames after going past time limit. 2018-09-22 23:49:48 +03:00
shavit
54c7e2daf4 Increased shavit_replay_timelimit's default to 2 hours 2018-09-22 23:39:39 +03:00
shavit
99bc8b2e59 Fixed memory leaking in shavit-replay. 2018-09-22 23:29:58 +03:00
shavit
81dbdedfba Added !deletemap (#668) 2018-09-15 17:26:11 +03:00
shavit
e6dc81ef59 Added shavit_replay_botweapon (#659) 2018-09-14 00:11:00 +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
6ccecd8014 code duplication brothers 2018-06-26 19:27:48 +03:00
shavit
2286344b8f Removed frames ArrayList deletion. 2018-05-14 03:17:56 +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
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
8be2d1085c Adjusted replays to record when the timer is running. 2018-05-07 18:25:01 +03:00
shavit
2a4ffbb162 Changed bot flag behavior to remove flags when needed. 2018-05-04 14:34:45 +03:00
strafe
b51460fff3 Copy missing style string in shavit-replay + docs 2018-05-03 12:35:32 +01:00
shavit
799d6ba65b Added replay deletion to admin menu. 2018-05-02 10:30:44 +03:00
shavit
0c59af68f1 Always respect shavit_replay_defaultteam. 2018-05-02 09:45:42 +03:00
shavit
99335a54f2 Fixed memory leak with Shavit_SetReplayData. 2018-05-01 22:25:29 +03:00
shavit
f30a99fa14 Fixed a bug when loading a state after finishing the map. 2018-04-30 13:07:56 +03:00
shavit
49d1dc0deb oops 2018-04-30 12:33:00 +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
4176d68b86 Fixed errors when saving checkpoints on inactive bots. 2018-03-24 01:46:09 +03:00
shavit
8ec7f0004a Disallowed MOVETYPE_WALK to prevent issues with teleports. 2018-02-16 20:03:46 +02:00
shavit
ee7dd0972f Changed collision group of for bots to COLLISION_GROUP_DEBRIS_TRIGGER. 2018-02-16 20:03:25 +02:00
shavit
c9f2e06cc4 Shorten map name length. 2018-02-16 20:02:46 +02:00
shavit
8b3caf405a Removed trigger hooking from replay bots.
Replay bots will hit triggers/doors. This is necessary to fix an issue that recently got reported on Discord.
This will be problematic only in specific maps such as bhop_addict_v2 or kz_bhop_yonkoma, where music plays when the player has finished the map.
2018-02-16 20:02:34 +02:00
shavit
5e3277062f Fixed replay abortion after playback is done. (#592) 2018-02-06 10:29:45 +02:00
shavit
26fc6e0b38 Tweaked movetype/flag adjustments on bots. 2018-02-02 10:59:56 +02:00
shavit
314406c203 Record entity flags and movetypes in replays. (#579) 2018-01-16 12:04:44 +02:00
shavit
03074283ab Changed arg-less !spec to automatically forward to replay bot. (#574) 2018-01-13 09:54:25 +02:00
shavit
59b5664439 Added Shavit_GetReplayBotType and ReplayStatus enum. (#574) 2018-01-13 09:48:23 +02:00
shavit
05258480d5 Added configuration for replay data folder. (#570) 2018-01-10 10:44:47 +02:00
shavit
65abbce252 Fixed an issue where certain replays would not save. 2018-01-03 21:29:27 +02:00
shavit
4f34901613 Fix for replay saving.
Some replays would not overwrite because of disrepancy between record time and frame count. This commit makes it so the replay saves as long as it contains less frames than the old one, which usually results in less time spent running.
2017-12-24 23:39:50 +02:00
shavit
09dee3ce29 Fix issue where new replays get saved even if done with CPs. 2017-12-18 22:57:57 +02:00
shavit
990bbb802d Added slide zones (#558) 2017-12-16 10:27:02 +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
a5a026e8c9 another oops 2017-12-10 01:54:43 +02:00
shavit
3710bfe170 Adjusted replay length. 2017-12-10 01:06:28 +02:00
shavit
1d8d43638b oops 2017-12-10 00:40:03 +02:00