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