Commit Graph

1843 Commits

Author SHA1 Message Date
rtldg
79baadf541 add shavit_misc_bad_setlocalangles_fix 2022-05-27 03:16:44 +00:00
rtldg
6fc6ca86bc remove unused/broken beamer code 2022-05-27 01:57:47 +00:00
rtldg
4bfa75a32c replace many instances of NULL_VECTOR because sourcemod is fucking stupid 2022-05-26 09:19:39 +00:00
rtldg
d8a9dd7d7b add sm_beamer 2022-05-26 08:44:37 +00:00
rtldg
ed481b216c don't clone database handle if it's 0 2022-05-26 00:35:58 +00:00
rtldg
7dddfe25f3 make wr menu also print steamids to chat for #1146 2022-05-25 13:01:07 +00:00
rtldg
ef3ca621c4 add more contributors & copyright attributions. mostly done via git blame but also it's also likely i missed some people. 2022-05-25 11:43:57 +00:00
rtldg
5b5652a34d fix typo 2022-05-23 03:15:38 +00:00
rtldg
96ef03e458 make slay zones *actually* force suicide. only slay if timer != stopped 2022-05-22 07:46:13 +00:00
rtldg
c2e50761ec add basic strafer thing to autogain 2022-05-21 23:44:35 +00:00
BoomShot
e817a9ada7
Small fix for shavit-core (#1144) 2022-05-21 13:36:22 +00:00
rtldg
53463d8fb9 alternative teleport angle hijack stuff 2022-05-19 08:39:48 +00:00
rtldg
22a68b491b add HUD_SPECTATORSDEAD 2022-05-17 02:37:41 +00:00
rtldg
bc62b92983 add ent_fire to cheat commands list (for csgo) 2022-05-16 00:13:34 +00:00
rtldg
a23348d843 add !maprestart and !mapreload aliases 2022-05-12 07:27:27 +00:00
rtldg
acf47a11b1 add Zone_Speedmod for oblivious 2022-05-10 01:51:00 +00:00
rtldg
ab73e36a15 czones: use same settings for all bonuses & let more types be editable 2022-05-09 23:55:00 +00:00
rtldg
2616712c9e some closestpos debug prints 2022-05-05 04:59:20 +00:00
Shahrazad
487e3db9d0
Use and duplicate other's checkpoints implementation (#1142)
* add target param for Shavit_TeleportToCheckpoint(), Shavit_OnTeleport() and Shavit_OnTeleportPre()

* Use others' checkpoints implementation

* Automatically refresh current checkpoint index

* add owner param for Shavit_OnCheckpointMenuSelect()

* add duplicate param for Shavit_OnSavePre() & Shavit_OnSave(), etc.

* use persistent cp initial

* temporarily no more for using persistent checkpoints

* final check and add convar for using others cp

* Update shavit-misc.phrases.txt

* reorder parameters

* changes

* AHHHHHHHHHHHHHHHHHHH GIT YOU FUCKING FAILED THE PATCH MERGE YOU PIECE OF SHIT

Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2022-05-04 02:25:40 +00:00
rtldg
e0162afce3 update changelog 2022-04-27 18:59:17 +00:00
rtldg
7c842afdf0 v3.2.0 2022-04-27 16:04:24 +00:00
rtldg
9a3b80f418 fix checkpoint menu message from showing every kz-style change 2022-04-27 15:44:04 +00:00
rtldg
c8ed191d11 m_iPrimaryAmmoType can be -1 for knives 2022-04-26 14:55:35 +00:00
rtldg
a25417cc8a add infinite ammo options for all guns to shavit_misc_weaponcommands 2022-04-26 14:44:59 +00:00
rtldg
b2b2fe3344 add fClosestReplayLength to huddata_t and Shavit_GetClosestReplayTime 2022-04-23 17:09:35 +00:00
rtldg
b956ffb8aa make the reset checkpoints button also trigger Shavit_OnDelete (#1138) 2022-04-23 13:41:51 +00:00
rtldg
158f0b8546 disable the extra css ladder stuff from checkpoints for now 2022-04-21 13:22:44 +00:00
rtldg
f1ad55fddf add note to shavit_hud_ticksperupdate 2022-04-21 13:18:41 +00:00
rtldg
14e71dbbb4 make the buttons in the wr submenu not do stuff 2022-04-16 17:37:08 +00:00
rtldg
c170393447 add UppercaseString because why not 2022-04-16 00:33:28 +00:00
rtldg
cf5bc4b7db make sure the center keys doesn't send multiple times per tick 2022-04-15 22:39:45 +00:00
rtldg
2ac4190865 small changes to checkpoint practice mode thing & force param 2022-04-15 22:39:45 +00:00
rtldg
48ffd9bc71 add shavit_hud_block_spotted_hint 2022-04-15 22:39:39 +00:00
rtldg
1230bf9266 remove Shavit_Core_CookiesRetrieved 2022-04-15 22:33:08 +00:00
rtldg
fb5c247953 add some checks if shavit-zones is loaded 2022-04-15 15:51:54 +00:00
rtldg
9902b8adac some potential steamid future proofing 2022-04-12 18:42:25 +00:00
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
rtldg
f474a944ae option whether to draw !keys in the center or menu for csgo 2022-01-11 07:54:31 +00:00
rtldg
e1e404714b delete shavit-info 2022-01-11 07:23:57 +00:00
rtldg
91241c235c make sure that onstop forward runs 2022-01-11 05:43:44 +00:00
rtldg
573e97e9dc hsw shouldn't track strafes on w 2022-01-10 19:41:18 +00:00
rtldg
ec881bbae5 some final touch ups 2022-01-09 19:28:37 +00:00
rtldg
cf7c1d85bb something that might let people unrtv after a non-rtv'd mapvote 2022-01-09 18:35:45 +00:00
rtldg
0adf03b575 no decimal for timedifference when >= 60 2022-01-09 14:05:58 +00:00
rtldg
918cfde75d i don't want to see 'Timeleft: 1 minutes' 2022-01-09 13:53:11 +00:00
rtldg
46550e7a83 extend some hud stuff 2022-01-09 13:48:39 +00:00
rtldg
7675b60567 hud forward stuff 2022-01-09 10:48:48 +00:00
rtldg
b11b82b286 update some random strings 2022-01-07 16:52:12 +00:00
rtldg
f4d2d6d653 fix memory leak in spec_next/spec_prev listener. thx @Ciallo-Ani 2022-01-07 16:19:43 +00:00
rtldg
590d1fb290 adjustments to !pb 2022-01-07 15:44:22 +00:00
NukoOoOoOoO
3be3b4e3b2
Implementation of !pb / !time (#636) (#1108)
* Initial implementation of !pb / !time

* Lowercase map name
2022-01-07 14:41:55 +00:00
rtldg
fbdfc7bbea check if valid index of course :) 2022-01-05 21:11:50 +00:00
rtldg
0cc406c962 add 0.5x playback for replay bots 2022-01-05 21:08:26 +00:00
rtldg
871f59c235 save persistent data on ForcePlayerSuicide() / kill / CommitSuicide() 2022-01-05 12:18:45 +00:00
rtldg
776d32b0ef fix NoPlayers trace filter used for IsSurfing 2022-01-05 08:50:30 +00:00
rtldg
85c1617658 adjust specialstring style key setting 2022-01-05 08:14:26 +00:00
rtldg
fa58b0f7fe add shavit_chat_enabled 2022-01-05 04:54:57 +00:00
rtldg
0286df9edd miscellaneous tas fixes 2022-01-04 17:36:59 +00:00
rtldg
9c4f626076 fix Shavit_GetZoneID :^) 2022-01-04 15:41:43 +00:00
rtldg
3a87717250 correct tas style settings names 2022-01-04 14:56:12 +00:00
rtldg
3816aa3646 add something for tas jumping out of the start zone with a 0 offset 2022-01-04 14:50:50 +00:00
rtldg
baa824e872 add Shavit_GetZoneTrack, Shavit_GetZoneType, and Shavit_GetZoneID 2022-01-04 14:25:51 +00:00
rtldg
e8e8f71657 rename some tas things & give style settings per feature 2022-01-04 13:31:42 +00:00
rtldg
a115632b7b add chat messages for tas commands 2022-01-04 08:04:27 +00:00
rtldg
58dbd6d1c3 don't hook tas PostThinkPost for bots 2022-01-04 07:51:23 +00:00
rtldg
c089b3af9d add tas-feature toggle commands 2022-01-04 07:46:17 +00:00
rtldg
b25afa84a3 reopen tas settings menu to correct page 2022-01-03 18:48:23 +00:00
rtldg
d2763d337b add missing timescale handler for the tasmenu 2022-01-03 17:59:36 +00:00
rtldg
ccb0caee7b add edge-jumping to tas 2022-01-03 17:59:21 +00:00
defiy
4880735a71 use different way of setting velocity in tas-oblivious to help with boosters boosting too much (like on bhop_ragequit) 2022-01-03 07:58:17 +00:00
rtldg
527864b426 try to prevent annoying autojump spam 2022-01-03 07:51:37 +00:00
rtldg
240caba1a2 tas & timescale menu changes 2022-01-03 07:40:49 +00:00
defiy
6bc371e940 handle +duck for autogain 2022-01-02 17:42:35 +00:00
rtldg
3b5ed62b28 add sm_tasm alias 2022-01-02 17:26:56 +00:00
rtldg
b34a4e6677 add key overrides to tas menu 2022-01-02 17:26:29 +00:00
rtldg
42c4550df5 fix autogain not starting where you're aiming from 0 velocity 2022-01-02 17:04:47 +00:00
rtldg
c9c6a333a4 make all these tas functions stocks 2022-01-02 16:21:21 +00:00
rtldg
ba5ad21661 add tas settings menu & missing autojump natives 2022-01-02 15:40:59 +00:00
rtldg
da172f07aa tas credits & override fixes 2022-01-02 14:46:44 +00:00
rtldg
576c773134 finish adding apis for tas & such 2022-01-02 14:13:09 +00:00
rtldg
8a9fe14274 lowercase style settings that are set from specialstring 2022-01-02 13:23:53 +00:00
rtldg
1633201e16 put xutax & oblivious autostrafe types behind style setting 2022-01-02 12:33:42 +00:00
defiy
e3ed6027ca add oblivious autogain tas & prestrafe stuff 2022-01-02 12:17:55 +00:00
rtldg
2fa06031de shape into shavit-tas 2022-01-02 11:49:00 +00:00
XutaxKamay
1ce6acc5f4 xutax autostrafer stuff 2022-01-02 11:18:39 +00:00
rtldg
d83b62c070 change how we check for segments in shavit-checkpoints 2022-01-02 06:45:34 +00:00
rtldg
794c379bf2 add menu parameter to Shavit_OnCheckpointMenuMade 2022-01-02 06:42:48 +00:00
rtldg
578dd01e1a add +/- timescale to checkpoints menu 2022-01-02 05:54:41 +00:00
rtldg
0c91c19ba6 trim whitespace & add licenses 2022-01-01 10:15:28 +00:00
rtldg
168968800d add missing MarkNativeAsOptional for Shavit_GetReplayFolderPath 2022-01-01 10:15:28 +00:00
BoomShotKapow
0775d10d81 Add default parameters to stock function 2022-01-01 10:15:28 +00:00
rtldg
ae0145430a remove some sourcemod 1.11 warnings 2022-01-01 10:15:18 +00:00
BoomShotKapow
3348e54316 SourceMod 1.11 dev changes & Query -> Query2 2022-01-01 10:12:53 +00:00
rtldg
005f7d97f6 use dhooks.inc from sourcemod-1.11.0-git6837 2022-01-01 07:58:10 +00:00
BoomShotKapow
b17979aad0 Minor fix to KillAllZones 2022-01-01 07:18:07 +00:00
EvanIMK
4ec8a620be add Shavit_IsClientUsingHide() 2022-01-01 07:13:31 +00:00
rtldg
73d21ea9d1 set everything in specialstring as regular style keys 2022-01-01 07:12:10 +00:00
rtldg
ee7e13579f correct internal buffer sizes used for GetStyleStrings 2022-01-01 06:49:33 +00:00
rtldg
870c62a8c9 don't tele on style-change while dead & fix !r while dead not respawning 2022-01-01 05:02:09 +00:00
rtldg
f193679a9d get all the tas_timescale stuff working PERFECTLY 2021-12-31 19:00:58 +00:00
rtldg
8e0736e3d3 add prespeed_ez_vel 2021-12-31 18:58:30 +00:00
rtldg
bff7ace887 more time stopping stuff for times that are too low 2021-12-31 18:58:30 +00:00
rtldg
a750753a62 show toplefthud when spectating idle central !replay bot 2021-12-31 18:58:30 +00:00
rtldg
c00865c9ee make debug targetname thing a !hud option instead of cvar 2021-12-31 18:58:30 +00:00
rtldg
94b3c41f41 bump replay file version since end-zone-offset is now being used correctly for playertimes.... 2021-12-30 11:29:32 +00:00
rtldg
431fd18ecb make shavit-hud update topleft on track change 2021-12-30 10:17:14 +00:00
rtldg
cd2a74240a make style/track change callbacks actually change before calling 2021-12-30 10:17:01 +00:00
rtldg
900083b321 make ihatemain & advertisements silent messages 2021-12-30 09:25:14 +00:00
rtldg
0a99f06ff4 mess around with the timer starting & restarting code 2021-12-30 09:24:12 +00:00
rtldg
01a2e616a6 make smc_display_timeleft display time until map vote in chat 2021-12-30 07:53:28 +00:00
rtldg
8827864fb8 delay wrhrank queries since they're slow and block all the other queries which is very annoying for me since it's like a 4s query so i just sit there waiting for my cookies & such to load 2021-12-29 21:33:16 +00:00
rtldg
c177dfb671 combine wr & leaderboard queries 2021-12-29 21:11:19 +00:00
rtldg
43d6a31ac0 make shavit-wr validmaps query union mapzones&playertimes 2021-12-29 19:58:10 +00:00
rtldg
426d6af3c5 add some notes deleting some handles returned from natives 2021-12-29 19:31:12 +00:00
rtldg
ede141d8c0 recalc on wr delete & remove recalc on map end 2021-12-29 19:06:23 +00:00
rtldg
4c46975584 remove unnecessary query 2021-12-29 18:13:32 +00:00
rtldg
345d6bf28e cleanup mvp test stuff that i think didn't work 2021-12-29 18:10:19 +00:00
BoomShotKapow
94d8d91a82 fix wrholderrank table creation error with versions of mysql 8.0 (#1097) 2021-12-29 11:40:13 +00:00
rtldg
cd91255c52 make timer_countdown_timescale = fTimescale * style_timescale 2021-12-29 11:39:57 +00:00
rtldg
35391f36d1 make stoptimer confirmation menu work with styles and add some more forwards 2021-12-29 09:24:18 +00:00
rtldg
62c2a26e48 make spectate command use !spec handler 2021-12-29 09:24:18 +00:00
rtldg
53aeec31f2 get more stoptimer confirmation menus working 2021-12-29 09:24:18 +00:00
rtldg
aa7887ecf4 make some of these admin menus reopen 2021-12-29 09:24:18 +00:00
rtldg
caeb35febd make GetStyleSettingBool check float instead of int 2021-12-29 09:24:18 +00:00
rtldg
4aac85d3fd add some tas_timescale stuff and stuff kid-tas 2021-12-29 09:23:57 +00:00
rtldg
1509e77728 hopefully stop timer commands menu from being wiped on plugins reload 2021-12-29 08:55:20 +00:00
Nairda
fff864ffba
update sm_save & sm_tele descriptions to match readme (#1102) 2021-12-27 11:13:10 +00:00
rtldg
f89816449a add !prevcp, !nextcp, and !deletecp 2021-12-27 11:06:45 +00:00
rtldg
f14ae3a604 ensure timescale-change callback is called on Shavit_LoadSnapshot 2021-12-27 11:03:12 +00:00
rtldg
c68d50a4d0 show 'Refresh menu' on every zone menu page 2021-12-27 11:03:12 +00:00
rtldg
78b276c350 change comment 2021-12-27 11:03:12 +00:00
rtldg
3c59adce57 all valve_fs search-paths from maps folder reader 2021-12-22 08:16:34 +00:00
rtldg
223611d7a9 make cleaner !profile queries 2021-12-22 08:16:28 +00:00
rtldg
396f2017c5 add prespeed_type, blockprejump, nozaxisspeed, and restrictnoclip as available style settings 2021-12-21 00:38:14 +00:00
rtldg
7ca35b908b Revert "shavit_misc_staticprestrafe -> shavit_core_staticprestrafe"
This reverts commit c4783eae37.
2021-12-21 00:38:06 +00:00
rtldg
a79016397a wrap CalculateRunTime offset stuff in cvar check 2021-12-21 00:33:45 +00:00
rtldg
03c3af1a4f it's fine to have all the speedmod stuff in a post hook 2021-12-21 00:33:45 +00:00
rtldg
4b711b1fab add Shavit_GetReplayFolderPath_Stock 2021-12-21 00:33:45 +00:00
rtldg
25e6f29e7c change !resume message colors 2021-12-21 00:33:45 +00:00
rtldg
2e627fe3e2 update velocity-difference if pause-movement is enabled 2021-12-21 00:33:45 +00:00
rtldg
a146b51fb1 gimp Shavit_OnTimeIncrement and adjust tick->time stuff 2021-12-21 00:33:45 +00:00
rtldg
39c9d96924 don't do zone offset stuff on mins/maxs if the offset is bigger than the zone's x/y half-distance
xc_fox_shrine_japan_v1 will crash if i make a 16unit zone at the top (maybe elsewhere too?) so that's why this was added.
2021-12-21 00:33:45 +00:00
rtldg
6952bab715 add some unused zone things until i get around to messing with it more 2021-12-21 00:33:45 +00:00
rtldg
1802dd8007 fix the player_speedmod button disable flags not working (for things like bhop_futile) 2021-12-17 00:56:18 +00:00
rtldg
51427be3e9
Merge pull request #1094 from BoomShotKapow/master
Minor changes to replay-recorder
2021-12-16 10:21:59 +00:00
BoomShot
de1d1d5145
Fix isBestReplay being out of order 2021-12-16 04:08:13 -06:00
BoomShot
c14b133a42
Update documentation for Shavit_OnReplaySaved (#1) 2021-12-16 04:01:17 -06:00
rtldg
a8016dff00 update scoreboard/clantag more often 2021-12-15 12:57:51 +00:00
rtldg
6573e0cbbc add shavit_misc_resetclassname_main and such 2021-12-15 01:57:57 +00:00
rtldg
254eea7780 skip function stuff if shavit_rankings_weighting = 1 2021-12-14 11:26:27 +00:00
rtldg
c36bac0c84 move the perf measuring & bOnGround setting back since it's problematic with resetting stamina and I don't want to add another variable for if we were on the ground in the tick or something like that 2021-12-14 11:03:20 +00:00
rtldg
07de010a28 skip delay if we skip seconds on a replay bot 2021-12-11 04:11:52 +00:00
rtldg
0db2b30a77 base strafe count on input vel instead of buttons 2021-12-07 08:27:05 +00:00
rtldg
8830035af5 move strafe & perf measuring to OnPlayerRunCmdPost 2021-12-07 08:15:22 +00:00
rtldg
729f060f91 add shavit_core_save_ips if you don't want ips 2021-12-07 06:00:36 +00:00
rtldg
2316fac678 just use snapshot since that's what gA_Timers[] are made of 2021-12-07 05:53:20 +00:00
rtldg
04eea994d8 allow any number of kz buttons 2021-12-07 05:37:49 +00:00
rtldg
86b23b33a2 fix some kz button restarting things & add track param to Shavit_MarkKZMap() & Shavit_IsKZMap() 2021-12-05 01:52:04 +00:00
rtldg
f02ac94bbf let you press climb_endbuttons without being on the ground 2021-12-05 00:52:48 +00:00
rtldg
1946de926b move some more things into maps-folder-stocks.inc 2021-12-05 00:24:31 +00:00
rtldg
76988a509b seriously no 0s times please 2021-12-03 23:01:44 +00:00
rtldg
29d50b69c1 fix logic for easteregg ranks now that !ranks & !chatranks are merged 2021-12-01 22:22:25 +00:00
rtldg
2015027ed6 select track>0 because group by track>0 2021-12-01 04:34:50 +00:00
rtldg
616de1ce97 make sure some handles are deleted by littering deletes everywhere 2021-11-30 03:03:11 +00:00
rtldg
4fef03f925 remove new db connection stuff 2021-11-29 06:36:42 +00:00
rtldg
f5652c641e don't print practice mode warning when teleporting to practice mode checkpoint while already in practice mode 2021-11-29 05:02:19 +00:00
rtldg
f3ec01870b don't display stop confirmation when in practice mode 2021-11-29 04:46:47 +00:00
rtldg
2067dc7c38 change zones.cfg parsing to jump to keys instead of hoping they're in order 2021-11-29 04:34:23 +00:00
rtldg
c55531168d add Zone_NoTimerGravity and Zone_Gravity 2021-11-28 21:56:05 +00:00
rtldg
e32b79c941 make the setmaptier query not error 2021-11-28 06:02:20 +00:00
rtldg
b6a81e04e3 add some missing min/max cvar values 2021-11-28 04:15:28 +00:00
rtldg
64088b6147 fix !wr <mapname> matches menu giving the wrong map 2021-11-28 03:54:52 +00:00
rtldg
20dd2a9665 might help with '0.0%-0.1%' chat ranks 2021-11-28 03:35:34 +00:00
rtldg
6d21e25679 add some scuffed code to let you !settier N bhop_different_map 2021-11-28 03:08:41 +00:00
rtldg
4d1a0b5eb3 print steamid to chat when using !profile <otherplayer> 2021-11-28 02:23:32 +00:00
rtldg
f8f336d21a finish up this crusty code that'll use mapchooser maps in !profile 2021-11-28 01:54:25 +00:00
rtldg
79cd7f1225 add more things to anti-sv_cheats command list 2021-11-27 20:24:46 +00:00
rtldg
3c5958eb93 add some hacky menu stuff so the zone returns after hitting exit on the zone-edit menu 2021-11-27 20:19:38 +00:00
rtldg
183e758971 make recent-records use the cvar properly 2021-11-27 04:45:48 +00:00
rtldg
3574080e8e remove decimal from this cvar that doesn't use it 2021-11-27 03:21:50 +00:00
rtldg
c89e1d4400 use shavit-mapchooser list for some shavit-stats stuff 2021-11-22 19:41:18 +00:00
rtldg
d45429127a mess around with StopChatSound stuff 2021-11-22 05:55:39 +00:00
rtldg
910c253b8f
Merge branch 'master' into patch-18 2021-11-22 05:46:17 +00:00
rtldg
b78a6ec4ec draw start & end zone when !r or !end 2021-11-22 05:41:28 +00:00
Nairda
86747ac16c
translation phrase change to make more sense 2021-11-22 06:37:01 +01:00
rtldg
86a19a559c break out of loops after finding player 2021-11-22 05:26:04 +00:00
rtldg
fb62419006 stop tracking styleplaytime when dead 2021-11-22 04:34:59 +00:00
rtldg
bc978b6add send message to target player after !ccadd 2021-11-22 03:27:10 +00:00
rtldg
ad837a7d24 remove nomination on disconnect 2021-11-16 00:14:55 +00:00
rtldg
da734db699 add some stuff so we can use mapchooser's maps in mapsleft/mapsdone 2021-11-15 18:54:31 +00:00
rtldg
a2003f72c8 forgot to delete all_maps 2021-11-14 22:48:18 +00:00
rtldg
693e1ce641 OnClientPutInServer -> OnClientConnected to help prevent race condition 2021-11-14 22:04:34 +00:00
rtldg
cdb4b5746e add Shavit_GetMapsArrayList and Shavit_GetMapsStringMap 2021-11-12 23:16:51 +00:00
rtldg
30935885d4 merge !ranks and !chatranks 2021-11-12 21:21:21 +00:00
rtldg
473273627e make ccname not have an empty name 2021-11-12 20:06:10 +00:00
rtldg
9534fd5881 make !sp take priority over !addspawn 2021-11-12 19:36:07 +00:00
rtldg
ba05d685c4 Revert "remove !addspawn & !delspawn since we have !sp now"
This reverts commit 4b4773f8a5.
2021-11-12 19:24:30 +00:00
rtldg
8ce9cd97b4 fixup some gun spawning stuff 2021-11-12 19:02:31 +00:00
rtldg
4b4773f8a5 remove !addspawn & !delspawn since we have !sp now 2021-11-12 16:45:56 +00:00
rtldg
4e16365991 disable setting force_timescale automatically on timescale 2021-11-11 21:00:16 +00:00
rtldg
07b165b3ad fix css perfs not showing if sync not enabled 2021-11-08 21:36:30 +00:00