rtldg
7a81b44655
wip shavit-zones-http stuff
2022-11-13 23:49:59 +00:00
jedso
f7ff341131
make shavit_zones_box_offset a bool (which also affects height offset) & correct TF2 bounding box values ( #1179 )
...
* Add correct gCV_BoxOffset default value for TF2 bounding box
* Include correct height for TF2 bounding box in SetZoneMinsMaxs
* make shavit_zones_box_offset a bool & use height
* use division-by-2 instead of shift
Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2022-11-13 04:26:30 +00:00
rtldg
a7e3fe517c
tf2: fix 0vel underwater & hook PreventBunnyJumping
2022-11-08 21:11:18 +00:00
rtldg
a6da4358de
tf2: only check for 'jointeam spectate' so we don't break the class menu popup
2022-11-02 23:09:05 +00:00
rtldg
f1bea169d2
silence tf_bot_count change notification
2022-11-02 21:55:45 +00:00
rtldg
fefb0ffe6f
tf2: fix jump counter & shavit_core_blockprejump
2022-11-02 21:47:04 +00:00
rtldg
0cf281f509
v3.4.2
2022-10-17 12:33:29 +00:00
rtldg
07727e1db0
faster query for deprecate exact_time_int (and more migration logging)
2022-10-17 12:22:39 +00:00
rtldg
f16b9aa7f3
mark SteamWorks_SetHTTPRequestAbsoluteTimeoutMS as optional
2022-10-17 12:20:19 +00:00
rtldg
d0d3c62ff5
v3.4.1
2022-10-16 21:51:19 +00:00
rtldg
5ac888c3a0
add some error logging to replay recorder & something that might help with a segmented replay saving edge case
2022-10-16 21:38:42 +00:00
rtldg
4fee1e4cc1
crap workaround for times not parsing correctly because of commas
2022-10-15 20:32:17 +00:00
rtldg
3db30bea98
v3.4.0
2022-10-14 15:17:59 +00:00
rtldg
783fd4f0a7
more followup commits for ccname & chat rank nonsense
2022-10-14 15:14:23 +00:00
jedso
dc2c186249
Use sqlite_master to explicitly check for id's type
2022-10-07 21:17:39 +10:30
rtldg
f0ea0a01c1
Merge branch 'master' into mapzones-rowid-fix
2022-10-06 08:26:00 +00:00
rtldg
4eb31820b1
Merge pull request #1176 from jedso/playertimes_fk
...
Add migration to update or add auth FK constraint in playertimes
2022-10-06 08:23:24 +00:00
rtldg
fd687dd2d7
i keep forgetting things. please ignore these commits
2022-10-06 08:21:46 +00:00
rtldg
c631f6635b
add jedso to top credits
2022-10-06 08:19:19 +00:00
rtldg
9ef34bce59
Add missing users to users table
2022-10-06 08:19:01 +00:00
rtldg
7a79fc03e8
it does have printf though
2022-10-06 08:10:38 +00:00
rtldg
236829cc33
FORMAT(time,9) doesn't work on sqlite
2022-10-06 08:02:14 +00:00
rtldg
09c0d228b4
filter invalid maps in !map, !nominate, and map votes
2022-10-05 19:15:24 +00:00
jedso
5f717553d9
Add SQLite statements to re-create mapzones with INTEGER PRIMARY KEY
2022-10-01 21:39:04 +09:30
jedso
119e7ff4c8
Store SQLite mapzones CREATE TABLE statement for re-use in migration
2022-10-01 21:37:24 +09:30
jedso
b0889f77ee
Change mapzones CREATE TABLE for SQLite to use INTEGER PRIMARY KEY
2022-10-01 21:36:45 +09:30
jedso
e196e04de6
Add query to check for NULL SQLite id row in mapzones
2022-10-01 21:34:28 +09:30
rtldg
8eefcd5b68
mark ripext natives as optional
2022-09-30 17:27:02 +00:00
rtldg
de9cbc8470
Merge branch 'master' into playertimes_fk
2022-09-29 06:19:40 +00:00
rtldg
2b2a1fcb12
queue migrations slightly better to handle multiple queries (relevant to #1176 )
2022-09-29 06:17:33 +00:00
lilac1337
b868208520
show timer in hud when started in start zone ( #1174 )
...
* show timer in hud when started in start zone
aaaaaaaaaaaaaaaaaa
* oops
* remove convar check and change time check to 0.3s
Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2022-09-29 03:49:58 +00:00
jedso
098b7d4977
Add SQLite statements to re-create playertimes with FK constraint
2022-09-26 23:08:12 +09:30
jedso
d718620aa3
Store SQLite playertimes CREATE TABLE statement for re-use in migration
2022-09-26 23:08:12 +09:30
jedso
a1b04e38ba
Change playertimes CREATE TABLE statement to include FK constraint
2022-09-26 23:08:12 +09:30
jedso
23901be52d
Add MySQL ALTER TABLE queries to drop and/or add auth FK constraint
2022-09-26 23:08:12 +09:30
jedso
3cef031e91
Add initial migration queries for MySQL/SQLite
2022-09-26 23:08:05 +09:30
rtldg
e4f2d35f6c
use upsert in sqlite users table update per #1175
2022-09-25 14:11:21 +00:00
rtldg
87c2b1e436
left over format param from exact_time_int deprecation
2022-09-25 02:02:55 +00:00
rtldg
2e2db2165f
IsClientConnected can be removed from IsValidClient
2022-09-24 06:16:47 +00:00
rtldg
894b039e4e
deprecate exact_time_int
2022-09-24 05:45:01 +00:00
rtldg
5ccd0efd04
make the autostage thing start at 1. starting at 2 was dumb
2022-09-24 04:59:47 +00:00
rtldg
ea8f14fa07
use smaller zone widths for the epic zone edit axis stuff
2022-09-24 04:57:22 +00:00
rtldg
7a8060a0bf
cleanup some small shavit-core gamedata code
2022-09-19 14:18:00 +00:00
Isaac Boaz
4d78090e5f
Break once we find a valid record
2022-09-18 15:13:44 -07:00
rtldg
b115726abb
set forwardmove & sidemove on replay bots because why not
2022-09-16 11:36:29 +00:00
rtldg
fdbbc11d2a
add !autoreset as alias for !autorestart
2022-09-15 13:15:39 +00:00
Isaac Boaz
e3aab46e01
Added !autorestart | Feat/autorestart ( #1170 )
...
* Add autorestart
* Revert HUD Change
* small changes
* Update shavit-misc.sp
Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2022-09-15 12:07:40 +00:00
Isaac Boaz
f4cd4e9e6a
Add translation for !extend & update m_iRoundTime | Feat/extensionqol ( #1172 )
...
* Add extension translation
* Set currents coreboard roundtime
2022-09-15 11:33:51 +00:00
rtldg
a1a1c6adfa
actually do the Shavit_GetMapsStringMap map display name thing right #1168
2022-08-27 01:19:30 +00:00
rtldg
3d16f5ffa7
make Shavit_GetMapsStringMap use map display name #1168
2022-08-24 04:07:26 +00:00
rtldg
6a9e697ff6
remove forgotton todos from shavit-zones-http.sp
2022-08-21 10:46:33 +00:00
rtldg
bf106d9ff2
StringToInt(defaulthudcvar_string) because .IntValue can get fucked by the source engine casting to f32
2022-08-18 04:47:59 +00:00
rtldg
04d65d2fa5
update origin notice around GiveSkinnedWeapon
2022-08-15 13:06:05 +00:00
rtldg
864b46379b
save pos on enhanced (tier list) !nominate menu
2022-08-15 12:58:45 +00:00
BoomShot
b78ae36a0e
remove the steamid verification kick thing in OnClientPutInServer ( #1047 )
2022-08-15 10:37:00 +00:00
rtldg
bdea503697
add typo handler for 1r -> !r and 1b -> !b
2022-08-15 10:32:16 +00:00
rtldg
0ffdbb9b5a
remove debug comment
2022-08-07 08:44:05 +00:00
rtldg
5fc891d6fa
move velocity_limit logic to work around duck spam
2022-08-07 07:25:20 +00:00
rtldg
1ea49018e0
move clantag forward declarations from core.inc to misc.inc
2022-08-05 04:29:33 +00:00
NukoOoOoOoO
21c6204062
Use signature instead of doing netprop±offset ( #1158 )
2022-07-25 18:47:25 +00:00
jedso
578636d528
[TF2] Fix broken NoWeaponDrops (shavit-misc) ( #1160 )
...
* Fix broken shavit_misc_noweapondrops for TF2
* Set dropped weapon lifetime OnConfigsExecuted
2022-07-25 16:59:58 +00:00
rtldg
68a57b9123
remove admin requirement for debug targetname
2022-07-22 23:23:58 +00:00
rtldg
1c82605db5
draw zone edit axis sides thing
2022-07-22 22:42:40 +00:00
rtldg
cdbeb52976
add some test defines for bhoptimer_helper
2022-07-21 22:01:27 +00:00
rtldg
e322606492
typo in shavit_misc_bad_setlocalangles_fix implentation
2022-07-21 18:05:11 +00:00
rtldg
9c5c29c6ca
v3.3.2
2022-07-20 19:45:11 +00:00
rtldg
f703aca4d6
spawn looping replay bots on different ticks
2022-07-20 19:30:44 +00:00
BoomShotKapow
7878784887
Fix parameter documentation
2022-07-20 18:51:35 +00:00
rtldg
898c46379d
random things
2022-07-20 15:58:18 +00:00
rtldg
bf25061444
de-page zone adjust menu
2022-07-20 15:32:54 +00:00
rtldg
1e7459a6c4
have the customzones cookie be long & no high bit shenanigans
2022-07-20 13:41:47 +00:00
rtldg
684ade8dd9
fix typo for czones
2022-07-18 01:03:30 +00:00
rtldg
6ceab1283c
slightly rearrange chat rank validation check stuff
2022-07-16 01:26:37 +00:00
rtldg
5ba8ede632
v3.3.1
2022-07-11 14:29:36 +00:00
rtldg
a778908e32
only wait for tiers in mapchooser if rankings & mysql
2022-07-11 14:16:57 +00:00
rtldg
4ac0b4da5d
make the InsertZones cache.iDatabaseID setting more robust!
2022-07-11 13:20:11 +00:00
rtldg
d78393f084
try to get this ccname chat rank stuff not racing
2022-07-11 11:06:58 +00:00
rtldg
5c14dfcc60
add ZF_Origin & fix a lot of broken button stuff
2022-07-05 04:45:20 +00:00
rtldg
27ec578c7d
don't draw zones around hooked buttons
2022-07-05 01:56:23 +00:00
rtldg
0f7360f374
fix loop exiting early and error on invalid entity
2022-07-05 01:37:58 +00:00
rtldg
fb42a370fe
update zone cache database id on zone creation
2022-07-05 00:51:15 +00:00
rtldg
8900e4b6ff
open a menu for !deletesetstart
2022-07-04 21:19:27 +00:00
rtldg
72ae96e0c8
fix creating a zone and not being able to delete it without reloading the map
2022-07-04 21:03:58 +00:00
rtldg
1449b9b3d5
revert this !top thing back so points have commas
2022-07-01 13:31:09 +00:00
rtldg
64bd95a73b
add a_or_d_only style setting
2022-07-01 13:17:38 +00:00
rtldg
bdfa61e3f9
fix !addspawn after zones wip pr
2022-06-29 19:23:40 +00:00
rtldg
6dc1fb66e4
split mapzones form & target migration for sqlite
2022-06-28 19:23:39 +00:00
rtldg
0360b957e4
i introduced a bug that made ccname queries race admin auth queries
2022-06-28 13:32:49 +00:00
rtldg
1a86a2b643
v3.3.0
2022-06-28 02:46:50 +00:00
rtldg
4c21dc96f9
try to let specs rtv until the cooldown triggers
2022-06-28 02:22:41 +00:00
rtldg
5056917d78
some log messages
2022-06-28 02:16:24 +00:00
rtldg
489fd3cbf1
add something to the !wr menu to open steam profiles...
2022-06-27 14:25:27 +00:00
rtldg
4486528880
preliminary postgresql support
2022-06-23 09:10:22 +00:00
rtldg
1a03bdac13
fix permission style setting typo oops
2022-06-21 14:29:46 +00:00
rtldg
8237b249c5
remove SHAVIT_LOG_QUERIES
2022-06-21 11:53:59 +00:00
rtldg
78eeb38c12
remove testing prints
2022-06-20 13:00:10 +00:00
rtldg
9cbed1972b
shavit_replay_disable_hibernation
2022-06-20 11:50:33 +00:00
rtldg
fa28502a0d
buffer playtime disconnect queries to prevent map change query traffic jams
2022-06-20 11:03:12 +00:00
rtldg
2efbc4a653
send map & api-key headers with steamworks too (untested)
2022-06-17 09:19:26 +00:00
rtldg
3e29099ab8
ensure we have a valid AdvertisementCycle index
2022-06-16 13:04:12 +00:00
rtldg
d922cebf97
add auto stage thing #1147
2022-06-13 07:03:16 +00:00
rtldg
0f44dd1710
add shavit_core_log_sql & remove Database2/Transaction2 methmodmaps
2022-06-13 06:28:46 +00:00
rtldg
fa6ccdbded
make sqlite run migrations automatically too
2022-06-13 05:46:10 +00:00
rtldg
7c251ef81d
add Back to admin commands to go back to admin menu
2022-06-13 05:42:40 +00:00
rtldg
8e0e5ec8c1
add buttons, scrolls, and anglediff to huddata_t
2022-06-12 16:08:40 +00:00
rtldg
6bba2072fe
use MaxClients instead of MAXPLAYERS because
2022-06-12 15:33:13 +00:00
rtldg
4315221b86
remove USE_RIPEXT define and add cvar
2022-06-12 15:30:37 +00:00
rtldg
e3aac2d24e
zones wip ( #1143 )
...
* backup a lot of this zone_cache_t stuff since i'm going to do something else first
* AAAAAAAAAAAAAA
* add the sTarget checking
* this pr will get squashed so this message doesn't matter
* wip Shavit_RemoveZone
* wip ZF_Solid and TODO notes
* move hook thing
* do some zone insert stuff that doesn't reload *every* zone
* condense some zone editing global variables
* add some spaces to some ifs
* remove gV_MapZones
* remove random loop
* big change
* remove ClearZone()
* .
* ..
* add speed to zone beam settings
* add bhop_n0bs1_css stripper cfg for shit zone
* ...
* remove draw timer to OnConfigsExecuted because interval cvar
* change string for mapfixes print
* wew
* rename iSource to iForm and add sSource
* add Shavit_ReloadZones() and rename some source things
* add shavit-zones-http.sp
* add a getarray
* adjust the http api format slightly
* remove Shavit_GetStageZone() & fix zone inserts
* api update
* convar edits
* increase buf size
* wrong buf...
* normalize points inside Shavit_AddZone
* rename ZonesNotLocal to ZonesNotSQL
* small cleanup
* add the zone hooking menu stuff
* make the confirm menu Exit button STOP DRAWING!!!
* only try to draw trigger_multiples
* asdf
* typo
* improvements
* add distance to menu
* use PassesTriggerFilters like rngfix
* finish some docs
* make dist be meters
* more hooking tele things
* remove all this migration stuff
* add entity under crosshair
* shorten stage translation message
2022-06-12 14:43:16 +00:00
rtldg
affac70f99
make the shavit-chat OnRebuildAdminCache use a timer
2022-06-10 10:53:20 +00:00
rtldg
41f50505f9
fix flag access & admin reloads in for shavit-chat
2022-06-10 08:15:32 +00:00
rtldg
bfa9aa45e4
rework !ccmsg off & !ccname off slightly
2022-06-10 07:29:01 +00:00
rtldg
4cf01f5ec4
revert WriteNavMesh stuff to kid's since writing 1-size values = a shit ton of file->Write calls
2022-06-08 10:55:47 +00:00
rtldg
22acb5b6c2
increase ShowHudText buf size for csgo/protobuf (sourcemod/pr1777)
2022-06-07 17:06:07 +00:00
rtldg
09917f91d9
fix adminmenu 2.0
2022-06-07 16:53:01 +00:00
rtldg
8f11f9aaf1
reset speedmod on starttimer since it seems fine
2022-05-29 02:55:26 +00:00
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