This is a bug, you can buy without money when you buy in shops

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
-
how can you buy without money?
-
is there any way to ad a skin id to items? The kits plugin has it wasnt sure if you could add it in to the GUIShop
-
hey this is a great mod just have 2 questions
1) can u have fraction prices (example $.1 for stone)
2) cand u have free prices (example $0 for wood) -
[DOUBLEPOST=1444881928][/DOUBLEPOST]
[DOUBLEPOST=1444881995][/DOUBLEPOST]I have been to a Korean translator do not know English -
most likely it's that you didnt config it well. there are no reasons for it to bug.
1) no you can't, but you can just x10 all the prices
2) it should work yes. -
ok thanks
-
started using this plugin with my HumanNPCs in Rust Town (check us out at #1 US Texas) anyway great work Reneb! some questions...
1. Does anyone have a master list of all shop items so I can just cut/past from? with images, ids, etc.
2. Fractions would be great. on a server with 5x gather selling wood at 1 for 1 is not good.
3. if you have large prices like $1,000,000 for a supply signal the formatting seems off (spacing?)
thanks! -
Is it possible to build a building with a npc where you can acces the shop only? I want my players to go to the shop to buy and not by command.
-
Why I have set everything up correctly, when people try to sell them the recipe says you can not sell the prescription?
[DOUBLEPOST=1445017648][/DOUBLEPOST] -
-
Code:
static Dictionary<string, object> DefaultShops() { var shops = new Dictionary<string, object> { }; var buy = new List<object> { }; var sell = new List<object> { }; var ItemsDefinition = ItemManager.itemList; string name = "chat"; foreach (var itemdef in ItemsDefinition) { buy.Add(itemdef.displayName.english.ToString()); sell.Add(itemdef.displayName.english.ToString()); } var shop = new Dictionary<string, object> { {"description", "You currently have {0} coins to spend."}, {"name", name}, {"buy", buy}, {"sell", sell} }; shops.Add(name, shop); return shops; } public static Dictionary<string, object> DefaultShopCategories() { var dsc = new Dictionary<string, object> { }; var ItemsDefinition = ItemManager.itemList; foreach (var itemdef in ItemsDefinition) { var category = new Dictionary<string, object> { { "item", itemdef.shortname}, {"buy", "10"}, {"sell", "8"}, {"img", "http://pokit.org/get/img/2758d4cb778bfcfa9e215a0a3531dd38.jpg"} }; dsc.Add(itemdef.displayName.english.ToString(), category); } return dsc; }
-
I've added this and the economics plugin, When I sell an item it doesn't give any coins.
Is there something else you need to do to link them together? -
How to fix thet?? Thet show when im write /shop in game!
Code:[Oxide] 1:57 PM [Error] Failed to call hook 'cmdShop' on plugin 'GUIShop v1.0.8' (OverflowException: Value is greater than Int32.MaxValue or less than Int32.MinValue) [Oxide] 1:57 PM [Debug] at System.Convert.ToInt32 (Double value) [0x00000] in <filename unknown>:0 at System.Double.System.IConvertible.ToInt32 (IFormatProvider provider) [0x00000] in <filename unknown>:0 at System.Convert.ToInt32 (System.Object value, IFormatProvider provider) [0x00000] in <filename unknown>:0 at System.Convert.ToInt32 (System.Object value) [0x00000] in <filename unknown>:0 at Oxide.Plugins.GUIShop.ShowShop (.BasePlayer player, System.String shopid, Double from, Boolean fullRefresh) [0x00000] in <filename unknown>:0
Last edited by a moderator: Oct 19, 2015 -
By default the "/shop" command will have every item in it.
Norn's Item List - Pastebin.com -
If you guys can locate me to a voice recorded tutorial or really good one (not the one on the front page) or guide me on skype or something so i can make a good tutorial that would be greatly appreciated and i have a problem when i sell stuff it doesnt give me any coins? but ppls respond to this great plugin
-
Ok everyone I made a GUI SHOP WORKSHEET It has nearly all items in the game the only ones i didnt add are the ones that I thought would be rediculus to sell or buy like spoiled meat and brunt meat and such.. All you have to do is place your buy values in the green columns and change your sell percentage and it will give you the price to sell items for.. Hope this helps some people!
Use the config that Norn posted here Norn's Item List then change the buy and sell values to the one that my worksheet outputs!Attached Files:
-
-
Shop won't show up for me?
-
Now when i NPC got this:
[Error] Failed to call hook 'OnUseNPC' on plugin 'GUIShop v1.1.0' (KeyNotFoundException: The given key was not present in the dictionary.)
what i'm wrong? (back to a version)