[0.13.6][posila] Mod Crashing Factorio

This subforum contains all the issues which we already resolved.
User avatar
jason03272002
Burner Inserter
Burner Inserter
Posts: 14
Joined: Wed Dec 30, 2015 4:22 pm
Contact:

[0.13.6][posila] Mod Crashing Factorio

Post by jason03272002 »

I was told to place this in here by another user, as my problem shouldn't be crashing Factorio the way it is.

I created a mod that is supposed to make a mine that makes a flaming puddle upon detonation, and the research, crafting recipe and everything works fine, except when it is triggered. When an enemy steps on the mine, the game freezes for 30 or so seconds (although windows said it was still responding) after which I get a message saying I broke the game and the details are in the log. It starts fine, and looks like it has no problems other than that. My PC specs are:
-Windows 7 Home Premium, Service Pack 1
-64 bit architecture
-Intel i5 processor
-Intel HD Graphics 2000 graphics driver
-No graphics card, integrated
The log file and the mod are attached below.
NOTE: I previously added the WRONG LOG FILE, please re-download it!
Attachments
factorio-current.log
The log file
(6.81 KiB) Downloaded 173 times
Fire_Mine_0.1.1.zip
The mod itself
(382.98 KiB) Downloaded 172 times
posila
Factorio Staff
Factorio Staff
Posts: 5408
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.13.6][posila] Mod Crashing Factorio

Post by posila »

Hi, thanks for the report. I'll fix the crash, but the mod won't work anyway.
Entity of type "flame-thrower-explosion" cannot be created using "create-entity" trigger effect item. You have to use "create-explosion". You should use "create-explosion" also for creating "explosion" entity.
User avatar
jason03272002
Burner Inserter
Burner Inserter
Posts: 14
Joined: Wed Dec 30, 2015 4:22 pm
Contact:

Re: [0.13.6][posila] Mod Crashing Factorio

Post by jason03272002 »

Thanks a lot! I appreciate the fix, and the help with my mod. Still a beginner :P
posila
Factorio Staff
Factorio Staff
Posts: 5408
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.13.6][posila] Mod Crashing Factorio

Post by posila »

Fixed for 0.13.14.
I considered making check when loading the mods, but that would add too much of complexity to solve such a small problem. So instead you'll get a runtime error instead of crash.
User avatar
jason03272002
Burner Inserter
Burner Inserter
Posts: 14
Joined: Wed Dec 30, 2015 4:22 pm
Contact:

Re: [0.13.6][posila] Mod Crashing Factorio

Post by jason03272002 »

Thanks! :D
Post Reply

Return to “Resolved Problems and Bugs”