[0.12.10] [kovarex] Crash on sticker creation.

This subforum contains all the issues which we already resolved.
User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

[0.12.10] [kovarex] Crash on sticker creation.

Post by Adil »

I've tried attaching sticker to a single entity and game crashed.
Sticker in question is just renamed copy of vanilla one:
Sticker
Capsule used differs in that the target is entity:
Capsule
Crash happened both when capsule was used on locomotive entity and when used on biter (of the player force though).
Crashlog_locomotive
Crashlog_unit
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.12.10] [kovarex] Crash on sticker creation.

Post by kovarex »

Ok, now (the next version 0.12.11) it correctly shows a message:

Code: Select all

Can't create sticker, target not specified.
The sticker can't be used this way, it can be only used on entity targets.
User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

Re: [0.12.10] [kovarex] Crash on sticker creation.

Post by Adil »

Wait a minute, didn't I use it on entity target?
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15922
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.12.10] [kovarex] Crash on sticker creation.

Post by Rseding91 »

Adil wrote:Wait a minute, didn't I use it on entity target?
No, the trigger "create-entity" does not attach to a target/source when created - it simply creates the entity at a given position.
If you want to get ahold of me I'm almost always on Discord.
User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

Re: [0.12.10] [kovarex] Crash on sticker creation.

Post by Adil »

Whoops, I've got no idea how did that sneak in.
"create-sticker" doesn't trigger the "trigger_created_entity" event does it?
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
Post Reply

Return to “Resolved Problems and Bugs”