Commit Graph

197 Commits

Author SHA1 Message Date
rtldg
7620e23349 make sure persistent data doesn't start paused & fix weapons not being removed & use requestframe(loadpersistentdata) again so events/outputs work & make some errors not be as bad 2021-06-07 14:06:00 +00:00
rtldg
d8619f3ba1 fix {styletag} and remove some unused replay config things 2021-06-02 20:41:27 +00:00
rtldg
02fb3e2f7e unadd chatstrings_t parameter from Shavit_OnChatConfigLoaded because it's not worth having 2021-05-29 02:03:21 +00:00
rtldg
f0f74693b9 use defaultNavMesh as an array of bytes so only one file.Write is needed 2021-05-25 09:29:30 +00:00
rtldg
fc37d22f1d fix parameter ordering in Shavit_GetReplayBotIndex 2021-05-23 16:03:22 +00:00
rtldg
36c395dde7 rename Shavit_GetReplayBotLength to Shavit_GetReplayCacheLength 2021-05-23 15:46:05 +00:00
rtldg
dbe9b9bffb rename Shavit_GetReplayBotFrameCount to Shavit_GetReplayCacheFrameCount 2021-05-23 15:42:35 +00:00
rtldg
0f37aac00f get all this gamedata stuff working on tf2 2021-05-17 10:51:31 +00:00
rtldg
805be91691 gamedata notes 2021-05-14 17:27:18 +00:00
rtldg
3be13005e6 add chatstrings_t param to Shavit_OnChatConfigLoaded. add Shavit_GetStyleStringsStruct. add Shavit_GetChatStringsStruct. 2021-05-08 13:00:19 +00:00
rtldg
a2735d8a2a add kind of jank replay fastforward / rewind 2021-05-08 10:37:26 +00:00
rtldg
3c5fa5e07b add more UpdateStepSound offsets and search strings 2021-05-01 00:10:07 +00:00
rtldg
c734348d63 fix csgo win sig for DoAnimationEvent and allow the replay to work even if the sig is bad 2021-04-16 14:15:11 +00:00
hermansimensen
f6144fdcae Add animations to replay bots. 2021-04-16 01:24:18 +02:00
rtldg
31a3c1bbc4 better replay entity validity checking 2021-04-12 20:03:02 +00:00
rtldg
1d0b38138e move CreateAllNavFiles() out of OnMapStart() 2021-04-11 20:16:39 +00:00
rtldg
14b64147c5 stop kicking central replays 2021-04-11 20:00:24 +00:00
rtldg
7a8c735a28 stop duplicating replay frame buffer when persisting data 2021-04-11 19:37:01 +00:00
rtldg
3dc54c8974 BotAddCommand is thiscall on linux 2021-04-11 15:13:33 +00:00
rtldg
9e39c10e28 shavit_hud_timedifference -> shavit_replay_timedifference 2021-04-11 03:36:47 +00:00
rtldg
57e9072b19 remove bot_quota, disable it, and call BotAddCommand directly 2021-04-11 01:20:06 +00:00
rtldg
f825338079 shh 2021-04-07 15:41:03 +00:00
rtldg
efea62a023 mark some forgotten natives as optional 2021-04-07 15:37:14 +00:00
rtldg
d4012966bd fix when i broke reading older replay frames 2021-04-07 15:16:33 +00:00
rtldg
6113b0c3dc checkpoint code churn 2021-04-05 18:03:19 +00:00
rtldg
02c8af2af2 recreate ClosestPos when using closestpos.ext 2021-04-04 09:09:48 +00:00
rtldg
2d5aec9a3e change RemoveAllWeapons() a bit 2021-04-04 09:07:45 +00:00
rtldg
1af3d7f9ed add testing code for sm_closestpos 2021-04-02 15:12:28 +00:00
rtldg
0448297994 .nav file loading without restarting the map 🤔 2021-04-01 18:00:18 +00:00
rtldg
91ccae3509 add dumb create-all .nav files thing that doesn't work for all the workshop maps which i might make it do eventually 2021-04-01 16:39:33 +00:00
Nairda
cd8bbdf850
update menu drawing time (#1036)
* Update shavit-rankings.sp

* Update shavit-rankings.sp

* Update shavit-hud.sp

* Update shavit-core.sp

* Update shavit-misc.sp

* Update shavit-replay.sp

* Update shavit-stats.sp
2021-04-01 13:44:10 +00:00
rtldg
3a691c1835 replay prop model for tf2 (untested) 2021-03-31 06:33:14 +00:00
rtldg
2beb4dc2ec write nav mesh for potential workshop maps 2021-03-29 14:26:54 +00:00
rtldg
01c0ab9639 preemptively add some stuff for the next replay version format 2021-03-25 04:57:17 +00:00
rtldg
56c3b2af00 +some natives +less resizing for player frames arraylist 2021-03-25 02:05:25 +00:00
rtldg
abb7cbc052 make cloned replay data be owned by the calling plugin 2021-03-25 01:19:21 +00:00
rtldg
807cbc6dfe add some checks so infinite dynamic bots can't be spawned in 2021-03-25 01:18:31 +00:00
rtldg
78ecccf7c4 change some cvar defaults 2021-03-23 10:14:34 +00:00
rtldg
ac784cb7b8 make looping bots spawn when a replay is made 2021-03-23 08:35:52 +00:00
rtldg
dc13f2bdd2 fix replay bugs from bot_quota that only happen on csgo... hopefully this doesn't break it on css now xd 2021-03-23 06:54:25 +00:00
rtldg
84a4f10f22 fix some new replay errors that happen on csgo 2021-03-23 05:45:46 +00:00
rtldg
db575c577b accidentally undid a change 2021-03-22 06:51:27 +00:00
rtldg
916f141c48 rename some variables and stuff 2021-03-22 06:45:02 +00:00
rtldg
8d4ffd443b ReplayStatus/ReplayType -> int. +Shavit_StartReplayFromFrameCache(), +Shavit_StartReplayFromFile(). change replay file reading so i can have a replayfile_header_t which can be used to read stuff in DeleteReplay easier 2021-03-22 05:59:33 +00:00
rtldg
cb63c59352 add Shavit_GetReplayButtons() and fix error in #1033 2021-03-21 09:16:07 +00:00
rtldg
1d4128d874 reorder tickrate grabbing in shavit-replay 2021-03-21 08:37:44 +00:00
rtldg
e9db6dcb02 add Shavit_GetReplayStarter 2021-03-21 02:10:41 +00:00
rtldg
32d5861d04 remove unnecessary if statement 2021-03-19 12:09:50 +00:00
rtldg
c59a2af012 fix some errors in shavit-replay.sp 2021-03-19 10:58:39 +00:00
rtldg
9e43f67fc3 add looping, dynamic, and prop replay bots
changed natives:
Shavit_OnReplayStart, Shavit_OnReplayEnd, Shavit_GetReplayBotFirstFrame, Shavit_GetReplayBotIndex,
Shavit_GetReplayBotCurrentFrame, Shavit_GetReplayTime, Shavit_GetReplayStatus, Shavit_StartReplay

added natives:
Shavit_IsReplayEntity

thanks carnifex for telling me how to make replay props
2021-03-19 03:03:24 +00:00