Open mrrockist opened 3 years ago
You should just try MYSQL driver and set your mysql data in database.cfg, not a plugin related issue
like this? "PlayerSkins" { "driver" "mysql" "host" "127.0.0.1" "database" "sourcemod" "user" "root" "pass" "*****" } It'not working.
do you have a connection issue or data is not being added to your database? do you get the console message that the database is connected?
L 01/24/2021 - 12:17:09: [SM] Exception reported: Current result set has no fetched rows L 01/24/2021 - 12:17:09: [SM] Blaming: PlayerSkin.smx L 01/24/2021 - 12:17:09: [SM] Call stack trace: L 01/24/2021 - 12:17:09: [SM] [0] SQL_FetchString L 01/24/2021 - 12:17:09: [SM] [1] Line 1360, G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\sourcemod\addons\sourcemod\scripting\PlayerSkin¸sp::IsUserWithSkins L 01/24/2021 - 12:17:09: [SM] [2] Line 131, G:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\sourcemod\addons\sourcemod\scripting\PlayerSkin¸sp::PlayerSpawn
log is here
This does not mean that there is a connection issue, my best guess is that this indicates that your user does not have a saved skin so there is no row for your user on the database. I'll need more info on how to reproduce this error log any tips?
I used latest version to compile,data can be written into MySQL correctly. But when you try to suicide , and respawn,then change back to default skin. If you use !skins the error log will come out,like I said before. This is not the case with the old version by Sqlite(5.0.1 (Build 4)), but the old version cannot read&write MySQL(and same error log)
How to use MySQL to connect datebase?