[0.12.x][Rseding91] Recipe change causes crash

This subforum contains all the issues which we already resolved.
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

[0.12.x][Rseding91] Recipe change causes crash

Post by bobingabout »

https://forums.factorio.com/forum/vie ... =60#p99688

This isn't the first report I've had of this issue. I don't have a savegame to post myself.

but the short end of it is... The recipe has completely changed (Different components, different output), from the old version of my mod, to the new version of my mod, and if you open an assembler with said recipe, the game crashs.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14264
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.12.x] Recipe change causes crash

Post by Rseding91 »

Can you make an example save and mod to reproduce the crash?
If you want to get ahold of me I'm almost always on Discord.
User avatar
SHiRKiT
Filter Inserter
Filter Inserter
Posts: 706
Joined: Mon Jul 14, 2014 11:52 pm
Contact:

Re: [0.12.x] Recipe change causes crash

Post by SHiRKiT »

I can try to explain how I got the crash, but this need testing to confirm:

- Install bobs electronic override (that's obsolete) and bob's metals and assembly
- Place a level 2 assembler (blue one) on the ground and select to produce the basic wooden circuit board (the one made from 3 wires and a wooden board)
- Save and exit the game
- Remove bob's electronic override and install bobs electronics
- Run the game and click the assembler

Needs testing, this is me speculating on prolly happened.
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: [0.12.x] Recipe change causes crash

Post by bobingabout »

SHiRKiT wrote:I can try to explain how I got the crash, but this need testing to confirm:

- Install bobs electronic override (that's obsolete) and bob's metals and assembly
- Place a level 2 assembler (blue one) on the ground and select to produce the basic wooden circuit board (the one made from 3 wires and a wooden board)
- Save and exit the game
- Remove bob's electronic override and install bobs electronics
- Run the game and click the assembler

Needs testing, this is me speculating on prolly happened.
That does sound about right.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
jorgenRe
Filter Inserter
Filter Inserter
Posts: 535
Joined: Wed Apr 09, 2014 3:32 pm
Contact:

Re: [0.12.x][Rseding91] Recipe change causes crash

Post by jorgenRe »

Bob, have you included some way for it to check if you had that bobs electronic mod from earlier?
Because i think thats what you got to do(for a temporary fix). Since for me it sounds like the assemblers doesnt get to know that the recipe had changed and so it crashes because it cant find the items.

Basically i think its a matter of adding in an if statement for if it doesnt find what it needs to craft anymore in the game(if the needed items exist). Then reset the recipe(because you will most likely remove the assemblers after so it doesnt matter if it resets them)
Logo
Noticed the told change in FFF #111 so il continue to use my signature ^_^
Thanks for listening to our suggestions, devs :D!
I would jump of joy if we could specify which tiles spawned in a surfaces
User avatar
SHiRKiT
Filter Inserter
Filter Inserter
Posts: 706
Joined: Mon Jul 14, 2014 11:52 pm
Contact:

Re: [0.12.x][Rseding91] Recipe change causes crash

Post by SHiRKiT »

Just want to point out that the game insta crashes without a proper handling whatsoever, it just terminates like having an unhandled exception that explodes softwares.
jorgenRe
Filter Inserter
Filter Inserter
Posts: 535
Joined: Wed Apr 09, 2014 3:32 pm
Contact:

Re: [0.12.x][Rseding91] Recipe change causes crash

Post by jorgenRe »

SHiRKiT wrote:Just want to point out that the game insta crashes without a proper handling whatsoever, it just terminates like having an unhandled exception that explodes softwares.
Do you have the crash report found in the factorio folder just before the mods folder:
\AppData\Roaming\Factorio\mods
because the crash report may solve this issue once and for all(or atleast point to the bad thing ;)!)
Logo
Noticed the told change in FFF #111 so il continue to use my signature ^_^
Thanks for listening to our suggestions, devs :D!
I would jump of joy if we could specify which tiles spawned in a surfaces
Rseding91
Factorio Staff
Factorio Staff
Posts: 14264
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.12.x][Rseding91] Recipe change causes crash

Post by Rseding91 »

I tried every combination of recipe manipulation between save/load that I could think of and I wasn't able to get it to crash.

Can you please create a save + mod set that reproduces the crash and upload it here?
If you want to get ahold of me I'm almost always on Discord.
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: [0.12.x][Rseding91] Recipe change causes crash

Post by bobingabout »

Sorry for the delay, I had to actually start a new game to do this, so I was putting it off.

Save: https://www.dropbox.com/s/adi39f68rfgwj ... e.zip?dl=0
Mods: https://www.dropbox.com/s/6g9uzx5tbih2b ... s.rar?dl=0

to cause the crash simply open the assembly machine you're standing next to.

This is the developement set of mods, but the release version should give same results.

If you want to load the game as it was before, replace the electronics mod with this one: http://bobingabout.gamemod.net/Factorio ... 0.12.0.zip
log
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14264
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.12.x][Rseding91] Recipe change causes crash

Post by Rseding91 »

Thanks for the report. This is now solved for 0.12.5.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”