Commit Graph

409 Commits

Author SHA1 Message Date
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