Balimbanana / SM-Synergy

This is a collection of SourceMod addons/plugins/translations for Synergy.
18 stars 7 forks source link

modelloader.smx no fetched rows #12

Closed Quesoteric closed 10 months ago

Quesoteric commented 1 year ago

This displays in the console whenever a player joins and their model is immediately set to male01

L 07/20/2023 - 14:28:49: [SM] Exception reported: Current result set has no fetched rows L 07/20/2023 - 14:28:49: [SM] Blaming: modelloader.smx L 07/20/2023 - 14:28:49: [SM] Call stack trace: L 07/20/2023 - 14:28:49: [SM] [0] SQL_FetchString L 07/20/2023 - 14:28:49: [SM] [1] Line 186, Synergy\synergy\addons\sourcemod\scripting\modelloader.sp::LoadClient L 07/20/2023 - 14:28:49: [SM] [2] Line 217, Synergy\synergy\addons\sourcemod\scripting\modelloader.sp::OnClientAuthorized

I can still change my model but after a map change it reverts back to male 01 SourceMod Version Information: SourceMod Version: 1.11.0.6934 SourcePawn Engine: 1.11.0.6934, jit-x86 (build 1.11.0.6934) SourcePawn API: v1 = 5, v2 = 16 Compiled on: Apr 18 2023 08:35:04 Built from: https://github.com/alliedmodders/sourcemod/commit/b09a675e Build ID: 6934:b09a675e http://www.sourcemod.net/

sm plugins list 01 "DeathSound" (0.5.3) by Keksmampfer 02 "Admin File Reader" (1.10.0.6443) by AlliedModders LLC 03 "Admin Help" (1.10.0.6443) by AlliedModders LLC 04 "Admin Menu" (1.10.0.6443) by AlliedModders LLC 05 "Anti-Flood" (1.10.0.6443) by AlliedModders LLC 06 "Basic Ban Commands" (1.10.0.6443) by AlliedModders LLC 07 "Basic Chat" (1.10.0.6443) by AlliedModders LLC 08 "Basic Comm Control" (1.10.0.6443) by AlliedModders LLC 09 "Basic Commands" (1.10.0.6443) by AlliedModders LLC 10 "Basic Info Triggers" (1.10.0.6443) by AlliedModders LLC 11 "Basic Votes" (1.10.0.6443) by AlliedModders LLC 12 "BuildEntityCache" (0.52) by Balimbanana 13 "[ANY] Chat Trigger to Lower Case" (1.0.0) by Mart 14 "Client Preferences" (1.10.0.6443) by AlliedModders LLC 15 "Colortext" (1.2) by Alienmario 16 "combineballevents.smx" 17 "Crashed Map Recovery" (1.62) by Crazydog 18 "DeathSound" (0.5.3) by Keksmampfer 19 "EDTRebuild" (0.79) by Balimbanana 20 "EntTools" (1.43) by Balimbanana 21 "Execute Configs" (1.0.2) by Tsunami 22 "Fun Commands" (1.10.0.6443) by AlliedModders LLC 23 "Fun Votes" (1.10.0.6443) by AlliedModders LLC 24 "HealthDisplay" (1.996) by Balimbanana 25 "[ANY] Hide SteamGroup ID" (1.0) by SilverShot 26 "Welcome Sound" (0.0.1) by R-Hehl 27 "MapChooser" (1.9.0.6281) by AlliedModders LLC 28 "Map Nominations" (1.9.0.6281) by AlliedModders LLC 29 "Player Commands" (1.10.0.6443) by AlliedModders LLC 30 "Reserved Slots" (1.10.0.6443) by AlliedModders LLC 31 "Rock The Vote" (1.8.0.5928) by AlliedModders LLC 32 "[DHooks] Block SM Plugins" (1.0.0) by Bara 33 "Schrodinger Crouch Fix" (1.3) by Evil sam hyde 34 "ScoresExtended" (0.92) by Balimbanana 35 "ServerAdvertisements" (3.3.0) by ESK0 36 "SourceMod Anti-Cheat" (0.8.7.3) by SMAC Development Team 37 "SMAC Aimbot Detector" (0.8.7.3) by SMAC Development Team 38 "SMAC AutoTrigger Detector" (0.8.7.3) by SMAC Development Team 39 "SMAC Client Protection" (0.8.7.3) by SMAC Development Team 40 "SMAC Command Monitor" (0.8.7.3) by SMAC Development Team 41 "SMAC Eye Angle Test" (0.8.7.3) by SMAC Development Team 42 "SMAC Rcon Locker" (0.8.7.3) by SMAC Development Team 43 "SMAC Anti-Speedhack" (0.8.7.3) by SMAC Development Team 44 "SMAC Spinhack Detector" (0.8.7.3) by SMAC Development Team 45 "SMAC Anti-Wallhack" (0.8.7.3) by SMAC Development Team 46 "Advanced and silent CVAR change." (1.1) by Axel Juan Nieves 47 "[ANY] Cvar Configs Updater" (1.7) by SilverShot 48 "[ANY] ConVars Anomaly Fixer" (1.12 beta) by Dragokas 49 "Fade" (1.0) by Ribas 50 "Player-Teleport by Dr. HyperKiLLeR" (1.2.0.1) by Dr. HyperKiLLeR Edited by Balimbanana for Synergy 51 "[ANY] Suppress Manager" (0.7.0) by Tk /id/Teamkiller324 52 "[ANY] Spray Exploit Fixer" (2.21) by SilverShot 53 "SynBuildNPCInfo" (0.93) by Balimbanana 54 "SynFixesDev" (2.0065) by Balimbanana 55 "SynModes" (1.58) by Balimbanana 56 "SynSaveRestore" (2.207) by Balimbanana 57 "SynFixesSpawnInVehicle" (1.23) by Balimbanana 58 "SynSweps" (0.997) by Balimbanana 59 "synswepsspawns.smx" 60 "Updater" (1.2.2) by GoD-Tony 61 "CCreateVehicle" (1.17) by Balimbanana 62 "[Lilac] Little Anti-Cheat" (1.7.4) by J_Tanzanite 63 "ModelLoader" (1.73) by Balimbanana

