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
rtldg
840490cc54
this should let you change shavit_zones_box_offset without reloading the plugin
2022-02-21 18:39:28 +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
rtldg
a6ade753fe
add startinair style setting
2022-02-10 22:02:52 +00:00
rtldg
9c4f626076
fix Shavit_GetZoneID :^)
2022-01-04 15:41:43 +00:00
rtldg
baa824e872
add Shavit_GetZoneTrack, Shavit_GetZoneType, and Shavit_GetZoneID
2022-01-04 14:25:51 +00:00
rtldg
0c91c19ba6
trim whitespace & add licenses
2022-01-01 10:15:28 +00:00
rtldg
ae0145430a
remove some sourcemod 1.11 warnings
2022-01-01 10:15:18 +00:00
BoomShotKapow
3348e54316
SourceMod 1.11 dev changes & Query -> Query2
2022-01-01 10:12:53 +00:00
BoomShotKapow
b17979aad0
Minor fix to KillAllZones
2022-01-01 07:18:07 +00:00
rtldg
870c62a8c9
don't tele on style-change while dead & fix !r while dead not respawning
2022-01-01 05:02:09 +00:00
rtldg
0a99f06ff4
mess around with the timer starting & restarting code
2021-12-30 09:24:12 +00:00
rtldg
1509e77728
hopefully stop timer commands menu from being wiped on plugins reload
2021-12-29 08:55:20 +00:00
rtldg
c68d50a4d0
show 'Refresh menu' on every zone menu page
2021-12-27 11:03:12 +00:00
rtldg
39c9d96924
don't do zone offset stuff on mins/maxs if the offset is bigger than the zone's x/y half-distance
...
xc_fox_shrine_japan_v1 will crash if i make a 16unit zone at the top (maybe elsewhere too?) so that's why this was added.
2021-12-21 00:33:45 +00:00
rtldg
6952bab715
add some unused zone things until i get around to messing with it more
2021-12-21 00:33:45 +00:00
rtldg
04eea994d8
allow any number of kz buttons
2021-12-07 05:37:49 +00:00
rtldg
86b23b33a2
fix some kz button restarting things & add track param to Shavit_MarkKZMap() & Shavit_IsKZMap()
2021-12-05 01:52:04 +00:00
rtldg
f02ac94bbf
let you press climb_endbuttons without being on the ground
2021-12-05 00:52:48 +00:00
rtldg
2067dc7c38
change zones.cfg parsing to jump to keys instead of hoping they're in order
2021-11-29 04:34:23 +00:00
rtldg
c55531168d
add Zone_NoTimerGravity and Zone_Gravity
2021-11-28 21:56:05 +00:00
rtldg
3c5958eb93
add some hacky menu stuff so the zone returns after hitting exit on the zone-edit menu
2021-11-27 20:19:38 +00:00
rtldg
b78a6ec4ec
draw start & end zone when !r or !end
2021-11-22 05:41:28 +00:00
rtldg
9534fd5881
make !sp take priority over !addspawn
2021-11-12 19:36:07 +00:00
rtldg
ba05d685c4
Revert "remove !addspawn & !delspawn since we have !sp now"
...
This reverts commit 4b4773f8a5 .
2021-11-12 19:24:30 +00:00
rtldg
4b4773f8a5
remove !addspawn & !delspawn since we have !sp now
2021-11-12 16:45:56 +00:00
rtldg
bd596bec75
add sm_addzone & sm_delzone aliases
2021-11-08 15:58:46 +00:00
rtldg
30574923e5
add untested climb_zone_ parsing
2021-11-06 13:52:04 +00:00
rtldg
d9a0714622
hijack angles on setstart restart
2021-11-02 19:32:07 +00:00
rtldg
9cb2298764
add !tptozone
2021-11-02 18:51:47 +00:00
rtldg
a68b21e9bd
add !drawallzones/!drawszones & shavit_zones_allowdrawallzones
2021-11-02 18:21:14 +00:00
rtldg
c2ea042a6c
remove unnecessary increment
2021-11-02 16:54:14 +00:00
rtldg
b9c6c47db4
swap #include <shavit> with <shavit/core>
2021-10-28 21:18:53 +00:00
rtldg
e52759791d
prevent reload from refreshing zones twice
2021-10-21 09:52:50 +00:00
rtldg
966ceea5f8
finish splitting shavit.inc
2021-10-18 07:22:50 +00:00
rtldg
7493c7d548
remove unused #pragma dynamic
2021-10-17 05:09:20 +00:00
rtldg
b88367d079
allow setstart outside of start-zone and add shavit_zones_extra_spawn_height
2021-10-16 15:24:36 +00:00
rtldg
7ca863f04b
move sql table creation and migrations
2021-10-10 05:14:37 +00:00
rtldg
828240849c
Revert "change admin menu permissions used"
...
This reverts commit e4081a5622 .
2021-10-04 04:13:34 +00:00
rtldg
e4081a5622
change admin menu permissions used
2021-10-04 04:09:47 +00:00
rtldg
aa3ea6705a
make sure to clear zone edits and stuff so we don't duplicate zones
2021-09-19 13:56:06 +00:00
rtldg
fe076df49e
increase zone tempent time further
2021-09-15 00:55:02 +00:00
rtldg
00d16405f6
use Transaction2 in more places
2021-09-14 01:43:23 +00:00
rtldg
07a55bd250
add track to zone log message
2021-09-13 12:02:57 +00:00
rtldg
f55419cd10
add more mapchooser cvars and move stuff around
2021-09-11 08:58:28 +00:00
rtldg
77bf06aa02
speed up !nominate and !map
2021-09-11 00:02:24 +00:00
rtldg
6818151c4b
some zone stuff. sorry commit msg hard
2021-09-07 05:20:59 +00:00
rtldg
addf123025
precache zone stuff sooner in OnMapStart
2021-09-05 19:25:06 +00:00
rtldg
6f87974938
recreate zones in case the entity randomly disappears. might fix a bug?
2021-09-05 16:26:52 +00:00
rtldg
c0eaba7b37
still use angles even if setstart pos isn't in start zone
2021-09-02 13:33:04 +00:00
rtldg
f8eb56cd17
unload zones on plugin end (so reloading doesn't leave entities)
2021-09-02 13:18:45 +00:00
rtldg
831d46c4fa
remove unnecessary check
2021-09-02 10:58:55 +00:00
rtldg
762c9a1923
swap GetTimerDatabaseHandle2 with Shavit_GetDatabase in a few places
2021-08-31 20:03:59 +00:00
rtldg
a62a5ca3bb
increase zone life to help with flickering with a lot of zones
2021-08-28 21:23:31 +00:00
rtldg
ea5e6b8535
prebuilt zone cache fixes and menu changes
2021-08-28 17:52:49 +00:00
rtldg
2b4d77d281
add sql logging define
2021-08-18 15:10:42 +00:00
rtldg
14c10049ce
insert prebuilt zones into db so !mapsleft and !loadunzonedmap work better
2021-08-17 14:45:15 +00:00
rtldg
e00b394356
change zone-intersection checks to only happen for start & end zones
2021-08-15 12:39:21 +00:00
rtldg
048fee9569
make start position use PointInBox for moved zones
2021-08-12 11:32:05 +00:00
rtldg
6bcb16b361
touch up some zone intersect stuff
2021-08-11 13:20:05 +00:00
rtldg
eab31036a4
fix grid snap visualization
2021-08-08 22:47:36 +00:00
rtldg
c441fa4fa7
prevent zones from being placed inside another zone
2021-08-08 22:43:27 +00:00
rtldg
c873f218a6
also make loadunzonedmap use lowercase
2021-08-08 15:55:15 +00:00
rtldg
6c5be61344
try to consistently use lowercase mapnames and PLATFORM_MAX_PATH for mapname buffers
2021-08-08 15:55:09 +00:00
rtldg
b68aba6fd2
reorganize some things to stop looping so much when a player joins
2021-08-01 18:07:06 +00:00
rtldg
a64a29263d
make sm_loadunzonedmap use valve-virtual-fs
2021-07-31 07:53:02 +00:00
rtldg
82c6ab1f92
add shavit-mapfixes.cfg
2021-07-23 15:31:38 +00:00
rtldg
72b87d666f
add another map to cvar description
2021-07-23 10:30:48 +00:00
rtldg
6dbc73fae3
add shavit_zones_prebuilt_visual_offset
2021-07-23 10:25:40 +00:00
OliviaMourning
af8ab48fc9
add shavit_core_pause_movement stuff
...
Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2021-07-22 08:49:55 +00:00
rtldg
7c4a7c0c15
slightly unbreak old ssj plugins that used Shavit_InsideZone with 2 params
2021-07-22 05:52:40 +00:00
rtldg
57e6f9563d
don't let zones positions be at the same spot
2021-07-15 08:44:32 +00:00
rtldg
7df75c4c35
don't kill zone entities in OnEntityDestroyed
2021-07-13 01:45:22 +00:00
rtldg
f2b9c13ec5
make sm_loadunzonedmap query use DISTINCT
2021-07-10 08:47:02 +00:00
rtldg
0063436f66
add sm_loadunzonedmap temporarily until I move it to shavit-mapchooser
2021-07-09 13:27:49 +00:00
rtldg
11137e9407
move zone modifier stuff around so they don't reset
2021-07-07 02:47:27 +00:00
rtldg
187e749352
unset gB_Late after use
2021-07-06 08:51:35 +00:00
rtldg
6f058127c4
make all plugins require dhooks so there's error spam due to them not loading
2021-07-06 02:22:35 +00:00
rtldg
eefaf5ebd0
don't clear gI_MapZones on Round_Start
2021-06-06 09:27:02 +00:00
rtldg
0f5f0870b2
normalize prebuilt zone names
2021-06-02 11:54:49 +00:00
rtldg
02fb3e2f7e
unadd chatstrings_t parameter from Shavit_OnChatConfigLoaded because it's not worth having
2021-05-29 02:03:21 +00:00
rtldg
b381194139
clear iEntityID so we don't accidentally delete random entities
2021-05-23 10:03:00 +00:00
Dustin
d7e4a08e70
added missing prefix ( #1049 )
...
to prevent fails for people that are using a prefix
[shavit-zones.smx] Timer (zones GetStageZone) SQL query failed. Reason: Table 'bhoptimer.mapzones' doesn't exist
Query callback. Number of returned results: 399, Maps added to g_aMapList:284, g_aAllMapsList.Length:287, g_mMapList:286
2021-05-18 07:16:44 +00:00
rtldg
3be13005e6
add chatstrings_t param to Shavit_OnChatConfigLoaded. add Shavit_GetStyleStringsStruct. add Shavit_GetChatStringsStruct.
2021-05-08 13:00:19 +00:00
rtldg
328f4301aa
fix aborting zone edit 'destroying' the original zoone
2021-05-06 04:29:43 +00:00
rtldg
94a27a954e
add Shavit_GetClientLastStage, Shavit_GetStageWR, and Shavit_GetStagePB
2021-05-01 00:42:41 +00:00
rtldg
a4a9d0840f
raise restart teleport location by 1 unit
2021-04-30 21:12:10 +00:00
rtldg
96281d2f85
more wip stage stuff
2021-04-30 07:06:18 +00:00
BoomShot
2697e6c5b1
boomshot stages stuff
...
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.
2021-04-19 15:49:47 +00:00
rtldg
9a116a6e96
only cycle zone drawing when zone is actually drawn
2021-04-08 22:35:00 +00:00
rtldg
cb39acc33b
remove stylesettings_t and break 3rd party plugins
2021-04-08 21:19:18 +00:00
rtldg
64d16342d8
check for BAD BAD BAD WRONG entities named mod_zone_bonus_start or mod_zone_bonus_end (bhop_somp_island is bad and does this)
2021-04-05 12:03:25 +00:00
rtldg
eb9c09be65
something something zones not loading
2021-04-04 08:34:43 +00:00
rtldg
d50a93db09
another prebuilt zonecache error thing
2021-04-01 14:29:12 +00:00
rtldg
f238bbcb60
bug fixes for the prebuilt zonecache merging
2021-04-01 13:43:15 +00:00
rtldg
2d39b90564
wip merging prebuilt zones into zonecache, drawing prebuilt zones, and using prebuilt stages
2021-03-31 10:14:28 +00:00
rtldg
78ecccf7c4
change some cvar defaults
2021-03-23 10:14:34 +00:00
rtldg
d1e415498e
add beam_ignorez to draw beams through walls when setting up zones #618
2021-03-22 11:02:49 +00:00
GAMMACASE
2843123712
Change TraceRay masks to use MASK_PLAYERSOLID
2021-03-21 08:17:39 +03:00