GUI Shop

GUI Shop based on Economics. Supports NPC

Total Downloads: 11,482 - First Release: Aug 29, 2015 - Last Update: May 3, 2018

5/5, 38 likes
  1. Plugin istnt woking at my Server:

    [Oxide] 6:10 PM [Error] Failed to call hook 'cmdShop' on plugin 'GUIShop v1.1.2' (InvalidCastException: Cannot cast from source type to destination type.)
    [Oxide] 6:10 PM [Debug] at Oxide.Plugins.GUIShop.ShowShop (.BasePlayer player, System.String shopid, Int32 from, Boolean fullRefresh) [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 (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
     
  2. how i can Sell A Pakej item . For exp : How Can Sell 2k Stone on this shop ?
     
  3. Hi

    i have a problem with this plugins...

    My Human NPC : http://puu.sh/mAJPR/ea654fe753.jpg

    When i save a config (GUIShop.json), this files is reset after reboot...

    I have :
    - economic v2.0.3.
    - human NPC v0.1.22

    Who can helmp me please ? :x
     

    Attached Files:

  4. Bump?
    Having problems with this as well

    using server.writecfg before rebooting or reloading the plugin seems to fix that problem, but the NPC I applied a shop to still doesn't work.
     
    Last edited by a moderator: Jan 19, 2016
  5. I'm not alone :D
     
  6. Just got it working with
    lucaro2708 edited version on page 18
     
  7. Again :/

    Stape 1 : I install GUIShop.cs
    Stape 2 : reboot server
    Stape 3 : GUIShop.json is creaed on "config" ("GUIShop.json")
    Stape 4 : i edit this files with my config ("-> GUIShop2.json")
    Stape 5 : reboot server

    And when i edit "GUIShop.json", i have the config default... not MY config

    ____________________________________________________________

    edit : it's good... i had forgotten ","...

    ____________________________________________________________
     

    Attached Files:

    Last edited by a moderator: Jan 19, 2016
  8. Failed to call hook 'cmdShop' on plugin 'GUIShop v1.1.2' everytime I put in the shop command
     
  9. Read the earlier posts for fixed version
     
  10. Any way to set a npc fpr only sell or only buy items? i want build a city, one shop buy/sell items and other shop wit only buy or only sell items
     
  11. I got kits working for buying 1 kit, but just found the 10/100/1000 options do not work for kits.
    It will charge the money part fine, but not deliver 10x worth of goods.

    E.g, Kit w 1k ea 5.56 ammo buys fine 1 at a time, purchase 10/100/1000 and it still delivers 1 kit to inventory.

    Is there a way to fix this on my end??

    I need the 10/100/1000 options, which work fine for buying selling non-kit items
     
  12. the edit wont work for me.
     
  13. Code:
    [Oxide] 11:18 PM [Error] Failed to call hook 'OnUseNPC' on plugin 'GUIShop v1.1.2' (InvalidCastException: Cannot cast from source type to destination type.)
    [Oxide] 11:18 PM [Debug]   at Oxide.Plugins.GUIShop.ShowShop (.BasePlayer player, System.String shopid, Int32 from, Boolean fullRefresh) [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 (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    [Oxide] 11:18 PM [Info] [Notifier v2.18.0] Players Online: 1 / 50 Sleepers: 5

    im getting there error everytime i hit "E" on the NPC it is set on.
     
  14. Check your config.. i think u forgott a "," or ":"
     
  15. Nogrod, can you fix GUIShop please?
     
  16. What isn't working I have no issues with the plugin currently.
     
  17. Ah, sorry, probably problem caused by Wine, is it working now. (after restarts)
     
  18. Does any one have a config with all items in for /shop
    So i just can the move the ones i don't want and edit prices for the rest since it looks like being quite a few hours if i have to add them all my self
     
  19. Is there a way to use locally-stored images for the "img" field in the shop? When I have "img": "D:\rustserver\server\images\5.56_Rifle_Ammo_icon.png", in my config file then reload GUIShop plugin, the console outputs: [Error] GUIShop v1.1.3: Failed to load config file (is the config file corrupt?) (Bad JSON escape sequence: \s. Path '['Shop - Shop Categories'].['5.56 Ammo'].img', line 21, position 31.)

    My json file DOES pass the json validator though...