Quote:
Originally Posted by Juaccoo
L 02/27/2016 - 20:16:07: [ERROR] AddPlayerToDB failed to query (error: PRIMARY KEY must be unique)
L 02/27/2016 - 20:16:19: [DEBUG] Bot GamerLiveTV<2><BOT><> was ignored
L 02/27/2016 - 20:16:25: [DEBUG] Allowed player Viejujo<3><STEAM_ID_PENDING><> to join the server because they are in the databse as 76561198029121502
L 02/27/2016 - 20:16:26: [INFO] (Method B): client Viejujo<3><[U:1:68855774]><> was kicked for having a playtime of 44 hours. The hour limit is set to 200 hours.
L 02/27/2016 - 20:16:26: [DEBUG] Used method B for client: Viejujo<3><[U:1:68855774]><>
im having that error message, cant find ruma_db in the data/sqlite folder and apparently its only reading the tf2 stats and not the steam playtime.
any help, please?
|
The sqlite db file name should be 'sourcemod-local', at least by default. Not really sure why that PRIMARY KEY error happened, I'll try to look into it. Can you PM me the whole log for that day?
Usually when the mod checks the playtime via the TF2 stats instead of Steam playtime, is because for some reason the client haven't received the STEAM_ID yet when the check happens. Unfortunately I haven't found a way to fix this.. Hmm, got an idea when writing this, I need to do some testing when I have the time.