Commit Graph

1223 Commits

Author SHA1 Message Date
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
a144e207dc Merge branch 'master' into rankings 2017-11-04 18:33:55 +02:00
shavit
6f8d958721
Merge pull request #506 from shavitush/rankings
S/HSW exploit fix
2017-11-03 01:18:53 +02:00
shavit
c3db507b85 S/HSW exploit fix 2017-11-03 01:14:27 +02:00
shavit
2d6baf71c7 Merge branch 'master' into rankings 2017-10-29 20:48:31 +02:00
shavit
9d40d05a05
Merge pull request #474 from shavitush/rankings
Rankings rewrite
2017-10-29 19:03:20 +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
shavit
96350387dc Optimized points updating
Got rid of a JOIN by directly setting the value. I'm still looking for a way to optimize this further, and this pull request sadly won't be merged until I do.
2017-10-27 07:42:09 +03:00
shavit
8fb7eadd9c Optimized UpdateRankedPlayers 2017-10-24 06:34:35 +03:00
shavit
ade4b001f8 Fix an issue where !rank may show points of another player.
I hope this won't be a bad solution, but I commented the code with a solution just in-case!
2017-10-24 06:23:08 +03:00
shavit
3dc81c2112 Attempt to fix CI 2017-10-24 01:27:48 +03:00
shavitush
70e885c25f Restructured files. 2017-10-24 01:05:09 +03:00
shavitush
a9bd3d8827 Fixed caching for styles from core and modules. (#494)
Added `bool manual` to `Shavit_OnStyleChanged`.
2017-10-16 22:04:58 +03:00
shavitush
b56b4ccff6 Fixed boosters not applying.
Default value of 'shavit_core_velocityteleport' has been changed to 0.
Change it manually in the config file of shavit-core for the changes to
apply.
2017-10-16 21:37:44 +03:00
shavitush
686869b990 Removed #pragma dynamic where unnecessary. 2017-10-13 09:39:22 +03:00
shavitush
55604dfe77 Fix chat colors when RTLer is on. 2017-10-13 09:36:10 +03:00
shavitush
86442a4059 Fix sm_specs showing admins.
Thanks to DoNotMiss from YOURGAME bhop server.
2017-09-21 21:59:46 +03:00
shavitush
5bff969d63 Allow 'sm_recalcall' to be ran from server console. 2017-09-11 23:13:31 +03:00
shavitush
8c985c7a8d Add 'sm_recalcall` command.
Use the command (run as ROOT) to retroactively calculate points for all
maps, styles and tracks with tiers assigned.
2017-09-11 22:49:03 +03:00
shavitush
ce906beda8 Added 2D-vel and spectators list to default HUD. 2017-09-11 19:23:07 +03:00
shavitush
292dc8f2fe Fix rankings only working after late-loading. (#474) 2017-09-11 19:19:35 +03:00
shavitush
813a3c2b0a Clone database handle. Add 'Shavit_GetDatabase'.
Shavit_GetDB is now deprecated.
Shavit_OnDatabaseLoaded's parameters are now different.

This will allow plugins to be late-loaded more safely.
2017-09-11 19:01:24 +03:00
shavitush
83522da1bc Fixed an exploit in shavit-stats.
Also made zones load a little bit faster.
2017-09-11 17:46:08 +03:00
shavitush
04ebed6251 Fixed start/end zone speed (CS:S) 2017-09-11 17:42:33 +03:00
shavitush
f38bea2ea5 Merge remote-tracking branch 'origin/master' into rankings 2017-09-11 17:07:48 +03:00
shavitush
0df9fbfc57 Added 'shavit_core_velocityteleport', optimizations. 2017-09-11 17:06:03 +03:00
shavit
b4de551cc4 Merge pull request #486 from yupi2/teleport-msg
fix it saying you teleported when you might've not
2017-09-09 14:35:59 +03:00
yupi2
2a1534350f suppress the message if it's from the menu 2017-09-08 22:34:50 +00:00
yupi2
b813f00945 fix it saying you teleported when you might've not
example: make a checkpoint then hold +duck and try to teleport to it
2017-09-08 22:26:58 +00:00
shavitush
36a4634350 Minor optimization to the say hook. 2017-08-22 06:29:04 +03:00
shavitush
19231a8e17 Merge remote-tracking branch 'origin/master' into rankings 2017-08-22 05:35:22 +03:00
shavit
77a9c909b5 Merge pull request #481 from Nickelony/timelimit
Redesign of shavit-timelimit.
2017-08-21 14:09:57 +03:00
shavit
c8f9d488c5 Code style changes. 2017-08-21 13:55:05 +03:00
Unknown
5d749ef8fb Merge remote-tracking branch 'origin/timelimit' into timelimit 2017-08-21 11:52:20 +02:00
Unknown
461b8f7010 Code optimization. 2017-08-21 11:52:11 +02:00
Nickelony
f4a34b5bdd Merge branch 'master' into timelimit 2017-08-20 22:08:57 +02:00
Unknown
39ea3d6ebe CVar name adjustments. 2017-08-20 22:08:19 +02:00