Commit Graph

217 Commits

Author SHA1 Message Date
rtldg
d86ac3f434 remove unnecessary TimerStatus casting 2021-10-07 12:25:08 +00:00
rtldg
0ec8bdb92b move charset stuff to GetTimerDatabaseHandle 2021-10-07 09:51:48 +00:00
rtldg
9b00e1f16a replace playertimer_t with timer_snapshot_t 2021-10-05 05:31:53 +00:00
rtldg
44cb918759 some strategic map lowercasings 2021-09-22 06:04:30 +00:00
rtldg
2d11d94237 remove unused doublestep +ds/-ds command 2021-09-21 04:38:51 +00:00
rtldg
f23bd4b96c lowercase map names in db 2021-09-21 04:30:59 +00:00
rtldg
00d16405f6 use Transaction2 in more places 2021-09-14 01:43:23 +00:00
rtldg
f8147a63f3 move eventqueuefix timescaling into timer because carnifex is removing the built-in integration 2021-09-11 01:31:22 +00:00
rtldg
670f220b76 add playtime tracking 2021-09-07 08:13:30 +00:00
rtldg
cfa724f738 try to fix tf2 uncrouch spam from limiting velocity 2021-09-05 20:55:53 +00:00
rtldg
1954583070 add !ihate!main 2021-08-28 00:39:37 +00:00
rtldg
4553286104 stop timescale from being set to 0 2021-08-21 05:31:52 +00:00
rtldg
2b4d77d281 add sql logging define 2021-08-18 15:10:42 +00:00
rtldg
14c10049ce insert prebuilt zones into db so !mapsleft and !loadunzonedmap work better 2021-08-17 14:45:15 +00:00
rtldg
4da5d528a6 short circuit cheat-impulses check sooner 2021-08-17 11:27:39 +00:00
rtldg
6663305cec use GetAngleDiff in another place 2021-08-17 11:18:32 +00:00
rtldg
9f313ee0cf add more !DEBUG wrappers around sv_cheats stuff 2021-08-15 18:36:13 +00:00
rtldg
c5480e7087 adjust parameter count for kill commands 2021-08-15 13:53:29 +00:00
rtldg
140b43dd40 add shavit_core_disable_sv_cheats and make some commands rcon-flag only 2021-08-15 12:15:35 +00:00
rtldg
a521b658c2 track wasn't set for Shavit_OnRestartPre 2021-08-12 14:20:07 +00:00
rtldg
3f14b65cc4 add Shavit_OnRestartPre 2021-08-12 12:46:50 +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
176dc76267 remove duplicate GetString from HasStyleSetting 2021-07-30 11:39:18 +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
506076723f try to improve timer accuracy by using ticks*tickinterval instead of time+=gameframetime 2021-07-29 00:25:02 +00:00
rtldg
6c2a48aec5 cleanup some timescaling code 2021-07-28 12:56:19 +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
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
5a12dd7502 move shavit_core_debugoffsets out of preprocesser DEBUG check 2021-07-22 12:42:29 +00:00
rtldg
4f704a2fe4 -1 all completions in the db 2021-07-22 10:49:16 +00:00
OliviaMourning
af8ab48fc9 add shavit_core_pause_movement stuff
Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2021-07-22 08:49:55 +00:00
rtldg
a6be0127ee add exact_time_int to playertimes to deal with floating point imprecision 2021-07-11 07:16:00 +00:00
rtldg
a05c15e5d7 lower minimum forwardmove/sidemove values for hsw 2021-07-09 13:16:44 +00:00
rtldg
3024982fe1 add SteamIDToAuth stock 2021-07-07 01:46:33 +00:00
rtldg
f2d396d61e bigger buffer for shavit_core_debugoffsets messages 2021-07-06 06:38:16 +00:00
rtldg
00a866bf59 add some shavit-styles.cfg index error checking 2021-06-15 17:45:33 +00:00
Nairda
178deb5b21
remove capital i (#1058)
from the range as it can be mistaken with lower case L
2021-06-14 18:32:25 +00:00
rtldg
acbcd86f18 remove some ambiguous characters from wipeplayer alphabet string 2021-06-14 17:16:53 +00:00
rtldg
69ca0af31b try to not get people stuck paused in the start zone 2021-06-14 17:16:10 +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
5feea645c4 ugly shavit_core_timeinmessages fix 2021-05-25 10:57:11 +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
9e39689b7a unset gB_StopChatSound at the end of Shavit_PrintChatToAll 2021-05-07 06:45:50 +00:00
rtldg
7df2e2c959 add shavit_core_timeinmessages 2021-05-06 03:58:19 +00:00
rtldg
cdc0c651b9 make Shavit_PrintToChatAll a native so it can use gB_StopChatSound 'better' 2021-05-06 02:15:05 +00:00
rtldg
6386098a00 initial EndTouchFix stuff 2021-04-30 21:31:51 +00:00
rtldg
ecc2d8d2c0 use the wr table view in some more places 2021-04-30 07:30:45 +00:00
rtldg
b2cfc88651 limit buffer size for SayText2 2021-04-10 12:03:38 +00:00
rtldg
cb39acc33b remove stylesettings_t and break 3rd party plugins 2021-04-08 21:19:18 +00:00