Commit Graph

1571 Commits

Author SHA1 Message Date
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