Commit Graph

859 Commits

Author SHA1 Message Date
rtldg
35b61a0abc fix wrong variable being sizeof()'d 2021-05-25 18:53:06 +00:00
rtldg
c9f8724d50 change sm_p to profile instead of noclip 2021-05-25 11:32:44 +00:00
rtldg
5feea645c4 ugly shavit_core_timeinmessages fix 2021-05-25 10:57:11 +00:00
rtldg
c9e0f5de1c bump SHAVIT_VERSION to 3.0.0 and hide Shavit_GetStagePB for now 2021-05-25 09:42:26 +00:00
rtldg
f0f74693b9 use defaultNavMesh as an array of bytes so only one file.Write is needed 2021-05-25 09:29:30 +00:00
deadw1nter
a7c2e66559
Fix damage (#1051) 2021-05-24 05:25:28 +00:00
rtldg
fc37d22f1d fix parameter ordering in Shavit_GetReplayBotIndex 2021-05-23 16:03:22 +00:00
rtldg
36c395dde7 rename Shavit_GetReplayBotLength to Shavit_GetReplayCacheLength 2021-05-23 15:46:05 +00:00
rtldg
dbe9b9bffb rename Shavit_GetReplayBotFrameCount to Shavit_GetReplayCacheFrameCount 2021-05-23 15:42:35 +00:00
rtldg
fb7d36cc18 rename fLadderNormal to vecLadderNormal 2021-05-23 12:39:59 +00:00
rtldg
b381194139 clear iEntityID so we don't accidentally delete random entities 2021-05-23 10:03:00 +00:00
GAMMACASE
720251166e
Increase top left wr hud buffer size (#1050) 2021-05-23 08:33:37 +00:00
rtldg
7fa6da8e03 move some tf2 dhooks stuff around 2021-05-23 08:27:42 +00:00
Dustin
d7e4a08e70
added missing prefix (#1049)
to prevent fails for people that are using a prefix 
[shavit-zones.smx] Timer (zones GetStageZone) SQL query failed. Reason: Table 'bhoptimer.mapzones' doesn't exist
Query callback. Number of returned results: 399, Maps added to g_aMapList:284, g_aAllMapsList.Length:287, g_mMapList:286
2021-05-18 07:16:44 +00:00
rtldg
9daafaa7fe dumb tf2 scoreboard pb 2021-05-17 11:42:20 +00:00
rtldg
0f37aac00f get all this gamedata stuff working on tf2 2021-05-17 10:51:31 +00:00
rtldg
805be91691 gamedata notes 2021-05-14 17:27:18 +00:00
rtldg
6a092d996c add shavit_rankings_default_tier for #1041 2021-05-09 06:39:57 +00:00
rtldg
bbfe33ff16 make shavit_misc_startonspawn not conflict with savestates 2021-05-09 02:01:09 +00:00
rtldg
8f8b29b377 use eventqueuefix's event pausing when possible 2021-05-09 01:14:52 +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
a2735d8a2a add kind of jank replay fastforward / rewind 2021-05-08 10:37:26 +00:00
rtldg
9e39689b7a unset gB_StopChatSound at the end of Shavit_PrintChatToAll 2021-05-07 06:45:50 +00:00
rtldg
328f4301aa fix aborting zone edit 'destroying' the original zoone 2021-05-06 04:29:43 +00:00
rtldg
f8237a3fdc add some missing things from Shavit_GetPlainChatrank 2021-05-06 04:01:07 +00:00
rtldg
7df2e2c959 add shavit_core_timeinmessages 2021-05-06 03:58:19 +00:00
rtldg
021d5172ae stage churn 2021-05-06 03:36:31 +00:00
rtldg
2873cbe422 remove vel2d from stagetimes and separate stage time wr and pb tables 2021-05-06 02:18:43 +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
5f099a090b fix bug with shavit-timeleft repeatedly calling Shavit_StopChatSound 2021-05-06 01:55:04 +00:00
rtldg
f838cfdfc6 misc FormatSeconds change 2021-05-06 01:39:35 +00:00
rtldg
1d535fb7d2 don't persist data if dead and missing savestate data 2021-05-03 10:49:02 +00:00
rtldg
4d797d2347 make bot footsteps work on css 2021-05-03 10:32:23 +00:00
rtldg
52c8942b09 more explicit random handle param 2021-05-01 22:17:48 +00:00
rtldg
94a27a954e add Shavit_GetClientLastStage, Shavit_GetStageWR, and Shavit_GetStagePB 2021-05-01 00:42:41 +00:00
rtldg
3c5fa5e07b add more UpdateStepSound offsets and search strings 2021-05-01 00:10:07 +00:00
rtldg
c4520b7ab8 add jank replay bot footstep sounds 2021-04-30 22:21:59 +00:00
rtldg
6386098a00 initial EndTouchFix stuff 2021-04-30 21:31:51 +00:00
rtldg
a4a9d0840f raise restart teleport location by 1 unit 2021-04-30 21:12:10 +00:00
rtldg
ecc2d8d2c0 use the wr table view in some more places 2021-04-30 07:30:45 +00:00
rtldg
96281d2f85 more wip stage stuff 2021-04-30 07:06:18 +00:00
BoomShot
2697e6c5b1 boomshot stages stuff
Move remaining shavit-rankings dependent calls (#1043)

If the shavit-rankings plugin isn't loaded, the calls to its natives will cause an exception and the client's messages will not be formatted correctly.

Add native for getting the number of stages

Implemented native for getting number of stages and allowed practice mode to view stage times.

Added WR stage time comparisons for when a user enters a stage zone.

It's important that the stage zone number starts at two. It may be preferred to remove the user input of stage numbers and just auto increment as stages are added. Stage 1 should be the start zone and just have any additional stages increment from there. I'll readdress this if it's necessary.

Add translations for WR stage time comparison messages

Accidentally undid a change from a previous commit.

I didn't have a merge conflict, so I'm unsure why it got replaced.

Combine stage time translations into one

Implemented suggestions to translations and changed the stagetimes table

The stagetimes table no longer uses auth as a primary key, so it will now replace the old WR stage time.
However, the auth is still stored, so it can be used to reference the player and potentially a players PB.

Update callback name for replacing stage time for logging.
2021-04-19 15:49:47 +00:00
rtldg
2c9904cb34 unloading eventqueuefix in the start zone causes an error 2021-04-17 12:44:13 +00:00
rtldg
c734348d63 fix csgo win sig for DoAnimationEvent and allow the replay to work even if the sig is bad 2021-04-16 14:15:11 +00:00
hermansimensen
f6144fdcae Add animations to replay bots. 2021-04-16 01:24:18 +02:00
rtldg
31a3c1bbc4 better replay entity validity checking 2021-04-12 20:03:02 +00:00
rtldg
1d0b38138e move CreateAllNavFiles() out of OnMapStart() 2021-04-11 20:16:39 +00:00
rtldg
14b64147c5 stop kicking central replays 2021-04-11 20:00:24 +00:00
rtldg
7a8c735a28 stop duplicating replay frame buffer when persisting data 2021-04-11 19:37:01 +00:00
rtldg
3dc54c8974 BotAddCommand is thiscall on linux 2021-04-11 15:13:33 +00:00