rtldg
506076723f
try to improve timer accuracy by using ticks*tickinterval instead of time+=gameframetime
2021-07-29 00:25:02 +00:00
rtldg
fdc5c1e82e
add more DEBUG profiler to shavit-replay closestpos stuff
2021-07-28 20:13:36 +00:00
rtldg
aff3f95813
add shavit_misc_experimental_segmented_eyeangle_fix
2021-07-28 06:11:16 +00:00
rtldg
1f3502a708
use SwapAt instead of GetArray/SetArray -rellog
2021-07-26 08:35:53 +00:00
rtldg
c57479a8a1
adjust iFrameCount for preframes
2021-07-26 07:34:14 +00:00
rtldg
eb5d4cfc5d
shift preframes down instead of creating a new arraylist
2021-07-26 07:13:57 +00:00
rtldg
1f2cc6a003
some comment updates
2021-07-25 19:30:50 +00:00
rtldg
99c3a7cc5e
actually for real fix bots sometimes not doing a jump animation
2021-07-25 18:03:25 +00:00
rtldg
f1751fe74b
remove debugging PrintToConsole
2021-07-25 16:38:09 +00:00
rtldg
374f4e6c04
fix bots sometimes not doing a jump animation
2021-07-25 16:36:32 +00:00
rtldg
e6de599808
replay changes. renamed natives, version bump, implementation changes
...
>Renames:
framecache_t -> frame_cache_t
Shavit_GetReplayBotFirstFrame -> Shavit_GetReplayBotFirstFrameTime
Shavit_GetReplayPreFrame -> Shavit_GetReplayPreFrames
Shavit_GetReplayPostFrame -> Shavit_GetReplayPostFrames
Shavit_GetReplayCachePreFrame -> Shavit_GetReplayCachePreFrames
Shavit_GetReplayCachePostFrame -> Shavit_GetReplayCachePostFrames
Shavit_GetPlayerPreFrame -> Shavit_GetPlayerPreFrames
>Removed:
Shavit_GetPlayerTimerFrame
Shavit_SetPlayerTimerFrame
cp_cache_t.iTimerPreFrames
Replay format version bumped to distinguish old replays that had a bad iFrameCount from postframes.
Some unnecessary ArrayList writing in SaveReplay() has been removed.
shavit-replay.sp:Shavit_OnStart should be more readable now and will also hopefully now prevent some situations where script-execution could time-out due to wiping lots of frames.
Replay bots will now freeze at the end of a replay more smoothly now and not teleport for the last frame.
2021-07-25 16:29:29 +00:00
rtldg
c584b859d4
hopefully stop index errors from popping up in GetClosestReplayTime again
2021-07-25 06:06:39 +00:00
rtldg
b99f2de1f6
try to remove some sm1.11 unused-parameter errors
2021-07-24 12:50:28 +00:00
rtldg
89a0058f31
fix admins being affected by replay playback cooldown
2021-07-23 10:49:04 +00:00
rtldg
ec3e4d2d84
add angle diff to Shavit_GetReplayButtons
2021-07-23 09:15:23 +00:00
rtldg
debbf4d87e
add Shavit_GetLoopingBotByName
2021-07-23 05:55:18 +00:00
rtldg
d5713824ce
hook CCSGameRules::TeamFull on CSS
2021-07-23 04:34:56 +00:00
rtldg
50d000c20e
make replay bots to skip 'Team is full' check
2021-07-22 05:08:49 +00:00
rtldg
5a813a01b1
fix segmented replays losing data due to postframes and teleporting
2021-07-15 16:49:42 +00:00
rtldg
71f10563a2
use timescale in Shavit_GetReplayTime, not speed
2021-07-13 03:15:11 +00:00
rtldg
7757c9330d
mask mousexy more and rename UnpackFrameShorts to UnpackSignedShorts
2021-07-10 04:32:46 +00:00
rtldg
418676d26c
add cheapCloneHandle parameter to Shavit_GetReplayFrames
2021-07-10 03:15:47 +00:00
rtldg
4a686ee440
fix parameter ordering for Shavit_GetReplayFrames ( #1065 )
2021-07-10 02:59:23 +00:00
rtldg
9a0dd7f986
add mouse x/y & forwardmove/sidemove to replay file
2021-07-09 13:20:38 +00:00
rtldg
187e749352
unset gB_Late after use
2021-07-06 08:51:35 +00:00
rtldg
7db48be6fc
typo fix
2021-07-06 03:47:32 +00:00
rtldg
4b524772fa
put finished_run_info stuff inside if-statement
2021-07-04 12:17:48 +00:00
rtldg
28e9d4029b
add postframes
2021-07-04 10:09:16 +00:00
EvanIMK
ad2030a468
Update shavit-replay.sp
2021-07-01 12:52:32 +08:00
rtldg
0eb1ea6d02
Revert "Fixed potential memory leak."
...
This reverts commit b5181473b0 .
2021-06-18 20:08:46 +00:00
rtldg
dad25f97cb
rename parameter for SetReplayData and GetReplayData
2021-06-18 19:10:50 +00:00
Nairda
fd0569b1d4
change replay bot score from 2000 to 1337 ( #1059 )
...
there is only one and correct number to be used as default
2021-06-14 19:45:51 +00:00
rtldg
46f93de06f
bot_join_after_player exists so lets use that instead of adding shavit_replay_spawnbotsifempty
2021-06-13 02:48:38 +00:00
rtldg
fb1912c064
remove unnecessary FinishReplay()
2021-06-11 17:09:12 +00:00
rtldg
6abdadab68
make shavit_replay_pbcooldown work again
2021-06-11 17:08:45 +00:00
rtldg
ee5e163aec
add shavit_replay_spawnbotsifempty
2021-06-10 14:33:46 +00:00
rtldg
f7e53bb12e
only add replay bots if players are in the server
2021-06-10 14:23:49 +00:00
rtldg
ffa3560fbd
add replay bots in cron timer
2021-06-09 20:23:47 +00:00
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