In 0.37.10-expa and 0.37.10, Firing Solution does not completely function. Even if I tried on and off Firing Solution, I could not gain information of target units. In 0.37.10, Firing Solution seems to function correctly.
Ok, I figured out what's going on and it's fixed in [r10787].
The bug was introduced when I fixed [#4068]. Since that fix, it's possible that the client will know about enemy units that aren't seen, and so it shouldn't draw them. You also shouldn't draw firing solutions for these undetected units. However, if double blind is turned off, the visibility information is never set.
So, the bug was that Entity.isVisibleToEntity was always returning false when double blind was off and hence the firing solutions weren't being computed and drawn.
I fixed this by changing Entity.isVisibleToEntity and Entity.isDetectedByEnemy to both always return true if double blind isn't on.
Did you look in the logfile, are there any error messages there? I don't have any issues when I try to reproduce the issue.
I'm also confused by your report. You first say it's not working in 37.10, then say it is working in 37.10. Is there a typo in one of the versions?
Sorry, my last sentence is a typo. In 0.37.9, Firing Solution seems to function correctly.
By the way, I've checked the logfile of 0.37.10-exp.
I found some missing errors:
Maybe, the second error is relevant to this bug?
Also I attached the megameklog.
Last edit: Ryo 2014-04-12
Could you create a saved game during the firing phase where you're not seeing the firing solution overlays and attach it?
I created a saved game. In this situation, I could not see the firing solution.
Thanks.
Ok, I figured out what's going on and it's fixed in [r10787].
The bug was introduced when I fixed [#4068]. Since that fix, it's possible that the client will know about enemy units that aren't seen, and so it shouldn't draw them. You also shouldn't draw firing solutions for these undetected units. However, if double blind is turned off, the visibility information is never set.
So, the bug was that Entity.isVisibleToEntity was always returning false when double blind was off and hence the firing solutions weren't being computed and drawn.
I fixed this by changing Entity.isVisibleToEntity and Entity.isDetectedByEnemy to both always return true if double blind isn't on.
Related
Bugs:
#4068Commit: [r10787]