UFO:Alien Invasion

Archive => Bugs prior to release 2.4 => Topic started by: jerikojerk on August 08, 2011, 06:05:39 pm

Title: the good old bug of aircraft in hangar
Post by: jerikojerk on August 08, 2011, 06:05:39 pm
hi

there is a very old bug about aircraft when you click on the aircraft button in the base's menu. i did not report it earlier cause i thougt it's already known.

how to reproduce?

i'm playing on ubuntu and compile the latest working copy.
Title: Re: the good old bug of aircraft in hangar
Post by: geever on August 08, 2011, 07:47:30 pm
there is a very old bug about aircraft when you click on the aircraft button in the base's menu. i did not report it earlier cause i thougt it's already known.

how to reproduce?

If you attach the savegame, I can fix it more quickly as I don't need to replicate the environment for it first.

-geever
Title: Re: the good old bug of aircraft in hangar
Post by: jerikojerk on August 09, 2011, 12:17:29 am
looks like it's not needed anymore. thanks.
Title: Re: the good old bug of aircraft in hangar
Post by: jerikojerk on August 21, 2011, 10:38:35 am
Hi

the bug is back.

Select go to geoscape, find base "Delta Amazonie" (brazil) select  "Dragon 2" go strait to geoscape go to base "alpha-one" and open aircraft menu. you will see dragon instead of my stinger.... this time  I will attach the savegame....

the last commit i have is at 2011-08-20 14:11:02


Title: Re: the good old bug of aircraft in hangar
Post by: jerikojerk on August 26, 2011, 08:51:49 pm
this works:
http://ufoai.git.sourceforge.net/git/gitweb.cgi?p=ufoai/ufoai;a=commit;h=13bd023da5a7f8a0fe0be2ee29e3586e679af398

thanks.
Title: Re: the good old bug of aircraft in hangar
Post by: Mattn on August 26, 2011, 10:36:16 pm
does this fix the bug?
Title: Re: the good old bug of aircraft in hangar
Post by: jerikojerk on August 27, 2011, 10:20:55 am
yes it works thanks.

i also observed that if you select the 3rd aircraft in your hangar and then switch base, you will also have the 3rd aircraft selected in the new base. if you don't have 3, no bugs  ;D.
Title: Re: the good old bug of aircraft in hangar
Post by: jerikojerk on August 27, 2011, 10:50:10 am
well i'm sorry i found a regression.

go in a base were you have dropship and interceptor. if your hangar "preselect" an interceptor in the hangar (see above) and you switch to dropship then the soldier tab does not appear. if you switch back to interceptor soldier tab appear.
Title: Re: the good old bug of aircraft in hangar
Post by: MCR on August 27, 2011, 01:01:33 pm
yes it works thanks.

i also observed that if you select the 3rd aircraft in your hangar and then switch base, you will also have the 3rd aircraft selected in the new base. if you don't have 3, no bugs  ;D.


My recent patches were removed, but the fix was readded later in two parts and this was the second part of the fix, so this should work in latest master, no ?
Title: Re: the good old bug of aircraft in hangar
Post by: jerikojerk on August 27, 2011, 04:42:58 pm
yes
the correct ufo is always drawn on the GUI.
But there is now a but about the "soldier tab" i mentionned on my previous post. you have to click on one other tab (ie equipment) to make it appear