Commit Graph

337 Commits

Author SHA1 Message Date
rtldg
6325212dfb Merge branch 'master' into reorg 2021-10-11 06:02:44 +00:00
rtldg
0f66a081a3 remove css flashlight on !spec 2021-10-11 06:01:40 +00:00
rtldg
f0908643f6 finish moving checkpoint stuff 2021-10-09 09:17:58 +00:00
rtldg
96496f14ba move most checkpoint stuff out of misc and into shavit-checkpoints 2021-10-09 05:40:33 +00:00
rtldg
0b31c6a608 remove Shavit_OpenCheckpointMenu 2021-10-08 15:07:08 +00:00
rtldg
d02cc0bd22 move some more stuff around 2021-10-08 15:03:09 +00:00
rtldg
8449c8b9d9 move physicsuntouch stuff to a different file 2021-10-08 14:46:36 +00:00
rtldg
c33ea7c0d0 move UpdateStepSound stuff to shavit-replay 2021-10-07 19:48:51 +00:00
rtldg
c4783eae37 shavit_misc_staticprestrafe -> shavit_core_staticprestrafe 2021-10-07 19:30:33 +00:00
e54385991
612c81f01a
fix 1.10 compile 2021-10-07 12:47:50 +08:00
rtldg
9b00e1f16a replace playertimer_t with timer_snapshot_t 2021-10-05 05:31:53 +00:00
rtldg
bfdfff0eb1 remove usage of BHStartZoneDisallowed 2021-09-28 08:18:46 +00:00
rtldg
e53fb80373 add shavit_misc_spec_scoreboard_order 2021-09-28 05:25:49 +00:00
rtldg
dee57b2c3d fix !hide & your own csgo footsteps 2021-09-22 05:10:51 +00:00
rtldg
935f316b65 remove thing that would stop from overflowing regular checkpoints 2021-09-19 21:13:39 +00:00
rtldg
f4d8e55789 stop endtouch booster abuse on segmented (requires eventqueuefix) 2021-09-17 03:30:14 +00:00
rtldg
a4bff5cca8 adjust shavit_misc_bhopsounds handling 2021-09-12 00:39:54 +00:00
rtldg
fb14355f9b stop multiple noclip commands from running in the same tick 2021-09-11 20:32:43 +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
24e6a0b937 fix bullet sound/impact hook 2021-09-08 20:23:08 +00:00
rtldg
b602c57440 add shavit_misc_prespeed_startzone_message for someone special 2021-09-06 19:34:56 +00:00
rtldg
cfa724f738 try to fix tf2 uncrouch spam from limiting velocity 2021-09-05 20:55:53 +00:00
rtldg
fc801e8a01 fix resetting checkpoints menu from being overlayed by checkpoint menu reopening. thanks, haze 2021-08-20 22:20:19 +00:00
rtldg
c3ad16b418 cleanup all weapons on the ground if no-weapon-drops is enabled 2021-08-15 13:23:28 +00:00
rtldg
aa78c6fc0e reopen checkpoint menu repeatedly in case someone has bad internet and the menu disappears 2021-08-15 12:28:25 +00:00
rtldg
1f32b9cbdc make persistent-data use real time, not engine time 2021-08-15 12:22:53 +00:00
rtldg
3f14b65cc4 add Shavit_OnRestartPre 2021-08-12 12:46:50 +00:00
rtldg
6b7f187090 make mp_humanteam always apply 2021-08-08 22:40:34 +00:00
rtldg
8009dbab88 replace some usages of TeleportEntity with setting m_vecAbsVelocity instead 2021-08-08 15:55:16 +00:00
rtldg
b38d875fd1 simplify Command_Jointeam 2021-08-08 15:55:16 +00:00
rtldg
0f21467ac7 make FindPersistentData faster 2021-08-08 15:55:16 +00:00
rtldg
b4d1d8a8c0 fix some checkpoint/gravity/timescale/speed related stuff 2021-08-08 15:55:16 +00:00
rtldg
d112d3dbd0 add dumb shavit_misc_resettargetname_main and shavit_misc_resettargetname_bonus 2021-08-08 15:55:15 +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
65f4cf6827 fix shavit_misc_hideteamchanges on css 2021-07-30 07:12:37 +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
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
0ddf5f5c70 move shavit-misc config stuff and mapfixes stuff around 2021-07-27 08:12:03 +00:00
rtldg
4f23ec8791 stop spectators from getting aimpunched 2021-07-26 09:34:14 +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
GAMMACASE
090c2bed5b
Remove practice mode check for target/classname reset (#1061) 2021-07-23 16:59:02 +00:00
rtldg
82c6ab1f92 add shavit-mapfixes.cfg 2021-07-23 15:31:38 +00:00
rtldg
b07133b1aa change shavit_misc_weaponsspawngood a bit 2021-07-22 15:39:15 +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
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
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
576534092b stop creating so many spawnpoints 2021-07-13 08:39:06 +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
f64c3f92a6 filter out MOVETYPE_NOCLIP from checkpoints of replay bots 2021-07-10 10:41:37 +00:00
rtldg
40429c6afe hopefully fix persistent data & checkpoint errors 2021-07-09 08:59:52 +00:00
rtldg
757c2f051f fix a bug that deletes spectator's persistent data 👀 2021-07-07 02:30:34 +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
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
82918f1945 rate limit sm_glock, sm_usp, and sm_knife 2021-07-04 11:01:34 +00:00
rtldg
13eff3574c remove an unnecessary parameter 2021-06-18 20:07:06 +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
84cb7b98cd misc 2021-06-05 22:33:17 +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
c9f8724d50 change sm_p to profile instead of noclip 2021-05-25 11:32:44 +00:00
deadw1nter
a7c2e66559
Fix damage (#1051) 2021-05-24 05:25:28 +00:00
rtldg
fb7d36cc18 rename fLadderNormal to vecLadderNormal 2021-05-23 12:39:59 +00:00
rtldg
7fa6da8e03 move some tf2 dhooks stuff around 2021-05-23 08:27:42 +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
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
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
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
2c9904cb34 unloading eventqueuefix in the start zone causes an error 2021-04-17 12:44:13 +00:00
rtldg
7a8c735a28 stop duplicating replay frame buffer when persisting data 2021-04-11 19:37:01 +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
fd69a95e52 keep persistentdata when changing to same map
(helps with server hibernation switching maps)
2021-04-08 08:21:26 +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
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
b821844a4c remove redundant pause eye-angles since it's already done in shavit-core 2021-04-06 16:30:16 +00:00