Code:Failed to call hook 'OnServerInitialized' on plugin 'GUIShop v1.4.5' (ArgumentException: An element with the same key already exists in the dictionary.) at System.Collections.Generic.Dictionary`2[System.String,System.String].Add (System.String key, System.String value) [0x00000] in :0 at Oxide.Plugins.GUIShop.OnServerInitialized () [0x00000] in :0 at Oxide.Plugins.GUIShop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0

GUI Shop
GUI Shop based on Economics. Supports NPC
Total Downloads: 11,450 - First Release: Aug 29, 2015 - Last Update: May 3, 2018
- 5/5, 38 likes
-
Wulf Community Admin
-
Hey, how can I sell in my shop backpack Say whoever buys this one, he can access from / dan on / backpack
[DOUBLEPOST=1525373139][/DOUBLEPOST]THX for the fast update -
-
Ok I fixed myself, thanks anyway and sorry
-
I have it setup to sell scrap for money, and upon trying to sell scrap it returns "You can't sell kits"
-
after new update tonight my shop has reverted back to npc only shop
what do i change in the shop config file to make it /shop again ??? -
Thanks for the update WulfLast edited by a moderator: May 3, 2018 -
If yours is working can u send me it in pm -
Code:object TrySell(BasePlayer player, string item, int amount) { var data = ShopCategories[item]; if (string.IsNullOrEmpty(data.Shortname)) return MessageErrorItemItem; object iskit = Kits?.CallHook("isKit", data.Shortname); //if (iskit is bool && (bool)iskit) return "You can't sell kits"; object success = TakeItem(player, data, amount); if (success is string) return success; Puts("Player: {0} Selled Item: {1} x{2}", player.displayName, data.Shortname, amount); return true; }
-
After the update my shop is completely empty.
-
?????????
How do I deactivate this option? -
Ok. It works now. Thank you.
-
is it the config file i edit for this plugin or the actual plugin because im not seeing what people have put above in my config
I attached it if anyone can take a look
Im after /shop working not npcAttached Files:
-
-
cheers works thanks a lot
-
-
I can not figure out how to work this plugin. I got it working for 1 item and 1 NPC but i added another with the same text format as the other but it didnt work so then i restarted and now i cant get it to work... heres my config
"Shop - Balance": true,
"Shop - Shop Categories": {
"Wood": {
"buy": "5",
"img": "",
"item": "wood",
"cooldown": "0",
"sell": "2"
},
"Bolt Action Rifle": {
"buy": "500000",
"img": "https://vignette.wikia.nocookie.net...le_icon.png/revision/latest?cb=20160211200415",
"item": "bolt action rifle",
"cooldown": "120",
"sell": "250000"
}
},
"Shop - Shop Icon Url": "",
"Shop - Shop List": {
"745124808": {
"buy": [
"wood",
"bolt action revolver"
],
"description": "Stuff",
"name": "Shop",
"sell": [
"wood",
"bolt action revolver"
]
}
}
}
} -
-
I have a different version of guishop the one with the different categories added how do i fix it with the update ?