Commit Graph

159 Commits

Author SHA1 Message Date
rtldg
4e89fb60d9 halve potential GetRankForTime search space for lots of records 2022-02-21 19:29:12 +00:00
rtldg
2e791a8237 set wrname on wr for when the query takes a second 2022-02-21 19:15:32 +00:00
rtldg
7a11acf2e6 remove points_calced_from since it should only update on wr now so it's unnecessary 2022-01-19 09:41:01 +00:00
rtldg
6d296caf36 make pb menu usage a bit nicer and less buggy 2022-01-15 12:08:01 +00:00
rtldg
5d47c2dd1b make !times open pb menu 2022-01-11 09:47:52 +00:00
rtldg
590d1fb290 adjustments to !pb 2022-01-07 15:44:22 +00:00
NukoOoOoOoO
3be3b4e3b2
Implementation of !pb / !time (#636) (#1108)
* Initial implementation of !pb / !time

* Lowercase map name
2022-01-07 14:41:55 +00:00
rtldg
0c91c19ba6 trim whitespace & add licenses 2022-01-01 10:15:28 +00:00
rtldg
ae0145430a remove some sourcemod 1.11 warnings 2022-01-01 10:15:18 +00:00
BoomShotKapow
3348e54316 SourceMod 1.11 dev changes & Query -> Query2 2022-01-01 10:12:53 +00:00
rtldg
c177dfb671 combine wr & leaderboard queries 2021-12-29 21:11:19 +00:00
rtldg
43d6a31ac0 make shavit-wr validmaps query union mapzones&playertimes 2021-12-29 19:58:10 +00:00
rtldg
ede141d8c0 recalc on wr delete & remove recalc on map end 2021-12-29 19:06:23 +00:00
rtldg
aa7887ecf4 make some of these admin menus reopen 2021-12-29 09:24:18 +00:00
rtldg
1509e77728 hopefully stop timer commands menu from being wiped on plugins reload 2021-12-29 08:55:20 +00:00
rtldg
616de1ce97 make sure some handles are deleted by littering deletes everywhere 2021-11-30 03:03:11 +00:00
rtldg
4fef03f925 remove new db connection stuff 2021-11-29 06:36:42 +00:00
rtldg
64088b6147 fix !wr <mapname> matches menu giving the wrong map 2021-11-28 03:54:52 +00:00
rtldg
183e758971 make recent-records use the cvar properly 2021-11-27 04:45:48 +00:00
rtldg
bce7c04afe add matches to !wr menu 2021-11-02 20:11:00 +00:00
rtldg
b9c6c47db4 swap #include <shavit> with <shavit/core> 2021-10-28 21:18:53 +00:00
rtldg
b8170c6799 make sure to set points_calced_from too 2021-10-21 09:35:58 +00:00
rtldg
1bb7b3e274 remove Shavit_OpenStatsMenu 2021-10-18 07:23:01 +00:00
rtldg
966ceea5f8 finish splitting shavit.inc 2021-10-18 07:22:50 +00:00
rtldg
df2e45f478 Merge branch 'master' into reorg 2021-10-17 04:48:48 +00:00
rtldg
cb8c7e8d56 add shavit_rankings_new_db_connection, shavit_stats_new_db_connection, and shavit_wr_new_db_connection 2021-10-17 04:46:01 +00:00
rtldg
7ca863f04b move sql table creation and migrations 2021-10-10 05:14:37 +00:00
rtldg
235cc9f241 work on improving rankings queries 2021-10-05 11:00:13 +00:00
rtldg
22a87ce3ee add Shavit_GuessPointsForTime so we can recalc styles only on WR 2021-10-05 04:43:10 +00:00
rtldg
828240849c Revert "change admin menu permissions used"
This reverts commit e4081a5622.
2021-10-04 04:13:34 +00:00
rtldg
e4081a5622 change admin menu permissions used 2021-10-04 04:09:47 +00:00
rtldg
480dbefabc add this format back because i messed up spectating someone 2021-10-02 10:45:51 +00:00
rtldg
44cb918759 some strategic map lowercasings 2021-09-22 06:04:30 +00:00
rtldg
00d16405f6 use Transaction2 in more places 2021-09-14 01:43:23 +00:00
rtldg
4d03e30e6f add dominatingme symbols for wr holders on a map 2021-09-05 17:42:43 +00:00
rtldg
f10fd5614c add disabled wrs_min removal thing 2021-09-05 16:27:15 +00:00
rtldg
762c9a1923 swap GetTimerDatabaseHandle2 with Shavit_GetDatabase in a few places 2021-08-31 20:03:59 +00:00
rtldg
5eae3f686a remove thing that was wiping !wr menu cache 2021-08-31 17:43:19 +00:00
rtldg
c80515496a add !wrn, !wrpre, !wrsw, etc for style commands 2021-08-28 02:27:56 +00:00
rtldg
82c1605e94 make !wr menu remember page on back button 2021-08-28 01:11:59 +00:00
rtldg
b893486972 refresh player's cache when their time is deleted 2021-08-28 00:20:40 +00:00
rtldg
8ee42d6490 revert shavit-wr Shavit_OnStyleConfigLoaded changes that resulted in handles leaking 2021-08-28 00:03:11 +00:00
GAMMACASE
94f30693c0 Move trim function to shavit.inc 2021-08-23 22:42:44 +03:00
GAMMACASE
60d9609b7d Increase buffer size for player names in !recent menu 2021-08-23 08:13:11 +03:00
rtldg
09f34bcef3 empty wr cache on map end 2021-08-20 22:50:15 +00:00
rtldg
309421ad18 fix some errors that come up due to due to migrations 2021-08-20 22:37:37 +00:00
rtldg
2b4d77d281 add sql logging define 2021-08-18 15:10:42 +00:00
rtldg
077cbe9a01 use lowercase strings when sending to GuessBestMapName 2021-08-17 23:50:51 +00:00
rtldg
958c87ccf4 remove unnecessary format for translation 2021-08-12 11:38:40 +00:00
rtldg
a373329499 only print wr message 2 for non-autohop 2021-08-12 11:32:11 +00:00