Commit Graph

487 Commits

Author SHA1 Message Date
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
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
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
shavit
38bec72377 Replay subversion 3 (#776) 2019-04-06 01:53:24 +03:00
shavit
3b30b17a18
Merge branch 'master' into patch-1 2019-04-03 07:38:21 +03:00
Nairdaa
8baa8d2dfe
Update shavit-wr.sp
-0.000 wr time fix
2019-04-03 00:35:21 +02:00
shavit
d4e09db495
matched code styling 2019-03-29 15:26:02 +03:00
Sachin
d6641f9ee6
Fixes error: Client 3 not in game 2019-03-29 17:47:11 +05:30
shavit
a8673c9c78 2.5.1 2019-03-29 08:40:55 +03:00
shavit
3e8df4214b Fixed a game breaking exploit with persisted data. 2019-03-29 08:40:07 +03:00
shavit
40d443180e Disabled timer from starting before cookies are loaded. 2019-03-27 22:02:30 +02:00
shavit
39572abfd9 Added persisting timer data (#757). 2019-03-27 19:50:03 +02:00
shavit
54b2371b70 Modernized custom spawn points setup and added multi-track support (#756). 2019-03-27 14:50:43 +02:00
shavit
4388409e0a Fixed HSW strafe counter breaking. 2019-03-27 14:21:17 +02:00
shavit
08afbfa67a Fixed replay HUD speed with speed multipliers. 2019-03-27 12:59:25 +02:00
shavit
6a73893857 Made teleport to last frame of replay playback seamless. 2019-03-27 11:36:27 +02:00
shavit
ee1dddc8c7 Changed track changing in zones menu to be easier (#597). 2019-03-27 11:31:43 +02:00
shavit
12005e8c18 Rewrote queries to support ONLY_FULL_GROUP_BY (#764). 2019-03-27 10:27:50 +02:00
shavit
4d2308ef1f Fixed shavit-misc not respecting mp_humanteam properly (#716). 2019-03-26 02:47:23 +02:00
shavit
648eb17d57 Removed ancient sm_deletestylerecords command.
sm_deleteall should be used instead
2019-03-26 02:26:04 +02:00
shavit
f2c3517943 Added "shavit_misc_hidechatcmds" (#650). 2019-03-25 14:50:35 +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
5fca6ded0c Added decreasing grid snap button (#743). 2019-03-25 14:00:23 +02:00
shavit
538429e36c Changed !style to show records per track (#754). 2019-03-25 13:52:16 +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
73742083fb Fixed bug where chat plugin would query for bots (#758). 2019-03-25 10:20:23 +02:00
shavit
bbccdcf28a Removed ancient table migration code (#758).
Should speed up initial load after map change by a lot! I believe this is now useless.
2019-03-25 10:20:23 +02:00
shavit
b1106d7c97 Optimized GetWeightedPoints to only update users with records. (#758) 2019-03-25 09:48:03 +02:00
shavit
463b8a857b Major optimizations to database structure.
* in table `playertimes` add `time` to the `map` index - it should look like this:
```sql
INDEX `map` (`map`, `style`, `track`, `time`)
```

* in all tables, change all CHAR(x) to VARCHAR(x). the following are the changes:
- `chat.auth VARCHAR(32)`
- `chat.ccname VARCHAR(128)`
- `chat.ccmessage VARCHAR(16)`
- `users.auth VARCHAR(32)`
- `users.country VARCHAR(32)`
- `users.ip VARCHAR(64)`
- `maptiers.map VARCHAR(128)`
- `playertimes.auth VARCHAR(32)`
- `playertimes.map VARCHAR(128)`
- `playertimes.date VARCHAR(16)`
- `mapzones.map VARCHAR(128)`
2019-03-25 09:33:34 +02:00
shavit
1d78ee7bf0 Fixed WR count query being inaccurate (#760). 2019-03-25 08:57:28 +02:00
shavit
6f2e5e7c4f Fixed rare bug with replay playback. 2019-03-25 08:42:12 +02:00
shavit
7365cbcb53 Added "kzcheckpoints" mode (#759). 2019-03-25 02:48:50 +02:00
shavit
655d41ef41 Fixed bug that allowed teleporting to deleted checkpoints. 2019-03-25 02:20:29 +02:00
shavit
5ec325aa35 Added checkpoint forwards (#759). 2019-03-25 02:19:35 +02:00
shavit
79a6fef09c Added "enabled" and "inaccessible" style settings. (#761) 2019-03-24 23:10:00 +02:00
shavit
96e856fe29 When !replay fails, display menu will display at the same item. (#763) 2019-03-24 22:37:00 +02:00
shavit
4efb36e5f6 Bumped version number.
When I'm done with this pull request, this should have a fair amount of new features.. so I figured this would be 2.5 rather than 2.4.2
2019-03-24 22:32:52 +02:00
sneak_it
90227dd1e7 change default zone modifier to 16 units 2019-03-23 21:52:56 -04:00
shavit
4a88a0ec8b Fixed chat module when running SQLite. 2019-03-24 01:35:05 +02:00
shavit
2799f00b31 Changed chat settings to be only saved at player disconnection. (#758)
Database optimization.
2019-03-24 01:30:32 +02:00
shavit
1a5cfd6fbc Structified rankings. 2019-03-24 01:18:21 +02:00
shavit
4aa6365b01 Added missing no-speed-limit text for CS:S HUD. 2019-03-24 01:12:06 +02:00
shavit
3784ab969b Added foreign keys (#758). 2019-03-23 05:48:31 +02:00
shavit
da656d0f5d Bumped version number. 2019-03-09 17:21:34 +02:00
shavit
04e1a6fb64 Improved cvar enforcing for replay plugin. 2019-03-09 17:21:20 +02:00
shavit
38a03a1467 Merge branch 'master' into very_good_yes 2019-03-09 16:33:45 +02:00
shavit
4cab7f997f Removed useless lines. 2019-03-09 16:33:39 +02:00
strafe
cb91330927 Replace tier with track name in non-main start zones and indent text 2019-03-09 12:42:55 +00:00
KiD Fearless
ef8af7807d Add topleft hud and clantag forwards 2019-03-08 18:08:02 -07:00
shavit
15c67cc317 Implemented Shavit_OnRankAssigned forward. 2019-03-08 10:57:36 +02:00
shavit
bf37674812 Implemented Shavit_ChangeClientStyle forward. 2019-03-08 09:37:37 +02:00
shavit
4c9a969d3a Added far more extensive logging for single record deletion. 2019-03-08 09:00:02 +02:00
shavit
1d5c63c595 Made transition to last frame of replay much smoother. 2019-03-07 03:38:31 +02:00
shavit
fdf65ca188 Improved replay smoothness.
* Fixed for illogical teleports.
* Improved replay smoothness when teleporting/landing.
* Removed pointless TR.
2019-03-07 03:23:24 +02:00
shavit
9bcc6878d4 Fixed replays breaking unexpectedly at certain interactions.
Example of breakage:
1. Request playback.
2. When the replay playback is about to end (the delay where the bot idles in the end zone), stop the playback.
3. Request playback ASAP.
2019-03-07 01:48:07 +02:00
shavit
8f26d7be0e Added cooldown on playback/stop for regular users. 2019-03-07 01:30:49 +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
283bbc224f Fixed deleted replays not being overwritten. 2019-03-05 00:07:26 +02:00
shavit
feec3f0a2f Removed debug message 2019-02-25 00:19:29 +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
c767a375b3 Added sm_wipeplayer. (#568) 2019-02-24 15:54:52 +02:00
shavit
78bba83fd0 Added Shavit_ReloadLeaderboards. 2019-02-24 15:53:51 +02:00
shavit
6fba2bca9c Added Shavit_DeleteReplay native. 2019-02-24 15:10:08 +02:00
shavit
b264f50705 Fixed commands erroring at IsClientInGame when ran from console/rcon. 2019-02-24 14:07:21 +02:00
shavit
dd8e5a76dd Fixed improper targetname/classname set for CP (#700). 2019-02-22 21:42:18 +02:00
shavit
a712c1daeb Fixed replay HUD time display issues for timescale styles (#689). 2019-02-22 21:21:59 +02:00
shavit
5468a94243 Separated unset start zone message per track (#735). 2019-02-22 19:36:48 +02:00
shavit
875d71be3e Added {rank} to scoreboard clan tag (#702). 2019-02-22 17:51:59 +02:00
shavit
a784b717ff Added tier to zone HUD (#675). 2019-02-22 17:48:43 +02:00
shavit
0bad2d6457 oops 2019-02-22 17:48:10 +02:00
shavit
5be987828b Fixed checkpoints exploit and CP menu bug. 2019-02-22 17:24:20 +02:00
shavit
942d6d9675 Added Shavit_IsPaused. 2019-02-22 17:11:55 +02:00
shavit
5e6c84ef98 Merge branch 'master' into very_good_yes 2019-02-22 17:05:57 +02:00
shavit
188de7287c
Merge branch 'master' into csgo_hudfix1 2019-02-22 16:56:12 +02:00
shavit
62877282d0 HUD PB split (#732) 2019-02-22 15:16:38 +02:00
shavit
46f5d83c1a !replay now moves you to spectator (#739) 2019-02-22 14:35:32 +02:00