rtldg
c8bcd75fa0
make sure closestpos handles are deleted when a replay is unloaded
2021-08-17 11:33:12 +00:00
rtldg
2eb78a2a14
stop postframes from increasing the replay time
2021-08-16 10:21:58 +00:00
rtldg
f79335270d
add Shavit_GetReplayCacheName
2021-08-12 15:03:27 +00:00
rtldg
fc8b78ae43
make sure StartReplayFromFile uses delay and fix hud time for customframes
2021-08-11 13:20:42 +00:00
rtldg
9c344ee225
a few more mapname buffers adjusted to PLATFORM_MAX_PATH
2021-08-08 15:55:16 +00:00
rtldg
525e7a93c1
make {styletag} & {style} work for !replay bots again
2021-08-08 15:55:16 +00:00
rtldg
b4d1d8a8c0
fix some checkpoint/gravity/timescale/speed related stuff
2021-08-08 15:55:16 +00:00
rtldg
1bb38a1a2c
reopen replay-menu only if still open
2021-08-08 15:55:15 +00:00
rtldg
6c5be61344
try to consistently use lowercase mapnames and PLATFORM_MAX_PATH for mapname buffers
2021-08-08 15:55:09 +00:00
rtldg
b68aba6fd2
reorganize some things to stop looping so much when a player joins
2021-08-01 18:07:06 +00:00
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