I was going to post this under the factorissimo mod but I don't think the reason it's crashing is because of the mod. I saw another bug post with this same error that was fixed and it seems to originate from Chunk.cpp. I was getting this crash 1-2 times every day and I finally figured out how to reliably reproduce it. I think it has to do with having to move the character onto a surface that is very far from the last time you were on that surface.
In my example save file, I moved 2 factory buildings close together that were placed a long time apart so there's a big gap between them on the other surface to show this example a little easier. The crash will happen a lot easier than this, but I can get it to crash every time from a fresh load doing this: load up the save file, run into the large building in front of you, then while inside the factory hit M to open the map, zoom out as far as you can, then move the screen up with W until you get to the first factory floors.There won't be any more factories above them, and it takes about 15 seconds of scrolling. Then zoom in on the first factory floor in the top left corner, and "teleport" to it (I have kuxynator's personal teleport mod installed and assigned mouse 4 to "teleport to position directly" to make it easier), then walk out of that factory (which is to the left of the first one) and go back into the first building and it will crash.
The crash part of one of the logs says this:
1849.521 Error Chunk.cpp:583: Trying to make chunk at unreasonable position [275, 34548]
Here are the logs (I included 2 different logs from 2 different crashes):
The save file was too big to attach normally so I uploaded to google drive:
https://drive.google.com/file/d/1zcV4rZ ... sp=sharing
[2.0.55] Crash moving between surfaces "Trying to make chunk at unreasonable position"
[2.0.55] Crash moving between surfaces "Trying to make chunk at unreasonable position"
- Attachments
-
- factorio-current.log
- Log from first crash
- (231.14 KiB) Downloaded 17 times
Re: [2.0.55] Crash moving between surfaces "Trying to make chunk at unreasonable position"
Thanks for the report. You have a single construction robot that is *way* to the south. Likely what is happening:
1. Every time you teleport inside the Factorioismo buildings you're moving yourself "up" a huge distance while the robot doesn't move at all.
2. Then you leave the Factorioismo building and it maintains the relative distance between you and the construction robot when moving across surfaces.
Then you repeat 1 & 2 over and over adding more distance between you and the robot. Eventually it has pushed it so far away from you that teleporting from the other surface back moves it outside of the valid map bounds.
The fault here is the teleporter mod not also teleporting your personal robots relative to where it has moved you.
You can delete the 1 robot that's off in oblivion land using:
1. Every time you teleport inside the Factorioismo buildings you're moving yourself "up" a huge distance while the robot doesn't move at all.
2. Then you leave the Factorioismo building and it maintains the relative distance between you and the construction robot when moving across surfaces.
Then you repeat 1 & 2 over and over adding more distance between you and the robot. Eventually it has pushed it so far away from you that teleporting from the other surface back moves it outside of the valid map bounds.
The fault here is the teleporter mod not also teleporting your personal robots relative to where it has moved you.
You can delete the 1 robot that's off in oblivion land using:
Code: Select all
/c for k,v in pairs(game.player.character.get_logistic_point(1).logistic_network.robots) do v.destroy() end
If you want to get ahold of me I'm almost always on Discord.
Re: [2.0.55] Crash moving between surfaces "Trying to make chunk at unreasonable position"
Wow, thanks, that seems like such a random occurrence and I doubt it happens to many people but I'll let the kuxynator creator know about it so hopefully it doesn't happen to anyone else.
Re: [2.0.55] Crash moving between surfaces "Trying to make chunk at unreasonable position"
Kux-PersonalTeleport 3.1.14
choose you behavior, see settings
1) Factorio behavior
Factorio teleports the bots relative when the surface of the character changes.
2) Always teleport bots
The mod always teleports the bots relative to the player position. This may sometimes look odd if bots are busy and fly away from the player.
3) No teleport if bots active
Teleportation of the player is prevented while bots are active.
choose you behavior, see settings
1) Factorio behavior
Factorio teleports the bots relative when the surface of the character changes.
2) Always teleport bots
The mod always teleports the bots relative to the player position. This may sometimes look odd if bots are busy and fly away from the player.
3) No teleport if bots active
Teleportation of the player is prevented while bots are active.