Spamming Rcon with "Failed to call hook 'SetPanelAttribute' on plugin 'InfoPanel v1.0.7'" when a player connectsFixed

Failed to call hook 'SetPanelAttribute' on plugin 'InfoPanel v1.0.7' (KeyNotFoundException: The given key was not present in the dictionary.)

at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <eae584ce26bc40229c1b1aa476bfa589>:0

at Oxide.Plugins.InfoPanel.SetPanelAttribute (System.String PluginName, System.String PanelName, System.String Attribute, System.String Value, System.String PlayerId) [0x00026] in <6a85e32331a7453ea5ef9e5298df14a3>:0

at Oxide.Plugins.InfoPanel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00a17] in <6a85e32331a7453ea5ef9e5298df14a3>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <12678b905a6d43c3a9cc366104306651>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <12678b905a6d43c3a9cc366104306651>:0

I temporarily fixed it by adding "return;" at the start of UpdateHotelCounter() method, and disabled infopanel hotel ui

I suspect your hotel panel is trying to use an Info Panel dock you may not have. The default is to use "TopLeftDock" if this is not present your Hotel Panel wont get added. I am looking to remove info panel in the future and add a show hide panel option to the hotel itself. Its on my list :-)

Merged post

Make sure if you use a InfoPanel you put have the dock or change "TopLeftDock" to a dock name you do have

Yeah i only installed yesterday infopanel for the clock, so I don't need it for the Hotel that's all, just need the ability to disable it in the config

Appreciate alot the time you put into that plugin, it's great

Next version will control its own UI so it wont need info panel nor will it conflict. I will try to get it out this week

Works great, thank you shady

Locked automatically