Stormwall

by sh4dow

Build floor tiles that create a force field wall above them when supplied with energy.

Content
2 months ago
1.1
934
Combat

b incompatibility with warptorio

3 months ago
(updated 3 months ago)

this was supposed to be an non-recoverable error but its issue with compatibility. the version is 1.4.12 i also did forget to set the tag to bugs.

when playing this mod whit warptorio if a biter attacks the stormwall that is on the platform it causes a non-recoverable error
i know this becouse if biter attacks it on normal land it dosn't crash

it could be something whit other mods but idk

Error while running event Stormwall::on_entity_damaged (ID 103)
Stormwall/control.lua:686: attempt to index field '?' (a nil value)
stack traceback:
Stormwall/control.lua:686: in function <Stormwall/control.lua:680>

3 months ago

Does warptorio even transport tiles? If not, Stormwalls can't be used on the platform in any case (without the tiles, the walls are supposed to die anyway).

3 months ago
(updated 3 months ago)

okay so warptorio dosn't transport tiles also if you warp the wall dont die and when i did try to place the tiles under them it crashed
welp i guess my plan of having sromwalls as my walls isn't going to work

3 months ago

Preventing that crash shouldn't be difficult, but without the tiles, the "correct" behavior of walls would be to slowly die anyway.

Making warptorio teleport the tiles as well doesn't seem easy, especially since the remote interfaces from their FAQ don't seem to exist anymore. In theory, I could probably try packing all the logic into the "on_entity_cloned" event, and use that to also fix up the data structures, but that seems like a lot of work for something that will probably only be relevant for a few weeks until Factorio 2.0 hits.

If warptorio gets updated for Space Age, I'll consider adding that compatibility.

Until then, would you prefer me to fix the crash without making tiles teleportable (walls would just die shortly after teleporting), or to mark warptorio as incompatible?

3 months ago
(updated 3 months ago)

okay im saying this early that im not fluen at english so there will be misspeled words. yes it would be good if you made it incompatible, i dont think that making it not teleport tiles would fix anything it is more like if a biter attack stormwall while on tiles from warptorio it crashes

also 1. it crashes when you try to change any title while using editor extension, using the titles tab
2. i did get randomly the same crash as the first one the biter attack and i can't recreate it
3. the teleporting the titles wont work bc it leaves a void after the warp on that planet. and i think that could crash the game bc the walls would be on the void but i dont know anything about that. just a theory

this is the error log from the changing the titles using editor\

Error while running event Stormwall::on_player_built_tile (ID 47)
Stormwall/control.lua:442: attempt to index field 'item' (a nil value)
stack traceback:
Stormwall/control.lua:442: in function <Stormwall/control.lua:441>

New response