Tried disabling all the other plugins but it didnt fix it

Balimbanana commented 1 year ago

Is there any other error message above Exception reported: Current result set has no fetched rows ? It should have another error message above that if it failed. Also, this shouldn't really be able to fail unless SQLite broke. Do you still have the local database: addons/sourcemod/data/sqlite/sourcemod-local.sq3 ?

Balimbanana commented 1 year ago

Ah also, is your server connected to Steam? You can see it in status if the line steamid : shows "Not logged in" Steam ID's will not be available which is what the database uses to fetch and store player models.

Quesoteric commented 1 year ago

No other error message, and yes my server is connected to steam

Balimbanana commented 1 year ago

Does it give any messages when you reload the plugin with sm plugins reload modelloader ?

Quesoteric commented 1 year ago

sm plugins reload modelloader ModelLoader Loaded L 07/21/2023 - 00:07:06: [SM] Exception reported: Current result set has no fetched rows L 07/21/2023 - 00:07:06: [SM] Blaming: modelloader.smx L 07/21/2023 - 00:07:06: [SM] Call stack trace: L 07/21/2023 - 00:07:06: [SM] [0] SQL_FetchString L 07/21/2023 - 00:07:06: [SM] [1] Line 186, Synergy\synergy\addons\sourcemod\scripting\modelloader.sp::LoadClient L 07/21/2023 - 00:07:06: [SM] [2] Line 162, Synergy\synergy\addons\sourcemod\scripting\modelloader.sp::reloadmdlclients L 07/21/2023 - 00:07:06: [SM] [3] Line 80, Synergy\synergy\addons\sourcemod\scripting\modelloader.sp::OnPluginStart [SM] Plugin modelloader.smx failed to reload: Error detected in plugin startup (see error logs). [SM] Plugin ModelLoader reloaded successfully.

Quesoteric commented 1 year ago

What version of sourcemod is modelloader designed for? I'm currently using SM 1.11 if that's of any importance

Balimbanana commented 1 year ago

I have updated ModelLoader with an additional validation that may fix the issue on later SourceMod versions: 7e56316

Balimbanana commented 10 months ago

Fixed by update above