All the Mods 9 - ATM9

All the Mods 9 - ATM9

9M Downloads

[Crash]: The structural compass caused the server to crash

KNaiFen opened this issue ยท 2 comments

commented

Possible Fixes

Yes

Modpack Version

0.2.54

What happened?

In the server, some people use the structure compass to cause crashes, but it's not 100%, sometimes it does and sometimes it doesn't.
But I just crashed three times in a row within half an hour, and looking at the logs maybe it's all due to this mod
According to my friend, the server he used to run on version 0.2.51 crashed because of this mod

Crash Log

https://gist.github.com/KNaiFen/403542b2ef5b6c019463fd746c56de75

Latest.Log

https://gist.github.com/KNaiFen/1b9345fba862ecc7bc39a8d0bb8d2395

commented

This can happen when searching for a structure that doesn't exist. Could I ask what structures you have been searching for that crash you?

commented

After this crash, I have encountered several similar incidents where the server crashed due to the Structure Compass searching for non-existent structures. The players inside my server have crashed a few times after searching for different structures. Unfortunately, even though I reminded them to remember the name of the structure before searching, they still didn't remember which structure they were searching for. Therefore, I can't provide the structure ID, but I can provide a clue:
According to a player's memory, he was using the Structure Compass to search for a Desert Temple because he needed to obtain Suspicious Sand, and then the server crashed.
Alright, there's another thing I need to inform you about:
According to this ISSUE from the author of the Structure Compass: Mrbysco/StructureCompass#16
He said: "A new version will be up shortly with a config option that makes structure locating asynchronous, please enable it and tell me if it fixes the problem"
And I observed that the ATM9's Structure Compass configuration file already has this option, but it is turned off by default.
I recommend that you can turn on this option to test whether the server will still crash.
Or you could consider changing the MOD.