Commit Graph

838 Commits

Author SHA1 Message Date
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
rtldg
9e39c10e28 shavit_hud_timedifference -> shavit_replay_timedifference 2021-04-11 03:36:47 +00:00
rtldg
57e9072b19 remove bot_quota, disable it, and call BotAddCommand directly 2021-04-11 01:20:06 +00:00
rtldg
b2cfc88651 limit buffer size for SayText2 2021-04-10 12:03:38 +00:00
rtldg
9a116a6e96 only cycle zone drawing when zone is actually drawn 2021-04-08 22:35:00 +00:00
rtldg
5bebebf553 change default for shavit_misc_bhopsounds 2021-04-08 22:34:46 +00:00
rtldg
cb39acc33b remove stylesettings_t and break 3rd party plugins 2021-04-08 21:19:18 +00:00
rtldg
6e410dedb7 make sure the checkpoint menu is only reopened when you have checkpoints saved 2021-04-08 15:35:05 +00:00
rtldg
28f10b8899 fix bug that causes the last style to parse twice (and register command callbacks twice) 2021-04-08 15:18:20 +00:00
rtldg
fd69a95e52 keep persistentdata when changing to same map
(helps with server hibernation switching maps)
2021-04-08 08:21:26 +00:00
BoomShot
b22092fcf3
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.
2021-04-07 21:18:27 +00:00
rtldg
e89c83b1ae fix error when serverside 'say /Asdf' 2021-04-07 17:24:39 +00:00
rtldg
5c772b06e3 hopefully fix checkpoint timescale stuff 2021-04-07 17:21:53 +00:00
rtldg
85609db2e6 increase css center keys text buffer 2021-04-07 16:30:01 +00:00
rtldg
f825338079 shh 2021-04-07 15:41:03 +00:00
rtldg
efea62a023 mark some forgotten natives as optional 2021-04-07 15:37:14 +00:00
rtldg
d4012966bd fix when i broke reading older replay frames 2021-04-07 15:16:33 +00:00
rtldg
bbca665d4f fix errors i made 2021-04-07 14:44:42 +00:00
rtldg
d2810f778d set this savestate bool always or Player_Spawn will come back and maybe destroy our already persisted data on disconnect? 2021-04-07 14:31:34 +00:00
rtldg
a0a74b8eaa too tired for commit messages but i promise this is a good one and if you're not satisfied then we will fully refund your purchase of the bhoptimer 2021-04-07 05:36:15 +00:00
rtldg
6bd7b0af0e infinite ammo things 2021-04-06 18:34:11 +00:00
rtldg
d272aae97b bad thing to not let you pause while crouching 2021-04-06 18:10:59 +00:00