EndlessIDs

EndlessIDs

49.7k Downloads

[Compatibility Request]: dmod

Closed this issue ยท 5 comments

commented

OS

Windows

GPU

NVIDIA

Modpack (Optional)

No response

Game log

fml-client-latest.log

Description

No response

commented

The minimum set of mod crashes has been found
image
fml-client-latest.log

commented

The issue here seems to be that EIDs does not extend the stat arrays (StatList.mineBlockStatArray, StatList.objectCraftStats, StatList.objectUseStats and StatList.objectBreakStats) properly, causing a crash when mods try to register usage stats for items with high IDs.

Edit: Actually the vanilla limit for objectUseStats is 32000, and the error here happens when accessing element 5293. So StatListMixin appears to be broken and reducing the length of this array (setting it to the max block id, when it should be the max item id).

I may change the stat registry in D-Mod to fail safely, because bundle usage statistics aren't worth crashing over.

The second crash seems unrelated, it's an OpenAL crash.

commented

Actually the vanilla limit for objectUseStats is 32000, and the error here happens when accessing element 5293. So StatListMixin appears to be broken and reducing the length of this array (setting it to the max block id, when it should be the max item id).

The decision of logically splitting item and block ID caps haunts me to this day.

Fix scheduled for the next release. A temporary workaround until then is setting general->countCorrectionBits in the config to 9 or less

commented

Should be fixed in alpha 8

commented

Yes, the game doesn't crash anymore, thank! :p