[1.0.0] Crash when attempting to move after tweaking spider_engine.legs table

This subforum contains all the issues which we already resolved.
User avatar
kirazy
Filter Inserter
Filter Inserter
Posts: 426
Joined: Tue Mar 06, 2018 12:18 am
Contact:

[1.0.0] Crash when attempting to move after tweaking spider_engine.legs table

Post by kirazy »

Probably related to this: viewtopic.php?f=7&t=88035

I'm in the process of adding code to allow players to change the number of visible legs by changing the number of legs that are part of the spider_engine definition, rather than just hiding individual legs.

However, loading my design space and then attempting to move crashes the game. The configuration in question should be the default spider_engine setup, but reconstructed.

I've attached the mod, save, and the log.

Reproduction steps:
- Sync mod settings with save
- Load the save
- Attempt to move
- You should hard crash immediately

Edit: This is due to blocking_legs = {0}, which is my mistake for not finishing my table before I started testing, lel. Confirmed by finishing the table...

Edit 2: On further testing, when blocking_legs is set to values that aren't within the range of the legs table, crashing occurs. There's also crashing related to changing the number of legs and then loading a save with spidertrons already in the world.
Attachments
factorio-current.log
(10.22 KiB) Downloaded 61 times
0 - Arachnophobia Design Space.zip
(4.39 MiB) Downloaded 59 times
arachnophobia_1.0.3.zip
(132.99 KiB) Downloaded 61 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14359
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.0.0] Crash when attempting to move after tweaking spider_engine.legs table

Post by Rseding91 »

Thanks for the report. This and the other report are both fixed for some future release. I noticed both of these issues yesterday while working on some other spider related things and fixed both of them.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”