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
shavit
079c71bfa1
Fixed mapsleft for bonus track.
2019-03-25 14:32:14 +02:00
shavit
0038c0d9e7
Added !mapsdone/!mapsleft ( #704 ).
2019-03-25 14:28:23 +02:00
shavit
5fca6ded0c
Added decreasing grid snap button ( #743 ).
2019-03-25 14:00:23 +02:00
shavit
538429e36c
Changed !style to show records per track ( #754 ).
2019-03-25 13:52:16 +02:00
shavit
937491d4ee
Optimized maps left query so it runs over 15 times faster ( #758 ).
...
on default mariadb setup!
2019-03-25 10:35:03 +02:00
shavit
73742083fb
Fixed bug where chat plugin would query for bots ( #758 ).
2019-03-25 10:20: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
b1106d7c97
Optimized GetWeightedPoints to only update users with records. ( #758 )
2019-03-25 09:48:03 +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
shavit
1d78ee7bf0
Fixed WR count query being inaccurate ( #760 ).
2019-03-25 08:57:28 +02:00
shavit
6f2e5e7c4f
Fixed rare bug with replay playback.
2019-03-25 08:42:12 +02:00
shavit
7365cbcb53
Added "kzcheckpoints" mode ( #759 ).
2019-03-25 02:48:50 +02:00
shavit
655d41ef41
Fixed bug that allowed teleporting to deleted checkpoints.
2019-03-25 02:20:29 +02:00
shavit
5ec325aa35
Added checkpoint forwards ( #759 ).
2019-03-25 02:19:35 +02:00
shavit
79a6fef09c
Added "enabled" and "inaccessible" style settings. ( #761 )
2019-03-24 23:10:00 +02:00
shavit
96e856fe29
When !replay fails, display menu will display at the same item. ( #763 )
2019-03-24 22:37:00 +02:00
shavit
4efb36e5f6
Bumped version number.
...
When I'm done with this pull request, this should have a fair amount of new features.. so I figured this would be 2.5 rather than 2.4.2
2019-03-24 22:32:52 +02:00
sneak_it
90227dd1e7
change default zone modifier to 16 units
2019-03-23 21:52:56 -04:00
shavit
4a88a0ec8b
Fixed chat module when running SQLite.
2019-03-24 01:35:05 +02:00
shavit
2799f00b31
Changed chat settings to be only saved at player disconnection. ( #758 )
...
Database optimization.
2019-03-24 01:30:32 +02:00
shavit
1a5cfd6fbc
Structified rankings.
2019-03-24 01:18:21 +02:00
shavit
4aa6365b01
Added missing no-speed-limit text for CS:S HUD.
2019-03-24 01:12:06 +02:00
shavit
3784ab969b
Added foreign keys ( #758 ).
2019-03-23 05:48:31 +02:00
shavit
da656d0f5d
Bumped version number.
2019-03-09 17:21:34 +02:00
shavit
04e1a6fb64
Improved cvar enforcing for replay plugin.
2019-03-09 17:21:20 +02:00
shavit
38a03a1467
Merge branch 'master' into very_good_yes
2019-03-09 16:33:45 +02:00
shavit
4cab7f997f
Removed useless lines.
2019-03-09 16:33:39 +02:00
strafe
cb91330927
Replace tier with track name in non-main start zones and indent text
2019-03-09 12:42:55 +00:00
KiD Fearless
ef8af7807d
Add topleft hud and clantag forwards
2019-03-08 18:08:02 -07:00
shavit
15c67cc317
Implemented Shavit_OnRankAssigned forward.
2019-03-08 10:57:36 +02:00
shavit
bf37674812
Implemented Shavit_ChangeClientStyle forward.
2019-03-08 09:37:37 +02:00
shavit
4c9a969d3a
Added far more extensive logging for single record deletion.
2019-03-08 09:00:02 +02:00
shavit
1d5c63c595
Made transition to last frame of replay much smoother.
2019-03-07 03:38:31 +02:00
shavit
fdf65ca188
Improved replay smoothness.
...
* Fixed for illogical teleports.
* Improved replay smoothness when teleporting/landing.
* Removed pointless TR.
2019-03-07 03:23:24 +02:00
shavit
9bcc6878d4
Fixed replays breaking unexpectedly at certain interactions.
...
Example of breakage:
1. Request playback.
2. When the replay playback is about to end (the delay where the bot idles in the end zone), stop the playback.
3. Request playback ASAP.
2019-03-07 01:48:07 +02:00
shavit
8f26d7be0e
Added cooldown on playback/stop for regular users.
2019-03-07 01:30:49 +02:00
shavit
0fa1cbd58e
Added the ability to stop playback as the requester. ( #705 )
2019-03-07 01:20:50 +02:00
shavit
fce9ba6b11
Fixed !deleteall removing replays of all styles.
2019-03-07 01:04:49 +02:00
shavit
283bbc224f
Fixed deleted replays not being overwritten.
2019-03-05 00:07:26 +02:00
shavit
feec3f0a2f
Removed debug message
2019-02-25 00:19:29 +02:00
shavit
08f0224759
Added menu ordering for styles ( #681 ).
...
Also added Shavit_GetOrderedStyles ofc.
2019-02-24 17:05:39 +02:00
shavit
9a27655f79
Added the ability to delete all records per style ( #667 ).
2019-02-24 16:23:25 +02:00
shavit
c767a375b3
Added sm_wipeplayer. ( #568 )
2019-02-24 15:54:52 +02:00
shavit
78bba83fd0
Added Shavit_ReloadLeaderboards.
2019-02-24 15:53:51 +02:00
shavit
6fba2bca9c
Added Shavit_DeleteReplay native.
2019-02-24 15:10:08 +02:00
shavit
b264f50705
Fixed commands erroring at IsClientInGame when ran from console/rcon.
2019-02-24 14:07:21 +02:00
shavit
dd8e5a76dd
Fixed improper targetname/classname set for CP ( #700 ).
2019-02-22 21:42:18 +02:00
shavit
a712c1daeb
Fixed replay HUD time display issues for timescale styles ( #689 ).
2019-02-22 21:21:59 +02:00
shavit
5468a94243
Separated unset start zone message per track ( #735 ).
2019-02-22 19:36:48 +02:00
shavit
875d71be3e
Added {rank} to scoreboard clan tag ( #702 ).
2019-02-22 17:51:59 +02:00
shavit
a784b717ff
Added tier to zone HUD ( #675 ).
2019-02-22 17:48:43 +02:00
shavit
0bad2d6457
oops
2019-02-22 17:48:10 +02:00
shavit
5be987828b
Fixed checkpoints exploit and CP menu bug.
2019-02-22 17:24:20 +02:00
shavit
942d6d9675
Added Shavit_IsPaused.
2019-02-22 17:11:55 +02:00
shavit
5e6c84ef98
Merge branch 'master' into very_good_yes
2019-02-22 17:05:57 +02:00
shavit
188de7287c
Merge branch 'master' into csgo_hudfix1
2019-02-22 16:56:12 +02:00
shavit
62877282d0
HUD PB split ( #732 )
2019-02-22 15:16:38 +02:00
shavit
46f5d83c1a
!replay now moves you to spectator ( #739 )
2019-02-22 14:35:32 +02:00
strafe
683e75c474
Remove semicolon after closing brace on enum structs
...
https://github.com/alliedmodders/sourcepawn/pull/319
2019-02-21 23:32:15 +00:00
GAMMACASE
fee460efcc
Fixed empty line for csgo hud.
2019-02-04 12:04:51 +03:00
shavit
5c0a7cd55c
Fixed wrong flags and netprops for fake clients in checkpoints.
2019-02-02 01:02:33 +02:00
shavit
9fc2b72504
Fixed exploit allowing segments for save states.
2019-02-02 00:35:33 +02:00
shavit
4e72ed2c8a
Another attempt at this. Let's hope it works.
2019-02-02 00:18:24 +02:00
shavit
6c4ae5f1ec
Added commands to toggle frequently changed HUD settings.
...
!keys, !master, !center, !zonehud, !hideweapon, !truevel
2019-02-02 00:10:31 +02:00
shavit
f3f05d9e92
Merge remote-tracking branch 'origin/enum_structs' into enum_structs
2019-02-01 23:14:25 +02:00
shavit
055eb29509
Made !hud less confusing.
2019-02-01 23:08:25 +02:00
shavit
daa291f8ba
Fixed attempts to teleport a kicked/non spawning central bot.
2019-02-01 22:57:43 +02:00
shavit
81da15c1ed
Fixed RTLer.
2019-02-01 22:56:32 +02:00
shavit
3ac7216432
Fixed chat breaking exploit in Source 2013 games.
2019-02-01 22:56:24 +02:00
strafe
9d24c5512f
Add speed to CS:GO bot HUD
2019-01-13 12:23:04 +00:00
shavit
c265a257fe
oops
2018-12-29 20:15:30 +02:00
shavit
522b41682e
Fixed CS:GO HUD hint showing empty
2018-12-29 20:15:21 +02:00
shavit
34fb49ec7b
Minor bug fix, teehee~
...
definitely not hud revamp
2018-12-28 03:40:34 +02:00
shavit
69b5dd3020
walao eh
2018-12-28 01:59:02 +02:00
shavit
26534c1d18
Added shavit_core_nochatsound
2018-12-27 07:42:17 +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
7f81c9d6c0
unicode -> general
2018-12-27 06:14:50 +02:00
shavit
487d3e4a9c
Added shavit_rankings_weighting because y'all complain about rankings
2018-12-27 06:14:33 +02:00
shavit
a0ab1b7147
Structified some of WR plugin, deprecated Shavit_GetPlayerPB
...
(and GetWRTime)
2018-12-27 00:12:02 +02:00
shavit
cf1fce9bc3
Fixed CS:GO chat colors.
2018-12-26 23:07:05 +02:00
shavit
f999073ee2
Structified replay plugin, doubled #pragma dynamic
...
First chat color in CS:GO is broken.. pending fix
2018-12-26 21:50:42 +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
c82ab35357
2.3.6
2018-12-23 20:42:13 +02:00
shavit
fd44ba68b6
Fixed out of bounds error in Shotgun Shot sound hook
2018-12-23 20:41:11 +02:00
shavit
0aa4c69d85
Prioritized custom spawns > server zones > prebuilt zones
2018-12-15 04:41:44 +02:00
shavit
7e8eb0c861
Fixed classname not resetting bug
2018-12-07 07:47:28 +02:00
shavit
46c244a668
2.3.5
2018-12-07 07:46:03 +02:00
shavit
0de22f4026
Fixed naming and CS:GO offset for CCSPlayer::GetPlayerMaxSpeed
2018-12-07 07:45:24 +02:00
shavit
e77478d159
monkaS
2018-11-28 22:47:12 +02:00
shavit
fc69bd38ab
fixed target/classnames not saving what the frick how did i forget this
2018-11-28 22:42:51 +02:00
shavit
34a3a2ad49
reverted the dumbest fucking commit ever
2018-11-27 22:53:06 +02:00
shavit
2c065ee5c8
added color foramtting to shavit-chatsettings
2018-11-24 19:05:21 +02:00
shavit
676f3dd2e9
fixed map counter
2018-11-24 18:44:04 +02:00
shavit
28d75bda21
2.3.4
2018-11-03 14:04:05 +02:00
shavit
3f7698f612
Merge branch 'master' into very_good_yes
2018-11-03 14:03:10 +02:00
shavit
a5513eb14b
changed default collation of user inputs to utf8mb4_unicode_ci ( #691 )
2018-11-03 13:05:49 +02:00
shavit
2d192c7f88
support for sql mode only_full_group_by ( #691 )
2018-11-03 12:59:06 +02:00
shavit
ab56836314
added sourcetv checks to replay plugin
2018-11-03 10:26:23 +02:00
shavit
bb3ac308ca
prefer utf8mb4 but fallback to utf8 if not support ( #691 )
2018-11-03 10:26:04 +02:00
shavit
9442746a06
readability oops
2018-10-25 01:43:28 +03:00
shavit
fae99ff8d1
optimized replay writing to do less system calls
2018-10-25 01:42:17 +03:00
shavit
2e216dfad1
fixed replay sync when hitting thin teleports while ducking
...
tested in bhop_frankerz_999xl to see it doesnt randomly teleport, hope this is good
2018-10-25 01:38:04 +03:00
shavit
d652289814
fixed replay hud for timescale styles
2018-10-25 01:36:03 +03:00
strafe
18703ad65c
Merge branch 'master' into new-line
2018-10-18 21:22:56 +01:00
strafe
378fbda924
Fix newline
2018-10-18 21:10:08 +01:00
shavit
d1cf273dd8
Merge branch 'master' into very_good_yes
2018-10-16 22:25:08 +03:00
shavit
304ea735ae
Fixed replay HUD not scaling with timescale.
2018-10-16 22:24:48 +03:00
shavit
5c22149b93
Deprecated halftime for timescale.
...
There's backwards compatibility of course. Untested but should work..
2018-10-16 22:24:34 +03:00
blackhawk74/sneaK
eed591f0b6
update steamworks inc
2018-10-12 19:31:52 -04:00
shavit
2b0e549150
fixed cpmenu next button
2018-10-12 23:21:33 +03:00
shavit
8fb3f0d23f
prac mode alert thing !hud
...
[Promising] Promises : cud u make a setting to disable this:
[Promising] Promises : [ Timer ] WARNING: You're now in practice mode. Your times WILL NOT be saved and will be only displayed to you!
2018-10-11 19:16:13 +03:00
shavit
37413dd0d6
Shavit_OnReplayStart Shavit_OnReplayEnd #676
2018-10-10 19:33:52 +03:00
shavit
b6ba346b0c
Removed CS:GO-specific code from shavit-sounds
...
(no longer necessary)
2018-10-10 18:36:05 +03:00
shavit
020acc5ac2
Fixed PB showing #0 when #1
2018-10-10 17:54:13 +03:00
shavit
ce387bbe07
added characteristic to rankings function queries
2018-10-06 16:54:34 +03:00
shavit
3813668f1c
does anyone even read the commits
2018-10-03 09:38:37 +03:00
shavit
29415315b9
Fixed loading issue with rankings module.
2018-10-02 16:40:33 +03:00
shavit
d1d594503e
Dropped dynamic arrays for strings, unless necessary.
2018-09-23 04:16:23 +03:00
shavit
619e7da8f7
Made replay plugin not record more frames after going past time limit.
2018-09-22 23:49:48 +03:00
shavit
54c7e2daf4
Increased shavit_replay_timelimit's default to 2 hours
2018-09-22 23:39:39 +03:00
shavit
82ac5c3e48
2.3.1
2018-09-22 23:32:06 +03:00
shavit
99bc8b2e59
Fixed memory leaking in shavit-replay.
2018-09-22 23:29:58 +03:00
shavit
81dbdedfba
Added !deletemap ( #668 )
2018-09-15 17:26:11 +03:00
shavit
1726fe753c
Fixed !ranks showing unranked incorrectly.
2018-09-15 17:25:51 +03:00
shavit
ae8d2e28b8
oops
2018-09-14 17:50:50 +03:00
shavit
bd4e75a85d
2.3.0
2018-09-14 17:43:01 +03:00
shavit
ca89965b7b
Added "easteregg" and "flag" to chat title settings. ( #606 )
2018-09-14 17:29:30 +03:00
shavit
46d16c80ee
Added !ranks (rank preview, #610 )
2018-09-14 16:57:46 +03:00
shavit
6d7980c035
Fixed exploit that allowed you to escape practice mode in segmented run.
2018-09-14 10:49:50 +03:00
shavit
b473265a3b
Fixed teleporting to stolen CP from start zone not showing alert.
2018-09-14 01:53:57 +03:00
shavit
e6dc81ef59
Added shavit_replay_botweapon ( #659 )
2018-09-14 00:11:00 +03:00
shavit
833b1289f4
Fixed HUD speclist being broken for spectators. ( #663 )
2018-09-13 23:45:46 +03:00
shavit
aaa76e4e1d
Fixed HUD showing wrong speeds for slowmo styles ( #601 )
2018-09-13 23:38:23 +03:00
shavit
482cd86c8c
Fixed low gravity styles.
...
thanks @strafe!!!
2018-09-13 23:28:45 +03:00
shavit
90cd1ba53c
Fixed shavit_misc_prespeed 4.
...
Set to 4 and combine with shavit_core_nozaxisspeed 1 to get the same behavior that SourceCode timer has.
2018-09-13 23:06:57 +03:00
shavit
791fc7c3b3
fixed memory leak with cps
2018-09-13 22:41:14 +03:00
shavit
b132ed4e08
pretend you didnt see this
2018-09-13 22:23:57 +03:00
shavit
be0b9e6c44
Added shavit_replay_botplususe ( #660 )
2018-09-13 22:23:29 +03:00
shavit
5a933fd135
Fixed segmented CPs and made !save match !cp's save behavior.
2018-09-13 22:04:44 +03:00
shavit
a584082fd7
bandaid fix for checkpoint theft exploit
2018-08-10 17:23:55 +03:00
shavit
bb81a61507
kinda fixed csgo hud (untested)
2018-08-10 17:13:55 +03:00
shavit
9d4077d4ba
untested but might fix #0 in topleft hud
...
i can't reproduce the issue on demand unfortunately so this is a gamble
2018-07-10 08:35:00 +03:00
shavit
fbf7736ae1
fixed menu saving
2018-07-09 02:49:36 +03:00
shavit
ea339ed6c7
rewrote some of the save/tele code
...
for the 100000000th time
2018-06-29 00:50:56 +03:00
shavit
15a36a2e2f
cya basevelocity (fix for prediction issue)
2018-06-28 19:12:43 +03:00
shavit
519756bd70
fixed the !save issues
2018-06-28 19:07:37 +03:00
shavit
b6ca23d9f0
reduced size to 32 blablabla yes the usual things sql error nairda
2018-06-26 19:30:18 +03:00
shavit
6ccecd8014
code duplication brothers
2018-06-26 19:27:48 +03:00
shavit
5d3bfc45f5
despacito
2018-06-23 21:47:03 +03:00
shavit
36b4ed4a94
Fixed !save behaving differently from the !cp menu option.
2018-06-23 11:36:33 +03:00
shavit
74239a3639
Fixed wrong classname variable in CP saving.
2018-06-23 11:27:33 +03:00
shavit
682932ed2e
Changed velocity in misc to use vecAbsVelocity
2018-06-23 11:26:43 +03:00
shavit
2286344b8f
Removed frames ArrayList deletion.
2018-05-14 03:17:56 +03:00
shavit
1cd46a71c2
(untested) Added base velocity saving
2018-05-14 03:16:56 +03:00
shavit
fca8eccdcc
Changed ArrayList sizes to 32 bytes instead of cells.
2018-05-14 03:16:00 +03:00
shavit
b2ce7daa46
Retroactively ignore spawn point settings in zone config.
...
(to prevent errors from users who update from an earlier version)
2018-05-13 23:36:15 +03:00
shavit
67ec34a069
Use correct index for zone config.
2018-05-13 21:21:06 +03:00
shavit
1a07229685
Fixed CS:S spec list not respecting admin visibility cvar.
2018-05-13 21:18:52 +03:00
shavit
37a59f9a90
Fixed top-left HUD not showing correct style/track data.
2018-05-13 21:18:37 +03:00
shavit
f872a39981
Removed viewangle hijacking from CPs as we record real viewangles now.
2018-05-13 21:17:19 +03:00
shavit
26493c85a8
Fixed invalid client error on CP save.
2018-05-13 21:17:00 +03:00
shavit
535fee9785
Changed m_vecAbsVelocity to m_vecVelocity.
2018-05-13 21:16:50 +03:00
shavit
11c1e67933
Added shavit_misc_maxcp and shavit_misc_maxcp_seg.
2018-05-13 21:16:31 +03:00
shavit
cbb1af3bd0
Made CP save targetname/classname, both are very efficient now!
2018-05-13 21:16:06 +03:00
shavit
a572b20b89
Made viewangle recording use verified angles instead.
2018-05-13 21:14:44 +03:00
shavit
49705cf814
Fixed ArrayList ownership.
2018-05-13 21:14:21 +03:00
shavit
a1a318b007
Fixed SQL error on new setups.
2018-05-13 21:14:10 +03:00
shavit
1ba79fcc09
Removed flat zone cvar, added shavit-zones config instead.
...
Removed custom spawn from cfg to prevent confusions.
2018-05-13 21:13:13 +03:00
shavit
8a98fe96b9
Unrestricted movement when noclipping.
2018-05-09 19:55:15 +03:00
shavit
10f4cd2c2e
Fixed percentile rankings being broken.
2018-05-08 22:25:02 +03:00
shavit
dc2eddf83f
Fixed duplicated messages and console say.
2018-05-08 20:20:38 +03:00
shavit
3593e5a246
Fixed default colon character, increased MAXLENGTH_NAME.
2018-05-08 19:26:43 +03:00
shavit
a8a581e302
Bumped version to 2.1.3.
2018-05-08 19:04:30 +03:00
shavit
9461c29f71
Added my own minimal implementation of a chat processor.
...
* Removed Chat-Processor dependency.
* Added cvar `shavit_chat_colon`.
* Fixed inconsistencies with default chat messages.
2018-05-08 19:01:29 +03:00
shavit
b5a41ae4d0
Fixed chat color injection.
2018-05-08 16:31:36 +03:00
shavit
cc6b622d54
Added shavit_hud_speclist for HUD's spectator list.
...
Who to show in the spectators list?
* 0 - everyone
* 1 - all admins (admin_speclisthide override shavit_misc_speclist to bypass)
* 2 - players you can target
2018-05-08 16:26:53 +03:00
shavit
7e5f9c7c85
Added shavit_misc_speclist for misc's !speclist
...
Who to show in !specs?
* 0 - everyone
* 1 - all admins (admin_speclisthide override shavit_misc_speclist to bypass)
* 2 - players you can target
2018-05-08 15:58:12 +03:00
shavit
e3c8aaed70
Ensured SCPs with deleted replay data are gone.
2018-05-08 15:51:29 +03:00
shavit
d9222adaa3
Changed clan tag {time} to display only at 1 second or above.
2018-05-08 15:42:53 +03:00
shavit
7b3e61563b
Bumped version to 2.1.2
2018-05-07 18:53:31 +03:00
shavit
06250b7fe0
Assigned style ID 0 on connect, merged style gameplay setting updates.
...
Should solve the out-of-bound error.
2018-05-07 18:53:17 +03:00
shavit
07434d085d
Fixed chat printing error.
2018-05-07 18:25:13 +03:00
shavit
8be2d1085c
Adjusted replays to record when the timer is running.
2018-05-07 18:25:01 +03:00
shavit
a0c13d466c
Fixed possible memory leak.
2018-05-07 18:24:27 +03:00
shavit
2a4ffbb162
Changed bot flag behavior to remove flags when needed.
2018-05-04 14:34:45 +03:00
shavit
2cd0d3e2db
Pop up SCP menu when changing from a segmented style.
2018-05-04 14:15:28 +03:00
shavit
f2887fabfa
Changed default +left/right block behavior.
...
* 1 now blocks movement, 2 also stops timer.
2018-05-03 17:00:23 +03:00
shavit
ff31efeaf5
Merge branch 'master' into very_good_yes
2018-05-03 16:00:05 +03:00
shavit
e5ab100053
Fixed checkpoints triggers exploit and bumped version to 2.1.1.
...
Thanks @SlidyBat :)
2018-05-03 15:58:41 +03:00
strafe
b51460fff3
Copy missing style string in shavit-replay + docs
2018-05-03 12:35:32 +01:00
shavit
4bcfae7e94
Don't show perf% for old records.
2018-05-02 13:54:01 +03:00
shavit
e357131299
Changed weapon removal method.
2018-05-02 12:34:11 +03:00
shavit
8c25086471
Added perfect jump% measuring for scroll styles.
...
* Added `oldtime` and `perfs` parameters for forwards that missed them.
* Added `iMeasuredJumps` and `iPerfectJumps` to snapshots.
* Added a database migration to add `perfs` column.
* Added perfect jumps% to CS:S keyhint HUD. Not necessary in CS:GO due to annoying limitations.
* Added perfect jumps% to WR menu.
* Added `Shavit_GetPerfectJumps` native.
2018-05-02 12:21:38 +03:00
shavit
8861c388fe
Added record count in !delete menu, disabled buttons when unnecessary.
2018-05-02 10:56:21 +03:00
shavit
a82a983b52
Fixed weapon cleanup when dropped by disconnected players.
2018-05-02 10:52:05 +03:00
shavit
799d6ba65b
Added replay deletion to admin menu.
2018-05-02 10:30:44 +03:00
shavit
c1b93bfdff
Opt-in to per-plugin adminmenu integration rather.
...
Rather than creating the category via core and then adding items on it.
2018-05-02 10:23:43 +03:00
shavit
fa78e70dbb
Fixed manually going to spectator team.
2018-05-02 09:54:15 +03:00
shavit
0c59af68f1
Always respect shavit_replay_defaultteam.
2018-05-02 09:45:42 +03:00
shavit
ee713d829f
Respect mp_humanteam in jointeam hook.
2018-05-02 09:45:12 +03:00
shavit
96bf46fdb9
Allow menu to reopen in case of missing frame array.
...
If you ever see this error happen and know how to reproduce it, report ASAP.
2018-05-01 22:31:04 +03:00
shavit
f8b5b1ef52
Adjusted max segmented CPs to 10.
...
In order to save server memory when many players are doing segmented runs.
2018-05-01 22:27:05 +03:00
shavit
99335a54f2
Fixed memory leak with Shavit_SetReplayData.
2018-05-01 22:25:29 +03:00
shavit
66a2820808
Fixed segmented CP exploit 2.
...
Thanks @cytrus224.
You could borrow others' CPs on segmented styles and use their route.
2018-05-01 22:15:03 +03:00
shavit
647701c28d
Fixed segmented CP exploit 1.
...
Thanks @kidfearless.
Bug allowed you to build up speed unintentionally in segmented runs.
2018-05-01 22:10:50 +03:00
shavit
f30a99fa14
Fixed a bug when loading a state after finishing the map.
2018-04-30 13:07:56 +03:00
shavit
91696294c4
Fixed memory leak and a bug with segmented checkpoints.
...
The bugs allowed you to save more than 25 segmented checkpoints, and create replay data over the existing data which caused a memory leak.
2018-04-30 12:42:14 +03:00
shavit
49d1dc0deb
oops
2018-04-30 12:33:00 +03:00
shavit
4712edc803
Bumped version to 2.1.0
...
This is a very quick jump from 2.0.3, but segmented runs were something that was requested for very long time so it's justified.
2018-04-30 12:07:41 +03:00
shavit
afe0a261a7
Added segmented run support with replay integration.
...
Use `segments` in the `specialstring` property to enable segmented checkpoints.
2018-04-30 12:04:48 +03:00
shavit
41c2136b42
Added Shavit_HijackAngles.
...
This native hijacks the replay recording so that the current tick will have your desired angles recorded to the replay data.
2018-04-30 11:51:50 +03:00
shavit
499a395baf
Added shavit_replay_botshooting.
...
This cvar can allow you to disable attacking buttons for bots. 0 will make the bots not press mouse1/mouse2 at all. 1 will only allow shooting, 2 will only allow right clicking and 3 will allow everything.
2018-04-30 01:10:51 +03:00
shavit
a03fc893c0
Bumped version to 2.0.3
2018-04-30 00:35:13 +03:00
shavit
f01ff69841
Merge branch 'master' into very_good_yes
2018-04-30 00:34:33 +03:00
shavit
050a77ca0a
Merge remote-tracking branch 'origin/master'
2018-04-30 00:34:25 +03:00
shavit
b5f0f7b4c0
Fixed an issue where players get a wrong rank when actually unranked.
...
Thanks Nairda for finding this!
2018-04-30 00:34:14 +03:00
strafe
e90b847f08
Typos
2018-04-28 17:19:13 +01:00
shavit
fb18240253
Reworked sounds to emit properly in CS:GO.
2018-04-28 09:53:58 +03:00
shavit
b7db4b55c3
Scaled slide zones scale with speed/gravity.
2018-04-28 09:53:33 +03:00
shavit
43727c15fe
Micro optimization in spawn point generation.
2018-04-28 09:41:50 +03:00
shavit
f63a05f2a9
Added documentation for Shavit_HasStyleAccess.
2018-04-26 18:59:30 +03:00
shavit
fabc24ca6f
Added style permissions. ( #622 )
...
* Added `Shavit_HasStyleAccess` native.
* Added `permissions` setting to styles. Use like "p;style_tas" for example. First section is the flag needed, and the second section is the override for it.
2018-04-26 18:56:31 +03:00
shavit
daa04fbf21
Bumped version to 2.0.2
2018-04-19 03:40:20 +03:00
shavit
3681cb2f3d
Added shavit_core_defaultstyle.
...
Usage: style ID. Add an exclamation mark as the prefix to ignore style coookies.
2018-04-19 03:38:16 +03:00
shavit
e2e60bdc70
Code style adaptions.
2018-04-15 21:56:48 +03:00
shavit
26a5e946cb
Reworked gun shot muting behavior + TF2 support.
...
* TF2 is now supported for gun shot muting.
* The parameter mismatch issue in CS:GO is now fixed.
* Now gun shots will be muted for you only when you use !hide. Everyone else's gun shots except your own and of the player you spectate will be muted.
2018-04-15 21:56:31 +03:00
shavit
a4ecd879b9
Fixed 'to rank' parameter for pecentile ranking.
2018-04-15 21:22:50 +03:00
shavit
de78f1ceb0
Also use m_bDucking for CS:GO.
2018-04-06 03:38:15 +03:00
shavit
7ff9f4e2a8
Fixed teleporting to ducked CPs in both CS:S/CS:GO.
2018-04-06 01:35:34 +03:00
shavit
29df19b1b3
Adjusted misc's description.
2018-04-06 01:34:52 +03:00
shavitush
0f0628719c
Added proper ducktime for checkpoints (CS:S).
2018-03-31 19:52:14 +03:00
shavitush
5ddbbdcede
Fixed built-in triggers not saving spawn point before map changes.
2018-03-31 19:38:56 +03:00
shavit
739562216d
Fix main track replay HUD looking terrible after the CS:S HUD fix.
2018-03-24 03:02:33 +03:00
shavit
b41db94b87
what the fuck sourcemod
...
this commit fixes an issue where you sometimes don't see the current chat title selected in the chat ranks menu
why does it happen? i don't know, i have no idea at all..
2018-03-24 03:02:15 +03:00
shavit
b38795cfcf
Check for custom title flag continuously rather than cache it. ( #608 )
2018-03-24 02:06:16 +03:00
shavit
431287cd56
Fixed being able to cycle to non-existent CPs. ( #607 )
2018-03-24 02:01:55 +03:00
shavit
5b4f61837d
Merge branch 'master' into css_hud_fixes
2018-03-24 01:48:39 +03:00
shavit
e004dd3d61
Bumped version to 2.0.1
2018-03-24 01:48:19 +03:00
shavit
4176d68b86
Fixed errors when saving checkpoints on inactive bots.
2018-03-24 01:46:09 +03:00
shavit
8a7d3d4de0
Fixed targetname exploit.
...
Thanks Reeve/acer.
2018-03-24 01:42:08 +03:00
cytrus224
0a413ebcec
Update shavit-timelimit.sp
...
Deleted min value of shavit_timelimit_default. Credits to Nickelony.
2018-03-21 16:29:33 +01:00
shavit
fdeceabcf0
Fixed CS:S HUD breaking apart after adding new styles without restart.
2018-03-20 04:32:47 +02:00
shavit
cc8dd17c07
Fixed CS:S HUD not showing empty line instead of track name.
2018-03-19 17:35:33 +02:00
shavit
507c9c90cd
Fixed teleport zone insertion to allow a track immediately. ( #604 )
2018-03-19 17:29:56 +02:00
shavit
b8d7c4173f
Bumped version to 2.0.0!
2018-03-18 11:34:29 +02:00
shavit
0cca32a766
Fixed wrong text.
2018-03-18 11:20:50 +02:00
shavit
256b21fd89
Fixed ccmsg using ccname as the variable.
2018-03-18 02:19:21 +02:00
shavit
3f3f9c3c0b
Added {points} variable to chat titles.
...
Also extended the display text's limitations.
2018-03-17 23:26:14 +02:00
shavit
61cf6e09ba
Fixed name not being replaced in CS:GO.
2018-03-17 23:03:43 +02:00
shavit
6808b833d7
Fixed chat titles compatibility with latest Chat-Processor.
2018-03-16 05:07:28 +02:00
shavit
045fbb03fe
Fixed shavit_chat_customchat 0 not being respected.
2018-03-15 06:03:48 +02:00
shavit
90c12340ce
Implemented chat titles and rankings integration ( #499 )
...
* Added {clan} variable.
* Check addons/sourcemod/configs/shavit-chat.cfg.
* Update your translations! Otherwise this won't work.
2018-03-15 05:37:21 +02:00
shavit
8d350bc012
Added plugin name to logs.
2018-03-15 01:40:04 +02:00
shavit
b6861033d0
Added logging for admin actions in shavit-wr.
2018-03-15 00:23:55 +02:00
shavit
02beaad597
Reverted footstep muting.
...
Not that great in CS:GO unfortunately, and makes scroll styles unplayable in CS:S
2018-03-15 00:17:41 +02:00
shavit
bb654fe29e
Added logging for admin actions in shavit-zones.
2018-03-15 00:14:34 +02:00
shavit
b46c7eadd7
Added Shavit_LogMessage native.
2018-03-15 00:06:12 +02:00
shavit
f726b6b05a
Fixed a typo.
2018-03-14 23:59:09 +02:00
shavit
f04257597d
Updated minimum forwardmove/sidemove values.
2018-03-10 18:23:53 +02:00
shavit
6059b19cb2
Removed some core cvars where style settings exist.
...
shavit_core_autobhop
shavit_core_blockleftright
shavit_core_nostaminareset
Use the appropriate style settings for them instead.
2018-03-10 18:23:18 +02:00
shavit
a01bbefe39
Reset targetname upon restarting with practice mode.
...
Might not be the ideal solution, hope it is though.
2018-03-10 18:19:05 +02:00
shavit
bf46c7aac0
Updated EmptyVector to support NULL_VECTOR.
2018-03-10 18:18:45 +02:00
shavit
8ec7f0004a
Disallowed MOVETYPE_WALK to prevent issues with teleports.
2018-02-16 20:03:46 +02:00
shavit
ee7dd0972f
Changed collision group of for bots to COLLISION_GROUP_DEBRIS_TRIGGER.
2018-02-16 20:03:25 +02:00
shavit
c9f2e06cc4
Shorten map name length.
2018-02-16 20:02:46 +02:00
shavit
8b3caf405a
Removed trigger hooking from replay bots.
...
Replay bots will hit triggers/doors. This is necessary to fix an issue that recently got reported on Discord.
This will be problematic only in specific maps such as bhop_addict_v2 or kz_bhop_yonkoma, where music plays when the player has finished the map.
2018-02-16 20:02:34 +02:00
shavit
2ac410926a
Added the ability to save CPs from the replay bot. ( #525 )
...
This isn't perfect due to limitations, but it motsly works well!
* Surf-HSW styles won't save their WASD settings.
* Stamina will not be valid for scroll styles.
* Strafes/sync won't be saved from the bot.
2018-02-06 11:14:49 +02:00
shavit
34a4f9e4bb
Fixed CP saving while not spectating a valid player. ( #525 )
2018-02-06 11:12:20 +02:00
shavit
5d3034664e
Added setting 4 to shavit_misc_prespeed.
...
It allows you to stop prespeeding after a certain amount of velocity (shavit_misc_prestrafelimit), rather than only limit prestrafing.
2018-02-06 10:42:31 +02:00
shavit
5e3277062f
Fixed replay abortion after playback is done. ( #592 )
2018-02-06 10:29:45 +02:00
shavit
36686e37b0
Fixed restart not removing pause status. ( #590 )
2018-02-04 15:38:38 +02:00
shavit
7cd9fbef9b
Fixed states not applying correctly on style/track changes. ( #588 )
2018-02-04 10:26:10 +02:00
shavit
bb2571cd08
Add TF2 spawn point generation.
2018-02-04 10:25:27 +02:00
shavit
26fc6e0b38
Tweaked movetype/flag adjustments on bots.
2018-02-02 10:59:56 +02:00
shavit
d99548abd7
Fix wrong entities being removed.
2018-02-02 10:27:40 +02:00
shavit
8f51d4c964
Added mouse[2] to OnUserCmdPre.
2018-01-31 05:48:59 +02:00
shavit
1d34b310d1
Fixed top-left HUD flickering.
...
Text might look uglier in CS:GO, but this works.
2018-01-28 20:57:55 +02:00
shavit
cb7bbce676
Changed block_pstrafe's behavior.
...
* Changed default (1) to block button inconsistencies.
* Made the duration of inconsistencies less annoying.
* Changed the first option to 2, which stops the timer on inconsistencies.
2018-01-28 20:57:22 +02:00
shavit
14a23b210a
Changed default HUD updates to 5 ticks per.
...
Previous default was 20 ticks per update.
2018-01-28 20:54:45 +02:00
shavit
52b9c1e81f
Allowed pausing in practice mode.
...
It was disabled before due to the mess with time calculation. Shouldn't be problematic now.
2018-01-28 20:54:15 +02:00
shavit
5ba897e274
Fixed 'shavit_hud_ticksperupdate'.
2018-01-26 19:50:16 +02:00
shavit
9a49977e10
Fixed a few leftover issues from the frametime change.
...
* Fixed time not being loaded via snapshots.
* Fixed practice mode not being set to false upon restart.
2018-01-26 08:05:53 +02:00
shavit
53456ffe38
Implemented GetGameFrameTime usage. ( #440 )
...
* Made pausing better.
* Added `Shavit_OnTimeIncrement` and `Shavit_OnTimeIncrementPost`. Use this for proper timescaling/save state usage.
2018-01-26 05:58:53 +02:00
shavit
dda1afa0e7
Fix RTL chat messages being colored randomly.
2018-01-26 05:57:09 +02:00
shavit
a4bcaa6fcf
Show time in CS:S while paused.
2018-01-26 05:56:57 +02:00
shavit
d7f9ed3186
Remove custom IsNullVector function.
2018-01-26 05:56:24 +02:00
shavit
1eda6a2616
just pretend that the previous commit never existed
2018-01-25 01:45:15 +02:00
shavit
132d3d80e2
Hacky fix for autorespawn.
...
L 01/24/2018 - 08:49:06: Info (map "bhop_forest") (file "errors_20180124.log")
L 01/24/2018 - 08:49:06: [SM] Exception reported: Invalid data pack handle 11503 (error 4)
L 01/24/2018 - 08:49:06: [SM] Blaming: shavit-misc.smx
L 01/24/2018 - 08:49:06: [SM] Call stack trace:
L 01/24/2018 - 08:49:06: [SM] [0] DataPack.Reset
L 01/24/2018 - 08:49:06: [SM] [1] Line 2059, E:\git\bhoptimer\addons\sourcemod\scripting\shavit-misc.sp::Respawn
2018-01-25 01:18:13 +02:00
shavit
3a0f133da2
Tweaked points calculation format with a stored function. ( #586 )
...
Big thanks to Deathknife~
* There's no bonus points for a bigger amount of records, due to necessary optimizations.
* Added `GetRecordPoints`.
* `sm_recalcall` should run *very* quickly now.
2018-01-23 05:29:25 +02:00
shavit
ee8b85621c
Changed playertimes' structure for the billionth time..
...
See: 74d468c639...40f21523f4
Also, changed `style` and `track` to TINYINT.
2018-01-23 05:22:32 +02:00
shavit
adda10c3d4
Fixed replay HUD not showing track properly.
2018-01-22 19:05:50 +02:00
shavit
917fe7e683
Fixed style changes not restarting with built in zones. ( #582 )
2018-01-22 18:58:17 +02:00
shavit
009c849a6c
Fixed !b and !bend for built in zones. ( #582 )
2018-01-22 18:53:32 +02:00
shavit
757e9de8c6
Fixed zone offset being wrong for point 1 ( #585 )
2018-01-22 18:33:47 +02:00
shavit
271f2ea9ed
Introduced 'shavit_hud_ticksperupdate'
...
- Dropped timers for updates in order to allow better precision.
2018-01-18 19:58:06 +02:00
shavit
9b5e4ad85d
Some CS:GO HUD tweaks ( #584 )
...
* Removed some clutter from center HUD.
* Added display for non-default tracks.
* Removed pause text, but changed the time's color when paused.
* Very minor optimization.
* Changed the HUD update speed to avoid skips.
* Adjusted spacing of the zone HUD to look better in CS:GO.
I think these changes look fine, I hope everyone enjoys them.
2018-01-18 19:19:51 +02:00
shavit
e6d09e9bc2
Added scroll pad to CS:GO HUD
2018-01-18 18:57:12 +02:00
shavit
6690947e5f
Added track letter ("{tr}") to scoreboard tag. ( #584 )
2018-01-18 18:24:47 +02:00
shavitush
72bb86eeef
Merge remote-tracking branch 'origin/master'
2018-01-17 13:03:13 +02:00
shavit
314406c203
Record entity flags and movetypes in replays. ( #579 )
2018-01-16 12:04:44 +02:00
shavit
56d37bb871
Added 'infinite checkpoints' ( #575 )
...
* Soft cap is 1000 to avoid going above the set heap size.
Also fixes:
* Adds entity flags to checkpoint data.
* Only sets your movetype to the one in the checkpoint data if it's either the walk or ladder types, so you can save while noclipping but teleport normally.
2018-01-16 11:47:34 +02:00
shavit
1fcb7993fe
Added oldtime parameter to Shavit_OnFinish
2018-01-16 10:15:41 +02:00
strafe
7e79b02167
Styling ✨
2018-01-13 13:36:07 +00:00
strafe
623360a02a
Account for track when respawning on restart ( #554 )
2018-01-13 10:58:22 +00:00
shavit
03074283ab
Changed arg-less !spec to automatically forward to replay bot. ( #574 )
2018-01-13 09:54:25 +02:00
shavit
59b5664439
Added Shavit_GetReplayBotType and ReplayStatus enum. ( #574 )
2018-01-13 09:48:23 +02:00
shavit
13b243f1d7
Adjusted the grid visualisation's alpha.
2018-01-13 09:35:41 +02:00
shavit
a61cfadfd2
Fixed an issue with WR menu record count.
...
The menu would show the amount of records for the current map rather than grab it from the map itself.
2018-01-13 09:35:21 +02:00
shavit
27e0dad8ad
Conut >> Count
2018-01-13 09:34:33 +02:00
shavit
9b0aad6583
Fix formatting issue with top-left HUD.
2018-01-13 09:34:17 +02:00
shavit
05258480d5
Added configuration for replay data folder. ( #570 )
2018-01-10 10:44:47 +02:00
shavit
65abbce252
Fixed an issue where certain replays would not save.
2018-01-03 21:29:27 +02:00
shavit
5810dbc806
Micro-optimization to shavit-wr
2018-01-03 21:28:50 +02:00
shavit
74e3e74f32
Added shavit_misc_jointeamhook
2018-01-03 21:28:27 +02:00
shavit
f092b76f7b
Hotfix for error log spam.
2017-12-30 05:08:03 +02:00
shavit
ebb3203c05
Added native zones support ( #491 )
...
CPs aren't implemented because the timer itself doesn't support them.
2017-12-30 05:06:33 +02:00
shavit
dd4234ae00
Added SnapToGrid function to make code cleaner.
2017-12-30 04:11:14 +02:00
shavit
2c30ef252e
Changed grid snap's visualization. ( #569 )
2017-12-30 03:21:41 +02:00
shavit
fd06555188
Fixed prestrafe limit being wrong.
...
290 is apparently the accepted absolute maximum, so yeah.
2017-12-30 03:21:17 +02:00
shavit
16cc4caea2
Rewrite clan tag handling.
2017-12-24 23:40:23 +02:00
shavit
4f34901613
Fix for replay saving.
...
Some replays would not overwrite because of disrepancy between record time and frame count. This commit makes it so the replay saves as long as it contains less frames than the old one, which usually results in less time spent running.
2017-12-24 23:39:50 +02:00
shavit
2a6b3182d5
Rewrite autobhop code.
...
This commit uses a different method of autobhop.
Benefits over the old one:
* Doesn't break with unusual trigger_push setups (i.e. bhop_arcane_v1, bhop_cutekittenz, bhop_ml - or any map with badges' "unbreakable boosters" prefab).
* Doesn't modify the usercmd, therefore other plugins can see the jump button being in use.
2017-12-23 16:37:14 +02:00
shavit
4681e82e90
Fixed nonsense with KZ button hooking.
2017-12-20 09:18:56 +02:00
shavit
56fee65f34
Re-do points calculation.
...
This new method fixes LOTS of issues with the old one. Now it also is more "dynamic" and is simpler to use.
I have to note that it also takes approximately 14% of the time to execute relatively to the old method.
2017-12-18 23:00:02 +02:00
shavit
1c807bc79f
Fix issue with HUD's style cache not updating properly.
2017-12-18 22:58:32 +02:00
shavit
09dee3ce29
Fix issue where new replays get saved even if done with CPs.
2017-12-18 22:57:57 +02:00
shavit
48b66f09ef
Reverted this change I forgot to remove in first place..
2017-12-16 10:53:03 +02:00
shavit
990bbb802d
Added slide zones ( #558 )
2017-12-16 10:27:02 +02:00
shavit
225dd2fadf
Fixed "n records" in WR menu capping at shavit_wr_recordlimit
2017-12-11 21:21:33 +02:00
shavit
596934c735
Fixed shavit-wr's cvars being respected as bool instead of int ( #535 )
2017-12-11 20:46:07 +02:00
shavit
f06437084f
Added Discord server to README
2017-12-11 09:56:12 +02:00
shavit
8ddf59a1c2
Source Engine 2013 changes.
2017-12-10 09:51:42 +02:00
shavit
cfde142e92
Added TF2 support. ( #549 )
...
Tested most of the things in-game, should be good to go!
2017-12-10 09:30:08 +02:00
shavit
a5a026e8c9
another oops
2017-12-10 01:54:43 +02:00
shavit
3710bfe170
Adjusted replay length.
2017-12-10 01:06:28 +02:00
shavit
ff8e20c44f
Add chat message about entering an anti-cheat zone ( #548 )
2017-12-10 00:53:46 +02:00
shavit
1d8d43638b
oops
2017-12-10 00:40:03 +02:00
shavit
b5181473b0
Fixed potential memory leak.
2017-12-10 00:39:03 +02:00
shavit
70c2c8e73e
Workaround for WR deletion when rounding issues happen.
2017-12-10 00:34:31 +02:00
shavit
2f8be00a24
Added dynamic zone settings.
...
If you edit the plugin to add more zone tracks, now their zone settings will be respected too. To use this feature, copy the zone settings from the first one to the last one of each track, rename and modify. i.e. the diff for shavit-zones.cfg in this commit.
2017-12-10 00:29:34 +02:00
shavit
938b0d4f02
Added zone track enforcing (shavit_zones_enforcetracks) ( #547 )
2017-12-10 00:27:18 +02:00
shavit
a64b07d031
Fixed wall snapping not respecting grid snap ( #541 )
...
Not that great for maps where the mapper did a shitty grid setup. Use cursor position setup for those.
2017-12-10 00:04:27 +02:00
shavit
697fa9c5e7
Adjusted query priority ( #542 )
2017-12-09 23:37:49 +02:00
shavit
3b947e9b30
Added sSpecialString (specialstring) to style config ( #543 )
2017-12-09 23:35:41 +02:00
shavit
5b34eaf3a4
Fixed compilation on SourceMod 1.9
2017-12-09 23:24:35 +02:00
shavit
d26ad819a6
Adjusted snapshots' behavior and timer start conditions
...
It feels smoother now, nothing major.
2017-12-01 00:05:56 +02:00
shavit
30acc1ec65
Fixed locking issue in replay
2017-11-28 18:53:46 +02:00
shavit
712afbbf20
Reimplemented Native_GetReplayLength
2017-11-25 11:59:11 +02:00
shavit
e36d917f6d
Update table creation queries.
2017-11-23 22:20:33 +02:00
shavit
1d84cfe866
Default convar usage changes, see commit description.
...
`shavit_misc_prespeedlimit`'s behavior was changed and is now `shavit_misc_prestrafelimit`. The value determines the maximum allowed prestrafe in the start zone *added* to the style's run speed. So i.e., Scroll can prestrafe up to 280 (in reality, 278) and Normal can up to 290.
The default settings for `shavit_core_blockprejump` and `shavit_misc_prespeed` were changed due to this commit.
`shavit_misc_createspawnpoints`'s default setting was changed to 6 as 32 didn't make much sense.
2017-11-22 18:24:45 +02:00
shavit
d0075a6115
Update WR deletion to properly delete new format replays.
2017-11-22 18:16:34 +02:00
shavit
42ee76c742
Added new natives and complete replay bots. ( #537 )
2017-11-21 12:24:21 +02:00
shavit
d20839218c
New replay bot format ( #434 ) and some of #537
2017-11-21 11:28:57 +02:00
shavit
cb250ee861
CallOnStyleChanged() where needed ( #536 )
2017-11-21 03:05:59 +02:00
shavitush
d371d99ff3
Fixed !rr selecting wrong row content. ( #532 )
2017-11-19 01:53:09 +02:00
shavitush
d443726fe3
Fixed issues with long names in !rr menu.
2017-11-19 01:43:38 +02:00
shavitush
af4a007c81
Fixed wrong WR count. ( #532 )
2017-11-19 01:34:32 +02:00
shavitush
5a51b109ac
Fix recent HSW issues. ( #529 )
2017-11-19 01:03:47 +02:00
shavitush
da2d08d9fe
Allow all movements on ladders. ( #530 )
2017-11-19 00:59:29 +02:00
shavit
35104f6d78
Added KZ support. ( #472 )
...
Going by KZ-Climb standards - climb_startbutton, climb_endbutton etc. Only supports one bonus due to the plugin's nature.
2017-11-17 11:18:45 +02:00
shavit
7ee7335140
Added per-track beam colors. ( #508 )
2017-11-17 08:41:58 +02:00
shavit
bb44534c93
Added replay bot integration with bhopstats.
2017-11-17 08:06:49 +02:00
shavit
b67edfcea0
Fixed a CS:S bug with timelimits.
2017-11-17 08:06:31 +02:00
shavit
e875280f32
What typo..?
2017-11-17 07:39:34 +02:00
shavit
47c69d1621
Added Shavit_ReloadReplay and Shavit_ReloadReplays ( #528 )
2017-11-17 07:29:29 +02:00
shavit
70475ea6e5
Fixed duplication of the zone drawing timer.
2017-11-17 06:05:09 +02:00
shavit
03973665d5
Fixed !ccname and !ccmsg with no arguments not showing current setting.
2017-11-15 05:33:06 +02:00
shavit
af1c2c9870
Fixed zones not appearing after changing to a map with more zones.
2017-11-15 05:26:48 +02:00
shavit
9c74b62a28
Fixed shavit-chat SQL error with remote databases. ( #505 )
2017-11-15 04:47:50 +02:00
shavit
61d4541361
Fixed double timer issue.
2017-11-15 04:47:28 +02:00
shavit
6ba9fe5499
Added cycling for zone drawing ( #490 )
2017-11-15 04:19:00 +02:00
shavit
6503b6573b
Added Shavit_GetTimeForRank ( #512 )
...
Also fixed return value for Shavit_GetRankForTime's description.
2017-11-15 03:14:19 +02:00
shavit
f65f7f4411
Added "oldwr" parameter to Shavit_OnWorldRecord ( #512 )
2017-11-15 03:01:27 +02:00
shavit
ef539c1ac5
Fix potential issue with team chat. ( #524 )
2017-11-15 02:55:03 +02:00
shavit
db441dd28c
Fixed checkpoint translation/speed.
2017-11-15 02:46:57 +02:00
shavit
934fc5d1e7
Extend checkpoints to work while spectating ( #525 )
2017-11-15 02:31:05 +02:00
shavit
26acaf57fb
Changed default value for shavit_misc_resettargetname ( #523 )
2017-11-15 01:49:02 +02:00
shavit
76189611b9
Fix !bwr back button issues ( #511 )
2017-11-12 20:21:50 +02:00
shavit
6f42a78416
Fixed issues with replay playback ( #521 )
2017-11-12 20:09:02 +02:00
shavit
dd5090d286
Just to be fail-safe.
2017-11-12 19:44:00 +02:00
shavit
1c0c410020
Fix unranked message in a populated database ( #519 )
2017-11-12 19:39:28 +02:00
shavit
8d3b4fee07
Fixed !b teleporting to wrong spawn point ( #522 )
2017-11-12 19:28:07 +02:00
shavit
ed11f900e8
Fix invalid array index issue ( #484 )
...
L 11/05/2017 - 21:07:50: [SM] Exception reported: Invalid index 0 (count: 0)
L 11/05/2017 - 21:07:50: [SM] Blaming: shavit-wr.smx
L 11/05/2017 - 21:07:50: [SM] Call stack trace:
L 11/05/2017 - 21:07:50: [SM] [0] ArrayList.Get
L 11/05/2017 - 21:07:50: [SM] [1] Line 2202, E:\git\bhoptimer\addons\sourcemod\scripting\shavit-wr.sp::GetRankForTime
L 11/05/2017 - 21:07:50: [SM] [2] Line 2038, E:\git\bhoptimer\addons\sourcemod\scripting\shavit-wr.sp::Shavit_OnFinish
L 11/05/2017 - 21:07:50: [SM] [4] Call_Finish
L 11/05/2017 - 21:07:50: [SM] [5] Line 1016, E:\git\bhoptimer\addons\sourcemod\scripting\shavit-core.sp::Native_FinishMap
L 11/05/2017 - 21:07:50: [SM] [7] Shavit_FinishMap
L 11/05/2017 - 21:07:50: [SM] [8] Line 2321, E:\git\bhoptimer\addons\sourcemod\scripting\shavit-zones.sp::StartTouchPost
2017-11-08 01:57:45 +02:00
shavit
bb05771440
Allow admins to see other admins in spectator list ( #517 )
2017-11-08 01:52:27 +02:00
shavit
0e19f08d6e
Attempt to fix #516
...
Reset ranked styles upon style config loading.
2017-11-08 01:45:57 +02:00
shavit
f2146b6f9c
Added Shavit_GetMapTier and Shavit_GetMapTiers ( #504 )
2017-11-04 18:58:15 +02:00
shavit
24c38788da
Fix tier not updating in cache.
2017-11-04 18:39:01 +02:00
shavit
c3db507b85
S/HSW exploit fix
2017-11-03 01:14:27 +02:00
shavit
7e1ffd4846
Added procedural rank updates.
...
Ugly workaround but we can't use multiple queries in the same line in SourceMod.
2017-10-29 19:01:32 +02:00
shavit
f597b2dd5e
Missed this one..
2017-10-29 18:20:29 +02:00
shavit
a1629d839c
Add indexes, VARCHAR >> CHAR(n).
...
BIG optimization.
2017-10-29 18:08:44 +02:00