[0.11.1][kovarex] Using mods in sandbox results in ctd

This subforum contains all the issues which we already resolved.
drs9999
Filter Inserter
Filter Inserter
Posts: 831
Joined: Wed Mar 06, 2013 11:16 pm
Contact:

[0.11.1][kovarex] Using mods in sandbox results in ctd

Post by drs9999 »

I received a bug-report that my mod won't work in sandbox mode, I found that the game crashes if the onBuiltEntity-event is raised.
So I did some more tests and ended up with zero code for the event that I use => but it still crashes.

EDIT: I believe it crashes because the event-data expects a character and not a controller, obviously in sandbox there is not character
User avatar
pyrolytic_tungsten
Fast Inserter
Fast Inserter
Posts: 115
Joined: Fri Aug 01, 2014 4:29 am
Contact:

Re: [0.11.1]Using mods in sandbox results in ctd

Post by pyrolytic_tungsten »

Sounds like more than 1 event is bugged in the sandbox. See this post I made.
drs9999
Filter Inserter
Filter Inserter
Posts: 831
Joined: Wed Mar 06, 2013 11:16 pm
Contact:

Re: [0.11.1]Using mods in sandbox results in ctd

Post by drs9999 »

Ah yes that is true.

If I didnt't miss anything following events are affected:
- OnPlayerPickedUpItem
- OnPlayerPreMinedItem
- OnPlayerMinedItem
- OnPlayerBuiltEntity
- OnPlayerRotatedEntity
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.11.1][kovarex] Using mods in sandbox results in ctd

Post by kovarex »

Thanks for notice.

The fix is actually quite simple, but I decided to include the event testing into our automated integration tests, so it took longer, but let's hope it will help to prevent such problems in the future.
Post Reply

Return to “Resolved Problems and Bugs”