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.
[0.17.23] Tooltip causes crash to desktop.
[0.17.23] Tooltip causes crash to desktop.
- Attachments
-
- zzz-bug_0.1.1.zip
- (591.44 KiB) Downloaded 63 times
- TruePikachu
- Filter Inserter
- Posts: 978
- Joined: Sat Apr 09, 2016 8:39 pm
- Contact:
Re: [0.17.23] Tooltip causes crash to desktop.
Please upload a log as well.
Re: [0.17.23] Tooltip causes crash to desktop.
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.
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.
Re: [0.17.23] Tooltip causes crash to desktop.
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?
Would it be possible to just make the show_in_tooltip=false setting terminate the tooltip recursion so that it does not crash?
Re: [0.17.23] Tooltip causes crash to desktop.
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.