Commit Graph

104 Commits

Author SHA1 Message Date
rtldg
6ceab1283c slightly rearrange chat rank validation check stuff 2022-07-16 01:26:37 +00:00
rtldg
d78393f084 try to get this ccname chat rank stuff not racing 2022-07-11 11:06:58 +00:00
rtldg
0360b957e4 i introduced a bug that made ccname queries race admin auth queries 2022-06-28 13:32:49 +00:00
rtldg
5056917d78 some log messages 2022-06-28 02:16:24 +00:00
rtldg
0f44dd1710 add shavit_core_log_sql & remove Database2/Transaction2 methmodmaps 2022-06-13 06:28:46 +00:00
rtldg
affac70f99 make the shavit-chat OnRebuildAdminCache use a timer 2022-06-10 10:53:20 +00:00
rtldg
41f50505f9 fix flag access & admin reloads in for shavit-chat 2022-06-10 08:15:32 +00:00
rtldg
bfa9aa45e4 rework !ccmsg off & !ccname off slightly 2022-06-10 07:29:01 +00:00
rtldg
ef3ca621c4 add more contributors & copyright attributions. mostly done via git blame but also it's also likely i missed some people. 2022-05-25 11:43:57 +00:00
rtldg
9902b8adac some potential steamid future proofing 2022-04-12 18:42:25 +00:00
rtldg
22c9e50ed7 remove some warnings & TODOs 2022-02-09 22:28:16 +00:00
rtldg
fa58b0f7fe add shavit_chat_enabled 2022-01-05 04:54:57 +00:00
rtldg
0c91c19ba6 trim whitespace & add licenses 2022-01-01 10:15:28 +00:00
rtldg
ae0145430a remove some sourcemod 1.11 warnings 2022-01-01 10:15:18 +00:00
BoomShotKapow
3348e54316 SourceMod 1.11 dev changes & Query -> Query2 2022-01-01 10:12:53 +00:00
rtldg
29d50b69c1 fix logic for easteregg ranks now that !ranks & !chatranks are merged 2021-12-01 22:22:25 +00:00
rtldg
20dd2a9665 might help with '0.0%-0.1%' chat ranks 2021-11-28 03:35:34 +00:00
rtldg
910c253b8f
Merge branch 'master' into patch-18 2021-11-22 05:46:17 +00:00
Nairda
86747ac16c
translation phrase change to make more sense 2021-11-22 06:37:01 +01:00
rtldg
86a19a559c break out of loops after finding player 2021-11-22 05:26:04 +00:00
rtldg
bc978b6add send message to target player after !ccadd 2021-11-22 03:27:10 +00:00
rtldg
693e1ce641 OnClientPutInServer -> OnClientConnected to help prevent race condition 2021-11-14 22:04:34 +00:00
rtldg
30935885d4 merge !ranks and !chatranks 2021-11-12 21:21:21 +00:00
rtldg
473273627e make ccname not have an empty name 2021-11-12 20:06:10 +00:00
rtldg
b9c6c47db4 swap #include <shavit> with <shavit/core> 2021-10-28 21:18:53 +00:00
rtldg
5312c31253 add SanerGetClientName 2021-10-26 21:35:01 +00:00
rtldg
b364871df5 add steamid-stocks.inc 2021-10-25 12:40:24 +00:00
rtldg
966ceea5f8 finish splitting shavit.inc 2021-10-18 07:22:50 +00:00
rtldg
7493c7d548 remove unused #pragma dynamic 2021-10-17 05:09:20 +00:00
rtldg
7ca863f04b move sql table creation and migrations 2021-10-10 05:14:37 +00:00
rtldg
4e577fbe9b change !ccadd and !ccdelete flag from CHAT to RCON 2021-10-07 15:45:42 +00:00
rtldg
762c9a1923 swap GetTimerDatabaseHandle2 with Shavit_GetDatabase in a few places 2021-08-31 20:03:59 +00:00
rtldg
599b276e42 add another sql handle check to shavit-chat 2021-08-20 23:53:58 +00:00
rtldg
fea39ce643 make Shavit_OnDatabaseLoaded run after migration like it's supposed to and attempt to use it for things 2021-07-30 08:17:31 +00:00
rtldg
3024982fe1 add SteamIDToAuth stock 2021-07-07 01:46:33 +00:00
rtldg
6f058127c4 make all plugins require dhooks so there's error spam due to them not loading 2021-07-06 02:22:35 +00:00
GAMMACASE
1c6cd5e27d
Fix infinite loop in RemoveFromString() (#1052) 2021-06-02 20:15:38 +00:00
rtldg
f8237a3fdc add some missing things from Shavit_GetPlainChatrank 2021-05-06 04:01:07 +00:00
rtldg
7df2e2c959 add shavit_core_timeinmessages 2021-05-06 03:58:19 +00:00
BoomShot
b22092fcf3
Move remaining shavit-rankings dependent calls (#1043)
If the shavit-rankings plugin isn't loaded, the calls to its natives will cause an exception and the client's messages will not be formatted correctly.
2021-04-07 21:18:27 +00:00
rtldg
3a84ae091a remove some TODOs 2021-04-01 15:46:20 +00:00
rtldg
6ff1357c16 fix ccnames after sm_ccadd broke it 2021-03-30 13:00:04 +00:00
rtldg
78ecccf7c4 change some cvar defaults 2021-03-23 10:14:34 +00:00
rtldg
87c74d329a remove some errors and warnings 2021-03-23 03:15:41 +00:00
rtldg
19c5ccb7f3 add sm_ccadd and sm_ccdelete 2021-03-22 09:42:03 +00:00
rtldg
8d6e730bee make my wrrank/wrcount queries work with mysql 5.6/5.7
also my DeleteWR() query that used variables to be fancy is unneeded and just breaks sqlite compatibility
have you noticed that i've been winging it with all the sql stuff?
2021-03-10 08:50:33 +00:00
rtldg
65f58219bd misc changes & stockify GetSpectatorTarget 2021-03-07 03:25:56 +00:00
rtldg
3ca87e27c8 new natives & chat rank stuff & translations
natives:
Shavit_GetWRCount(client) -> Shavit_GetWRCount(client, track, style, usecvars)
Shavit_GetWRHolders(track, style, usecvars)
Shavit_GetWRHolderRank(client, track, style, usecvars)

configs/shavit-chat.cfg:
added w (WR Count) and W (rank out of WR holders) to ranks prefix options
added {pts}, {wrs}, and {wrrank}

translations/shavit-chat.phrases.txt:
added a lot here... make sure you update your #format, parameter numbers, and translations...
2021-03-06 09:14:35 +00:00
rtldg
b19ce52efc make chatrank say ranked at #1 2021-03-05 17:25:03 +00:00
rtldg
25f07e70e1 move sample text into shavit-chat.phrases.txt 2021-03-02 22:20:27 +00:00