I was working on some TURD scripts for pY when this error ocurred. This error is completely reproduceable on my machine.
Mods were all pYmods from the repos (master branch, not yet on portal), the fork of AlienLife where I was working, FMTK Debug Adapter, Enable all Feature Flags, flib, and Recipe Book. Full log file, save data, and AlienLife build attached below.
I was able to cause the error by loading the attached save, clicking on the pY codex, opening the TURD tab and Compost upgrade dropdown, then selecting the second option (Sweet Tooth). The game stuttered for a moment then errored.
Screenshot of last section of log file, for brevity:
[2.0.60] Unexpected error whilst modding pY
-
- Filter Inserter
- Posts: 289
- Joined: Fri Sep 09, 2022 4:33 pm
- Contact:
[2.0.60] Unexpected error whilst modding pY
- Attachments
-
- factorio-current.log
- (1.16 MiB) Downloaded 25 times
-
- pyae2.0.zip
- save file
- (8.33 MiB) Downloaded 22 times
-
- pyalienlife_3.0.48.zip
- this is NOT the one listed on the mod page or repository, you must use this one
- (1.28 MiB) Downloaded 22 times
If you need to reach me, message me on discord.
I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
Re: [2.0.60] Unexpected error whilst modding pY
Thanks for the report however this is a “don’t do that” scenario. You are creating an entity in the entity created event and having it fire the created entity event again. This results in an infinite loop and eventually stack overflows and crashes.
The only answer is: don’t do that.
The only answer is: don’t do that.
If you want to get ahold of me I'm almost always on Discord.
-
- Filter Inserter
- Posts: 289
- Joined: Fri Sep 09, 2022 4:33 pm
- Contact:
Re: [2.0.60] Unexpected error whilst modding pY
Thanks for the reply, wasn't quite sure what was causing it but that explanation makes sense.
If you need to reach me, message me on discord.
I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.