Page 1 of 1

[Klonan] [0.17.63] Calling silo-script.on_event throws error

Posted: Wed Aug 07, 2019 9:03 pm
by Hornwitser
The changes to silo-script broke on_event in it. Which is used by the Hotpatch mod (mostly because the embedded freeplay code is outdated in it).

The script_events were moved to silo_script.events, but silo_script.on_event still references script_events See
https://github.com/wube/factorio-data/c ... 7f5e0eR316

Re: [Klonan] [0.17.63] Calling silo-script.on_event throws error

Posted: Thu Aug 08, 2019 9:38 am
by Klonan
Thanks for the report,

We don't use that function in the base game now, so I didn't see it

I would suggest to move away from using it in your script, and use the generic event handler I added for these libs

But nevertheless, I have fixed it for the next release