Commit Graph

1164 Commits

Author SHA1 Message Date
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
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
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
rtldg
dd756b95cc add listener for sourcemod's sm_noclip so we can hijack it 2021-07-22 08:51:12 +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
878917daf9 negative replay percentage complete 2021-07-22 08:28:47 +00:00
rtldg
361c73f7b1 fix typo in rankings description 2021-07-22 06:07:18 +00:00
rtldg
7c4a7c0c15 slightly unbreak old ssj plugins that used Shavit_InsideZone with 2 params 2021-07-22 05:52:40 +00:00
rtldg
50d000c20e make replay bots to skip 'Team is full' check 2021-07-22 05:08:49 +00:00
Nairda
35de299212
add playerchatwheel to radiocommands (#1068)
* add playerchatwheel to radiocommands

because @GAMMACASE is too lazy to pr

* -.-v

GAMMACASE — Today at 19:32
there's also player_ping and chatwheel_ping commands, that creates the ping icon in the world
:)
2021-07-22 02:34:46 +00:00
rtldg
793116d476 add playerradio to radio-commands list 2021-07-21 07:30:20 +00:00
rtldg
ab0de50a9f try to recreate wrhrankmain & friends if there's an error about them not existing 2021-07-19 13:22:47 +00:00
rtldg
5a813a01b1 fix segmented replays losing data due to postframes and teleporting 2021-07-15 16:49:42 +00:00
rtldg
57e6f9563d don't let zones positions be at the same spot 2021-07-15 08:44:32 +00:00
rtldg
ca6ad88b7b fix 2 completions bug thing the better way 2021-07-15 07:37:57 +00:00
rtldg
e58b447c21 fix tf2 dying giving checkpoints MOVETYPE_NONE 2021-07-13 15:22:11 +00:00
rtldg
f93f6cac3a fix tf2 respawn loop crash thing? 2021-07-13 15:21:23 +00:00
rtldg
fdacc94c32 only create tf2 team spawnpoints if needed 2021-07-13 13:47:20 +00:00
rtldg
7b4d2f5b23 fix bug that'd give 2 completions on first map finish 2021-07-13 08:49:35 +00:00
rtldg
576534092b stop creating so many spawnpoints 2021-07-13 08:39:06 +00:00
rtldg
71f10563a2 use timescale in Shavit_GetReplayTime, not speed 2021-07-13 03:15:11 +00:00
rtldg
7df75c4c35 don't kill zone entities in OnEntityDestroyed 2021-07-13 01:45:22 +00:00
rtldg
6f1c8ce09c spawn glocks with burst and usps with silencers 2021-07-11 09:21:32 +00:00
rtldg
de0ad16323 terrible checkpoint ground entity refs 2021-07-11 09:03:48 +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
f64c3f92a6 filter out MOVETYPE_NOCLIP from checkpoints of replay bots 2021-07-10 10:41:37 +00:00
rtldg
f2b9c13ec5 make sm_loadunzonedmap query use DISTINCT 2021-07-10 08:47:02 +00:00
rtldg
7757c9330d mask mousexy more and rename UnpackFrameShorts to UnpackSignedShorts 2021-07-10 04:32:46 +00:00
rtldg
418676d26c add cheapCloneHandle parameter to Shavit_GetReplayFrames 2021-07-10 03:15:47 +00:00
rtldg
4a686ee440 fix parameter ordering for Shavit_GetReplayFrames (#1065) 2021-07-10 02:59:23 +00:00
rtldg
0063436f66 add sm_loadunzonedmap temporarily until I move it to shavit-mapchooser 2021-07-09 13:27:49 +00:00
rtldg
9a0dd7f986 add mouse x/y & forwardmove/sidemove to replay file 2021-07-09 13:20:38 +00:00
rtldg
a05c15e5d7 lower minimum forwardmove/sidemove values for hsw 2021-07-09 13:16:44 +00:00
rtldg
40429c6afe hopefully fix persistent data & checkpoint errors 2021-07-09 08:59:52 +00:00
rtldg
11137e9407 move zone modifier stuff around so they don't reset 2021-07-07 02:47:27 +00:00
rtldg
757c2f051f fix a bug that deletes spectator's persistent data 👀 2021-07-07 02:30:34 +00:00
rtldg
3024982fe1 add SteamIDToAuth stock 2021-07-07 01:46:33 +00:00
rtldg
760b0c910b a little cleanup for shavit-misc 2021-07-06 11:35:47 +00:00
rtldg
187e749352 unset gB_Late after use 2021-07-06 08:51:35 +00:00
rtldg
f2d396d61e bigger buffer for shavit_core_debugoffsets messages 2021-07-06 06:38:16 +00:00
rtldg
7db48be6fc typo fix 2021-07-06 03:47:32 +00:00
rtldg
d254a2a2f2 don't open kz menu for bots to fix error
>go kz style
>make some checkpoints
>disconnect
>bots kicked for server hibernating
>bots rejoin from timer
>errors thrown

L 07/06/2021 - 02:55:42: [SM] Exception reported: Invalid Handle 0 (error: 4)
L 07/06/2021 - 02:55:42: [SM] Blaming: shavit-misc.smx
L 07/06/2021 - 02:55:42: [SM] Call stack trace:
L 07/06/2021 - 02:55:42: [SM]   [0] ArrayList.Length.get
L 07/06/2021 - 02:55:42: [SM]   [1] Line 2020, .\shavit-misc.sp::OpenKZCPMenu
L 07/06/2021 - 02:55:42: [SM]   [2] Line 959, .\shavit-misc.sp::Timer_PersistKZCP
2021-07-06 03:00:03 +00:00
rtldg
6f058127c4 make all plugins require dhooks so there's error spam due to them not loading 2021-07-06 02:22:35 +00:00
rtldg
8dab86abe9 removed unneeded line for weapon ratelimiting 2021-07-06 02:03:41 +00:00
rtldg
00fa237c28 hide flickering hint text when scoreboard is open 2021-07-06 01:56:15 +00:00
rtldg
4b524772fa put finished_run_info stuff inside if-statement 2021-07-04 12:17:48 +00:00
rtldg
82918f1945 rate limit sm_glock, sm_usp, and sm_knife 2021-07-04 11:01:34 +00:00
rtldg
28e9d4029b add postframes 2021-07-04 10:09:16 +00:00
EvanIMK
ad2030a468
Update shavit-replay.sp 2021-07-01 12:52:32 +08:00
rtldg
d6d5697ebc Update convar_class.inc to replace backslashes with forwardslashes so trying to create config files doesn't fail if you nest plugins into subfolders 2021-06-22 22:02:26 +00:00
rtldg
0eb1ea6d02 Revert "Fixed potential memory leak."
This reverts commit b5181473b0.
2021-06-18 20:08:46 +00:00
rtldg
13eff3574c remove an unnecessary parameter 2021-06-18 20:07:06 +00:00
rtldg
dad25f97cb rename parameter for SetReplayData and GetReplayData 2021-06-18 19:10:50 +00:00
rtldg
00a866bf59 add some shavit-styles.cfg index error checking 2021-06-15 17:45:33 +00:00
Nairda
fd0569b1d4
change replay bot score from 2000 to 1337 (#1059)
there is only one and correct number to be used as default
2021-06-14 19:45:51 +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
46f93de06f bot_join_after_player exists so lets use that instead of adding shavit_replay_spawnbotsifempty 2021-06-13 02:48:38 +00:00
rtldg
fb1912c064 remove unnecessary FinishReplay() 2021-06-11 17:09:12 +00:00
rtldg
6abdadab68 make shavit_replay_pbcooldown work again 2021-06-11 17:08:45 +00:00
rtldg
ee5e163aec add shavit_replay_spawnbotsifempty 2021-06-10 14:33:46 +00:00
rtldg
f7e53bb12e only add replay bots if players are in the server 2021-06-10 14:23:49 +00:00
rtldg
ffa3560fbd add replay bots in cron timer 2021-06-09 20:23:47 +00:00
rtldg
87e64c87c7 add HUD2_VELOCITYDIFFERENCE 2021-06-08 15:39:52 +00:00
rtldg
7620e23349 make sure persistent data doesn't start paused & fix weapons not being removed & use requestframe(loadpersistentdata) again so events/outputs work & make some errors not be as bad 2021-06-07 14:06:00 +00:00
rtldg
79f6e643f0 moving some checkpoint code around to need less handle cloning and maybe help with some errors 2021-06-06 17:35:00 +00:00
rtldg
eefaf5ebd0 don't clear gI_MapZones on Round_Start 2021-06-06 09:27:02 +00:00
rtldg
84cb7b98cd misc 2021-06-05 22:33:17 +00:00
rtldg
d8619f3ba1 fix {styletag} and remove some unused replay config things 2021-06-02 20:41:27 +00:00
GAMMACASE
1c6cd5e27d
Fix infinite loop in RemoveFromString() (#1052) 2021-06-02 20:15:38 +00:00
rtldg
0f5f0870b2 normalize prebuilt zone names 2021-06-02 11:54:49 +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
cbab6fc490 fix parameter ordering in call to Shavit_GetReplayBotIndex 2021-05-27 17:20:23 +00:00
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
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
rtldg
b821844a4c remove redundant pause eye-angles since it's already done in shavit-core 2021-04-06 16:30:16 +00:00
rtldg
eaf2e3b280 less allocations for csgo zone hud 2021-04-06 14:26:47 +00:00
GAMMACASE
85ef97122c
Fix incorrect memory allocation for segmented checkpoints (#1040)
* Fix incorrect allocation for a new cp

* fine
2021-04-06 10:51:31 +00:00
rtldg
6229900baf now all radars are gone forever and dynamic replay bots will no longer show the radar (WHY DO THEY ANYWAY???) 2021-04-05 19:48:51 +00:00
rtldg
6113b0c3dc checkpoint code churn 2021-04-05 18:03:19 +00:00
rtldg
aef853a308 fix csgo sm_keys alignment 2021-04-05 17:04:22 +00:00
rtldg
64d16342d8 check for BAD BAD BAD WRONG entities named mod_zone_bonus_start or mod_zone_bonus_end (bhop_somp_island is bad and does this) 2021-04-05 12:03:25 +00:00
rtldg
f9060498fb cleaner looking angle normalization for sm_keys direction 2021-04-05 11:18:45 +00:00
rtldg
9db01e2eb5 stop spawning in the ground / hook CGameRules::IsSpawnPointValid() 2021-04-04 15:07:27 +00:00
rtldg
1531d65f3c csgo teammenu selecting same team didn't close the menu 2021-04-04 11:41:59 +00:00
rtldg
02c8af2af2 recreate ClosestPos when using closestpos.ext 2021-04-04 09:09:48 +00:00
rtldg
2d5aec9a3e change RemoveAllWeapons() a bit 2021-04-04 09:07:45 +00:00
rtldg
eb9c09be65 something something zones not loading 2021-04-04 08:34:43 +00:00
rtldg
7ce9878a50 fix some errors 2021-04-02 19:11:34 +00:00
rtldg
3750c8edeb some angle diff arrows in keys
WHICH I CAN'T SEE IF IT LOOKS GOOD BECAUSE THE CHARACTERS DON'T SHOW ON LINUX
2021-04-02 18:31:24 +00:00
rtldg
7d6d906060 moving some stuff from stats to rankings
shavit_stats_mvprankones -> shavit_rankings_mvprankones
shavit_stats_mvprankones_maintrack -> shavit_rankings_mvprankones_maintrack
Shavit_GetWRCount, Shavit_GetWRHolders, and Shavit_GetWRHolderRank now in shavit-rankings.sp
2021-04-02 18:15:00 +00:00
rtldg
4dbb371d4f forgot closestpos.inc 2021-04-02 15:14:26 +00:00
rtldg
1af3d7f9ed add testing code for sm_closestpos 2021-04-02 15:12:28 +00:00
rtldg
3a24c6a955 thing to delete savestate if changing style (spec->change style->respawn as old style) 2021-04-02 06:21:30 +00:00
rtldg
0448297994 .nav file loading without restarting the map 🤔 2021-04-01 18:00:18 +00:00
rtldg
91ccae3509 add dumb create-all .nav files thing that doesn't work for all the workshop maps which i might make it do eventually 2021-04-01 16:39:33 +00:00
rtldg
3a84ae091a remove some TODOs 2021-04-01 15:46:20 +00:00
rtldg
d50a93db09 another prebuilt zonecache error thing 2021-04-01 14:29:12 +00:00
Nairda
cd8bbdf850
update menu drawing time (#1036)
* Update shavit-rankings.sp

* Update shavit-rankings.sp

* Update shavit-hud.sp

* Update shavit-core.sp

* Update shavit-misc.sp

* Update shavit-replay.sp

* Update shavit-stats.sp
2021-04-01 13:44:10 +00:00
rtldg
f238bbcb60 bug fixes for the prebuilt zonecache merging 2021-04-01 13:43:15 +00:00
rtldg
2d39b90564 wip merging prebuilt zones into zonecache, drawing prebuilt zones, and using prebuilt stages 2021-03-31 10:14:28 +00:00
rtldg
3a691c1835 replay prop model for tf2 (untested) 2021-03-31 06:33:14 +00:00
rtldg
6ff1357c16 fix ccnames after sm_ccadd broke it 2021-03-30 13:00:04 +00:00
rtldg
14e9bf27c3 some maybe working eventqueuefix anti-basevelocity-from-startzone fix 2021-03-29 18:36:40 +00:00
rtldg
9c54cd733c maybe working eventqueuefix segmented checkpoint integration 2021-03-29 17:18:26 +00:00
rtldg
2beb4dc2ec write nav mesh for potential workshop maps 2021-03-29 14:26:54 +00:00
rtldg
01c0ab9639 preemptively add some stuff for the next replay version format 2021-03-25 04:57:17 +00:00
rtldg
56c3b2af00 +some natives +less resizing for player frames arraylist 2021-03-25 02:05:25 +00:00
rtldg
abb7cbc052 make cloned replay data be owned by the calling plugin 2021-03-25 01:19:21 +00:00
rtldg
807cbc6dfe add some checks so infinite dynamic bots can't be spawned in 2021-03-25 01:18:31 +00:00
rtldg
7117b38038 reset stamina on landing for easybhop so you don't have to change sv_staminalandcost on csgo for stamina scroll stuff 2021-03-23 12:29:57 +00:00
rtldg
78ecccf7c4 change some cvar defaults 2021-03-23 10:14:34 +00:00
rtldg
ac784cb7b8 make looping bots spawn when a replay is made 2021-03-23 08:35:52 +00:00
rtldg
dc13f2bdd2 fix replay bugs from bot_quota that only happen on csgo... hopefully this doesn't break it on css now xd 2021-03-23 06:54:25 +00:00
rtldg
6386577ef4 fix team select menu needing to be closed twice 2021-03-23 05:52:26 +00:00
rtldg
84a4f10f22 fix some new replay errors that happen on csgo 2021-03-23 05:45:46 +00:00
rtldg
87c74d329a remove some errors and warnings 2021-03-23 03:15:41 +00:00
rtldg
d1e415498e add beam_ignorez to draw beams through walls when setting up zones #618 2021-03-22 11:02:49 +00:00
rtldg
19c5ccb7f3 add sm_ccadd and sm_ccdelete 2021-03-22 09:42:03 +00:00
rtldg
db575c577b accidentally undid a change 2021-03-22 06:51:27 +00:00
rtldg
916f141c48 rename some variables and stuff 2021-03-22 06:45:02 +00:00
rtldg
8d4ffd443b ReplayStatus/ReplayType -> int. +Shavit_StartReplayFromFrameCache(), +Shavit_StartReplayFromFile(). change replay file reading so i can have a replayfile_header_t which can be used to read stuff in DeleteReplay easier 2021-03-22 05:59:33 +00:00
Joe
bef718852b
Merge pull request #1032 from GAMMACASE/trace_ray_mask
Change TraceRay masks to MASK_PLAYERSOLID
2021-03-22 02:01:16 +00:00
rtldg
cb63c59352 add Shavit_GetReplayButtons() and fix error in #1033 2021-03-21 09:16:07 +00:00
rtldg
1d4128d874 reorder tickrate grabbing in shavit-replay 2021-03-21 08:37:44 +00:00
GAMMACASE
2843123712 Change TraceRay masks to use MASK_PLAYERSOLID 2021-03-21 08:17:39 +03:00
rtldg
e9db6dcb02 add Shavit_GetReplayStarter 2021-03-21 02:10:41 +00:00
rtldg
45ad54c41e use IsValidClient instead of IsClientInGame in my new loop 2021-03-20 15:07:30 +00:00
rtldg
4084f8deee hopefully work around non-ingame clients that might be passed to NormalSHook's 2021-03-20 04:15:03 +00:00
rtldg
32d5861d04 remove unnecessary if statement 2021-03-19 12:09:50 +00:00
rtldg
c59a2af012 fix some errors in shavit-replay.sp 2021-03-19 10:58:39 +00:00
rtldg
94c38ad34c print worse time messages to spectators 2021-03-19 10:10:35 +00:00
rtldg
4d91c49d60 add sm_toggleadverts for someone special 2021-03-19 07:51:36 +00:00
rtldg
9e43f67fc3 add looping, dynamic, and prop replay bots
changed natives:
Shavit_OnReplayStart, Shavit_OnReplayEnd, Shavit_GetReplayBotFirstFrame, Shavit_GetReplayBotIndex,
Shavit_GetReplayBotCurrentFrame, Shavit_GetReplayTime, Shavit_GetReplayStatus, Shavit_StartReplay

added natives:
Shavit_IsReplayEntity

thanks carnifex for telling me how to make replay props
2021-03-19 03:03:24 +00:00
rtldg
1c4438911d remove use of MAX_NAME_LENGTH_SQL (32) and replace with MAX_NAME_LENGTH (32) 2021-03-19 02:39:27 +00:00
rtldg
9700482045 remove unused parameter 'track' from ShowWRStyleMenu() 2021-03-18 10:11:19 +00:00
rtldg
f9825f8ca1 allow beams to be changed for each zone. add vanilla_beams and no_halo too 2021-03-14 01:43:53 +00:00
rtldg
bf7f68faec change all menus to display for at least 5 minutes 2021-03-14 00:03:10 +00:00
rtldg
6ff39c0891 hopefully remove velocity difference when timer stopped in csgo 2021-03-13 23:08:10 +00:00
rtldg
dcb9595f1a show wrs and blank styles on !wr notcurrentmap 2021-03-13 22:50:44 +00:00
KiD Fearless
9dde6c1b06 Remove base.nav and write nav meshes manually
Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2021-03-13 20:53:04 +00:00
rtldg
8b48ae8c91 add velocity difference
Shavit_GetClosestReplayTime(client, style, track) -> Shavit_GetClosestReplayTime(client)
+ Shavit_GetClosestReplayStyle(client)
+ Shavit_SetClosestReplayStyle(client, style) // to be used eventually for allowing you to change replay style to compare to
+ Shavit_GetClosestReplayVelocityDifference(client, threeD)
+ shavit_replay_timedifference_tick
2021-03-13 08:19:51 +00:00
rtldg
3f7d3e3a59 speculative fix for timers starting when you're not on the ground 2021-03-11 13:09:36 +00:00
rtldg
f69d692bd6 don't allow setstart if !gB_ZonesCreated 2021-03-11 10:11:23 +00:00
rtldg
0cf6920328 use next track when copying zone settings 2021-03-11 09:51:09 +00:00
rtldg
a89e306322 add message about !m/!main 2021-03-11 09:46:49 +00:00
rtldg
17847d7cb0 add more setstart cmds, add anglesonly for floating bonuses, add missing create table, fix some sql ordering 2021-03-11 09:37:48 +00:00
rtldg
96ee05b5aa add sm_main/sm_m 2021-03-11 08:20:18 +00:00
BoomShot
63819a4e88 Implemented SetStart/DeleteSetStart into zones
The player's position and view angles when using sm_r, sm_b, and sm_start are saved into the startpositions table in the database. The primary key for each entry is a concatenation of their Steam ID, map name, and track number. It still needs to be tested on MySQL. The Natives have been tested in a separate plugin.
2021-03-11 01:25:46 -05:00