Author Topic: GAE/Linux Saved Games Problem (on branch 0.3.x)  (Read 796 times)

mersinliali

  • Guest
GAE/Linux Saved Games Problem (on branch 0.3.x)
« on: 29 September 2010, 10:18:25 »
Hi,

Maybe I'm a bit hasty, but I'm really excited to use "Save/Load Game" feature.

I can save a game successfully, and load it. But the units become invisible. When a new unit is created (since I wait a while after loading, game goes on), only this new unit is visible.

Some of my operating system info:

Kernel:   Linux 2.6.31.13-131 (i686)
C Library:   GNU C Library version 2.9 (stable)
Default C Compiler:   GNU C Compiler version 4.3.3 (Pardus Linux)
Distribution:   Pardus 2009.2 Geronticus eremita
Processor:   2x Intel(R) Pentium(R) 4 CPU 3.00GHz
OpenGL
Vendor:   NVIDIA Corporation
Renderer:   GeForce FX 5200/AGP/SSE2
Version:   2.1.2 NVIDIA 173.14.25
Direct Rendering:   Yes


Other info (if necessary):
Binutils: (Pardus Linux) 2.19.51.0.9.20090606
bison: (GNU Bison) 2.3
Coreutils:  7.6
diff: (GNU diffutils) 2.8.7
GNU Awk: 3.1.6
m4: (GNU M4) 1.4.12
GNU Make: 3.81
GNU sed version: 4.1.5


Thanks for any help or comment,
Ali

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: GAE/Linux Saved Games Problem (on branch 0.3.x)
« Reply #1 on: 29 September 2010, 13:18:25 »
Maybe I'm a bit hasty, but I'm really excited to use "Save/Load Game" feature.

I can save a game successfully, and load it. But the units become invisible. When a new unit is created (since I wait a while after loading, game goes on), only this new unit is visible.
...

Not being hasty, thanks for the report. There was a new 'visible' flag introduced in the Unit 'entity' class (to do with transports) that was not being initialised when loading units from save games. It was turning out true on windows by fluke, but false on Linux .. or so I believe, I haven't tested it on Linux yet, but I have committed the fix, so please update, then you should be able to load any of those existing saves without problem.

If not, please let me know!

Thanks again.
Glest Advanced Engine - Code Monkey

Timeline | Downloads

mersinliali

  • Guest
Re: GAE/Linux Saved Games Problem (on branch 0.3.x)
« Reply #2 on: 29 September 2010, 18:13:03 »
Thank you very much. It's very kind of you.

I've updated svn and now units in saved games are visible. Voila :)

By the way, I have a crash report. But somehow, this kind of crash is not common for all saved game files. Some crashes, some does not.

I click LOAD GAME in the menu. It loads perfectly. Just as the game starts (I see the map and the units on it), it crashes. The crash report is:

Crash
Version: Advanced Engine 0.3.x
Time: Wed Sep 29 20:51:28 2010
Description: SIGABRT:
Address: 0xcbf
Backtrace:
/home/Glest/glestae_svn/build/source/game/glestadv(_ZN6Shared8Platform24PlatformExceptionHandler7handlerEiP7siginfoPv+0x2db) [0x845353b]
[0xffffe40c]
[0xffffe424]
/lib/libc.so.6(gsignal+0x4e) [0xb71aa21e]

=======================


I appreciate your work.
Best wishes,
Ali
« Last Edit: 4 October 2010, 18:18:16 by mersinliali »