Sophisticated Backpacks

Sophisticated Backpacks

97M Downloads

Server Crashes when im in the nether with the sophisticated backpack and it just freezes my server or even crashes it

simon99c opened this issue · 9 comments

commented

Describe the bug
A clear and concise description of what the bug is.
Crash log if it's a crash.
Info on what other mods you're using that may cause a conflict here if applicable.
crash-2023-06-06_20.45.11-server.txt
other mods i got is carry on , useless swords, automobility, simpleplanes, elevatorid, create stuff and additions

crash-2023-06-06_20.45.11-server.txt

this is what it says on the crash report

Please go to Discussions to add new feature requests / suggestions or comment on existing ones.

To Reproduce
Steps to reproduce the behavior:

  1. Open backpack
  2. Click on '....' tab
  3. Do something
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Versions
Mod version that you're using. Version of forge may also be helpful in some cases
mod verison 1.19.2 TNP Limitless mod
crash-2023-06-06_20.45.11-server.txt

commented

I am pretty sure that sophisticated backpacks isn't the cause here as it does its stuff on thread. But there's apparently a mod that helps with detection which one is the actual cause here - https://www.curseforge.com/minecraft/mc-mods/uwrad-forge . Can you try adding that and see what it will report?

commented

And actually I take it back, looks like this is caused by a change in the latest forge for 1.19.2 (which I don't have in my dev environment yet) which just highlighted that I am using incorrect level and not the one that the even passes in. So I am going to fix this and release a new version.

commented
commented
commented

Looks like some mod is changing how spawning of entities in structures works which is causing this issue (definitely just forge doesn't have the call to doSpecialSpawn which is present in the log above and in turn calls SB logic where it then breaks because incorrect level / random was passed into the event). To prevent the crash you can just empty entityLootTableList in sb server config which will arguably cause all mobs to be excluded from being able to spawn with backpacks whether they spawned naturally or as part of a structure but that seems to be the only way to fix this without the other mod (which I am not sure which it is) fixing their code for adding entities in structures.

I will see if I can find out a bit more about this, but very likely going to just close as SB logic is correctly using the random from level that was passed to the event and it's responsibility of whoever triggers that event to make sure that random is the correct one for other mods that implement the event to use.

commented
commented

I have actually already fix and uploaded new release to curseforge but because of the malware issue that they are dealing with approvals of all uploads are paused. Hopefully will approve later today or tomorrow

commented

the release has just been approved so just update to latest backpacks version to fix

commented

okay thanks alot