Jump to content

Error

Pending 1.0.10

Муреныч

Posted

Failed to call hook 'OpenStorage' on plugin 'InstancedContainers v1.0.10' (OverflowException: Value was either too large or too small for a UInt32.)

at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in <e3aa8db986d7457ca73f10110f1283f5>:0

at System.Number.ParseUInt32 (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) [0x00018] in <e3aa8db986d7457ca73f10110f1283f5>:0

at System.UInt32.Parse (System.String s, System.IFormatProvider provider) [0x00017] in <e3aa8db986d7457ca73f10110f1283f5>:0

at System.Convert.ToUInt32 (System.String value) [0x0000b] in <e3aa8db986d7457ca73f10110f1283f5>:0

at Oxide.Plugins.InstancedContainers.OpenStorage (ConsoleSystem+Arg arg) [0x000b5] in <1dd1694e31a540908b786e8b7debe901>:0

at Oxide.Plugins.InstancedContainers.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00c93] in <1dd1694e31a540908b786e8b7debe901>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d6c86c8d80194fdcb3c8f9ef51229cb4>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cd7231f30b444d86bc6cca8a53cdd2ea>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cd7231f30b444d86bc6cca8a53cdd2ea>:0

imthenewguy

Posted

Check the item amounts in the data file and see if any of them are in the negatives.

  • Like 1
Муреныч

Posted

in general, I deleted everything related to the plugin, reinstalled it and tried to improve 1 mailbox, and immediately the error was the same and the mailbox did not improve.

Муреныч

Posted

Can hosting or other plugins block any hooks from the plugin? Although everything worked fine before that.

PPlank

Posted

Same problem. Also, no new data files are being created when I place down a new chest. I can create additional instances but they aren't accessible when I click them and only the main "M" chest is available.

I also see the following in the console when trying to use InstancedContainers:-

30/04 08:37:47 | Failed to call hook 'OpenStorage' on plugin 'InstancedContainers v1.0.10' (OverflowException: Value was either too large or too small for a UInt32.)
at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in <694551e795764b938030a3128fac2b36>:0
at System.Number.ParseUInt32 (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) [0x00018] in <694551e795764b938030a3128fac2b36>:0
at System.UInt32.Parse (System.String s, System.IFormatProvider provider) [0x00017] in <694551e795764b938030a3128fac2b36>:0
at System.Convert.ToUInt32 (System.String value) [0x0000b] in <694551e795764b938030a3128fac2b36>:0
at Oxide.Plugins.InstancedContainers.OpenStorage (ConsoleSystem+Arg arg) [0x000b5] in <2c20e1c8eaf549ec9945e948da175642>:0
at Oxide.Plugins.InstancedContainers.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00c93] in <2c20e1c8eaf549ec9945e948da175642>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <87ce9ac9776a48658bc55eae6debe38b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cd7231f30b444d86bc6cca8a53cdd2ea>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cd7231f30b444d86bc6cca8a53cdd2ea>:0

 

imthenewguy

Posted

Can't see the issue based on the error. Would need to give you a modified version of the plugin to debug it.

PPlank

Posted (edited)

It's still a problem. I'm not quite sure how this has happened though as it wasn't working at all.:-

Stefan93 — Today at 14:08
On clan server the extra storage that you can add to each box disappeared. Half my loot was in it 

I'm going to remove it.

EDIT: So before I remove it, I thought I'd move the plugin to another folder, then rename the /data/ folder and the config, then move the plugin back again as a "just-in-case".

Failed to call hook 'AddStorage' on plugin 'InstancedContainers v1.0.10' (OverflowException: Value was either too large or too small for a UInt32.)
at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in <b11ba2a8fbf24f219f7cc98532a11304>:0
at System.Number.ParseUInt32 (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) [0x00018] in <b11ba2a8fbf24f219f7cc98532a11304>:0
at System.UInt32.Parse (System.String s, System.IFormatProvider provider) [0x00017] in <b11ba2a8fbf24f219f7cc98532a11304>:0
at System.Convert.ToUInt32 (System.String value) [0x0000b] in <b11ba2a8fbf24f219f7cc98532a11304>:0
at Oxide.Plugins.InstancedContainers.AddStorage (ConsoleSystem+Arg arg) [0x000b0] in <8f3fd1e846df459eac838562e30f84f3>:0
at Oxide.Plugins.InstancedContainers.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01053] in <8f3fd1e846df459eac838562e30f84f3>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0

As you can see, it's still not working. 😐

Edited by PPlank
Additional info.
imthenewguy

Posted

Message me on discord and I will throw you a copy to test.

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.