rtldg
7117b38038
reset stamina on landing for easybhop so you don't have to change sv_staminalandcost on csgo for stamina scroll stuff
2021-03-23 12:29:57 +00:00
rtldg
78ecccf7c4
change some cvar defaults
2021-03-23 10:14:34 +00:00
rtldg
ac784cb7b8
make looping bots spawn when a replay is made
2021-03-23 08:35:52 +00:00
rtldg
dc13f2bdd2
fix replay bugs from bot_quota that only happen on csgo... hopefully this doesn't break it on css now xd
2021-03-23 06:54:25 +00:00
rtldg
6386577ef4
fix team select menu needing to be closed twice
2021-03-23 05:52:26 +00:00
rtldg
84a4f10f22
fix some new replay errors that happen on csgo
2021-03-23 05:45:46 +00:00
rtldg
87c74d329a
remove some errors and warnings
2021-03-23 03:15:41 +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
rtldg
19c5ccb7f3
add sm_ccadd and sm_ccdelete
2021-03-22 09:42:03 +00:00
rtldg
db575c577b
accidentally undid a change
2021-03-22 06:51:27 +00:00
rtldg
916f141c48
rename some variables and stuff
2021-03-22 06:45:02 +00:00
rtldg
8d4ffd443b
ReplayStatus/ReplayType -> int. +Shavit_StartReplayFromFrameCache(), +Shavit_StartReplayFromFile(). change replay file reading so i can have a replayfile_header_t which can be used to read stuff in DeleteReplay easier
2021-03-22 05:59:33 +00:00
Joe
bef718852b
Merge pull request #1032 from GAMMACASE/trace_ray_mask
...
Change TraceRay masks to MASK_PLAYERSOLID
2021-03-22 02:01:16 +00:00
rtldg
cb63c59352
add Shavit_GetReplayButtons() and fix error in #1033
2021-03-21 09:16:07 +00:00
rtldg
1d4128d874
reorder tickrate grabbing in shavit-replay
2021-03-21 08:37:44 +00:00
GAMMACASE
2843123712
Change TraceRay masks to use MASK_PLAYERSOLID
2021-03-21 08:17:39 +03:00
rtldg
e9db6dcb02
add Shavit_GetReplayStarter
2021-03-21 02:10:41 +00:00
rtldg
45ad54c41e
use IsValidClient instead of IsClientInGame in my new loop
2021-03-20 15:07:30 +00:00
rtldg
4084f8deee
hopefully work around non-ingame clients that might be passed to NormalSHook's
2021-03-20 04:15:03 +00:00
rtldg
32d5861d04
remove unnecessary if statement
2021-03-19 12:09:50 +00:00
rtldg
c59a2af012
fix some errors in shavit-replay.sp
2021-03-19 10:58:39 +00:00
rtldg
94c38ad34c
print worse time messages to spectators
2021-03-19 10:10:35 +00:00
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
rtldg
25f07e70e1
move sample text into shavit-chat.phrases.txt
2021-03-02 22:20:27 +00:00
rtldg
720ddeed1d
add Shavit_GetPlainChatrank. add {cr} to shavit_misc_clantag
2021-03-02 22:05:03 +00:00
rtldg
41f62f0a8f
add the steamid to cpcache so segmented checkpoints don't keep starting in practice mode
2021-03-02 18:56:13 +00:00
rtldg
a186e25b4e
save cps on disconnect. fix ->spec->rejoin->lose pos. merged savestate stuff into persistent_data_t stuff
2021-03-02 18:17:10 +00:00
rtldg
62862ec2b5
fix persistent_data_t frames being cleared early
2021-03-02 03:12:25 +00:00
rtldg
14741a66c1
this stuff is stored in the timer_snapshot_t
2021-03-02 02:37:25 +00:00
deadw1nter
2d9c1037a0
better implementation from rellog, huge shoutout to him
2021-03-01 18:08:20 +08:00
deadw1nter
7477c7780f
A shitty implementation
2021-03-01 17:41:59 +08:00
Joe
b62352835f
Merge branch 'very_good_yes' into delete_replay
2021-03-01 02:12:30 +00:00
Joe
025e35397b
Merge pull request #1020 from rtldg/replay-file-stealing2
...
add timestamp to finish-forwards. add Shavit_ShouldSaveReplayCopy and Shavit_OnReplaySaved
2021-03-01 02:05:02 +00:00
Joe
7a27fe262f
Merge pull request #1018 from hermansimensen/very_good_yes
...
Fixed bad replay timer playback.
If any plugin changes the tickrate of the server (i.e Tickrate Control by Rostu), the playback of the replay's timer might be at the wrong speed. To fix this we just make sure gF_Tickrate is up to date when starting the replay.
2021-03-01 02:04:06 +00:00
Joe
d3eede84f8
no sm_fling in timer
2021-03-01 02:01:12 +00:00
rtldg
020a218fa6
lowercase parameters in shavit.inc
2021-02-28 21:03:16 +00:00
rtldg
0e5eef338d
newline + path -> sPath
2021-02-28 00:38:47 +00:00
Joe
27dfcd740f
add timestamp to finish-forwards. add Shavit_ShouldSaveReplayCopy and Shavit_OnReplaySaved
2021-02-27 19:39:21 +00:00
Nairda
5730148d0a
add brackets ( #1019 )
2021-02-27 18:49:15 +00:00
Joe
a6ff5dd94c
Avg and max velocity ( #1017 )
...
Adds Shavit_GetAvgVelocity(), Shavit_GetMaxVelocity(), Shavit_SetAvgVelocity(), Shavit_SetMaxVelocity().
Adds `float avgvel, float maxvel` to Shavit_OnWorldRecord, Shavit_OnFinish_Post, Shavit_OnFinish, Shavit_OnWorstRecord.
Adds avg/max velocity to cp_cache_t and timer_snapshot_t
Prints avg/max velocity to run-finish message.
2021-02-27 18:33:07 +00:00
hermansimensen
423c7299d3
Fix bad replay playback time.
2021-02-26 21:53:56 +01:00
Joe
4b97af25d8
add avg/max velocity to run completion message
2021-02-26 20:41:58 +00:00
Joe
ee2ed22af0
fix forward param count
2021-02-26 19:25:35 +00:00
Joe
f869498af3
fuck
2021-02-26 19:19:51 +00:00
Joe
e38eceedbe
remove preframes from avg vel calc
2021-02-26 19:17:32 +00:00
Joe
5351e49e76
spread avg/max velocity into as many places as possible
2021-02-26 18:28:40 +00:00
Joe
7b2fb3be65
store avg/max velocity in persistent data & cpcache
2021-02-26 17:53:42 +00:00
Joe
71e804420c
change avg/max velocity to work off frames
2021-02-26 17:34:29 +00:00
Joe
07e07fd7c8
fix typos for avg/max velocity
2021-02-26 02:46:08 +00:00
KiD Fearless
f84e271c55
Add SetStyleSetting Natives #877
2021-02-25 18:28:08 -07:00
GAMMACASE
e091c186fe
Fixed queries to support mysql v8 ( #1015 )
2021-02-26 00:42:30 +00:00
deadw1nter
6ae4ce15d9
Add mapname param to OnWRDeleted
2021-02-24 20:04:34 +08:00
deadw1nter
5eb1c9ab1a
Add map name check in DeleteReplay
2021-02-24 10:56:38 +08:00
deadw1nter
32336e5ab6
Merge remote-tracking branch 'upstream/very_good_yes' into delete_replay
2021-02-24 10:44:29 +08:00
Joe
d4893ec713
add Shavit_GetAvgMaxVelocity() and hope for best
2021-02-23 05:32:13 +00:00
Joe
df8b64d1b3
add Shavit_GetTimesTeleported() ( #1012 )
...
* add Shavit_GetTimesTeleported()
* add Shavit_GetTimesTeleported() to the optional native section
* Use ++ instead of += 1
Co-authored-by: KiD Fearless <kidfearless1@gmail.com>
2021-02-21 17:26:30 -07:00
Joe
183db7c1a9
remove diy GetRandomInt ( #1013 )
2021-02-21 16:57:55 -07:00
Joe
4087ba778d
block s on regular hsw (so you can't shsw...) ( #973 )
...
* block s on regular hsw (so you can't shsw...)
* block shsw on hsw while still allow S to stop
* also remove IN_FORWARD when removing IN_BACK
i hope these commits are squashed so nobody sees these
* remove unnecessary bStop variable for shsw
2021-02-21 16:20:55 -07: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
6554740254
useless pr, but KiD asked for it ( #1007 )
...
* useless pr, but KiD asked for it
added braces
* yesn't
updated to match the solid very good yes coding style
also, added extra two empty lines at the bottom just in case anything breaks
2021-01-24 19:46:03 -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
GAMMACASE
22a3b0ba1d
Delete frames from cpcache on entry deletion ( #1001 )
...
* Delete frames from cpcache on entry deletion
* Handle few more cases
* One more case
2021-01-08 11:06:22 -07:00
GAMMACASE
f2e1ad9706
Delete frames from cpcache on entry deletion ( #1001 )
...
* Delete frames from cpcache on entry deletion
* Handle few more cases
* One more case
2021-01-08 06:24:59 -07:00
KiD Fearless
976fc90d87
Speculatory exploit fix
2021-01-06 13:47:19 -07:00
KiD Fearless
dc57d481f8
Change Shavit_GetStyleStrings to use style keys
2020-12-29 11:12:31 -07:00
KiD Fearless
00029d4bc7
Merge branch 'master' into very_good_yes
2020-12-20 18:52:59 -07:00
KiD Fearless
88ede8d55c
wrong team...
2020-12-20 18:52:37 -07:00
KiD Fearless
fcddaba475
Merge branch 'master' into very_good_yes
2020-12-20 18:33:29 -07:00
kidfearless
f7c878b8f1
Fix exploit allowing extra height on spawn
2020-12-20 18:29:17 -07:00
kidfearless
f997d4e544
implement force_timescale in configs
2020-12-14 15:12:22 -07:00
kidfearless
b2da978f73
re-work shavit-core to use GetStyleSetting stocks. Log error when using Shavit_GetStyleSettings.
2020-12-14 15:02:59 -07:00
Nairda
1475e1b31f
csgo menu fix ( #995 )
...
* csgo menu fix
* Update shavit-misc.sp
* csgo menu fix
works according to GAMMACASE
* Update shavit-misc.sp
* editing shit via git website is cancer
* Update shavit-misc.sp
2020-12-06 20:16:33 -07:00
kidfearless
7c5298f721
fixup compile errors
2020-12-04 07:51:23 -07:00
kidfearless
200ffd16f8
Removed shavit_getstylesettings from shavit-wr
2020-12-04 07:48:57 -07:00
kidfearless
3cd45238bc
Removed shavit_getstylesettings from shavit-misc
2020-12-04 07:45:27 -07:00
kidfearless
1835573a70
Removed shavit_getstylesettings from shavit-stats
2020-12-04 07:39:09 -07:00
kidfearless
1011629ec4
Add helper natives for Shavit_GetStyleSetting
2020-12-04 07:36:24 -07:00
kidfearless
ec85dae24f
Removed shavit_getstylesettings from shavit-rankings
2020-12-04 07:17:14 -07:00
kidfearless
98af2b4a51
Removed shavit_getstylesettings from shavit-replay
2020-12-04 07:12:04 -07:00
kidfearless
2f48ddb85a
Removed shavit_getstylesettings from shavit-hud
2020-12-04 07:01:06 -07:00
kidfearless
69efd6c5e8
use smcparser for style loading
2020-12-04 06:49:15 -07:00
kidfearless
db27bdce14
Added Shavit_GetStyleSetting, deprecated Shavit_GetStyleSettings
2020-12-01 08:43:06 -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
080c64f8b9
fix ApplyFlags for the replay bot ( #977 )
2020-11-30 09:37:11 -07:00
Joe
3d670a7812
allow !resume when not on the ground ( #966 )
...
* allow !resume when not on the ground
* block !pause if moving / velocity != 0.0
2020-11-30 09:36:05 -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
Joe
41c0486035
Allow !goto/!tpto from start/end zone ( #963 )
...
* allow !goto/!tpto from start/end zones
* also remove translation phrase for TeleportInZone
2020-11-30 09:34:39 -07:00
kidfearless
91585c2fd1
Update version to signify dev builds
2020-11-30 09:33:36 -07:00
KiD Fearless
cbda666700
Fix Shavit_SaveCheckpoint Native
2020-11-23 15:48:49 -07:00
KiD Fearless
06addf326f
Implement the ProcessMovment forwards
2020-11-23 13:56:30 -07:00
KiD Fearless
069450d443
remove unused variable
2020-11-22 09:54:34 -07:00
KiD Fearless
10ae7730de
#985 fix create checkpoint list if it doesnt exist
2020-11-21 14:49:38 -07:00
KiD Fearless
7a3efcfe6b
Revert "Remove The Loop"
...
This reverts commit 60599ee95d .
2020-11-21 14:33:04 -07:00
KiD Fearless
60599ee95d
Remove The Loop
2020-11-20 17:46:26 -07:00
KiD Fearless
7696670d6d
move replay check to actual usage location
2020-11-14 12:45:50 -07:00
KiD Fearless
77676db8ed
Tidy up dynamic time difference so that both cheap and expensive methods are available.
...
dynamic time difference is now disabled by default, and will be using a shortened convar name. it is reccomended that if you do use the cheap method to set it to 2 or 3 as not having an early reference point was the main cause for time skipping.
2020-11-14 07:45:42 -07:00
GAMMACASE
37d1e641b5
Fixed incorrect kv traversal for shavit-chatsettings.cfg
2020-11-12 23:12:42 +03:00
kidfearless
07743be24b
Merge pull request #974 from Nairdaa/patch-3
...
minor shavit-chatsettings fix
2020-11-10 12:54:39 -07:00
kidfearless
b7be81f45c
Merge pull request #975 from GAMMACASE/spec_panel_fix
...
Spectator panel player name truncation improvement
2020-11-10 12:45:13 -07:00
kidfearless
c52c3c3e79
Add account id validation when deleting replays
...
* Fixed bugs
* Make it optional
* no empty line
* Update shavit-core.sp
* How can I didn't notice this before
2020-11-10 12:40:53 -07:00
KiD Fearless
b20a2c6762
Update documentation and change some verbage
2020-11-10 12:40:06 -07:00
Joe
86436b19d2
add turn binds to !keys ( #980 )
...
* add turn binds to !keys
* move turn keys to a newline
2020-10-30 16:20:18 -06:00
GAMMACASE
8230d55f3e
Improve player name truncation in spec panel
2020-10-19 04:48:18 +03:00
Nairda
797d10a1da
add checks for config parsing
...
"might also as well add some checks to config parsing" // GAMMACASE
2020-10-19 02:39:18 +02:00
Nairda
e2aedb4a0b
shavit-chatsettings fix
...
"this breaks the parsing and it always parses CS:S section"
made a PR on behalf of GAMMACASE
also removed the useless " \t \n \r " cus it's already in there defined as hex, pointless to have it defined twice
2020-10-19 02:27:02 +02:00
Joe
c40ab49fac
Wr suggestions ( #972 )
...
* make !wr say map not found when map not found...
* use translation string for 'map was not found'
* stockify GuessBestMapName() and also use in sm_tier
* fix formatting
Co-authored-by: KiD Fearless <kidfearless1@gmail.com>
2020-10-17 15:41:43 -06:00
Joe
e1e7d3bf2e
Don't include preframe count for dynamic time diff ( #971 )
...
"Also, when you go back to startzone (not with !r) your dynamic time is not back to 0 when you have more than 10 seconds on the timer (you can have even 30 on it, walk back to startzone, walk out and it will show -10 sec on dynamic timer right away)."
2020-10-17 14:17:12 -06:00
Joe
a4f471479c
grab Z from replay origin for dynamic time diff ( #970 )
2020-10-17 09:00:41 -06:00
KiD Fearless
b7114c2854
Add missing closing brace
2020-10-15 09:31:38 -06:00
Joe
8ca5add961
[CSS] continuously set m_flFlashDuration so the radar goes away ( #964 )
...
* continuously set m_flFlashDuration so the radar goes away
* fix formatting
Co-authored-by: KiD Fearless <kidfearless1@gmail.com>
2020-10-15 09:27:43 -06:00
Joe
50805a5d8d
just spectate the bot 4head ( #969 )
2020-10-15 09:20:46 -06:00
Joe
8a36caaa14
don't set FL_ATCONTROLS when dead/spec so you can freecam while paused ( #968 )
...
* don't set FL_ATCONTROLS when dead/spec so you can freecam while paused...
* fix formatting
Co-authored-by: KiD Fearless <kidfearless1@gmail.com>
2020-10-15 09:10:28 -06:00
Joe
f603d63e62
fix error that happens if you 'sm_tele 0' with no checkpoints ( #962 )
2020-10-15 08:59:12 -06:00
Joe
62c75ac242
reset stamina to 0 on restart (so scroll is less cancer) ( #967 )
...
* reset stamina to 0 on restart (so scroll is less cancer)
* fix formatting
Co-authored-by: KiD Fearless <kidfearless1@gmail.com>
2020-10-15 08:57:58 -06:00
Joe
48ddc092ea
fix using -1 for shavit_misc_persistdata ( #961 )
...
* fix using -1 for shavit_misc_persistdata
* fix formatting
Co-authored-by: KiD Fearless <kidfearless1@gmail.com>
2020-10-15 08:56:27 -06:00
KiD Fearless
05614c1d51
Merge branch 'very_good_yes' of https://github.com/shavitush/bhoptimer into very_good_yes
2020-10-04 08:01:29 -06: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
KiD Fearless
0505cb4224
Merge branch 'very_good_yes' of https://github.com/shavitush/bhoptimer into very_good_yes
2020-10-04 07:54:12 -06:00
KiD Fearless
fbf053f44d
Update shavit-sounds.sp
2020-10-04 07:54:08 -06:00
KiD Fearless
596c631861
Revert "begin moving persist replay frames out of shavit-misc"
...
This reverts commit d2cfeeebda .
2020-10-04 07:47:56 -06:00
KiD Fearless
d92084b995
Revert "remove replay data from shavit-misc"
...
This reverts commit 5ad62fa1fd .
2020-10-04 07:42:46 -06:00
deadw1nter
0cd539dfc4
How can I didn't notice this before
2020-09-17 10:54:03 +08:00
Q
1e737ebd05
Update shavit-core.sp
2020-08-20 12:16:07 +08:00
Q
1ec04b4993
no empty line
2020-08-20 09:59:30 +08:00
Q
733b9a61e3
Make it optional
2020-08-20 09:57:59 +08:00
Q
d4d51c752d
Fixed bugs
2020-08-20 09:44:27 +08:00
KiD Fearless
bdc600fedb
Wrap dynamic time difference in shavit-replay library check
2020-08-09 14:01:20 -06:00
KiD Fearless
5ad62fa1fd
remove replay data from shavit-misc
2020-08-09 13:57:34 -06:00
KiD Fearless
d2cfeeebda
begin moving persist replay frames out of shavit-misc
2020-08-09 13:49:54 -06:00
Nairda
08050e23ac
cp bug fix ( #951 )
...
deadwinter says the blame is 33% him, 33% me and 34% shavit cus it's his timer
2020-08-06 16:26:46 -06:00
KiD Fearless
697cb409f1
Add enabled convar for shavit-timelimit
2020-08-05 19:10:15 -06:00
KiD Fearless
65f9f8da4a
Add round start fix to shavit-timelimit, Enabled by default
2020-08-05 18:59:03 -06:00
KiD Fearless
bcc63e13b1
Added Shavit_OnPlaySound and shavit_sounds_enabled
2020-08-05 18:36:26 -06:00
Nairda
533f3bccc9
Add delete checkpoint & convert checkpoints to lists ( #946 )
...
* Update shavit-misc.phrases.txt
* Update shavit-misc.sp
* remove debug lines
* Update shavit-misc.phrases.txt
* Update shavit-misc.sp
* Works.
deadwinter Today at 17:44
i fixed it myself
so
it is safe to merge now
@KiD
* Add forward for when checkpoints are deleted
* Adjust OnTeleport forward to match other checkpoint natives
* Create function for DeleteCheckpoint. Added documentation.
Co-authored-by: KiD Fearless <kidfearless1@gmail.com>
2020-08-03 17:41:52 -06:00
KiD Fearless
f417730b01
fixup GetClosestReplayTime part 1
2020-08-02 21:13:52 -06:00
KiD Fearless
f103255b7e
Merge branch 'very_good_yes' of https://github.com/shavitush/bhoptimer into very_good_yes
2020-07-29 20:45:05 -06:00
KiD Fearless
9a96ca461f
Add sanity check for zone offsets
2020-07-29 20:45:02 -06:00
Nairda
8fa69f9667
fix another typo ( #947 )
2020-07-29 17:14:10 -06:00
KiD Fearless
55abd218fc
Fix Typo
2020-07-29 12:18:05 -06:00
KiD Fearless
03775a910f
Add convar for max search length for dynamic time differences
2020-07-25 19:48:55 -06:00
KiD Fearless
1e53a1ab81
Optimize Shavit_GetClosestReplayTime
2020-07-25 19:41:51 -06:00
KiD Fearless
8fe630f7c3
Add convar to enable and disable dynamic time differences
2020-07-23 19:55:55 -06:00
KiD Fearless
4415ea4ead
re-implement z-axis check for start zone offset calculation
2020-07-22 19:51:45 -06:00
KiD Fearless
3c345790a5
fix bhopstats include for latest sm
2020-07-22 17:50:03 -06:00
KiD Fearless
12acb77318
#939 Move tick calculations outside of EndTouch event
2020-07-22 17:49:22 -06:00
KiD Fearless
fbb055bbd8
add ProcessMovement forwards
2020-07-22 17:41:01 -06:00
KiD Fearless
f0ecfaf2a7
Add preframe sanity check
2020-07-11 16:58:26 -06:00
KiD Fearless
22ff805d4f
#888 Add Convar for hud settings
...
also fix compile cause @nairdaa didn't test and neither did I.
2020-07-10 23:26:55 -06:00