A fork of Factorissimo 2 focused on improving performance by implementing several 1.1 features. Can improve performance by 10X or higher. Also fixes several bugs from the original version.
spidertron engineer dies on entry or exit to most factories most of the time i haven't been able to figure out the condition for living but nested factories seem to live more often so i think it has tot do with the transition between layers but im guessing. i dont know how to make a log for not a crash so if you have ideas let me know
I presume (without looking into it) that this is probably a fault in Spidertron Engineer. It is very strict about the player’s interaction with the spidertron so I wouldn’t be surprised if teleporting the spidertron makes it mess up somehow.
maybe but it didnt with the previous factresmo but i also could not walk in as a spidertron so im trying to look at how this one does it before i toss it back to spidertron engineer to try to recover from
Previous Factorissimo didn’t teleport the spider, you had to get out before entering the factories. The new behaviour of teleporting is presumably what’s causing the problem.
Ok I had a look at it and I see that the spidertrons are moved into the factorio buildings by LuaEntity.clone() so it isn't surprising that Spidertron Engineer stops working. This approach will also cause some (minor) problems with Spidertron Weapon Switcher and Spidertron Enhancements. For the compatibility to work it should use LuaEntity.teleport() or expose a remote interface like https://github.com/tburrows13/SpidertronWeaponSwitcher#mod-compatibility so that I can transfer data to be associated with the new spidertron entity.
Just to be clear, the spidertron is teleported with LuaEntity.teleport() already, except for the case when the spider changed surface. LuaEntity.teleport() does not support cross surface for spiders.
Fixed in 1.1.12
No remote interface necessary, I found that I could just teleport the spidertron twice in the same tick and I don't need to call LuaEntity.remove()
For anyone wondering, this workaround was needed because spidertron cross-surface teleporting was bugged. It’s now been fixed for 1.1.65: https://forums.factorio.com/103067.