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
shavit
25ca9f72da
Removed gI_RecordAmount for a more elegant solution.
2019-05-23 22:16:33 +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
086b81600e
Removed pointless string-to-int-to-string conversion
2019-05-13 05:56:51 +03:00
shavit
1fe1196342
Optimizations to migrations
...
* Deletes invalid times/chat records before adding the new constraints.
* Use of `ip` index while converting the IP addresses.
* Limit IP conversion transaction to 10k queries to prevent memory leak on large datasets.
2019-05-13 05:36:12 +03:00
shavit
29c57b4fca
Fixed workshop migration applying 3 times
2019-05-12 23:38:00 +03:00
shavit
547f90ef62
Added automatic database migrations and revamped overall database structure.
...
Now I can push database migrations without making the plugin's users do the querying on their own.
List of migrations:
* **Converted all SteamIDs in the database from SteamID3 to Steam Account ID format. The difference is simply stripping of the [U:1: prefix and ] suffix. This change speeds up the queries and reduces the database's size by a lot.**
* Removal of `workshop/` paths from all map names in the database.
* Added index to `lastlogin` to speedup the filtering I added to rankings with `shavit_rankings_llrecalc`.
* Removed `country` from database. It was completely unnecessary.
* Converted IP addresses from plaintext to a single 4 bytes integer.
* Converted `date` of records from a string to integer.
2019-05-12 07:57:04 +03:00
shavit
dc11301325
Stopped saving custom chat if it wasn't changed.
2019-05-12 07:53:25 +03:00
shavit
7f01ddee4b
Added "shavit_rankings_llrecalc" as a major rankings optimization.
2019-05-12 04:05:24 +03:00
shavit
44dfa5941e
2.5.5
2019-05-03 10:57:05 +03:00
shavit
26d5bfa3ba
Split replay version loaders
...
And fixed a bug with old replays where the very first frame wouldn't
be loaded.
2019-05-03 10:56:56 +03:00
shavit
24e8ba76fa
Added new CS:GO radio commands to block list
2019-05-01 15:00:47 +03:00
shavit
fbe78584ae
Fixed table creation when using the same database for more than one server.
2019-04-27 12:54:06 +03:00
shavit
bb74e14bcf
Fixed SQL issues on table creation when using table prefix.
2019-04-26 17:09:37 +03:00
shavit
67ff423dcc
Fixed recalculations on long map names breaking.
2019-04-26 17:09:37 +03:00
shavit
55bd4fba1b
Re-persist KZ menu after opening it manually
2019-04-18 22:30:12 +03:00
shavit
c2467f4d52
Fixed odd behavior when a map has more than 1000 records.
2019-04-18 05:08:43 +03:00
shavit
202d893802
Fixed error on map finish when there's no "noimprovement" sounds.
2019-04-17 22:57:50 +03:00
shavit
203644d1d2
Added prespeed setting 2 which also respect shavit_core_nozaxisspeed.
2019-04-17 22:57:37 +03:00
shavit
f21ba64c84
2.5.4
2019-04-15 04:19:50 +03:00
shavit
9550c7a801
Fixed SQL error in recent records when running MySQL Server 5.7
...
... what a surprise, MariaDB doesn't throw this error.
2019-04-15 04:19:43 +03:00
shavit
a375fff570
Fixed all WR submenus showing perf%
2019-04-15 04:03:16 +03:00
shavit
02530f5b56
Made KZ CP menu only persist until exited manually.
2019-04-15 03:43:51 +03:00
shavit
6942523464
Fixed error when using !r while dead on KZ style.
2019-04-15 03:34:15 +03:00
shavit
e298dbbc67
Fixed errors in KZ CP menu.
2019-04-15 03:33:44 +03:00
shavit
ba1dd8b256
Added warning on checkpoint clearing, and took it one item menu below
2019-04-15 03:29:06 +03:00
shavit
5bf5b17d0e
Made {rand} make a lot more sense code-wise
2019-04-15 03:18:30 +03:00
shavit
271b669d47
Fixed !r not triggering stop timer warning.
2019-04-15 03:03:09 +03:00
shavit
b88915ba18
Added "force_groundkeys" style property.
2019-04-15 03:01:06 +03:00
shavit
e607b88d21
2.5.3
2019-04-14 23:35:35 +03:00
shavit
fb0b84878e
Added "noimprovement" sound type ( #783 )
2019-04-14 23:35:35 +03:00
shavit
c61e646785
Added shavit_misc_stoptimerwarning
2019-04-14 23:25:17 +03:00
shavit
30264ef092
Added Shavit_OnStopPre
2019-04-14 23:25:13 +03:00
shavit
a30da28d69
Made KZ CP menu persist
2019-04-14 22:46:22 +03:00
shavit
7bc010b82b
Made cursor zoning a default. Get used to it
2019-04-14 22:45:20 +03:00
shavit
204dff4a32
Removed pointless restart-round logic in timelimit
2019-04-14 22:45:20 +03:00
shavit
7785053cc5
Fixed NPE when using !top before rankings are loaded
2019-04-14 22:45:20 +03:00
shavit
ea670471d4
Added pause button to KZ checkpoint menu
2019-04-14 22:45:20 +03:00
shavit
bac741e7f8
Added teleport parameter to Shavit_ResumeTimer
2019-04-14 22:45:19 +03:00
shavit
3150225755
Added Shavit_CanPause
2019-04-14 22:45:19 +03:00
shavit
8b2e3357bb
Fixed a minor memory leak when loading corrupted replay files.
2019-04-06 01:58:34 +03:00
shavit
3729ed23fa
2.5.2
2019-04-06 01:56:13 +03:00
shavit
6ee574c94b
Merge branch 'master' into very_good_yes
2019-04-06 01:55:04 +03:00
shavit
38bec72377
Replay subversion 3 ( #776 )
2019-04-06 01:53:24 +03:00
shavit
3b30b17a18
Merge branch 'master' into patch-1
2019-04-03 07:38:21 +03:00
Nairdaa
8baa8d2dfe
Update shavit-wr.sp
...
-0.000 wr time fix
2019-04-03 00:35:21 +02:00
shavit
d4e09db495
matched code styling
2019-03-29 15:26:02 +03:00
Sachin
d6641f9ee6
Fixes error: Client 3 not in game
2019-03-29 17:47:11 +05:30
shavit
a8673c9c78
2.5.1
2019-03-29 08:40:55 +03:00
shavit
3e8df4214b
Fixed a game breaking exploit with persisted data.
2019-03-29 08:40:07 +03:00
shavit
40d443180e
Disabled timer from starting before cookies are loaded.
2019-03-27 22:02:30 +02:00
shavit
39572abfd9
Added persisting timer data ( #757 ).
2019-03-27 19:50:03 +02:00
shavit
54b2371b70
Modernized custom spawn points setup and added multi-track support ( #756 ).
2019-03-27 14:50:43 +02:00
shavit
4388409e0a
Fixed HSW strafe counter breaking.
2019-03-27 14:21:17 +02:00
shavit
08afbfa67a
Fixed replay HUD speed with speed multipliers.
2019-03-27 12:59:25 +02:00
shavit
6a73893857
Made teleport to last frame of replay playback seamless.
2019-03-27 11:36:27 +02:00
shavit
ee1dddc8c7
Changed track changing in zones menu to be easier ( #597 ).
2019-03-27 11:31:43 +02:00
shavit
12005e8c18
Rewrote queries to support ONLY_FULL_GROUP_BY ( #764 ).
2019-03-27 10:27:50 +02:00
shavit
4d2308ef1f
Fixed shavit-misc not respecting mp_humanteam properly ( #716 ).
2019-03-26 02:47:23 +02:00
shavit
648eb17d57
Removed ancient sm_deletestylerecords command.
...
sm_deleteall should be used instead
2019-03-26 02:26:04 +02:00
shavit
f2c3517943
Added "shavit_misc_hidechatcmds" ( #650 ).
2019-03-25 14:50:35 +02:00
shavit
26eda8b882
Added tier to mapsleft ( #704 ).
...
and squashed a bug with the menu title
2019-03-25 14:48:09 +02:00