KiD Fearless
746b232e11
Merge branch 'master' into experimental
2020-04-10 15:08:50 -06:00
KiD Fearless
9fc6f83e8c
Fix SQL Syntax error in MySQL 8.0
2020-04-07 13:35:03 -06:00
KiD Fearless
ae5fba6017
Add dhooks and double dependancies
2020-04-06 15:57:41 -06:00
KiD Fearless
36cddb2bc4
Implement new Shavit_GetChatStrings and Shavit_GetChatSettings
2020-04-06 12:43:59 -06:00
KiD Fearless
3283a26d45
Added Convar_class methodmaps for timer convars
2020-01-22 17:16:37 -07:00
KiD Fearless
3eaaba3a70
Selecting an unfinished map nominates it
2019-12-19 13:09:15 -07: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
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
12005e8c18
Rewrote queries to support ONLY_FULL_GROUP_BY ( #764 ).
2019-03-27 10:27:50 +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
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
1d78ee7bf0
Fixed WR count query being inaccurate ( #760 ).
2019-03-25 08:57:28 +02:00
shavit
79a6fef09c
Added "enabled" and "inaccessible" style settings. ( #761 )
2019-03-24 23:10:00 +02:00
shavit
08f0224759
Added menu ordering for styles ( #681 ).
...
Also added Shavit_GetOrderedStyles ofc.
2019-02-24 17:05:39 +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
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
676f3dd2e9
fixed map counter
2018-11-24 18:44:04 +02:00
shavit
2d192c7f88
support for sql mode only_full_group_by ( #691 )
2018-11-03 12:59:06 +02:00
shavit
d1d594503e
Dropped dynamic arrays for strings, unless necessary.
2018-09-23 04:16:23 +03:00
shavit
27e0dad8ad
Conut >> Count
2018-01-13 09:34:33 +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
shavitush
af4a007c81
Fixed wrong WR count. ( #532 )
2017-11-19 01:34:32 +02:00
shavitush
70e885c25f
Restructured files.
2017-10-24 01:05:09 +03:00