rtldg
feeb4ae445
try to fix errors with looping replay bots that use disabled styles
...
L 07/25/2024 - 19:46:15: [SM] Exception reported: Array index out-of-bounds (index -1, limit 256)
L 07/25/2024 - 19:46:15: [SM] Blaming: shavit/shavit-replay-playback.smx
L 07/25/2024 - 19:46:15: [SM] Call stack trace:
L 07/25/2024 - 19:46:15: [SM] [1] Line 3620, D:\sourcemod-1.10.0-git6545-windows_v3.4.2\addons\sourcemod\scripting\shavit-replay-playback.sp::FindNextLoop
L 07/25/2024 - 19:46:15: [SM] [2] Line 1924, D:\sourcemod-1.10.0-git6545-windows_v3.4.2\addons\sourcemod\scripting\shavit-replay-playback.sp::AddReplayBots
L 07/25/2024 - 19:46:15: [SM] [3] Line 1542, D:\sourcemod-1.10.0-git6545-windows_v3.4.2\addons\sourcemod\scripting\shavit-replay-playback.sp::Timer_Cron
L 07/25/2024 - 19:46:18: [SM] Exception reported: Array index out-of-bounds (index -1, limit 256)
L 07/25/2024 - 19:46:18: [SM] Blaming: shavit/shavit-replay-playback.smx
L 07/25/2024 - 19:46:18: [SM] Call stack trace:
L 07/25/2024 - 19:46:18: [SM] [1] Line 3620, D:\sourcemod-1.10.0-git6545-windows_v3.4.2\addons\sourcemod\scripting\shavit-replay-playback.sp::FindNextLoop
L 07/25/2024 - 19:46:18: [SM] [2] Line 1924, D:\sourcemod-1.10.0-git6545-windows_v3.4.2\addons\sourcemod\scripting\shavit-replay-playback.sp::AddReplayBots
L 07/25/2024 - 19:46:18: [SM] [3] Line 1542, D:\sourcemod-1.10.0-git6545-windows_v3.4.2\addons\sourcemod\scripting\shavit-replay-playback.sp::Timer_Cron
2024-07-29 13:53:58 +00:00
rtldg
e35e835841
shavit-replay-playback: hook triggers on late-load
2024-07-11 09:58:18 +00:00
BoomShot
654f9aa239
Allow updating replay bot name without being a WR
...
This allows editing the replay bot's name through the frame_cache_t of the replay data, which is useful for personal replays. Without this change, the replay bot's name after calling Shavit_StartReplayFromFrameCache would be the current WR's player name.
2024-05-28 00:07:04 -04:00
rtldg
6751aa323b
purge BotAddCommand gamedata and revert to bot_add (but add ServerExecute())
2024-04-26 23:45:52 +00:00
rtldg
5814a7c3d8
revert to tf_bot_add instead of NextBot.. gamedata & fix maintainbotquota sig
2024-04-23 19:47:21 +00:00
rtldg
4bbef8aa61
don't eat non-timer bot names - for nuko
2023-04-27 16:11:11 +00:00
rtldg
31fcd7ecb5
don't let tf2 bots duck on surf ramps. it makes the spec view look fucky
2023-04-27 15:07:07 +00:00
rtldg
f1bea169d2
silence tf_bot_count change notification
2022-11-02 21:55:45 +00:00
Isaac Boaz
4d78090e5f
Break once we find a valid record
2022-09-18 15:13:44 -07:00
rtldg
b115726abb
set forwardmove & sidemove on replay bots because why not
2022-09-16 11:36:29 +00:00
rtldg
cdbeb52976
add some test defines for bhoptimer_helper
2022-07-21 22:01:27 +00:00
rtldg
f703aca4d6
spawn looping replay bots on different ticks
2022-07-20 19:30:44 +00:00
rtldg
9cbed1972b
shavit_replay_disable_hibernation
2022-06-20 11:50:33 +00:00
rtldg
0f44dd1710
add shavit_core_log_sql & remove Database2/Transaction2 methmodmaps
2022-06-13 06:28:46 +00:00
rtldg
7c251ef81d
add Back to admin commands to go back to admin menu
2022-06-13 05:42:40 +00:00
rtldg
6bba2072fe
use MaxClients instead of MAXPLAYERS because
2022-06-12 15:33:13 +00:00
rtldg
09917f91d9
fix adminmenu 2.0
2022-06-07 16:53:01 +00:00
rtldg
ef3ca621c4
add more contributors & copyright attributions. mostly done via git blame but also it's also likely i missed some people.
2022-05-25 11:43:57 +00:00
rtldg
2616712c9e
some closestpos debug prints
2022-05-05 04:59:20 +00:00
rtldg
b2b2fe3344
add fClosestReplayLength to huddata_t and Shavit_GetClosestReplayTime
2022-04-23 17:09:35 +00:00
rtldg
9902b8adac
some potential steamid future proofing
2022-04-12 18:42:25 +00:00
rtldg
aa1f0eb169
make Shavit_StartReplayFromFile retrieve name correctly
2022-04-12 18:14:04 +00:00
Ciallo
d58d3ee1d5
fix creating replay-directories issue & hopefully first map load replays ( #1130 )
...
* fix creating replay-directories issue
* call Shavit_OnStyleConfigLoaded on lateloads
* use the stock for loading the replay folder path
* reorder some replay playback cvar usage
Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2022-03-17 12:00:22 +00:00
rtldg
70f29d3ca5
fix replay props having a bad index for cachedframes
2022-03-14 02:06:59 +00:00
rtldg
060ce5e660
check replay header for time if replay-playback is unloaded
2022-02-24 23:10:22 +00:00
rtldg
80e8480b7a
add Shavit_GetReplayEntityFlags & have scroll count work for replay bots (non-prop) #1125
2022-02-24 06:24:33 +00:00
rtldg
0bde3c42b6
add some random things to prevent stupid small replay files from trying to load or save
2022-02-09 20:50:49 +00:00
rtldg
0c459505c8
don't disable detour if detour was never enabled
2022-02-09 20:38:42 +00:00
rtldg
fbdfc7bbea
check if valid index of course :)
2022-01-05 21:11:50 +00:00
rtldg
0cc406c962
add 0.5x playback for replay bots
2022-01-05 21:08:26 +00:00
rtldg
0c91c19ba6
trim whitespace & add licenses
2022-01-01 10:15:28 +00:00
rtldg
ae0145430a
remove some sourcemod 1.11 warnings
2022-01-01 10:15:18 +00:00
BoomShotKapow
3348e54316
SourceMod 1.11 dev changes & Query -> Query2
2022-01-01 10:12:53 +00:00
rtldg
f193679a9d
get all the tas_timescale stuff working PERFECTLY
2021-12-31 19:00:58 +00:00
rtldg
aa7887ecf4
make some of these admin menus reopen
2021-12-29 09:24:18 +00:00
rtldg
1509e77728
hopefully stop timer commands menu from being wiped on plugins reload
2021-12-29 08:55:20 +00:00
rtldg
2e627fe3e2
update velocity-difference if pause-movement is enabled
2021-12-21 00:33:45 +00:00
rtldg
07de010a28
skip delay if we skip seconds on a replay bot
2021-12-11 04:11:52 +00:00
rtldg
1946de926b
move some more things into maps-folder-stocks.inc
2021-12-05 00:24:31 +00:00
rtldg
3574080e8e
remove decimal from this cvar that doesn't use it
2021-11-27 03:21:50 +00:00
rtldg
8ce9cd97b4
fixup some gun spawning stuff
2021-11-12 19:02:31 +00:00
BoomShotKapow
70ca6ace3d
Add a native for getting Shavit's replay folder path for personal replays
2021-11-03 08:20:52 +00:00
rtldg
0e3c4e274e
use updated ClosestPos stuff to not search preframes or postframes
2021-11-02 21:22:20 +00:00
rtldg
3c46d9c257
add something to migrate cvars from shavit-replay and shavit-misc
2021-11-02 15:55:33 +00:00
rtldg
b9c6c47db4
swap #include <shavit> with <shavit/core>
2021-10-28 21:18:53 +00:00
rtldg
862d5e8c7b
enable time difference by default because I'll include the closestpos ext in release zips
2021-10-28 11:58:10 +00:00
rtldg
f61ea0f070
fix name changes not showing up in chat
2021-10-27 19:13:22 +00:00
rtldg
f224a2782d
make shavit-replay-playback not require shavit-replay-recorder
2021-10-19 08:57:29 +00:00
rtldg
d901c6bf91
make maps-folder-stocks.inc
2021-10-19 08:57:19 +00:00
rtldg
966ceea5f8
finish splitting shavit.inc
2021-10-18 07:22:50 +00:00