rtldg
4d91c49d60
add sm_toggleadverts for someone special
2021-03-19 07:51:36 +00:00
rtldg
9e43f67fc3
add looping, dynamic, and prop replay bots
...
changed natives:
Shavit_OnReplayStart, Shavit_OnReplayEnd, Shavit_GetReplayBotFirstFrame, Shavit_GetReplayBotIndex,
Shavit_GetReplayBotCurrentFrame, Shavit_GetReplayTime, Shavit_GetReplayStatus, Shavit_StartReplay
added natives:
Shavit_IsReplayEntity
thanks carnifex for telling me how to make replay props
2021-03-19 03:03:24 +00:00
rtldg
1c4438911d
remove use of MAX_NAME_LENGTH_SQL (32) and replace with MAX_NAME_LENGTH (32)
2021-03-19 02:39:27 +00:00
rtldg
9700482045
remove unused parameter 'track' from ShowWRStyleMenu()
2021-03-18 10:11:19 +00: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
6ff39c0891
hopefully remove velocity difference when timer stopped in csgo
2021-03-13 23:08:10 +00:00
rtldg
dcb9595f1a
show wrs and blank styles on !wr notcurrentmap
2021-03-13 22:50:44 +00:00
KiD Fearless
9dde6c1b06
Remove base.nav and write nav meshes manually
...
Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2021-03-13 20:53:04 +00:00
rtldg
8b48ae8c91
add velocity difference
...
Shavit_GetClosestReplayTime(client, style, track) -> Shavit_GetClosestReplayTime(client)
+ Shavit_GetClosestReplayStyle(client)
+ Shavit_SetClosestReplayStyle(client, style) // to be used eventually for allowing you to change replay style to compare to
+ Shavit_GetClosestReplayVelocityDifference(client, threeD)
+ shavit_replay_timedifference_tick
2021-03-13 08:19:51 +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
a89e306322
add message about !m/!main
2021-03-11 09:46:49 +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
rtldg
96ee05b5aa
add sm_main/sm_m
2021-03-11 08:20:18 +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
35206c7ded
Add missing parameter to SetStart native
2021-03-11 00:34:51 -05:00
BoomShot
e6b3baae81
Maintain user's current track when restarting
...
Previously, the timer would send you to the main start zone every time a player used sm_r, so now it'll send them to their respective track.
2021-03-11 00:00:30 -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
rtldg
c9cf2802c6
add another view because mysql 5.6 gives "View's SELECT contains a subquery in the FROM clause"
2021-03-11 01:21:52 +00:00
rtldg
9b0f3dff92
fix loose formatting warning
2021-03-11 00:55:13 +00:00
rtldg
8d6e730bee
make my wrrank/wrcount queries work with mysql 5.6/5.7
...
also my DeleteWR() query that used variables to be fancy is unneeded and just breaks sqlite compatibility
have you noticed that i've been winging it with all the sql stuff?
2021-03-10 08:50:33 +00:00
Nairda
687cb0a96a
Update dhooks.inc
2021-03-09 08:04:04 +00:00
rtldg
6f0685406f
fix query for bonuses & WR Holder rank for #1025
2021-03-09 07:50:36 +00:00
rtldg
4350ca0994
fix segmented checkpoints practice bug ( #1023 )
2021-03-08 22:30:40 +00:00
rtldg
e08a1bf952
rename player_speedmod_AcceptInput to DHook_AcceptInput_player_speedmod
2021-03-08 22:27:37 +00:00
rtldg
6db6b5f3cf
fix player_speedmod & timescaled styles interacting
2021-03-08 01:52:08 +00:00
KiD Fearless
f93a47742b
Update version
2021-03-07 14:21:01 -07:00
KiD Fearless
9ea63fab11
Merge branch 'very_good_yes'
2021-03-07 14:15:56 -07:00
KiD Fearless
1f81b4116e
lowercase Timer variable name
2021-03-07 12:06:20 -07:00
KiD Fearless
70ae9bc4cb
Add shavit_misc_prespeed 5 for 2d velocity limit.
2021-03-07 12:05:13 -07:00
Joe
99ac213a2e
Merge pull request #1022 from GAMMACASE/restart_warn_on_seg_removed
...
Remove restart warning for a segmented style
2021-03-07 03:31:47 +00:00
Joe
a78d797d42
use existing CanSegment(client)
2021-03-07 03:29:18 +00:00
rtldg
65f58219bd
misc changes & stockify GetSpectatorTarget
2021-03-07 03:25:56 +00:00
GAMMACASE
0d3dd2bf2e
Removed restart warning for a segmented style
2021-03-07 05:58:38 +03:00
rtldg
dc9f39bdf3
improve map point recalculation
2021-03-06 22:32:30 +00:00
rtldg
ec31464b1b
add parentheses around ternary conditionals
2021-03-06 21:04:42 +00:00
rtldg
5f59c57c4f
brackets and oversights
2021-03-06 09:54:03 +00:00
rtldg
3df3943dea
move unindexed variables out of loop
2021-03-06 09:48:22 +00:00
rtldg
4da249c6fb
cleanup comments
2021-03-06 09:31:54 +00:00
rtldg
3ca87e27c8
new natives & chat rank stuff & translations
...
natives:
Shavit_GetWRCount(client) -> Shavit_GetWRCount(client, track, style, usecvars)
Shavit_GetWRHolders(track, style, usecvars)
Shavit_GetWRHolderRank(client, track, style, usecvars)
configs/shavit-chat.cfg:
added w (WR Count) and W (rank out of WR holders) to ranks prefix options
added {pts}, {wrs}, and {wrrank}
translations/shavit-chat.phrases.txt:
added a lot here... make sure you update your #format, parameter numbers, and translations...
2021-03-06 09:14:35 +00:00
rtldg
b19ce52efc
make chatrank say ranked at #1
2021-03-05 17:25:03 +00:00
rtldg
0caa746290
initial DynamicChannels stuff
2021-03-04 10:31:11 +00:00
rtldg
ee11fa10d4
add Shavit_DeleteWR. refactor run deletion & wipeplayer
2021-03-04 05:53:41 +00:00
rtldg
45dd960d3e
remove PrintToChatAll from shavit-zones
2021-03-04 05:30:13 +00:00
rtldg
9d26e5cddb
add sm_fling back for testing whoops
2021-03-04 05:29:28 +00:00
Joe
83b82f2355
Merge pull request #1016 from deadw1nter/delete_replay
...
Add map name check to DeleteReplay
2021-03-04 05:19:20 +00:00