rtldg
4d8faa1099
fix isBestReplay and isTooLong being swapped in Shavit_OnReplaySaved
2021-10-11 16:04:52 +00:00
rtldg
f7fd2af33c
use names on bot connect & some changes
2021-10-04 09:42:27 +00:00
rtldg
828240849c
Revert "change admin menu permissions used"
...
This reverts commit e4081a5622 .
2021-10-04 04:13:34 +00:00
rtldg
e4081a5622
change admin menu permissions used
2021-10-04 04:09:47 +00:00
rtldg
e7bf386d14
handle csgo usp & p2000 better through item definition indexes
2021-09-23 10:27:30 +00:00
rtldg
44cb918759
some strategic map lowercasings
2021-09-22 06:04:30 +00:00
rtldg
dc1f889b5f
check if can write to replay folder on map start
2021-09-09 22:41:10 +00:00
rtldg
6e3bd85c14
fix tf2 linux bot creation
2021-09-05 15:30:44 +00:00
rtldg
f88885bafc
add another parameter to Shavit_OnReplayStart and Shavit_OnReplayEnd
2021-09-02 14:58:18 +00:00
rtldg
05d50babf4
change string from 'invalid' to 'unknown'
2021-08-28 20:16:42 +00:00
rtldg
fe1d01e1fb
add btimes replay support 🤝 🤝 🤝 🤝 🤝 🤝 🤝 🤝 🤝 🤝 🤝 🤝 🤝 🤝 🤝
2021-08-28 20:16:06 +00:00
rtldg
36a468615d
add Shavit_SetReplayCacheName
2021-08-28 02:41:33 +00:00
rtldg
4440b8d469
make CreateAllNavFiles use valve-fs
2021-08-28 00:41:23 +00:00
rtldg
f7cd8bf072
delay bot name change to prevent crash in Host_Changelevel
2021-08-21 04:24:47 +00:00
rtldg
2b4d77d281
add sql logging define
2021-08-18 15:10:42 +00:00
rtldg
2733faf57d
fix up replay props finally
2021-08-17 20:25:41 +00:00
rtldg
d798de9cb2
fix some replay things
2021-08-17 17:22:58 +00:00
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