Commit Graph

996 Commits

Author SHA1 Message Date
rtldg
b68aba6fd2 reorganize some things to stop looping so much when a player joins 2021-08-01 18:07:06 +00:00
rtldg
a64a29263d make sm_loadunzonedmap use valve-virtual-fs 2021-07-31 07:53:02 +00:00
rtldg
202a2e642a fix shavit-sounds ArrayList sizes 2021-07-31 06:02:37 +00:00
rtldg
8a8db13c4a gH_SQL might be null in OnMapEnd after server-restart 2021-07-31 05:50:56 +00:00
rtldg
176dc76267 remove duplicate GetString from HasStyleSetting 2021-07-30 11:39:18 +00:00
rtldg
32658a029d bump to 3.0.1 and touch convar_class.inc & dhooks.inc so they reindex 2021-07-30 08:27:53 +00:00
rtldg
fea39ce643 make Shavit_OnDatabaseLoaded run after migration like it's supposed to and attempt to use it for things 2021-07-30 08:17:31 +00:00
rtldg
65f4cf6827 fix shavit_misc_hideteamchanges on css 2021-07-30 07:12:37 +00:00
rtldg
13c60c6b52 update eventqueuefix header 2021-07-29 21:38:15 +00:00
rtldg
9adf78d311 make prespeed checkpoints better and not use noclip 2021-07-29 19:53:41 +00:00
rtldg
7dea02e513 fix replay bots spawning glocks with burst fire... again 2021-07-29 14:52:45 +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
6c2a48aec5 cleanup some timescaling code 2021-07-28 12:56:19 +00:00
rtldg
8f4e29ddee type typo 2021-07-28 11:52:37 +00:00
rtldg
37b0d9a031 move shavit-misc late-load stuff around so I can reload the plugin and have the checkpoints menu pop back up on segmented 2021-07-28 08:19:05 +00:00
rtldg
88f716b767 refresh checkpoints menu on sm_save 2021-07-28 07:51:58 +00:00
rtldg
aff3f95813 add shavit_misc_experimental_segmented_eyeangle_fix 2021-07-28 06:11:16 +00:00
rtldg
da9144f1b5 also have sm_recalcall zero-out all users points 2021-07-27 08:12:03 +00:00
rtldg
0ddf5f5c70 move shavit-misc config stuff and mapfixes stuff around 2021-07-27 08:12:03 +00:00
rtldg
7b75eea957 add Shavit_OnStartPre and ignore Shavit_OnStart return value 2021-07-27 08:12:03 +00:00
rtldg
f2d304a918 some pause movement related stuff 2021-07-27 08:11:58 +00:00
rtldg
8d63cd5d0d I want a segmented bot in the default looping config 2021-07-27 07:18:04 +00:00
rtldg
3de6f38f7d add cvar shavit_rankings_wrranks 2021-07-27 07:17:56 +00:00
rtldg
2c374eb924 make sm_recalcall wipe ALL points first 2021-07-26 11:42:42 +00:00
rtldg
4f23ec8791 stop spectators from getting aimpunched 2021-07-26 09:34:14 +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
7fc001be0e do weaponsspawngood stuff in touch hook 2021-07-25 14:52:39 +00:00
rtldg
08c8c00f53 change UnpackSignedShorts sign-extending 2021-07-25 10:47:41 +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
GAMMACASE
090c2bed5b
Remove practice mode check for target/classname reset (#1061) 2021-07-23 16:59:02 +00:00
rtldg
e1dac1697a have Shavit_OnTopLeftHUD run even when there's no WR 2021-07-23 16:20:18 +00:00
rtldg
82c6ab1f92 add shavit-mapfixes.cfg 2021-07-23 15:31:38 +00:00
rtldg
89a0058f31 fix admins being affected by replay playback cooldown 2021-07-23 10:49:04 +00:00
rtldg
72b87d666f add another map to cvar description 2021-07-23 10:30:48 +00:00
rtldg
6dbc73fae3 add shavit_zones_prebuilt_visual_offset 2021-07-23 10:25:40 +00:00
rtldg
5a4acc49a4 change css key overlay a bit 2021-07-23 09:29:18 +00:00
rtldg
ec3e4d2d84 add angle diff to Shavit_GetReplayButtons 2021-07-23 09:15:23 +00:00
rtldg
435a23f065 move avg/max vel & perfs to another message so the buffer doesn't get cut off anymore 2021-07-23 08:54:57 +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
b07133b1aa change shavit_misc_weaponsspawngood a bit 2021-07-22 15:39:15 +00:00