Commit Graph

810 Commits

Author SHA1 Message Date
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
Dustin
06aa539d9e
Added Shavit_GetClientCompletions (#908)
* Added Shavit_GetClientCompletionss

* Misc. changes

Co-authored-by: KiD Fearless <kidfearless1@gmail.com>
2020-07-10 22:01:28 -06:00
Nairda
aa5d688ce1
add hud perf settings (#934)
* add hud perf settings

added option to enable/disable perf ratio from scroll styles

TODO later: 
- add an option to move perf ratio from right hud to main hud.

* Update shavit-hud.sp

* Update shavit-hud.sp

* fix tabbing

Co-authored-by: KiD Fearless <kidfearless1@gmail.com>
2020-07-10 21:55:00 -06:00
KiD Fearless
6ca4396163 Don't compile debug messages, Fixup naming 2020-07-10 21:47:01 -06:00
KiD Fearless
436db49ed1 Debug code only in debug mode 2020-07-10 21:21:42 -06:00
hermansimensen
3c938dd20d small change 2020-07-11 03:06:01 +02:00
hermansimensen
a6f0af27c0 Update natives 2020-07-11 00:26:17 +02:00
hermansimensen
fb5e657fc3 add distance to forward 2020-07-10 23:17:23 +02:00
hermansimensen
3baca9aaf8 new forwards, and native changes
Also added support for checkpoints
2020-07-10 23:10:44 +02:00
hermansimensen
6a4d383cd7 Change trace method to hull 2020-07-10 21:54:48 +02:00
hermansimensen
8005b3fd6d Fix offsets, add offset natives for styles like TAS
Also doesn't calculate offsets when NoZAxisSpeed is set to 0 and player is jumping from within the startzone, as requested by rumour.
2020-07-10 18:06:43 +02:00
Herman Simensen
dec640f2b4
New timer method, tick fractions & StartReplay native (#931)
* 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

* Tick offsets, new timing method

Added the tick fraction system from Momentum Mod. Timer is now run within ProcessMovement

* Add StartReplay Native

* Remove debug code

* remove extra gamedata

* Change Hook To Post.

* Increment version

Co-authored-by: KiD Fearless <kidfearless1@gmail.com>
Co-authored-by: Nairda <38843773+Nairdaa@users.noreply.github.com>
2020-07-08 18:00:28 -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
KiD Fearless
26c9f0381d Save the proper frame count to the replay files 2020-06-17 19:31:23 -06:00
KiD Fearless
b2057fcf7b Fix missed merge conflict 2020-06-16 21:04:02 -06:00
KiD Fearless
8f0fd02f32 Merge branch 'very_good_yes' 2020-06-16 21:01:24 -06:00
KiD Fearless
2b16a8d2e9 Fix replay bots desyncing after WR 2020-06-16 20:49:45 -06:00
KiD Fearless
97eb4bfc00 re-add silly percentage 2020-06-16 19:32:06 -06:00
Nairda
54a53db13b
nairda bad-Fix FormatSeconds stock (#923) 2020-06-14 15:26:28 -06:00
Nairda
469785b80c
Update to current api standards (#922) 2020-06-10 11:45:14 -06:00
Nairda
d1308939bd
Add dynamic timer difference (#921) 2020-06-10 11:16:15 -06:00
Nairda
747e79f922
eh! (#920)
* Update shavit-misc.sp

* Update shavit-replay.sp

* Update shavit.inc

* Update shavit-misc.sp

* tested... my ass

fuck you sourcemod

* award goes to deadwinter again

L 06/03/2020 - 00:30:18: [SM] Exception reported: Invalid index 47081 (count: 3743)
L 06/03/2020 - 00:30:18: [SM] Blaming: shavit-replay.smx
L 06/03/2020 - 00:30:18: [SM] Call stack trace:
L 06/03/2020 - 00:30:18: [SM]   [0] ArrayList.Get
L 06/03/2020 - 00:30:18: [SM]   [1] Line 1806, D:\steamcmd\css\cstrike\addons\sourcemod\scripting\shavit-replay.sp::OnPlayerRunCmd


Bug fixed.

* oops

* even more bugs ok

* Update shavit-hud.sp
> just merge it, trust me im clueless
- Nairda
2020-06-09 09:46:20 -06:00
Nairda
f2ae4b050d
Fix hud error bug spam in server console and prespeed on replay (#918)
#BlameNairdaIfItBreaks
2020-06-05 22:00:53 -06:00
Nairda
dff6f61145
fix replay bug (#906)
Speculatory fix for "replay bug"
2020-05-05 08:19:54 -06:00
deadw1nter
e753b7bdd8
Remove extra prerun frame, Add dynamic time difference (#890)
* Make clearpreframe optional

* Remove extra prerun frame, Add dynamic time difference
2020-04-25 16:13:52 -06:00
KiD Fearless
15942d05ff properly fix perf jumps 2020-04-24 13:18:07 -06:00
Nairda
606e3e70c0
removed the debug lines
they were only for you to see what I did to test the stuff
2020-04-21 03:12:48 +02:00
hermansimensen
35b608af88 Fix timescale being reset to styles default
This new line will fix the native Shavit_SetClientTimescale by not
resetting the timescale of the player to the style default after each
jump
2020-04-15 21:36:51 +02:00
KiD Fearless
9a4cdef528 Update documentation 2020-04-12 13:23:03 -06:00
KiD Fearless
1671f8380c Update FormatSeconds to handle negative time
* Remove shavit_hud_prerun_countdown

* Replace %with %%
2020-04-10 11:38:31 -06:00
deadw1nter
91f83e2c2a
Clean up prerun code + Add prerun countdown to hud (#886)
* remove timer preframe variables

* Prerun should only record when you are in start zone

* Make clearpreframe optional

* add prerun countdown to hud
2020-04-10 09:57:21 -06:00
KiD Fearless
3846122367 Change language of prerun convar 2020-04-07 14:16:59 -06:00
deadw1nter
db5ee570f0
Prerun should only record when you are in start zone (#885)
* Make clearpreframe optional
2020-04-07 14:12:32 -06:00
KiD Fearless
9fc6f83e8c Fix SQL Syntax error in MySQL 8.0 2020-04-07 13:35:03 -06:00
KiD Fearless
9affa982cf remove shavit_replay_maxlength_instart 2020-04-06 10:29:24 -06:00
KiD Fearless
12e0df79e0 increment version 2020-04-04 15:17:18 -06:00
KiD Fearless
d590934324 Add jump multiplier and jump bonus to shavit-styles.cfg 2020-04-04 14:35:14 -06:00
KiD Fearless
94693fc6d8 overwrite older preframes instead of clearing them upon reaching the max list limit 2020-04-04 13:28:30 -06:00
KiD Fearless
8650fe86b7 always return the actual run time 2020-04-04 12:39:27 -06:00
KiD Fearless
44a6b1646f Show hud data during prerun 2020-04-04 12:39:04 -06:00
Nairda
986ebcd427
segmented prespeed fix (#883)
* Update shavit-misc.sp

* Update shavit-replay.sp

* Update shavit.inc

* Update shavit.inc

* Update shavit-misc.sp

* Update shavit-replay.sp
2020-04-04 11:17:31 -06:00
KiD Fearless
88ca8c8159 Implement set current checkpoint 2020-04-03 15:07:08 -06:00
KiD Fearless
1387b5451a Added more checkpoint natives and forwards 2020-04-02 21:28:26 -06:00
deadw1nter
d8fbcbb780 Implement prerun feature for replay (#882)
* Implement prerun feature for replay

* Update shavit-replay.sp

* Update shavit-replay.sp

* Using blacky's method to handle prerun

I know it is kinda copy-pasta, but it is the best way that I can come up with :(

* I suck at naming 👎
2020-04-02 14:15:19 -06:00
KiD Fearless
2ad6152c82 Fix build 2020-03-25 08:00:53 -06:00
kidfearless
2b6e09bc85
Merge pull request #870 from shavitush/very_good_yes
Merge into master
2020-03-25 07:44:16 -06:00
deadw1nter
daf2783071
Fix a bug
You still can save a segmetned checkpoint when you are dead via menu
2020-03-25 15:47:01 +08:00
KiD Fearless
53d71509bd Merge branch 'very_good_yes' 2020-03-07 00:47:10 -07:00
Kyle
e75617e191 Fix admin menu
Fix for adminmenu late load or reload
2020-03-07 13:28:31 +08:00
KiD Fearless
8fb6312b89 Add csgo hint fix text by default and block hooking it.
Thanks @gammacase
2020-03-05 16:40:38 -07:00
KiD Fearless
ec5888d1f6 Changed pragma dynamic to allow for longer replay bots 2020-02-24 11:20:43 -07:00
KiD Fearless
3283a26d45 Added Convar_class methodmaps for timer convars 2020-01-22 17:16:37 -07:00
KiD Fearless
3d2b51a27a Supress command teleport messages 2020-01-22 14:55:36 -07:00
KiD Fearless
41d17befd7 Set speed multiplyer even if it's the default 2020-01-22 14:54:19 -07:00
KiD Fearless
135242af3d Update Version 2019-12-29 21:01:54 -07:00
KiD Fearless
38a46cd5c1 Added shavit_misc_bhopsounds to block bhop sounds 2019-12-29 21:00:39 -07:00
KiD Fearless
8f39aa6521 Added stages to shavit-zones 2019-12-29 21:00:06 -07:00
KiD Fearless
ac8a4f30f8 Parse permission flag even without command override. Moved late-loading check to the end of OnPluginStart 2019-12-22 16:33:09 -07:00
KiD Fearless
0313239eed Add check for unset timescales 2019-12-20 11:22:07 -07:00
KiD Fearless
3eaaba3a70 Selecting an unfinished map nominates it 2019-12-19 13:09:15 -07:00
KiD Fearless
32e994aa18 Added dynamic timescales.
Start zone will no longer enforce 1.0 style speed.
2019-12-19 11:53:21 -07:00
KiD Fearless
c42d14f46d Added Shavit_OnTrackChanged and Shavit_OnReplaysLoaded 2019-12-18 12:14:22 -07:00
KiD Fearless
ea00c86026 Added overflow parameter to Shavit_OnSave 2019-12-14 12:51:47 -07:00
kidfearless
b8a7b449fb
Merge pull request #847 from kidfearless/master
Add more functionality for checkpoint system.
2019-12-13 16:22:54 -07:00
KiD Fearless
0fd6d6507c Added Checkpoint Natives
Added 6 new natives to better interact with the checkpoint system of the timer. As well as moving the cp_cache_t into shavit.inc to allow 3rd party plugins to modify the checkpoint cache.

Update .gitignore
2019-12-06 18:22:08 -07:00
KiD Fearless
f7ae606467 Added checkpoint index to checkpoint forwards 2019-11-24 11:31:47 -07:00
KiD Fearless
b2abc371ab Fix Shavit_GetReplayBotCurrentFrame 2019-11-24 11:12:54 -07:00
strafe
e4b9d7a898 Don't override teamjoin argument when joining spectator 2019-11-04 00:01:36 +00:00
Dustin
0c7a0702d0
removed ] that was to much 2019-08-16 19:26:44 +02:00
shavit
b0ec640b1e 2.5.5a (hotfix) 2019-08-08 04:53:08 +03:00
shavit
10bed693da Micro optimization for recalculation SQL query. 2019-08-08 04:52:41 +03:00
shavit
e7e1935388 Added logging for player wiping, added warning message when entering invalid SteamID. 2019-08-08 04:49:11 +03:00
shavit
b490313e1f Added sm_migration command to re-apply migrations manually. 2019-08-08 04:22:01 +03:00
shavit
a6a1ed8c8d Fixed issues with certain migrations not working as intended with table prefix setups. 2019-08-08 04:08:30 +03:00
KiD Fearless
7e1c729bc1 Added "Shavit_GetClientFrameCount" and "Shavit_GetReplayFrames" 2019-08-05 16:31:47 -06:00
shavit
c84815584c Refactored event hooks in replay plugin. Should broadcast events properly now. 2019-07-31 20:19:02 +03:00
shavit
de1fa353ff Added shavit_misc_wrmessages finally. See commit description for info.
Oh, oh-oh
Oh

Yeah, I'm gonna take my horse to the old town road
I'm gonna ride 'til I can't no more
I'm gonna take my horse to the old town road
I'm gonna ride 'til I can't no more
(Kio, Kio)

I got the horses in the back
Horse tack is attached
Hat is matte black
Got the boots that's black to match
Ridin' on a horse, ha
You can whip your Porsche
I been in the valley
You ain't been up off that porch, now

Can't nobody tell me nothin'
You can't tell me nothin'
Can't nobody tell me nothin'
You can't tell me nothin'

Ridin' on a tractor
Lean all in my bladder
Cheated on my baby
You can go and ask her
My life is a movie
Bull ridin' and boobies
Cowboy hat from Gucci
Wrangler on my booty

Can't nobody tell me nothin'
You can't tell me nothin'
Can't nobody tell me nothin'
You can't tell me nothin'

Yeah, I'm gonna take my horse to the old town road
I'm gonna ride 'til I can't no more
I'm gonna take my horse to the old town road
I'm gonna ride 'til I can't no more

Hat down, cross town, livin' like a rockstar
Spent a lot of money on my brand new guitar
Baby's got a habit: diamond rings and Fendi sports bras
Ridin' down Rodeo in my Maserati sports car
Got no stress, I've been through all that
I'm like a Marlboro Man so I kick on back
Wish I could roll on back to that old town road
I wanna ride 'til I can't no more

Yeah, I'm gonna take my horse to the old town road
I'm gonna ride 'til I can't no more
I'm gonna take my horse to the old town road
I'm gonna ride 'til I can't no more

Scum Gang
2019-07-28 03:10:22 +03:00
shavit
01b635543f Added missing semicolon. 2019-07-28 03:06:42 +03: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
a66d75e9db Added failsafe to prevent data loss when players finish maps without cache being loaded (#813). 2019-07-24 15:34:46 +03:00
shavit
89d33d91d4 Added Shavit_OnFinishMessage forward (#821).
(and changed PB cache to only update after the finish message is sent to the players)
2019-07-24 15:19:49 +03:00
shavit
7a1f530e07 Improved measuring for perfect jumps. 2019-07-20 13:34:10 +03:00
shavit
b5ce632272 Improvements to how hint text HUD settings is being loaded. 2019-07-13 09:34:30 +03:00
shavit
dfcaee5c5b Fixed HSW sync - thanks Nairda! (#809) 2019-07-13 07:53:18 +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
9cbb0c3f08 Fixed rankings querying the database for tiers/recalc more than once per map.
The database was being queried 3 times on the first server startup.
And during additional map changes, the database was being queried twice instead of once.
This caused the biggest query (users points recalculate) to be executed multiple times, and causing the database handle to be locked up.
2019-05-31 16:51:41 +03:00
shavit
04e5db5420 Fixed the fix for the fix of dropall errors (#807). 2019-05-30 01:50:20 +03:00
shavit
dca53d61c6 Reverted the dropall change, doesn't seem like the proper solution.
(seems like a csgo issue, let me know if anyone has a fix)
2019-05-29 09:12:54 +03:00
shavit
487135f85a Allowed using all keys in limited styles after touching ladder (#800).
Key restriction is added again after touching the ground.
ConVar to disable this is `shavit_core_simplerladders`
2019-05-28 18:44:28 +03:00
shavit
70dd8f7c9c Added tracking for map completions (#804). 2019-05-28 18:32:24 +03:00
shavit
8cea924063 Got rid of a ResumeTimer that I don't remember why I added (#806). 2019-05-28 18:12:20 +03:00
shavit
0b4e82fae4 Fixed "weapon %d is not owned by client %d" (#807). 2019-05-28 18:02:34 +03:00