Commit Graph

1594 Commits

Author SHA1 Message Date
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
439e0bce3b Merge branch 'master' into very_good_yes 2019-04-18 05:09:08 +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
88b8b9a079
Merge pull request #786 from shavitush/very_good_yes
v2.3.5
2019-04-15 04:24:56 +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
2a1914010c
Merge pull request #785 from shavitush/very_good_yes
v2.5.3
2019-04-15 00:34:37 +03:00
shavit
3bec48aed9 Merge branch 'master' into very_good_yes 2019-04-15 00:30:08 +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
5fb84e6ace
Merge pull request #777 from shavitush/very_good_yes
2.5.2
2019-04-06 02:02:35 +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