I added all the new instruments to the shop but for some reason, I have not been able to get the Plumber's Trumpet to work and I get the error in the RCon tool:
Failed to call hook 'ccmdShopBuy' on plugin 'GUIShop v1.5.9' (FormatException: Input string was not in a correct format.) at System.Number.StringToNumber (System.String str, System.Globalization.NumberStyles options, System.Number+NumberBuffer& number, System.Globalization.NumberFormatInfo info, System.Boolean parseDecimal) [0x00057] in :0 at System.Number.ParseInt32 (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00013] in :0 at System.Int32.Parse (System.String s, System.IFormatProvider provider) [0x00008] in :0 at System.Convert.ToInt32 (System.String value) [0x0000b] in :0 at Oxide.Plugins.GUIShop.ccmdShopBuy (ConsoleSystem+Arg arg) [0x000d1] in :0 at Oxide.Plugins.GUIShop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00cd0] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
This is how I have it in the config file:
Can anyone tell me what I am doing wrong?
Failed to call hook 'ccmdShopBuy' on plugin 'GUIShop v1.5.9' (FormatException: Input string was not in a correct format.) at System.Number.StringToNumber (System.String str, System.Globalization.NumberStyles options, System.Number+NumberBuffer& number, System.Globalization.NumberFormatInfo info, System.Boolean parseDecimal) [0x00057] in :0 at System.Number.ParseInt32 (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00013] in :0 at System.Int32.Parse (System.String s, System.IFormatProvider provider) [0x00008] in :0 at System.Convert.ToInt32 (System.String value) [0x0000b] in :0 at Oxide.Plugins.GUIShop.ccmdShopBuy (ConsoleSystem+Arg arg) [0x000d1] in :0 at Oxide.Plugins.GUIShop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00cd0] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
This is how I have it in the config file:
"Plumber's Trumpet": {
"buy": "200",
"img": "https://rustlabs.com/img/items180/fun.trumpet.png",
"item": "plumber's trumpet",
"sell": "1"
},Can anyone tell me what I am doing wrong?