[0.17.23] Tooltip causes crash to desktop.

We are aware of them, but do not have solutions that don't cause other issues. They go here in order not to take space in the main bug thread list.
User avatar
Earendel
Factorio Staff
Factorio Staff
Posts: 720
Joined: Sun Nov 23, 2014 11:57 am
Contact:

[0.17.23] Tooltip causes crash to desktop.

Post by Earendel »

Attached is a mod showing the problem. You can fire the rocket without a problem, but if you mouse-over the rocket ammo it crashes.
It's probably a recursion problem. Adding show_in_tooltip = false doesn't seem to fix it.
Attachments
zzz-bug_0.1.1.zip
(591.44 KiB) Downloaded 62 times
User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: [0.17.23] Tooltip causes crash to desktop.

Post by TruePikachu »

Please upload a log as well.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15894
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.23] Tooltip causes crash to desktop.

Post by Rseding91 »

Thanks for the report. The problem is you've defined a recursive trigger effect: projectile A creates smoke B which creates projectile A and it repeats forever if specific conditions aren't met.

I could add in some non-trivial logic in an attempt to detect a trigger effect like this and error at startup but that doesn't make the scenario you're trying to do work.

For now, I'm going to just say: don't make recursive triggers. If it continues to be a problem in the future I'll enforce it doesn't happen.
If you want to get ahold of me I'm almost always on Discord.
User avatar
Earendel
Factorio Staff
Factorio Staff
Posts: 720
Joined: Sun Nov 23, 2014 11:57 am
Contact:

Re: [0.17.23] Tooltip causes crash to desktop.

Post by Earendel »

That's unfortunate, the recursion is intentional and the weapon functions as desired apart from the crash.

Would it be possible to just make the show_in_tooltip=false setting terminate the tooltip recursion so that it does not crash?
Rseding91
Factorio Staff
Factorio Staff
Posts: 15894
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.23] Tooltip causes crash to desktop.

Post by Rseding91 »

I'll look into why that part isn't working (the show in tooltip).
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Minor issues”