* 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>
* 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>
* 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>
* 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>
* 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