project-navigation
Personal tools

Author Topic: [30961] earth shakes after loading a game  (Read 3558 times)

Offline fede

  • Rookie
  • ***
  • Posts: 15
    • View Profile
[30961] earth shakes after loading a game
« on: July 17, 2010, 05:45:00 pm »
Hi,
a minor bug that i experience is when i load a saved game with many info tabs (i.e. "ufo crashed", "found a scout there" and so on.) then earth visual shakes between two places. I can stop this loop only by rightclickin and scrollin earth a bit. Nothing weird is shown on shell output.
If you want i can send a savegame that returns such situation.
« Last Edit: July 17, 2010, 05:57:04 pm by fede »

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: [30961] earth shakes after loading a game
« Reply #1 on: July 17, 2010, 06:15:57 pm »
If you want i can send a savegame that returns such situation.

Then please do. Thanks!

-geever

Offline fede

  • Rookie
  • ***
  • Posts: 15
    • View Profile
Re: [30961] earth shakes after loading a game
« Reply #2 on: July 18, 2010, 02:24:07 am »
Ok, just noticed it doesn't happen just by loading the savegame, but found how to reproduce it.
Here is the savegame (any should work if you got some info tabs):
http://greenorange.homelinux.org/ufoai/slot2.savx
*Load the game.
*Click one of those tabs (arrows in image just to be clear).

*Reload game.

*If nothing bad happens, just reload same game again.
After some tries you should notice. If you don't, try again with an other tab, but i noticed this with any of those.
When bug happens, then any game you reload will keep this issue.

PS
if links aren't workin then i got a setting problem, please tell me and i will provide better links.

Offline fede

  • Rookie
  • ***
  • Posts: 15
    • View Profile
Re: [30961] earth shakes after loading a game
« Reply #3 on: July 22, 2010, 07:36:43 am »
None confirms it? Hell it happens to me very often when aliens decided to destroy a base (=got busy with reload->reload->reload  ;D)

When you focus on earth with some info tabs, then reload, it's like the engine is changing focus from default target to last clicked tab in the previous session at every game cycle...
Makes sense?

Offline dodon

  • Rookie
  • ***
  • Posts: 48
    • View Profile
Re: [30961] earth shakes after loading a game
« Reply #4 on: July 23, 2010, 04:46:47 pm »
got it today.

one addition to the reproduction:
the earth has to move while you reload.

When you focus on earth with some info tabs, then reload, it's like the engine is changing focus from default target to last clicked tab in the previous session at every game cycle...
Makes sense?
yes, it looks like the engine tries to move to 2 different positions at the same time, the movement target from the first game and the position saved in the savegame.