Commit Graph

438 Commits

Author SHA1 Message Date
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
strafe
683e75c474 Remove semicolon after closing brace on enum structs
https://github.com/alliedmodders/sourcepawn/pull/319
2019-02-21 23:32:15 +00:00
GAMMACASE
fee460efcc
Fixed empty line for csgo hud. 2019-02-04 12:04:51 +03:00
shavit
5c0a7cd55c Fixed wrong flags and netprops for fake clients in checkpoints. 2019-02-02 01:02:33 +02:00
shavit
9fc2b72504 Fixed exploit allowing segments for save states. 2019-02-02 00:35:33 +02:00
shavit
4e72ed2c8a Another attempt at this. Let's hope it works. 2019-02-02 00:18:24 +02:00
shavit
6c4ae5f1ec Added commands to toggle frequently changed HUD settings.
!keys, !master, !center, !zonehud, !hideweapon, !truevel
2019-02-02 00:10:31 +02:00
shavit
f3f05d9e92 Merge remote-tracking branch 'origin/enum_structs' into enum_structs 2019-02-01 23:14:25 +02:00
shavit
055eb29509 Made !hud less confusing. 2019-02-01 23:08:25 +02:00
shavit
daa291f8ba Fixed attempts to teleport a kicked/non spawning central bot. 2019-02-01 22:57:43 +02:00
shavit
81da15c1ed Fixed RTLer. 2019-02-01 22:56:32 +02:00
shavit
3ac7216432 Fixed chat breaking exploit in Source 2013 games. 2019-02-01 22:56:24 +02:00
strafe
9d24c5512f Add speed to CS:GO bot HUD 2019-01-13 12:23:04 +00:00
shavit
c265a257fe oops 2018-12-29 20:15:30 +02:00
shavit
522b41682e Fixed CS:GO HUD hint showing empty 2018-12-29 20:15:21 +02:00
shavit
34fb49ec7b Minor bug fix, teehee~
definitely not hud revamp
2018-12-28 03:40:34 +02:00
shavit
69b5dd3020 walao eh 2018-12-28 01:59:02 +02:00
shavit
26534c1d18 Added shavit_core_nochatsound 2018-12-27 07:42:17 +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
7f81c9d6c0 unicode -> general 2018-12-27 06:14:50 +02:00
shavit
487d3e4a9c Added shavit_rankings_weighting because y'all complain about rankings 2018-12-27 06:14:33 +02:00
shavit
a0ab1b7147 Structified some of WR plugin, deprecated Shavit_GetPlayerPB
(and GetWRTime)
2018-12-27 00:12:02 +02:00
shavit
cf1fce9bc3 Fixed CS:GO chat colors. 2018-12-26 23:07:05 +02:00
shavit
f999073ee2 Structified replay plugin, doubled #pragma dynamic
First chat color in CS:GO is broken.. pending fix
2018-12-26 21:50:42 +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
c82ab35357 2.3.6 2018-12-23 20:42:13 +02:00
shavit
fd44ba68b6 Fixed out of bounds error in Shotgun Shot sound hook 2018-12-23 20:41:11 +02:00
shavit
0aa4c69d85 Prioritized custom spawns > server zones > prebuilt zones 2018-12-15 04:41:44 +02:00
shavit
7e8eb0c861 Fixed classname not resetting bug 2018-12-07 07:47:28 +02:00
shavit
46c244a668 2.3.5 2018-12-07 07:46:03 +02:00
shavit
0de22f4026 Fixed naming and CS:GO offset for CCSPlayer::GetPlayerMaxSpeed 2018-12-07 07:45:24 +02:00
shavit
e77478d159 monkaS 2018-11-28 22:47:12 +02:00
shavit
fc69bd38ab fixed target/classnames not saving what the frick how did i forget this 2018-11-28 22:42:51 +02:00
shavit
34a3a2ad49 reverted the dumbest fucking commit ever 2018-11-27 22:53:06 +02:00
shavit
2c065ee5c8 added color foramtting to shavit-chatsettings 2018-11-24 19:05:21 +02:00
shavit
676f3dd2e9 fixed map counter 2018-11-24 18:44:04 +02:00
shavit
28d75bda21 2.3.4 2018-11-03 14:04:05 +02:00
shavit
3f7698f612 Merge branch 'master' into very_good_yes 2018-11-03 14:03:10 +02:00
shavit
a5513eb14b changed default collation of user inputs to utf8mb4_unicode_ci (#691) 2018-11-03 13:05:49 +02:00
shavit
2d192c7f88 support for sql mode only_full_group_by (#691) 2018-11-03 12:59:06 +02:00
shavit
ab56836314 added sourcetv checks to replay plugin 2018-11-03 10:26:23 +02:00
shavit
bb3ac308ca prefer utf8mb4 but fallback to utf8 if not support (#691) 2018-11-03 10:26:04 +02:00
shavit
9442746a06 readability oops 2018-10-25 01:43:28 +03:00
shavit
fae99ff8d1 optimized replay writing to do less system calls 2018-10-25 01:42:17 +03:00
shavit
2e216dfad1 fixed replay sync when hitting thin teleports while ducking
tested in bhop_frankerz_999xl to see it doesnt randomly teleport, hope this is good
2018-10-25 01:38:04 +03:00
shavit
d652289814 fixed replay hud for timescale styles 2018-10-25 01:36:03 +03:00
strafe
18703ad65c
Merge branch 'master' into new-line 2018-10-18 21:22:56 +01:00
strafe
378fbda924 Fix newline 2018-10-18 21:10:08 +01:00
shavit
d1cf273dd8 Merge branch 'master' into very_good_yes 2018-10-16 22:25:08 +03:00
shavit
304ea735ae Fixed replay HUD not scaling with timescale. 2018-10-16 22:24:48 +03:00