Commit Graph

88 Commits

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