Jump to content

error in console

Closed 2.4.3 2.5.2



Failed to call hook 'CanStackItem' on plugin 'StackModifier v2.4.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.StackModifier.CanStackItem (Item item, Item targetItem) [0x0023f] in <66d4d6f8145a46908a6a0f62eb0b0202>:0 
  at Oxide.Plugins.StackModifier.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00384] in <66d4d6f8145a46908a6a0f62eb0b0202>: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 
Failed to call hook 'CanStackItem' on plugin 'StackModifier v2.4.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.StackModifier.CanStackItem (Item item, Item targetItem) [0x0023f] in <66d4d6f8145a46908a6a0f62eb0b0202>:0 
  at Oxide.Plugins.StackModifier.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00384] in <66d4d6f8145a46908a6a0f62eb0b0202>: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 

 

That's the spewage in the console.   Not sure what's going on.  But it wastn' happening before the most recent update.

Share this comment


Link to comment

Got a complaint that "something is ejecting ammo out of guns when stacking."  I assume that's related to this error.

 

  • Like 1

Share this comment


Link to comment

Is there a specific item that triggers this error? 

Try unloading All other plugins and just reload stack modifier and see if the error goes away if so then its a 3rd party plugin causing it, and you will need to track down which one & let me know.

 

I am unable to replicate this error so i will need you to track down what game item is causing that error for you on your sever. 

Most likely cause would be a 3rd party plugin creating some kind of custom item and then a player trying to stack it.

 

For a faster response you can message me on discord @ khan8615
duplicate threads > https://codefling.com/files/support/13347-console-spam/

Share this comment


Link to comment

I'll try to figure it out.  It's very much a "specific item" because the error isn't repeating (continuously), but it pops up at specific times.  I"ll see if my staff can help me triangulate what item is doing it.  Thank you for responding so quickly, I appreciate it.

  • Love 1

Share this comment


Link to comment

"

Got a complaint that "something is ejecting ammo out of guns when stacking."  I assume that's related to this error.

"
@Tage2thank you i will check this out real quick.

Finally someone with some kind of intel other then lets guess 1000 items until i find it..

Edited by Khan

Share this comment


Link to comment

I'm always try to get folks as much data as i can, honestly I most often feel like I'm not giving enough iinformation to be helpful.  If that complaint from a pl;ayer  helps, that's fantastic.  🙂

Share this comment


Link to comment

Do you have any plugins that modify weapons? or ammo or weapon attachments? 

Share this comment


Link to comment

What storage is he trying to move that gun into? 

Is that a 3rd party plugin storage bag on the icon on the right that is white with TIM on it?

 

Share this comment


Link to comment

that's actually thet regular backpack, we have a backpack plugin that alters its size

 

Share this comment


Link to comment

Do you have a link for where the plugin can be found? 

It seems to be specific to 3rd party plugin bug. So i need to know which plugin that is

Share this comment


Link to comment

staff member confirms, it doesn't have the problem using stacks in the regular inventory.   It only happens in backpack.

Share this comment


Link to comment

I just tried it with 6 backpack slots on a default config gen using the ui button and i do not get that error. 

Could you discord me your config file you setup for me to test?

Or like can you re-test that with vanilla F1 spawned items and see if the canstack error still happens? 

It could also be a specific container size causing it ?? But idk what container size you have set on the video.

 

image.png.358b42b1415ae822a27e1bf61310f382.png

Edited by Khan

Share this comment


Link to comment

I've had to leave my house, so i'm not at my computer.  I've left notes for my fellow owner to try this with  default bag sizes for the owners.  That way, it doesn't affect the players, but it will affect him.  It should hoefully be a sufficient test to see if it's bag size related.  If not, we can run it with "generic" bag size for everyone for a short time.  Btu I'll have to warn everyone if we do that, because our players are used to their bag sizes and the stuff in them would get dropped.

 

  • Like 1

Share this comment


Link to comment

That is not a bug tho..

that is intended, this is done to prevent ammo duplication on weapons.

 

Also that doesn't cause the stack error you showed me.

Edited by Khan

Share this comment


Link to comment

1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.7k

Files Sold

Total number of files sold.

1.6m

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.