Commit Graph

98 Commits

Author SHA1 Message Date
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