project-navigation
Personal tools

Author Topic: the good old bug of aircraft in hangar  (Read 4125 times)

Offline jerikojerk

  • Squad Leader
  • ****
  • Posts: 149
    • View Profile
the good old bug of aircraft in hangar
« 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?
  • first you may have two bases with different aircraft available in each so it's more obvious (it may also work if you have the same aircraft in both base but displaying a stilleto instead an other stilleto don't make thing realy to observe).
  • so go to base "alpha" equiped by a a Starchaser (you're rich !!!) click on aircraft menu select the starchaser.
  • now go strait to the geoscape directly (important, if you scoll between bases it does not works)
  • now go strait to the other base "beta" where you have the stilleto... click aircraft menu and ... tadam ... you see a starchaser.
  • if you click on the stilleto name, your aircraft is back

i'm playing on ubuntu and compile the latest working copy.
« Last Edit: August 08, 2011, 06:08:46 pm by jerikojerk »

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: the good old bug of aircraft in hangar
« Reply #1 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

Offline jerikojerk

  • Squad Leader
  • ****
  • Posts: 149
    • View Profile
Re: the good old bug of aircraft in hangar
« Reply #2 on: August 09, 2011, 12:17:29 am »
looks like it's not needed anymore. thanks.

Offline jerikojerk

  • Squad Leader
  • ****
  • Posts: 149
    • View Profile
Re: the good old bug of aircraft in hangar
« Reply #3 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




Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: the good old bug of aircraft in hangar
« Reply #5 on: August 26, 2011, 10:36:16 pm »
does this fix the bug?

Offline jerikojerk

  • Squad Leader
  • ****
  • Posts: 149
    • View Profile
Re: the good old bug of aircraft in hangar
« Reply #6 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.

Offline jerikojerk

  • Squad Leader
  • ****
  • Posts: 149
    • View Profile
Re: the good old bug of aircraft in hangar
« Reply #7 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.

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: the good old bug of aircraft in hangar
« Reply #8 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 ?

Offline jerikojerk

  • Squad Leader
  • ****
  • Posts: 149
    • View Profile
Re: the good old bug of aircraft in hangar
« Reply #9 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