Page 1 of 1

[0.12.10] [kovarex] Crash on sticker creation.

Posted: Sun Oct 04, 2015 9:53 am
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

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

Posted: Mon Oct 05, 2015 10:35 am
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.

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

Posted: Mon Oct 05, 2015 4:12 pm
by Adil
Wait a minute, didn't I use it on entity target?

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

Posted: Mon Oct 05, 2015 5:39 pm
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.

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

Posted: Mon Oct 05, 2015 5:56 pm
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?