Jump to content

Custom Item Stacking Issue

Closed 1.0.22 1.0.23

HellHunter
HellHunter

Posted

Hi admin, I had investigated and found the cause to console error spam.

Issue:
Stacking of custom items cause the item stack to glitch.
10 X item when split with middle mouse to the right, the original pile of 10 will be reduced to 1 instead of 5 and the new stack on the right will be 5.
This also causing an error in console.

Please refer to attached pics.

Error:

Calling hook OnItemSplit resulted in a conflict between the following plugins: Loottable - Item.sticksx2.8351727 (Item), ChickenEgg (Item.sticksx2.8351728 (Item))
 

image.png

image.png

image.png

The_Kiiiing

Posted

This looks like an issue between chicken egg and this plugin. I will ask the developer of chicken egg to support this plugin.

  • Like 1
The_Kiiiing

Posted

Changed Status from Pending to Work in Progress

The_Kiiiing

Posted

Regarding your second issue, please insert the following line after line 1247

CPrint($"prefab name: {prefabName} {itemid}");

Then the code should look like this:

image.png.30e20e0c19b1fb6ea5cb693ff77af1fd.png

The next time you encounter an error in OnDispenserGather the line before the error contains the prefab name and the item id that caused the error. Please post it here so I can fix the issue

  • Like 1
HellHunter

Posted

Updated the line 1247 as instructed will monitor and see if issues still occur thank you.

HellHunter

Posted (edited)

-Deleted-

Edited by HellHunter
The_Kiiiing

Posted

Thank you for the error message. For some reason when gahtering from a chicken, you receive a painted egg. This is not included in the gahter multipliers thus causing the error. The error in the second screenshot is not related to this.

I will fix this issue with next weeks update

  • Like 1
The_Kiiiing

Posted

Changed Status from Work in Progress to Closed

Changed Fixed In to 1.0.23

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

103.5k

Files Sold

Total number of files sold.

2.1m

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.