Hello.
Since the last Rust update in July I get the following error message when starting the mod.
(08:58:27) | Failed to call hook 'OnServerInitialized' on plugin 'GUIShop v2.2.43' (NullReferenceException: object reference not set to an instance of an object)
at Oxide.Plugins.GUIShop.LoadImages () [0x0002f] in <208da5e5899e4af3ad4b0e0d226d8b40>:0
at Oxide.Plugins.GUIShop.OnServerInitialized () [0x0006c] in <208da5e5899e4af3ad4b0e0d226d8b40>:0
at Oxide.Plugins.GUIShop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0166e] in <208da5e5899e4af3ad4b0e0d226d8b40>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
(08:58:27) | The call of 'OnServerInitialized' on 'GUIShop v2.2.43' lasted 188ms
Translated with http://www.DeepL.com/Translator (free version) Since the Rust update the mod no longer worksNot An Issue
the same doesn't work
Is it no longer possible to place an NPC with Human NPC and then assign a store to him with the ID ? As it was once ?
Old Config:
"Shop - Shop List": {
"1131886047": {
"buy": [
"Medical Syringe",
"large medkit",
"Anti-Radiation Pills",
"blood"
],
"description": "You currently have {0} coins to spend in this Apothecary Shop",
"name": "Apothecary & Potions in the Castle",
"sell": [
"medical syringe",
"large medkit",
"Anti-Radiation Pills",
}, "blood",
"Pure Anti-Rad Tea",
"Pure Healing Tea",
"Pure Max Health Tea",
"Pure Ore Tea",
"Pure Wood Tea",
"Pure Scrap Tea"
]
},
That is not a valid guishop config so, of course, it won't work
You cannot import guishop configs back from 0.0x to 6.0x and expect it to work.
You need to generate a new default config and build a new one using the new defaults as a starting point.