* 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>
* shavit-misc Add cvar UnNoclipOnRestart
Add functionality to turn off noclip on timer restart, disabled by default u.u
I used to use a separate plugin I made for this, but figured it should be in the main plugin itself as a cvar instead. Since adding as a cvar, may as well see if it is wanted upstream.
* shavit-misc.sp shavit_misc_unnocliponrestart 1 by default (^:
* godmod fix for DMG_CRUSH and point_hurt
* Added the "shavit_misc_godmode 4" option
* fix error about `default` case not being last. `default` can be removed too since the convar has min/max limits
---------
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
* 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
* 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>