* 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
* 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>
* 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>
Move remaining shavit-rankings dependent calls (#1043)
If the shavit-rankings plugin isn't loaded, the calls to its natives will cause an exception and the client's messages will not be formatted correctly.
Add native for getting the number of stages
Implemented native for getting number of stages and allowed practice mode to view stage times.
Added WR stage time comparisons for when a user enters a stage zone.
It's important that the stage zone number starts at two. It may be preferred to remove the user input of stage numbers and just auto increment as stages are added. Stage 1 should be the start zone and just have any additional stages increment from there. I'll readdress this if it's necessary.
Add translations for WR stage time comparison messages
Accidentally undid a change from a previous commit.
I didn't have a merge conflict, so I'm unsure why it got replaced.
Combine stage time translations into one
Implemented suggestions to translations and changed the stagetimes table
The stagetimes table no longer uses auth as a primary key, so it will now replace the old WR stage time.
However, the auth is still stored, so it can be used to reference the player and potentially a players PB.
Update callback name for replacing stage time for logging.