Commit Graph

246 Commits

Author SHA1 Message Date
haooy
e28e333818
Add Pause zone functionality
Add Pause zone functionality
2025-08-28 03:07:39 +02:00
haooy
732a807ff9
Add new convar to spawn player inside start zone
Add new convar to spawn player inside start zone and create new function to handle that (because i does same thing as shavit_zones_teleporttostart).
2025-08-28 02:24:08 +02:00
mourningsickness
326caccb06
shavit-zones.sp - make it so slay/stoptimer zones don't apply if paused
rip skronk's hour long bhop_thc time
2025-07-12 10:37:46 -07:00
rtldg
bb09568d97 Keep all menus open forever
Some checks are pending
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Waiting to run
Compile / Release (push) Blocked by required conditions
2025-06-23 20:46:02 +00:00
rtldg
f0ccf6dc0a fix olivia's name in author lists (from e81d091ed0) 2025-06-23 20:16:37 +00:00
rtldg
0151ace718 fix shavit-zones cvar change callback errors (found by caliph)
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
2025-05-07 00:02:44 +00:00
Awesomerly
354c2445c2
Startzone speed limit flexibility (#1219)
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
* Add config flag for MaxPrestrafe override

* Allow zoners to edit startzone data

* Use start zone data field for prestrafe limit

* Add prespeed type 6 that behaves like 5 and prevents prehopping

* Fix formatting

* Bodged up code for 1 second prehop cooldown on prestrafe mode 6

* Make anti prespeed a little bit better (maybe????)

* Tiredly twiddle with prespeed style 6 impl

* Add description to maxprestrafe style-setting

* nitpicky styling things

* Use GetGameTickCount instead of GetSysTickCount

* ;

---------

Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
Co-authored-by: rtldg <rtldg@protonmail.com>
2025-04-12 15:54:54 +00:00
rtldg
420c8e02ea Fix not being able to overlap bonus+main endzones
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
2025-03-30 20:01:59 +00:00
rtldg
8ecc2a7829 Some autobhop zone fixes
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.11) (push) Has been cancelled
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
commit d451cee41dc2f59fb367141bfd62ddcc778101c0
Author: rtldg <rtldg@protonmail.com>
Date:   Fri Feb 28 12:18:37 2025 +0000

    add another customzones cookie womp

commit d1395bcc6836cd01f2751ac9fd104124c7affeff
Author: rtldg <rtldg@protonmail.com>
Date:   Fri Feb 28 12:18:29 2025 +0000

    Fix Autobhop zones not replicating sv_autobunnyhopping

commit c225702fc50964684734f2fb64b190edac54db0c
Author: rtldg <rtldg@protonmail.com>
Date:   Fri Feb 28 12:18:11 2025 +0000

    make autobhop & nojump zones visible by default
2025-02-28 12:20:41 +00:00
rtldg
f54775044c didn't save a file for the func_rot_button commit...
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.11) (push) Has been cancelled
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
2025-02-19 00:25:11 +00:00
rtldg
04ad339fe8 Add handling for func_rot_button zones 2025-02-16 02:07:12 +00:00
rumour
2bbb3865f8 make !beamer more reliable and stuck in walls less (if at all!)
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.11) (push) Has been cancelled
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
2025-01-20 00:32:15 +00:00
rtldg
57e3dce711 experiment with calling EntityCollisionRulesChanged on solid zone p2 2025-01-04 02:16:18 +00:00
rtldg
3175172241 experiment with calling EntityCollisionRulesChanged on solid zones 2024-12-14 17:20:33 +00:00
Awe
7c80025574 Add new zone types to hookzone menu 2024-10-30 16:49:00 -04:00
rtldg
f96a57412b rename FillBoxMinMax to BoxPointsToMinsMaxs 2024-10-02 02:41:36 +00:00
rtldg
bac325cd07
Add comments next to the magic editaxis string 2024-08-20 18:12:31 +00:00
Awesomerly
c9cfbefa27
Add no-jump and autobhop zones. (#1216)
* Make no jump zone appear in menu

* Preliminary implementation of nojump zone

* Add scaffolding for autobhop zone

* Add implementation of autobhop zone

* Add new zone types to shavit-zones-json

* some touchups for the autobhop & nojump zones

---------

Co-authored-by: rtldg <rtldg@protonmail.com>
2024-08-20 17:53:24 +00:00
rtldg
da78976c56 add shavit_zones_enable_stage_restart & make !stagerestart send you to startzone if your timer is stopped 2024-08-09 17:27:06 +00:00
Awe
4465e53d3b Make stage restart command take player to beginning in end zone 2024-07-30 12:43:06 -04:00
Awesomerly
2805cd94c6
Add teleport to stage start command (#1207)
* Add teleport command

* Slight cleanups for sm_teleport

* Make stage restart only work if map is surf

* Change /teleport to be /stagerestart, etc

* Make sm_teleport behave like sm_tele

* Unregister /sr command because it's already taken

* Update shavit-zones.sp

---------

Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2024-04-27 19:55:42 +00:00
rtldg
16a927cd91 drop support for sourcemod 1.10 2024-04-23 20:53:18 +00:00
rtldg
309aa7a189 get the shavit_misc_prespeed 1&&>=3 working again with the on-ground timer 2023-06-21 01:41:07 +00:00
rtldg
9210b84d50 fix some native definition & optional things 2023-03-06 23:38:04 +00:00
rtldg
7bd954880a RecalcHighestStage typo caught by Haze 2023-02-23 20:15:00 +00:00
rtldg
b468f9d67a fix stale zone cache entries being checked, preventing start/end zone placement sometimes 2023-01-04 20:49:56 +00:00
rtldg
e0c59404c3
supress warning about missing explicit return value 2022-11-25 21:30:49 +00:00
rtldg
2bcd20fac7 make ZF_Origin store floats with decimals instead of as hexadecimal
(this makes it more readable in json dumps of zones)
2022-11-15 21:33:36 +00:00
rtldg
12d7e5590d zones typo galore 2022-11-14 20:42:59 +00:00
rtldg
9cf9d7ff27 shavit-zones-http -> shavit-zones-json & some shit 2022-11-14 19:47:08 +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
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
1c82605db5 draw zone edit axis sides thing 2022-07-22 22:42:40 +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
4ac0b4da5d make the InsertZones cache.iDatabaseID setting more robust! 2022-07-11 13:20:11 +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
bdfa61e3f9 fix !addspawn after zones wip pr 2022-06-29 19:23:40 +00:00
rtldg
4486528880 preliminary postgresql support 2022-06-23 09:10:22 +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
7c251ef81d add Back to admin commands to go back to admin menu 2022-06-13 05:42:40 +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