Page 1 of 1
disco-colors caused by "Ally Selected Units", stuck camera
Posted: 03 Dec 2015, 02:41
by 8611z
BA 9.21
1) At gamestart the camera was stuck pointing parallel to ground towards horizont.
Could not move camera with arrowkeys or mouse. Maybe the "remember camera" widget?
Next games were normal again.
Camera worked normal again after pressing ctrl+F2.
2) Flashing map:

- BA disco.gif (478.96 KiB) Viewed 1337 times
win 7, ATI. This was the first time this happend to me in BA, but think similiar problems are somewhat known but not so easy to pinpoint. (gl point size or so? i forgot)
Fixed by disabling widget "Ally Selected Units"
Re: disco-colors caused by "Ally Selected Units", stuck camera
Posted: 03 Dec 2015, 10:10
by Floris
2) I've experienced at my old ati laptop too. The endpoints of the lines that form the pentagon get dots. Somethimes this big, sometimes less big.
I suspect because the use of gl.Scale right before calling the displaylist that uses gl lines. It will polly be fixed when using quads instead of lines. But I like lines because they stay same width regardless of zoom level.
... or I could draw the pentagon big first, and then scale down... maybe that works too.
Re: disco-colors caused by "Ally Selected Units", stuck camera
Posted: 03 Dec 2015, 10:41
by Silentwings
gl.Pointsize isn't used there, although it is one the traditional ATI bugs.
@8611z: Since this is unsynced code, It might be worth putting a debug print here
http://imolarpg.dyndns.org/trac/balates ... s.lua#L259 to check that the scale gets set correctly.
Re: disco-colors caused by "Ally Selected Units", stuck camera
Posted: 03 Dec 2015, 10:42
by Floris
....just found out it also draws a POINT per line as instructed, so yeah that might be it.
edit: (just tested at laptop, seems to be fixed)
Re: disco-colors caused by "Ally Selected Units", stuck camera
Posted: 14 Dec 2015, 16:15
by 8611z
I think the camera-bug is happening to other players, too, because sometimes I see chat messages like:
<juxydizzer> guys, how do i fix the camera mode? all i can see is sky
(no idea if it always refers to BA, but realistically it is the most played mod, so probally yes)