Jump to content

Listof errors after installing latest version

Closed 2.3.8

Rebel25
  • in Shop
Rebel25

Posted (edited)

Hi, I removed the shop from my server (old version)

Removed the .cs file, removed the .json file and the data folder. Wanted to start clean.

Downloaded the ZIP file extracted it and uploaded the 2 files in the ZIP file.

Shop.cs

ShopConverter.cs

 

I did the install of the shop with the chat command as described in the description.. install screen .. all fine

WhenI open the shop in-game, it's completely empty.

 

Whenever I click on a "category" I get this in console: 

 

Loaded plugin Shop v2.3.8 by Mevent
[Image Library] Starting order Shop
Image batch (Shop) has been stored successfully
Failed to call hook 'CmdShopOpen' on plugin 'Shop v2.3.8' (InvalidCastException: Null object cannot be converted to a value type.)
  at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00019] in <f98723dd4586469db5213ec59da723ca>:0 
  at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00007] in <f98723dd4586469db5213ec59da723ca>:0 
  at Oxide.Core.Plugins.Plugin.Call[T] (System.String hook, System.Object[] args) [0x00008] in <d59b507fd76240e5b62228d0eae39b73>:0 
  at Oxide.Plugins.Shop.CanAccesToItem (BasePlayer player, Oxide.Plugins.Shop+ShopItem item) [0x00034] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop.ItemUI (BasePlayer player, Oxide.Plugins.Shop+ShopItem shopItem, Oxide.Game.Rust.Cui.CuiElementContainer container) [0x00170] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop+<>c__DisplayClass137_0.<ShopContentUI>b__2 (System.Int32 index) [0x00018] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop.ShowGridUI (Oxide.Game.Rust.Cui.CuiElementContainer container, System.Int32 startIndex, System.Int32 count, System.Int32 itemsOnString, System.Single marginX, System.Single marginY, System.Single itemWidth, System.Single itemHeight, System.Single offsetX, System.Single offsetY, System.Single aMinX, System.Single aMaxX, System.Single aMinY, System.Single aMaxY, System.String backgroundColor, System.String parent, System.Func`2[T,TResult] panelName, System.Func`2[T,TResult] destroyName, System.Action`1[T] callback) [0x000e0] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop.ShopContentUI (BasePlayer player, Oxide.Game.Rust.Cui.CuiElementContainer container) [0x00220] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop.ShowShopUI (BasePlayer player, System.Boolean first, System.Boolean categories, System.Boolean showGUI) [0x00124] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop.CmdShopOpen (Oxide.Core.Libraries.Covalence.IPlayer cov, System.String command, System.String[] args) [0x00184] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x02378] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <d59b507fd76240e5b62228d0eae39b73>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d59b507fd76240e5b62228d0eae39b73>:0 
Failed to call hook 'CmdShopOpen' on plugin 'Shop v2.3.8' (InvalidCastException: Null object cannot be converted to a value type.)
  at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00019] in <f98723dd4586469db5213ec59da723ca>:0 
  at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00007] in <f98723dd4586469db5213ec59da723ca>:0 
  at Oxide.Core.Plugins.Plugin.Call[T] (System.String hook, System.Object[] args) [0x00008] in <d59b507fd76240e5b62228d0eae39b73>:0 
  at Oxide.Plugins.Shop.CanAccesToItem (BasePlayer player, Oxide.Plugins.Shop+ShopItem item) [0x00034] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop.ItemUI (BasePlayer player, Oxide.Plugins.Shop+ShopItem shopItem, Oxide.Game.Rust.Cui.CuiElementContainer container) [0x00170] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop+<>c__DisplayClass137_0.<ShopContentUI>b__2 (System.Int32 index) [0x00018] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop.ShowGridUI (Oxide.Game.Rust.Cui.CuiElementContainer container, System.Int32 startIndex, System.Int32 count, System.Int32 itemsOnString, System.Single marginX, System.Single marginY, System.Single itemWidth, System.Single itemHeight, System.Single offsetX, System.Single offsetY, System.Single aMinX, System.Single aMaxX, System.Single aMinY, System.Single aMaxY, System.String backgroundColor, System.String parent, System.Func`2[T,TResult] panelName, System.Func`2[T,TResult] destroyName, System.Action`1[T] callback) [0x000e0] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop.ShopContentUI (BasePlayer player, Oxide.Game.Rust.Cui.CuiElementContainer container) [0x00220] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop.ShowShopUI (BasePlayer player, System.Boolean first, System.Boolean categories, System.Boolean showGUI) [0x00124] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop.CmdShopOpen (Oxide.Core.Libraries.Covalence.IPlayer cov, System.String command, System.String[] args) [0x00184] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x02378] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <d59b507fd76240e5b62228d0eae39b73>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d59b507fd76240e5b62228d0eae39b73>:0 
Failed to call hook 'CmdShopOpen' on plugin 'Shop v2.3.8' (InvalidCastException: Null object cannot be converted to a value type.)
  at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00019] in <f98723dd4586469db5213ec59da723ca>:0 
  at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00007] in <f98723dd4586469db5213ec59da723ca>:0 
  at Oxide.Core.Plugins.Plugin.Call[T] (System.String hook, System.Object[] args) [0x00008] in <d59b507fd76240e5b62228d0eae39b73>:0 
  at Oxide.Plugins.Shop.CanAccesToItem (BasePlayer player, Oxide.Plugins.Shop+ShopItem item) [0x00034] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop.ItemUI (BasePlayer player, Oxide.Plugins.Shop+ShopItem shopItem, Oxide.Game.Rust.Cui.CuiElementContainer container) [0x00170] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop+<>c__DisplayClass137_0.<ShopContentUI>b__2 (System.Int32 index) [0x00018] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop.ShowGridUI (Oxide.Game.Rust.Cui.CuiElementContainer container, System.Int32 startIndex, System.Int32 count, System.Int32 itemsOnString, System.Single marginX, System.Single marginY, System.Single itemWidth, System.Single itemHeight, System.Single offsetX, System.Single offsetY, System.Single aMinX, System.Single aMaxX, System.Single aMinY, System.Single aMaxY, System.String backgroundColor, System.String parent, System.Func`2[T,TResult] panelName, System.Func`2[T,TResult] destroyName, System.Action`1[T] callback) [0x000e0] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop.ShopContentUI (BasePlayer player, Oxide.Game.Rust.Cui.CuiElementContainer container) [0x00220] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop.ShowShopUI (BasePlayer player, System.Boolean first, System.Boolean categories, System.Boolean showGUI) [0x00124] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop.CmdShopOpen (Oxide.Core.Libraries.Covalence.IPlayer cov, System.String command, System.String[] args) [0x00184] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.Shop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x02378] in <9796100c24a6471b911d3d3cea4e0267>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <d59b507fd76240e5b62228d0eae39b73>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d59b507fd76240e5b62228d0eae39b73>:0 

 

Edited by Rebel25
Rebel25

Posted

New update didn't fix it .... All items are in the default shop file .. that's not the problem ... but in-game, shop is empty , can't select a category in the Shop, if I click on a category, I get a load of errors in console.

 

Screenshot_120.png

Screenshot_121.png

Rebel25

Posted (edited)

Sorry, my bad.. I asked for help in discord .. Turns out that I needed to update the PlayerDLC-api .. is solved now. you may close the ticket.

 

Edited by Rebel25
  • Love 1
  • Curator
Mevent

Posted

Changed Status from Pending to Closed

1.9m

Downloads

Total number of downloads.

8.9k

Customers

Total customers served.

131.2k

Files Sold

Total number of files sold.

2.7m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.