GUI Shop

GUI Shop based on Economics. Supports NPC

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

5/5, 38 likes
  1. Add multiple waypoints in the same spot. The NPC will wait there for the collective number of seconds if my memory serves me correctly.
     
  2. I just realised I worded the question wrong and have edited it.
    I meant to ask how do I get him to stop for a longer period of time when accessing the shop associated with him, as he starts walking again 2 seconds after accessing him, and you can no longer buy or sell a moment after that since he's out of range.

    Thank-you for answering my question so quickly though. :)

    EDIT: Is it possible to buy/sell blueprints for specific items through the shop system? If yes, how?
     
    Last edited by a moderator: Nov 4, 2015
  3. Hello.
    I have a problem with snow jacket in my shop.
    when I want to buy one the following message: You are not allowed to bye this item here
    I do not understand the problem.
    Thx for you help and sorry for my english :)
     
  4. Hey guys, first of all, the plugin is really nice if you want to build a little city or something like that on your Server. We've done that and uses your plugin in combination with the NPC plugin. It works nice, but am i allowed to do some cosmetic changes? Better said, i've already done it ;) Am i allowed to use that on my Server? Would be awesome. I can send you some screenshots tomorrow. (I have to sleep now ;p)

    ROFLer
     
  5. you can put kits on NPC so they look different ;)
     
  6. "The NPC owning this shop was not found around you", I get this error when I try to buy an item from the npc standing right next to me. Any advice?
     
  7. Yeah looks like the plugin is broken, I get that as well.
     
  8. iv got the same problem "The NPC owning this shop was not found around you"
     
  9. From the Human NPC Core page a fix that's worked for me.
     

    Attached Files:

  10. Is it currently possible to execute a command on sell for a cmd item? If not, could we get that feature in the next update? Also, stack amounts would make things much easier for me.
     
  11. Update please?
    [DOUBLEPOST=1447227182,1447217559][/DOUBLEPOST]Error:
    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
     
  12. I've made a few modifications to GUIShop locally to allow me to sell stacks of items using the "count" parameter in the store items config.

    The "buy" and "sell" parameters still refer to the cost for each individual item, so the amount the user pays is [BUY] * [COUNT] * [AMOUNT].

    For the following Cloth config, with a "buy" of 2, a "count" of 100, Cloth will show in the shop as Cloth [x100], and each time the user clicks to buy 1, they will get 100 cloth for 200 credits.
    Example:
    Code:
        "Cloth": {
          "buy": "2",
          "count": "100",
          "img": "http://vignette1.wikia.nocookie.net/play-rust/images/f/f7/Cloth_icon.png/revision/latest/scale-to-width-down/100?cb=20151106071629",
          "item": "cloth",
          "sell": "2"
        }
    By default "count" is not present in the JSON and defaults to 1.
     

    Attached Files:

  13. plz.. help.
    Why is this error

    [Warnig] [GUIShop] Economics plugin not found. GUIShopwill not function!
     
  14. Economics plugin not found
     
  15. yep and the last economics won't want to found our saved money lol
     
  16. I have a Economics plugin...

    help...
     

    Attached Files:

  17. Recently stopped working for me

    Code:
    bool CanFindNPC(Vector3 pos, string npcid)
            {
                return Physics.OverlapSphere(pos, 3f, playersMask).Select(col => col.GetComponentInParent<BasePlayer>()).Any(player => player != null && player.userID.ToString() == npcid);
            }
    
    This function seems to be the issue
     
  18. use the latest HumanNPC plugin from my post ;)
    GUIShop for Economics v2:
     

    Attached Files:

  19. Reneb updated GUI Shop with a new update entry:

    1.1.2

     
  20. "The NPC owning this shop was not found around you" :/