MercurialPony / Subterranean-Wilderness

The source code for Subterranean Wilderness, a spiritual successor to WTF's CaveBiomes that aims to spice up the old vanilla caves you got bored of years ago and bring you the cave update you always wanted.
3 stars 5 forks source link

Game Crash when hitting F3 on server. #37

Open Diversion98 opened 3 years ago

Diversion98 commented 3 years ago

Hi,

When hitting F3 in a singleplayer world, it works just fine. But when hitting F3 on a server (identical mods), the client crashes to desktop (only the client) because of index out of bounds.

In the crash log, it only mentions your mod, can't see anything else.

No config changes. If I delete ArmorPlus the crash doesn't happen. If I delete Electrodynamics the crash also doesn't happen.

Forge version: 36.1.16 Subterranean-Wilderness version: 1.2.1 ArmorPlus Version: 16.4.0 Electrodynamics Version: 0.3.1-12 GeckoLib Version: 3.0.33 TheDragonLib Version: 1.1.0

Thanks in advance!

Crash log Client: crash-2021-05-07_19.21.56-client.txt

Log Client: latest.log

Log Server: latest.log

Debug Log Server: debug.log

PaintNinja commented 3 years ago

Interesting... It looks like Melonslise accidentally registered the client events on both sides, causing client-only code to attempt to run server-side and crashing as a result.

I'll look into fixing this when I have time. Thanks for the report!

PaintNinja commented 3 years ago

After further investigation, my original assumption was wrong and it's working as intended.

I tried reproducing the bug by starting up a client and server that both have the following mods listed in your crash report but it all seems to be working:

I have not tested with your full mod list as it would take ages to scout out the right downloads for every one and even then I don't know if you're using the default configs or you've changed them etc...

If you could provide a minimal list of mods that can be used to reproduce the issue (the specific combination that causes this, rather than just everything you've got) then I'll look into this again and get it fixed for you. :)

I'm going to close this but if you figure out what combination of mods is causing this you can still leave a comment here after it's closed and I'll re-open and look into it.

Diversion98 commented 3 years ago

I updated my original post, found the mods who makes the F3 crash on a server. All versions are noted No config changes old crashlog deleted and inserted the new one. :) inserted all the log files

PaintNinja commented 3 years ago

Thanks for taking the time to figure out what combination of mods cause the issue. I'll look into it next chance I get :)

Diversion98 commented 3 years ago

no problem, if you need me to do something, ill be glad to help :)