when u type /shop:Code:Failed to call hook 'Balance' on plugin 'Economics v3.1.5' (InvalidCastException: Cannot cast from source type to destination type.) at Oxide.Plugins.Economics.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 Failed to call hook 'cmdShop' on plugin 'GUIShop v1.4.4' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.GUIShop.ShowShop (.BasePlayer player, System.String shopid, Int32 from, Boolean fullPaint, Boolean refreshMoney) [0x00000] in <filename unknown>:0 at Oxide.Plugins.GUIShop.cmdShop (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.GUIShop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0

GUI Shop
GUI Shop based on Economics. Supports NPC
Total Downloads: 11,478 - First Release: Aug 29, 2015 - Last Update: May 3, 2018
- 5/5, 38 likes
-
When you do /shop, nothing happens in game. My Economics is current version at 3.1.5, GUIShop current at 1.4.4, same error.
Code:Failed to call hook 'Balance' on plugin 'Economics v3.1.5' (InvalidCastException: Cannot cast from source type to destination type.) (23:21:53) | at Oxide.Plugins.Economics.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 (23:21:53) | Failed to call hook 'cmdShop' on plugin 'GUIShop v1.4.4' (NullReferenceException: Object reference not set to an instance of an object) (23:21:53) | at Oxide.Plugins.GUIShop.ShowShop (.BasePlayer player, System.String shopid, Int32 from, Boolean fullPaint, Boolean refreshMoney) [0x00000] in <filename unknown>:0 at Oxide.Plugins.GUIShop.cmdShop (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.GUIShop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
-
Code:
Failed to call hook 'cmdShop' on plugin 'GUIShop v1.4.4' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.GUIShop.ShowShop (.BasePlayer player, System.String shopid, Int32 from, Boolean fullPaint, Boolean refreshMoney) [0x00000] in <filename unknown>:0 at Oxide.Plugins.GUIShop.cmdShop (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.GUIShop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
Last edited by a moderator: Dec 8, 2017 -
Yes Same Problem
Code:Fehler beim Aufruf von 'cmdShop' im Plugin 'GUIShop v1.4.4' (NullReferenceException: Objektreferenz wurde nicht auf eine Instanz eines Objekts gesetzt) bei Oxide.Plugins.GUIShop.ShowShop (.BasePlayer player, System.String shopid, Int32 von, Boolean fullPaint, Boolean refreshMoney) [0x00000] in <Dateiname unbekannt>: 0 bei Oxide.Plugins.GUIShop.cmdShop (.BasePlayer player, System.String-Befehl, System.String [] args) [0x00000] in <Dateiname unbekannt>: 0 bei Oxide.Plugins.GUIShop.DirectCallHook (System.String-Name, System.Object & ret, System.Object [] args) [0x00000 ] in <Dateiname unbekannt>: 0 bei Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod-Methode, System.Object [] -Argumente) [0x00000] in <Dateiname unbekannt>: 0 bei Oxide.Core.Plugins. CSPlugin.OnCallHook (System.String-Name, System.Object [] args) [0x00000] in <Dateiname unbekannt>: 0 bei Oxide.Core.Plugins.Plugin.CallHook (System.String-Hook, System.Object [] args) [ 0x00000] in <Dateiname unbekannt>: 0
-
Some other plugins giving the same error but they still work. But this one dont work at all.
Nothing shows up after typing /shopAttached Files:
-
-
-
pretty sure its not the gui shop
its the plugin Economics which is giving u the error -
Wulf Community Admin
-
Code:
(15:12:19) | Failed to call hook 'Balance' on plugin 'Economics v3.1.5' (InvalidCastException: Cannot cast from source type to destination type.) (15:12:19) | at Oxide.Plugins.Economics.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 (15:12:19) | Failed to call hook 'OnUseNPC' on plugin 'GUIShop v1.4.4' (NullReferenceException: Object reference not set to an instance of an object) (15:12:19) | at Oxide.Plugins.GUIShop.ShowShop (.BasePlayer player, System.String shopid, Int32 from, Boolean fullPaint, Boolean refreshMoney) [0x00000] in <filename unknown>:0 at Oxide.Plugins.GUIShop.OnUseNPC (.BasePlayer npc, .BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.GUIShop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
-
mine is fixed now - i can use the shop once economics was fixed.
before that i was getting this error
Code:Failed to call hook 'cmdShop' on plugin 'GUIShop v1.4.4' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.GUIShop.ShowShop (.BasePlayer player, System.String shopid, Int32 from, Boolean fullPaint, Boolean refreshMoney) [0x00000] in <filename unknown>:0 at Oxide.Plugins.GUIShop.cmdShop (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.GUIShop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
-
Wulf Community Admin
-
-
Wulf Community Admin
-
@Wulf if I'm using a modded version of GUIShop, what is the hook fix needed to be replaced to get it to work without updating ?
-
Wulf Community Admin
-
[DOUBLEPOST=1512765672][/DOUBLEPOST]Last edited by a moderator: Dec 8, 2017 -
how can you create the categories? eg. Weapons, food etc. without NPCs. an example would be nice
-
How to translate other languages?
[DOUBLEPOST=1513091910][/DOUBLEPOST]item name
How to translate other languages? -
"AK47 Assault Rifle": { <------ this rename in your language
"item": "rifle.ak",
"buy": "19990",
"sell": "500",
"img": "http://imgur.com/qlgloXW.png"
}, -