Jump to content

error in console

Closed 2.4.3 2.5.2

Tage2


Tage2

Posted

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.

Tage2

Posted

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

 

  • Like 1
Khan

Posted

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/

Tage2

Posted

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
Khan

Posted (edited)

"

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
Tage2

Posted

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.  🙂

Khan

Posted

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

Tage2

Posted

lemme look at my plugins real quick and remind myself, be right back

  • Like 1
Tage2

Posted

"Better Attachments", "Firearm Modifier".  Seems to be the only ones

Tage2

Posted

looks like better attachments has had no updates ever, in 6 years.  

Khan

Posted

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?

 

Tage2

Posted

we have /bank plugin for vip/staff.  

Tage2

Posted

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

 

Khan

Posted

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

Tage2

Posted

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

Khan

Posted (edited)

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
Khan

Posted

I updated my previous response.

Did you try the trouble shooting steps? 

image.png.1b6125d7e51b67c416c654e753b85a48.png

Tage2

Posted

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
Khan

Posted (edited)

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

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.