ColoniaLibre Posted June 5, 2020 Posted June 5, 2020 Dear dev team, I want to report an issue, that could caused by a problem by sending the OnKilled event message from a crashed/unflyable AI aircraft. That happened a several times while playing an offline duel against the AI, but every time that happend I didn't record the duel, except today. I started a simple offline duel against the AI, level of difficulty is ace, at the map Rhineland/Bodenplatte in spring 1945 with three enemy waves. The AI and me starting in flight at 4000 meters. I do not use any modifications or somethime else. At time 05:02 enemy one crashes into the ground. Aircraft is unflyable, but the pilot is alive. A message is shown, that enemy one was killed and enemy two appears at 4000 meters. Enemy one is still visible at the ground. So here was the OnKilled event message sent the first time for enemy one. Everything is fine. ? At time 06:03 another enemy killed message is shown, but enemy two is still alive and in best condition. Enemy one was removed from the map at the same time and enemy three appears at 4000 meters. So I have to care about two enemies at the same time. ? I guess, that the OnKilled event message is sent twice for enemy one in this rare situation, if the aircraft is "grounded" and the pilot is still alive when the aircraft getting removed. This issue I noticed in some own created custom missions too, but than I thought I made a mistake in the editor which triggers the issue. But it is also possible, that the game engine send the OnKilled event message twice in this rare situations. I attached the recordings in a ZIP file at this thread/Google Drive, that it is easier for you to trace the issue. https://drive.google.com/file/d/1Ad6mLAWdVXTz_BCeq9Jkq8WtQXZ2uIc6/view?usp=sharing Best regards and stay healthy
No_85_Gramps Posted June 5, 2020 Posted June 5, 2020 Planes, ships, vehicles will often send multiple on-killed events. In one mission I was working on, I had 4 ships, each tied with an on-killed event to a counter set to 4. One time the counter made it to 4 with only 2 ships actually destroyed. The work-around was to use a counter, set to 1, for each ship, that way only one on-killed event would be counted. The 4 single counters were then tied to a counter set at 4.
ColoniaLibre Posted June 7, 2020 Author Posted June 7, 2020 Hi. I am already using this work around in my own created custom missions. This time the problem occurred while using the quick mission builder and not with a custom mission. I think this issue should not occur when using the quick mission builder. This time it looks like the OnKilled event message is being sent while the object is being deleted from the map. However, I do not understand why objects/vehicles/aircraft should send the OnKilled event message multiple times. If an object sends this message, it means that the object can not act or react any more. If it is necessary to send this message multiple times, than it is fine. ?
1CGS -DED-Rapidus Posted June 15, 2020 1CGS Posted June 15, 2020 @ColoniaLibre, thank you for the hint, the problem was reproduced. 2
ColoniaLibre Posted June 15, 2020 Author Posted June 15, 2020 @-DED-Rapidus Thank you for your reply. I'm glad I could help. You're welcome! ?
Imperator_TFD Posted July 30, 2020 Posted July 30, 2020 (edited) Has this issue of onkilled firing more than once been rectified? @-DED-Rapidus I'm finding that I have a counter set to only activate after 2 planes have been shot down but as soon as 1 is shot down the counter activates. Edited July 30, 2020 by Imperator_TFD
No_85_Gramps Posted July 30, 2020 Posted July 30, 2020 It was reported fixed in the last update. I have not tested it myself though.
ColoniaLibre Posted July 30, 2020 Author Posted July 30, 2020 Yes, I tested it. I couldn't find the issue any longer in a quick mission. They did a good job. 1
1CGS -DED-Rapidus Posted July 30, 2020 1CGS Posted July 30, 2020 Thank you guys for the detailed reports, Yes the problem is fixed. 1 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now