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
rtldg
f9825f8ca1
allow beams to be changed for each zone. add vanilla_beams and no_halo too
2021-03-14 01:43:53 +00:00
rtldg
bf7f68faec
change all menus to display for at least 5 minutes
2021-03-14 00:03:10 +00:00
rtldg
3f7d3e3a59
speculative fix for timers starting when you're not on the ground
2021-03-11 13:09:36 +00:00
rtldg
f69d692bd6
don't allow setstart if !gB_ZonesCreated
2021-03-11 10:11:23 +00:00
rtldg
0cf6920328
use next track when copying zone settings
2021-03-11 09:51:09 +00:00
rtldg
17847d7cb0
add more setstart cmds, add anglesonly for floating bonuses, add missing create table, fix some sql ordering
2021-03-11 09:37:48 +00:00
BoomShot
63819a4e88
Implemented SetStart/DeleteSetStart into zones
...
The player's position and view angles when using sm_r, sm_b, and sm_start are saved into the startpositions table in the database. The primary key for each entry is a concatenation of their Steam ID, map name, and track number. It still needs to be tested on MySQL. The Natives have been tested in a separate plugin.
2021-03-11 01:25:46 -05:00
BoomShot
21cd90597b
Add Natives for SetStart/DeleteSetStart
2021-03-10 23:58:32 -05:00
rtldg
ad9581ce2e
add sm_b%d for bonuses and sm_s%d for stages
2021-03-11 02:09:23 +00:00
rtldg
16a8ba33d1
copy bonus1 zone settings to the rest of the bonuses
2021-03-11 01:22:02 +00:00
KiD Fearless
9ea63fab11
Merge branch 'very_good_yes'
2021-03-07 14:15:56 -07:00
rtldg
65f58219bd
misc changes & stockify GetSpectatorTarget
2021-03-07 03:25:56 +00:00
rtldg
5f59c57c4f
brackets and oversights
2021-03-06 09:54:03 +00:00
rtldg
45dd960d3e
remove PrintToChatAll from shavit-zones
2021-03-04 05:30:13 +00:00
deadw1nter
32336e5ab6
Merge remote-tracking branch 'upstream/very_good_yes' into delete_replay
2021-02-24 10:44:29 +08:00
KiD Fearless
d18d3f8fb5
Merge branch 'master' of https://github.com/shavitush/bhoptimer
2021-02-18 07:02:24 -07:00
KiD Fearless
e7f20d7209
Fix compiler error
2021-02-18 07:02:18 -07:00
Nairda
ed90da0eb8
l2 indent ( #1006 )
...
follow the spaghetti
2021-01-20 13:25:36 -07:00
KiD Fearless
3ceb90644f
Wrap debug print with debug check
2021-01-20 13:15:54 -07:00
KiD Fearless
590b70dd2f
Sent players movetype to none to prevent movement processing, don't allow paused players to finish the map
...
Thanks acer for the report
2021-01-13 10:22:18 -07:00
KiD Fearless
976fc90d87
Speculatory exploit fix
2021-01-06 13:47:19 -07:00
Joe
a1e60b39fa
Multiple bonuses ( #982 )
...
* cleanup GetTrackName()
* a few more changes to change mod_zone_bonus & add Track_Bonus_Last
* fix undefined symbol sTrack
* fixup !bwr for multiple bonuses
* fix GetTrackName() after I broke it
* add bonus number param to help text of sm_bwr
* fix !wr after I broke it adding !bwr [bonus number]
* ignore checkpoint zones for now because nothing is ready for them
* update points for bonus #2 through #8 at same time
so instead of something like `9 (track count) * 22 (style count)` queries, it'll do `3 (main, bonus1, rest of bonuses) * 22 (style count)` queries and the rest of the bonuses on the recalc all in the same query
2020-11-30 09:40:45 -07:00
Joe
f69f761685
only print the stage time message once per stage ( #965 )
...
* only print the stage time message once per stage
* show stage message every time when segmenting
* add missing Shavit_OnStageMessage forward include
2020-11-30 09:35:40 -07:00
Herman Simensen
35878fc81d
Fix offset bug and add GetStageZone native ( #948 )
...
* fix bug and add GetStageZone native
* Update Native
Now preloads stage zone data on map start.
2020-10-04 07:54:48 -06:00
kidfearless
48f051f78c
Update very_good_yes from master ( #932 )
...
* Add Convar to restrict noclip in start zone
* remove unused translation file
* Require the enum struct size to be passed to natives
This should hopefully prevent Invalid memory access from plugins compiled on older version of the timer. If an enum struct is changed then plugins compiled on older version of the timer will be forced to be recompiled to match the version they are using.
* Fix save states not tracking preframes
Misc. name changes for natives. And a somehow possible exception fixed when getting a record.
* Add hitbox/center mass cvar (#930 )
* Add optional cvar for player center of mass/player hitbox for touching zones
* 2.5.7a Final Changes
fix spelling mistake
add missing optional native
tabify spaces
Co-authored-by: Nairda <38843773+Nairdaa@users.noreply.github.com>
2020-07-07 17:37:17 -06:00
Kyle
e75617e191
Fix admin menu
...
Fix for adminmenu late load or reload
2020-03-07 13:28:31 +08:00
KiD Fearless
3283a26d45
Added Convar_class methodmaps for timer convars
2020-01-22 17:16:37 -07:00
KiD Fearless
8f39aa6521
Added stages to shavit-zones
2019-12-29 21:00:06 -07:00
shavit
fd76d6d1c4
Fixed prebuilt zones not working right after plugin reload or server start.
2019-07-24 15:52:51 +03:00
shavit
d54b42405a
Fixed !end for prebuilt zones ( #820 ).
2019-07-24 15:52:27 +03:00
shavit
fd121092c8
Refactored database handles so that there are multiple instead of a single one.
2019-05-31 17:32:03 +03:00
shavit
0650d20eff
Removed ancient SetPrefix code and put it in a stock function instead.
2019-05-31 17:03:27 +03:00
shavit
f8e385fda5
Added better indicators for speed limit zone creation.
2019-05-14 05:06:58 +03:00
shavit
26dd200408
Changed "No Speed Limit" zones to "Custom Speed Limit" ( #797 ).
2019-05-14 04:56:26 +03:00
shavit
a7c743cf29
Added custom airaccelerate zones and some natives. ( #797 )
...
Shavit_GetZoneData, Shavit_GetZoneFlags, and Shavit_InsideZoneGetID
2019-05-14 04:27:39 +03:00
shavit
b6b78f8eab
Added flag to force zones to be drawn ( #798 ).
2019-05-14 03:44:42 +03:00
shavit
058b88b98c
Added zone flags and data to mapzones table.
2019-05-14 03:25:15 +03:00
shavit
7bc010b82b
Made cursor zoning a default. Get used to it
2019-04-14 22:45:20 +03:00
shavit
54b2371b70
Modernized custom spawn points setup and added multi-track support ( #756 ).
2019-03-27 14:50:43 +02:00
shavit
ee1dddc8c7
Changed track changing in zones menu to be easier ( #597 ).
2019-03-27 11:31:43 +02:00
shavit
5fca6ded0c
Added decreasing grid snap button ( #743 ).
2019-03-25 14:00:23 +02:00
shavit
bbccdcf28a
Removed ancient table migration code ( #758 ).
...
Should speed up initial load after map change by a lot! I believe this is now useless.
2019-03-25 10:20:23 +02:00
shavit
463b8a857b
Major optimizations to database structure.
...
* in table `playertimes` add `time` to the `map` index - it should look like this:
```sql
INDEX `map` (`map`, `style`, `track`, `time`)
```
* in all tables, change all CHAR(x) to VARCHAR(x). the following are the changes:
- `chat.auth VARCHAR(32)`
- `chat.ccname VARCHAR(128)`
- `chat.ccmessage VARCHAR(16)`
- `users.auth VARCHAR(32)`
- `users.country VARCHAR(32)`
- `users.ip VARCHAR(64)`
- `maptiers.map VARCHAR(128)`
- `playertimes.auth VARCHAR(32)`
- `playertimes.map VARCHAR(128)`
- `playertimes.date VARCHAR(16)`
- `mapzones.map VARCHAR(128)`
2019-03-25 09:33:34 +02:00
sneak_it
90227dd1e7
change default zone modifier to 16 units
2019-03-23 21:52:56 -04:00
shavit
055eb29509
Made !hud less confusing.
2019-02-01 23:08:25 +02:00
shavit
3114eec03f
Got rid of the cached cvars bullshit
...
protip: don't follow hosties' coding conventions that shit sucks mad dick
2018-12-27 06:42:02 +02:00
shavit
2ab6c57e1f
Refactored whole plugin to use enum structs
...
SourceMod 1.10 is now a requirement.
2018-12-24 00:31:50 +02:00
shavit
0aa4c69d85
Prioritized custom spawns > server zones > prebuilt zones
2018-12-15 04:41:44 +02:00
shavit
d1d594503e
Dropped dynamic arrays for strings, unless necessary.
2018-09-23 04:16:23 +03:00
shavit
81dbdedfba
Added !deletemap ( #668 )
2018-09-15 17:26:11 +03:00
shavit
b2ce7daa46
Retroactively ignore spawn point settings in zone config.
...
(to prevent errors from users who update from an earlier version)
2018-05-13 23:36:15 +03:00
shavit
67ec34a069
Use correct index for zone config.
2018-05-13 21:21:06 +03:00
shavit
a1a318b007
Fixed SQL error on new setups.
2018-05-13 21:14:10 +03:00
shavit
1ba79fcc09
Removed flat zone cvar, added shavit-zones config instead.
...
Removed custom spawn from cfg to prevent confusions.
2018-05-13 21:13:13 +03:00
shavit
c1b93bfdff
Opt-in to per-plugin adminmenu integration rather.
...
Rather than creating the category via core and then adding items on it.
2018-05-02 10:23:43 +03:00
shavit
b7db4b55c3
Scaled slide zones scale with speed/gravity.
2018-04-28 09:53:33 +03:00
shavit
e2e60bdc70
Code style adaptions.
2018-04-15 21:56:48 +03:00
shavitush
5ddbbdcede
Fixed built-in triggers not saving spawn point before map changes.
2018-03-31 19:38:56 +03:00
shavit
507c9c90cd
Fixed teleport zone insertion to allow a track immediately. ( #604 )
2018-03-19 17:29:56 +02:00
shavit
bb654fe29e
Added logging for admin actions in shavit-zones.
2018-03-15 00:14:34 +02:00
shavit
bf46c7aac0
Updated EmptyVector to support NULL_VECTOR.
2018-03-10 18:18:45 +02:00
shavit
d99548abd7
Fix wrong entities being removed.
2018-02-02 10:27:40 +02:00
shavit
009c849a6c
Fixed !b and !bend for built in zones. ( #582 )
2018-01-22 18:53:32 +02:00
shavit
757e9de8c6
Fixed zone offset being wrong for point 1 ( #585 )
2018-01-22 18:33:47 +02:00
shavit
13b243f1d7
Adjusted the grid visualisation's alpha.
2018-01-13 09:35:41 +02:00
shavit
f092b76f7b
Hotfix for error log spam.
2017-12-30 05:08:03 +02:00
shavit
ebb3203c05
Added native zones support ( #491 )
...
CPs aren't implemented because the timer itself doesn't support them.
2017-12-30 05:06:33 +02:00
shavit
dd4234ae00
Added SnapToGrid function to make code cleaner.
2017-12-30 04:11:14 +02:00
shavit
2c30ef252e
Changed grid snap's visualization. ( #569 )
2017-12-30 03:21:41 +02:00
shavit
4681e82e90
Fixed nonsense with KZ button hooking.
2017-12-20 09:18:56 +02:00
shavit
990bbb802d
Added slide zones ( #558 )
2017-12-16 10:27:02 +02:00
shavit
cfde142e92
Added TF2 support. ( #549 )
...
Tested most of the things in-game, should be good to go!
2017-12-10 09:30:08 +02:00
shavit
ff8e20c44f
Add chat message about entering an anti-cheat zone ( #548 )
2017-12-10 00:53:46 +02:00
shavit
2f8be00a24
Added dynamic zone settings.
...
If you edit the plugin to add more zone tracks, now their zone settings will be respected too. To use this feature, copy the zone settings from the first one to the last one of each track, rename and modify. i.e. the diff for shavit-zones.cfg in this commit.
2017-12-10 00:29:34 +02:00
shavit
938b0d4f02
Added zone track enforcing (shavit_zones_enforcetracks) ( #547 )
2017-12-10 00:27:18 +02:00
shavit
a64b07d031
Fixed wall snapping not respecting grid snap ( #541 )
...
Not that great for maps where the mapper did a shitty grid setup. Use cursor position setup for those.
2017-12-10 00:04:27 +02:00
shavit
e36d917f6d
Update table creation queries.
2017-11-23 22:20:33 +02:00
shavit
d20839218c
New replay bot format ( #434 ) and some of #537
2017-11-21 11:28:57 +02:00
shavit
35104f6d78
Added KZ support. ( #472 )
...
Going by KZ-Climb standards - climb_startbutton, climb_endbutton etc. Only supports one bonus due to the plugin's nature.
2017-11-17 11:18:45 +02:00
shavit
7ee7335140
Added per-track beam colors. ( #508 )
2017-11-17 08:41:58 +02:00
shavit
70475ea6e5
Fixed duplication of the zone drawing timer.
2017-11-17 06:05:09 +02:00
shavit
af1c2c9870
Fixed zones not appearing after changing to a map with more zones.
2017-11-15 05:26:48 +02:00
shavit
6ba9fe5499
Added cycling for zone drawing ( #490 )
2017-11-15 04:19:00 +02:00
shavit
8d3b4fee07
Fixed !b teleporting to wrong spawn point ( #522 )
2017-11-12 19:28:07 +02:00
shavit
a1629d839c
Add indexes, VARCHAR >> CHAR(n).
...
BIG optimization.
2017-10-29 18:08:44 +02:00
shavitush
70e885c25f
Restructured files.
2017-10-24 01:05:09 +03:00