Commit Graph

43 Commits

Author SHA1 Message Date
shavit
4c9a969d3a Added far more extensive logging for single record deletion. 2019-03-08 09:00:02 +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
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
78bba83fd0 Added Shavit_ReloadLeaderboards. 2019-02-24 15:53:51 +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
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
a0ab1b7147 Structified some of WR plugin, deprecated Shavit_GetPlayerPB
(and GetWRTime)
2018-12-27 00:12:02 +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
34a3a2ad49 reverted the dumbest fucking commit ever 2018-11-27 22:53:06 +02:00
shavit
2d192c7f88 support for sql mode only_full_group_by (#691) 2018-11-03 12:59:06 +02:00
shavit
020acc5ac2 Fixed PB showing #0 when #1 2018-10-10 17:54:13 +03:00
shavit
d1d594503e Dropped dynamic arrays for strings, unless necessary. 2018-09-23 04:16:23 +03:00
shavit
81dbdedfba Added !deletemap (#668) 2018-09-15 17:26:11 +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
a1a318b007 Fixed SQL error on new setups. 2018-05-13 21:14:10 +03:00
shavit
4bcfae7e94 Don't show perf% for old records. 2018-05-02 13:54:01 +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
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
e2e60bdc70 Code style adaptions. 2018-04-15 21:56:48 +03:00
shavit
fdeceabcf0 Fixed CS:S HUD breaking apart after adding new styles without restart. 2018-03-20 04:32:47 +02:00
shavit
b6861033d0 Added logging for admin actions in shavit-wr. 2018-03-15 00:23:55 +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
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
5810dbc806 Micro-optimization to shavit-wr 2018-01-03 21:28:50 +02:00
shavit
48b66f09ef Reverted this change I forgot to remove in first place.. 2017-12-16 10:53:03 +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
e36d917f6d Update table creation queries. 2017-11-23 22:20:33 +02:00
shavit
d20839218c New replay bot format (#434) and some of #537 2017-11-21 11:28:57 +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
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
76189611b9 Fix !bwr back button issues (#511) 2017-11-12 20:21:50 +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
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
shavitush
70e885c25f Restructured files. 2017-10-24 01:05:09 +03:00