rtldg
aa1f0eb169
make Shavit_StartReplayFromFile retrieve name correctly
2022-04-12 18:14:04 +00:00
rtldg
1802f998fc
add some more semi-tested ladder stuff to checkpoints
2022-04-12 02:14:58 +00:00
rtldg
9d771dfdba
move TimerAction enum to shavit-checkpoints.sp
2022-04-11 14:03:58 +00:00
Shahrazad
6d208a8595
merge CP menus & shavit-kz.sp, etc. ( #1137 )
...
* fix normal CP menu spams on changing the style from non-kz to kz styles
* fix normal CP menu spams on changing from non-kz to kz styles, again
* merge OpenKZCPMenu() into OpenNormalCPMenu() and rename it to OpenCPMenu()
* fix handle error on server restart in KZCP styles
* 1. Added "kzcheckpoints_ontele" and "kzcheckpoints_ontele" style settings(merged in `shavit-kz.sp`).
2. Added "force"(ignore style access) parameter for "Shavit_LoadSnapshot()" and "Shavit_LoadCheckpointCache()".
3. Made "segments" as a style setting instead of special strings.
(use "segments" as specialstrings is still feasible)
note: maybe better to change TAS's default ranking multiplier to "0.0" since segmented style is also "0.0".
* 😵💫
* updated shavit-checkpoints.sp
* updated style-settings.sp
2022-04-11 13:58:18 +00:00
rtldg
c6ced66503
merge TrimTrailingInvalidUnicode into SanerGetClientName
2022-04-08 16:15:39 +00:00
rtldg
ad258dc047
fix table name array and move around
2022-04-02 12:40:46 +00:00
rtldg
ea3bd05124
mark hud messages unreliable so the hud updates more often
2022-04-02 10:35:15 +00:00
Nairda
d7785f91ce
add two additional commands for nomlist ( #1136 )
...
* add two additional commands for nomlist
that are more intuitive
* Update shavit-mapchooser.sp
2022-04-02 09:15:58 +00:00
rtldg
ef51513fcc
rename CreateInterface gamedata to CreateInterface_Server
2022-03-29 12:47:01 +00:00
defiy
76aaecdb6e
change autogain velocity setting so boosters on bhop_linear_gif aren't affected by vertical velocity
2022-03-29 03:58:20 +00:00
rtldg
ddb902e663
make sure not to put nominations twice on the map vote
2022-03-27 13:31:19 +00:00
rtldg
e0bdbfc20f
edit TRFilter_NoPlayers
2022-03-27 08:44:15 +00:00
rtldg
d6aaa8e413
clean some random tiers usage stuff in shavit-mapchooser
2022-03-26 13:30:07 +00:00
GAMMACASE
8f07c1d510
Fix targetname and classname locking ( #1135 )
...
* Move resettargetname cvars to shavit-zones
* Prevent Touch function to proceed when it should be skipped
2022-03-24 14:20:35 +00:00
rtldg
3a6592cc5e
faster LowercaseString
2022-03-23 14:22:10 +00:00
rtldg
554606a210
move Shavit_GetStageWR/PB docs to wr.inc
2022-03-23 10:42:00 +00:00
rtldg
85ff178f47
move CheckRTV to OnClientDisconnect_Post so it works properly ™️
2022-03-23 10:30:46 +00:00
rtldg
361884b17d
correct style setting SetArray size
2022-03-23 10:25:52 +00:00
rtldg
f642afe016
add max checkpoint count to checkpoint menu
2022-03-22 04:08:59 +00:00
rtldg
57326e1843
edit Shavit_SaveCheckpointCache to add target & clone handles
2022-03-21 04:30:33 +00:00
rtldg
86af6ca07b
removed Shavit_OnCheckpointCacheDeleted, added Shavit_SetTimesTeleported(), added Shavit_LoadCheckpointCache, and added Shavit_SaveCheckpointCache
2022-03-20 11:42:18 +00:00
rtldg
ea9a962711
hopefully the last commit for Shavit_SetCheckpoint ( #1133 )
2022-03-19 13:11:41 +00:00
rtldg
8f59007d1d
change position logic again for Shavit_SetCheckpoint ( #1133 )
2022-03-19 12:34:15 +00:00
rtldg
91ec294f42
try to improve usage of handles in Shavit_SetCheckpoint() & fix errors ( #1133 )
2022-03-19 11:41:52 +00:00
Nairda
b05393cf9f
rename shavit_checkpoints_checkpoints to shavit_checkpoints_enabled ( #1132 )
...
* yes
* undo indentation changes
* shavit_checkpoints_checkpointsenabled -> shavit_checkpoints_enabled
Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2022-03-18 02:24:55 +00:00
Nairda
bcc82992e5
Update doc comments for Shavit_Core_CookiesRetrieved & Shavit_ShouldProcessFrame ( #1131 )
2022-03-18 02:21:49 +00:00
GAMMACASE
0fee1862c8
Change the behaviour of shavit_misc_resettargetname ( #1123 )
...
* Redo shavit_misc_resettargetname
Also changes the way event abuses are fixed
* Obsolete shavit_misc_resettargetname/classname cvars
Also few minor optimisations to the code
* Revert the deletion of shavit_misc_resettargetname/classname
* Move targetname/classname resets to OnStartPre() forward
* Rename shavit_misc_resettargetname cvar
* Move event reset code to shavit-zones
Also replaces PhysicsCheckForEntityUntouch() function call with PhysicsRemoveTouchedList()
* don't hook teleport on bots & some random code-style changes
* remove added whitespace
Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2022-03-18 02:17:19 +00:00
Ciallo
d58d3ee1d5
fix creating replay-directories issue & hopefully first map load replays ( #1130 )
...
* fix creating replay-directories issue
* call Shavit_OnStyleConfigLoaded on lateloads
* use the stock for loading the replay folder path
* reorder some replay playback cvar usage
Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2022-03-17 12:00:22 +00:00
Ciallo
73601ffd0a
don't do the checkpoints menu thing if checkpoints cvar is disabled
2022-03-16 21:52:02 +00:00
rtldg
724244f3e8
stop calculating vel twice
2022-03-14 05:36:58 +00:00
rtldg
70f29d3ca5
fix replay props having a bad index for cachedframes
2022-03-14 02:06:59 +00:00
rtldg
de8a82707b
add Shavit_OnSavePre & Shavit_OnTeleportPre and ignore return value from Shavit_OnSave & Shavit_OnTeleport
2022-03-14 01:47:15 +00:00
rtldg
033179edf0
v3.2.0a
2022-03-05 13:50:46 +00:00
rtldg
d77fa13ebe
v3.1.3
2022-02-27 09:45:58 +00:00
rtldg
807baa13ad
make sure a timer works
2022-02-27 07:09:04 +00:00
rtldg
69445ebab5
add some more checkpoint forwards so mpbhops_but_working can work with segmented styles
2022-02-27 05:11:04 +00:00
rtldg
98fcc37b7b
remove a bool around that might affect some rare checkpoints error
2022-02-27 04:07:13 +00:00
rtldg
060ce5e660
check replay header for time if replay-playback is unloaded
2022-02-24 23:10:22 +00:00
rtldg
80e8480b7a
add Shavit_GetReplayEntityFlags & have scroll count work for replay bots (non-prop) #1125
2022-02-24 06:24:33 +00:00
rtldg
4e89fb60d9
halve potential GetRankForTime search space for lots of records
2022-02-21 19:29:12 +00:00
rtldg
2e791a8237
set wrname on wr for when the query takes a second
2022-02-21 19:15:32 +00:00
rtldg
840490cc54
this should let you change shavit_zones_box_offset without reloading the plugin
2022-02-21 18:39:28 +00:00
rtldg
98ee179927
make prespeed_ez_vel work with just angles too
2022-02-21 18:31:15 +00:00
rtldg
525b62753b
change prespeed_ez_vel velocity vector calculation
2022-02-20 22:42:57 +00:00
rtldg
a4e2dccc12
sort convars so finding things is easier
2022-02-18 02:23:23 +00:00
rtldg
363627603b
maybe this style playtime thing will finally go away
2022-02-17 19:32:29 +00:00
rtldg
89e97dfd3d
don't start non-prespeed styles unless on ground for .5s
2022-02-13 20:37:15 +00:00
rtldg
fc4aac0c47
remove forgotten params & add !czone & maintain menu pos
2022-02-12 20:57:28 +00:00
NukoOoOoOoO
9c634868cb
sm_czones implementation ( #1119 )
...
* Initial czones implementation
* ok men
* read cookie
* :pepega:
* Update shavit-zones.sp
* UltraThin lets goooo
* Translation, ZoneDisplay_None
* format a little bit
* more readable
* Fix typo and i did this on phone
* getting translation properly, thank you haze <3
* make GetZoneName check for >=ZONETYPES_SIZE
* i dont know why this was in common.txt, maybe parallel universe is real
* some random things
* combine custom-zone cookies
Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2022-02-12 20:49:20 +00:00
rtldg
a6ade753fe
add startinair style setting
2022-02-10 22:02:52 +00:00
Nairda
120f82eaf4
add test_ to default mapchooser exclusion list ( #1121 )
...
add default "test_" maps to be excluded from being shown in nominations and mapvotes
2022-02-10 20:14:29 +00:00
rtldg
22c9e50ed7
remove some warnings & TODOs
2022-02-09 22:28:16 +00:00
rtldg
2ef8407292
add note to SanerGetClientName & sourcemod 1.11
2022-02-09 22:16:14 +00:00
rtldg
ef5ac148b3
fix lowgrav & ladder combo sometimes breaking for chogi gf
2022-02-09 21:55:13 +00:00
rtldg
44eb29e27c
some random error about a null checkpoints array comes up sometimes
...
L 01/24/2022 - 17:51:57: [SM] Exception reported: Invalid Handle 0 (error: 4)
L 01/24/2022 - 17:51:57: [SM] Blaming: shavit-checkpoints.smx
L 01/24/2022 - 17:51:57: [SM] Call stack trace:
L 01/24/2022 - 17:51:57: [SM] [0] ArrayList.Length.get
L 01/24/2022 - 17:51:57: [SM] [1] Line 1088, D:\sourcemod-1.10.0-git6528-windows\addons\sourcemod\scripting\shavit-checkpoints.sp::OpenNormalCPMenu
L 01/24/2022 - 17:51:57: [SM] [2] Line 949, D:\sourcemod-1.10.0-git6528-windows\addons\sourcemod\scripting\shavit-checkpoints.sp::OpenCheckpointsMenu
L 01/24/2022 - 17:51:57: [SM] [3] Line 787, D:\sourcemod-1.10.0-git6528-windows\addons\sourcemod\scripting\shavit-checkpoints.sp::Command_Checkpoints
2022-02-09 21:23:15 +00:00
rtldg
0bde3c42b6
add some random things to prevent stupid small replay files from trying to load or save
2022-02-09 20:50:49 +00:00
rtldg
0c459505c8
don't disable detour if detour was never enabled
2022-02-09 20:38:42 +00:00
Nairda
253321ced6
stats exploit
...
fix exploit allowing to "farm" playtime while spectating
2022-02-04 04:05:24 +00:00
rtldg
a0153de9f8
don't let mp_humanteam get in the way of jointeam 1 (for css spectate menu prompt on first join)
2022-02-04 02:21:28 +00:00
rtldg
987eebb3b0
draw perfs keyhint even in startzone so the hud doesn't resize constantly
2022-02-01 19:20:19 +00:00
rtldg
9a5ff64fc5
add speedmod & lagged movement values to debug targetname hud thing
2022-01-31 20:49:08 +00:00
rtldg
26dfdcc927
invert this duck autogain nsl boolean
2022-01-29 15:30:36 +00:00
rtldg
d335ec7262
v3.1.2
2022-01-28 17:19:29 +00:00
rtldg
0000000146
csgo can have non-string values in the variant of AcceptInput for player_speedmod
2022-01-22 18:06:40 +00:00
rtldg
0000000868
use Plugin_Stop instead of Plugin_Handled in command-listener
2022-01-21 08:39:08 +00:00
rtldg
0000000b2b
Revert "update scoreboard/clantag more often" -- css scoreboard update interval is 1s
...
This reverts commit a8016dff00 .
2022-01-20 16:50:39 +00:00
rtldg
00000008fd
make sure the z isn't scaled just in case for prespeed_ez_vel
2022-01-20 18:45:34 +00:00
rtldg
dd0059f15f
use a formula for the max prestrafe
2022-01-19 12:38:27 +00:00
rtldg
b042a6c170
v3.1.1 & CHANGELOG.md
2022-01-19 11:09:53 +00:00
rtldg
345461a838
hijack angles when autoprestrafing
2022-01-19 09:41:09 +00:00
rtldg
894ecdff48
make sure the DumbSetVelocity only happens if we scale prespeed speed
2022-01-19 09:41:09 +00:00
rtldg
117d2d277c
set snapshot.fplayer_speedmod when checkpointing a bot so players don't get stuck
2022-01-19 09:41:08 +00:00
rtldg
7a11acf2e6
remove points_calced_from since it should only update on wr now so it's unnecessary
2022-01-19 09:41:01 +00:00
rtldg
b3b7de37e2
trim out some unnecessary point recalculations
2022-01-19 01:24:03 +00:00
rtldg
aef89e9bb4
add awful prestrafe limit thing because tas autoprestrafe on 128 tick goes slightly higher than 290.0
2022-01-18 17:55:03 +00:00
rtldg
01a62b5d6b
hopefully save oldyaw for tas better
2022-01-18 15:56:56 +00:00
rtldg
9434e1395f
silent offset messages
2022-01-18 15:06:52 +00:00
rtldg
37a3a63bad
small edits to shavit-tas
2022-01-18 15:05:18 +00:00
rtldg
fda843a09f
add !hideweps alias
2022-01-18 14:43:01 +00:00
rtldg
bacc5672fc
remove auto-find-offsets cvar for m_surfaceFriction since it has false positives
2022-01-18 14:41:20 +00:00
rtldg
c8c87347a5
move the tas setting defaults below the specialstring setter stuff
2022-01-15 17:12:40 +00:00
rtldg
d1b2ffd461
normalize angle difference just in case
2022-01-15 13:02:45 +00:00
NukoOoOoOoO
e43c011711
basic autostrafe ( #1114 )
2022-01-15 12:56:38 +00:00
rtldg
062efd4772
prefix expected rank with #
2022-01-15 12:54:00 +00:00
rtldg
ecbc7edca2
add back reset checkpoints option when tas menu stuff
2022-01-15 12:49:09 +00:00
rtldg
3d40d4f809
add !adverts
2022-01-15 12:19:17 +00:00
rtldg
6d296caf36
make pb menu usage a bit nicer and less buggy
2022-01-15 12:08:01 +00:00
rtldg
2909a38179
fill replay name with steamid by default
2022-01-15 11:41:54 +00:00
rtldg
4167001b5c
make block_pstrafe do nothing when autostrafe is enabled
2022-01-15 11:34:10 +00:00
rtldg
6c88f45ba0
make sure we wrap a shavit-mapchooser native in a check for the module being loaded
2022-01-14 08:11:40 +00:00
rtldg
9adc56e284
something to not print the timer message prefix space thing if there's no prefix
2022-01-13 17:50:36 +00:00
rtldg
4d9f3f9a1b
move this tas vel change into an else statement
2022-01-13 12:43:52 +00:00
rtldg
ac9b204ffd
only 1 decimal for timescale in menu
2022-01-13 03:29:11 +00:00
rtldg
b4d13836ea
remove forgotten chat timescale float print thing
2022-01-13 03:22:18 +00:00
rtldg
6921f38214
make most of the timeleft messages silent
2022-01-11 11:41:57 +00:00
rtldg
cdd8c56a5e
v3.1.1a
2022-01-11 11:04:40 +00:00
rtldg
0133300a40
v3.1.0
2022-01-11 10:14:39 +00:00
rtldg
b4b79d2159
update topleft on when changing spectatee
2022-01-11 10:13:28 +00:00
rtldg
5d47c2dd1b
make !times open pb menu
2022-01-11 09:47:52 +00:00
rtldg
150bd15b55
move !extend to shavit-timelimit
2022-01-11 09:44:39 +00:00