It's in the oxide/data folder and it's HurtStoreStock not HurtStockStore
HurtStore
A simplified store with dynamic prices
Total Downloads: 2,031 - First Release: Jan 15, 2016 - Last Update: May 12, 2018
- 5/5, 17 likes
-
Anyways, every time I type /shop Resources and /shop Weapons literally nothing happens, and when I do Goat Parts and Roach Parts it says the basic "Items for sale:" text but still no list. When creating a category (if the list is too long) it just doesn't show altogether, just like weapons and resources.
I did what Menace8623 said, edited the .cs file and deleted the .json file, but it did not change anything. -
As for goat parts and roach parts... there is a little bit of backend file editing you need to do to one of the primary server client files to get those to work. I never bothered to learn how to do it because I never thought those things should be able to be bought.
Your best bet is to clear the shop completely by typing /shopclear in chat and populate it yourself using the commands shown on the HurtStore description. Also keep in mind that if you do edit what's in the stock from the hurtstorestock file, you must type /reload HurtStore in game chat or restart server for those changes to take effect. This goes for ANY oxide mod. No changes will show up until you use the "/reload modname" command or restart the server. The mod name part is case sensitive and is usually always exactly whatever the CS file for that mod says, minus the ending extension. -
-
-
[DOUBLEPOST=1461876415][/DOUBLEPOST] -
Code:
[Oxide] 14:59 [Error] Failed to call hook 'ChatCmd_Shop' on plugin 'HurtStore v1.3.2' (NullReferenceException: Object reference not set to an instance of an object) (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37) [Oxide] 14:59 [Debug] at Oxide.Plugins.HurtStore.GetItemName (Int32 itemId) [0x00000] in <filename unknown>:0 at Oxide.Plugins.HurtStore.ChatCmd_Shop (.PlayerSession player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.HurtStore.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
-
hey i just want to tell you shop resources does not work for some reason
-
-
-
-
[DOUBLEPOST=1463182115,1463165287][/DOUBLEPOST]Hope you fix it soon couple players been asking about it lol -
is this getting updated at all?
-
Can you add an option to buy a "remove infamy" ticket, it could be called "pardon".
And you can sell this with times.
Example, if a player type in chat:
/buy pardon 5 - removes 5 minutes of infamy.
/buy pardon 10 - removes 10 minutes of infamy.
/buy pardon 15 - removes 15 minutes of infammy.
/buy pardon 100 - removes all infamy (most expensive). -
I am getting this error "
[Oxide] 22:08 [Info] No previous version to rollback plugin: HurtStore" -
Code:
18:40 [Error] Failed to initialize plugin 'HurtStore v1.3.2' (NullReferenceException: Object reference not set to an instance of an object) 18:40 [Debug] at Oxide.Plugins.HurtStore.Init () [0x00000] in <filename unknown>:0 at Oxide.Plugins.HurtStore.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.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
Last edited by a moderator: May 23, 2016 -
This plugin after the update doesn't work,pls help ?
-
The problem is in EconomyBanks plugin. It has compile error and it doesn't load, that's why HurtStore also don't load.
To fix the NullReferenceException:
1) Open EconomyBanks plugin with a editor.
1) Search on the plugin code (usually CTRL+F on a editor): covalence.Players.GetPlayer(richest.Key).Nickname
2) Replace .Nickname for .Name
3) Save.
This should fix both EconomyBanks and HurtStore. -
Wulf Community Admin
-