Commit Graph

487 Commits

Author SHA1 Message Date
shavitush
8f1da48e82 Added saving checkpoints to disk for mappers (mostly for Lily). !savecps !loadcps 2020-07-10 19:44:16 +03:00
strafe
e4b9d7a898 Don't override teamjoin argument when joining spectator 2019-11-04 00:01:36 +00:00
shavit
b0ec640b1e 2.5.5a (hotfix) 2019-08-08 04:53:08 +03:00
shavit
10bed693da Micro optimization for recalculation SQL query. 2019-08-08 04:52:41 +03:00
shavit
e7e1935388 Added logging for player wiping, added warning message when entering invalid SteamID. 2019-08-08 04:49:11 +03:00
shavit
b490313e1f Added sm_migration command to re-apply migrations manually. 2019-08-08 04:22:01 +03:00
shavit
a6a1ed8c8d Fixed issues with certain migrations not working as intended with table prefix setups. 2019-08-08 04:08:30 +03:00
KiD Fearless
7e1c729bc1 Added "Shavit_GetClientFrameCount" and "Shavit_GetReplayFrames" 2019-08-05 16:31:47 -06:00
shavit
c84815584c Refactored event hooks in replay plugin. Should broadcast events properly now. 2019-07-31 20:19:02 +03:00
shavit
de1fa353ff Added shavit_misc_wrmessages finally. See commit description for info.
Oh, oh-oh
Oh

Yeah, I'm gonna take my horse to the old town road
I'm gonna ride 'til I can't no more
I'm gonna take my horse to the old town road
I'm gonna ride 'til I can't no more
(Kio, Kio)

I got the horses in the back
Horse tack is attached
Hat is matte black
Got the boots that's black to match
Ridin' on a horse, ha
You can whip your Porsche
I been in the valley
You ain't been up off that porch, now

Can't nobody tell me nothin'
You can't tell me nothin'
Can't nobody tell me nothin'
You can't tell me nothin'

Ridin' on a tractor
Lean all in my bladder
Cheated on my baby
You can go and ask her
My life is a movie
Bull ridin' and boobies
Cowboy hat from Gucci
Wrangler on my booty

Can't nobody tell me nothin'
You can't tell me nothin'
Can't nobody tell me nothin'
You can't tell me nothin'

Yeah, I'm gonna take my horse to the old town road
I'm gonna ride 'til I can't no more
I'm gonna take my horse to the old town road
I'm gonna ride 'til I can't no more

Hat down, cross town, livin' like a rockstar
Spent a lot of money on my brand new guitar
Baby's got a habit: diamond rings and Fendi sports bras
Ridin' down Rodeo in my Maserati sports car
Got no stress, I've been through all that
I'm like a Marlboro Man so I kick on back
Wish I could roll on back to that old town road
I wanna ride 'til I can't no more

Yeah, I'm gonna take my horse to the old town road
I'm gonna ride 'til I can't no more
I'm gonna take my horse to the old town road
I'm gonna ride 'til I can't no more

Scum Gang
2019-07-28 03:10:22 +03:00
shavit
01b635543f Added missing semicolon. 2019-07-28 03:06:42 +03:00
shavit
fd76d6d1c4 Fixed prebuilt zones not working right after plugin reload or server start. 2019-07-24 15:52:51 +03:00
shavit
d54b42405a Fixed !end for prebuilt zones (#820). 2019-07-24 15:52:27 +03:00
shavit
a66d75e9db Added failsafe to prevent data loss when players finish maps without cache being loaded (#813). 2019-07-24 15:34:46 +03:00
shavit
89d33d91d4 Added Shavit_OnFinishMessage forward (#821).
(and changed PB cache to only update after the finish message is sent to the players)
2019-07-24 15:19:49 +03:00
shavit
7a1f530e07 Improved measuring for perfect jumps. 2019-07-20 13:34:10 +03:00
shavit
b5ce632272 Improvements to how hint text HUD settings is being loaded. 2019-07-13 09:34:30 +03:00
shavit
dfcaee5c5b Fixed HSW sync - thanks Nairda! (#809) 2019-07-13 07:53:18 +03: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
9cbb0c3f08 Fixed rankings querying the database for tiers/recalc more than once per map.
The database was being queried 3 times on the first server startup.
And during additional map changes, the database was being queried twice instead of once.
This caused the biggest query (users points recalculate) to be executed multiple times, and causing the database handle to be locked up.
2019-05-31 16:51:41 +03:00
shavit
04e5db5420 Fixed the fix for the fix of dropall errors (#807). 2019-05-30 01:50:20 +03:00
shavit
dca53d61c6 Reverted the dropall change, doesn't seem like the proper solution.
(seems like a csgo issue, let me know if anyone has a fix)
2019-05-29 09:12:54 +03:00
shavit
487135f85a Allowed using all keys in limited styles after touching ladder (#800).
Key restriction is added again after touching the ground.
ConVar to disable this is `shavit_core_simplerladders`
2019-05-28 18:44:28 +03:00
shavit
70dd8f7c9c Added tracking for map completions (#804). 2019-05-28 18:32:24 +03:00
shavit
8cea924063 Got rid of a ResumeTimer that I don't remember why I added (#806). 2019-05-28 18:12:20 +03:00
shavit
0b4e82fae4 Fixed "weapon %d is not owned by client %d" (#807). 2019-05-28 18:02:34 +03:00
shavit
25ca9f72da Removed gI_RecordAmount for a more elegant solution. 2019-05-23 22:16:33 +03:00
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
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
f21ba64c84 2.5.4 2019-04-15 04:19:50 +03:00