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
  1. 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
     
  2. 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
    I can only guess that @Wulf is inundated with broken plugins at the moment. Hugs Wulf.
     
  3. 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
  4. 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
     
  5. Some other plugins giving the same error but they still work. But this one dont work at all.
    Nothing shows up after typing /shop
     

    Attached Files:

  6. +1 we have the sam problem...
     
  7. pretty sure its not the gui shop
    its the plugin Economics which is giving u the error
     
  8. Wulf

    Wulf Community Admin

    Economics is not the issue, it's the hook calling in Oxide.
     
  9. 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
    [DOUBLEPOST=1512742468][/DOUBLEPOST]
    it has a solution ?
     
  10. 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
     
  11. Wulf

    Wulf Community Admin

    There is no issue with Economics, so whatever you "fixed" was not a fix. The issue is with Oxide not calling the correct hook.
     
  12. Will you have a solution please?
     
  13. Wulf

    Wulf Community Admin

    Wulf updated GUI Shop with a new update entry:

    1.4.5

     
  14. @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 ? :)
     
  15. Wulf

    Wulf Community Admin

    Compare your version to this version using Notepad++ or similar tool.
     
  16. I am in the process of doing that. Not an expert by any means though LOL
    [DOUBLEPOST=1512765672][/DOUBLEPOST]
    Works now. :)
     
    Last edited by a moderator: Dec 8, 2017
  17. how can you create the categories? eg. Weapons, food etc. without NPCs. an example would be nice
     
  18. How to translate other languages?
    [DOUBLEPOST=1513091910][/DOUBLEPOST]item name
    How to translate other languages?
     
  19. try this as example:

    "AK47 Assault Rifle": { <------ this rename in your language
    "item": "rifle.ak",
    "buy": "19990",
    "sell": "500",
    "img": "http://imgur.com/qlgloXW.png"
    },
     
  20. No, it can't be shown after modification