Anthropoid
Lieutenant
Posts: 132
Joined: Sun Feb 15, 2009 7:11 pm

Statistics Window Bug

Sun Feb 22, 2009 2:51 am

I was trying to reread which Warplan I selected as Austria (Eugen IIRC) so I could review when it is that I start to get NW
penalty for AH armies reinforcing Germany against the Russian Berlin Plan assault.

When I select Austria, go to Statistics Window, History Log and start scrolling through the windows 1, 2, 3, etc.,
I get a CTD with a C++ Windows graphics error at about page 23 or 24 in the History Log.

It might be that I have all extranneous stuff in my Taskmanager turned off, but might be a bug.
If a bug, you should be able to replicate with the attached .sav.

The other problem that I'm having is that I'm getting corps clumping when I merge and unmerge. I'll try to remove a single corps
from an army and create a new stack and instead TWO of the corps in the army create a new stack. TheN I try to put the one in the
new stack that I meant to leave in it and BOTH of them go back in the original Army! grrrr!

Anyone else having this type of issue?

This is even with 2d sqauare icons.
Attachments
Aug14 Stat Window Bug.zip
(424.25 KiB) Downloaded 213 times

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Sun Feb 22, 2009 8:59 am

For the crash: are you playing in French? Yesterday a Frenh guy reported a crash in Statistics window, due to malformed parametrical texts. I fixed it. Anyway I'm going to test your save. ;)

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Sun Feb 22, 2009 9:33 am

Tried you save, Statistics window all pages (Austria) without crashes.

Look here: http://www.ageod-forum.com/showpost.php?p=132331&postcount=3

The French text for Tanks was malformed and made the game crash.

Anthropoid
Lieutenant
Posts: 132
Joined: Sun Feb 15, 2009 7:11 pm

Sun Feb 22, 2009 1:43 pm

ADDIT: installed the new French.txr, and restarted the game without turning off anything in Taskmanager (noticeably longer initialization and map scrolling).

Went to the Statistics Window as Austria, and still getting the same CTD at window #24. Here is a Screen Cap.

Image

Wish I could be more help. It is pretty obviously something about the app on my rig, so maybe not generalizable to a lot of different users.

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Sun Feb 22, 2009 4:47 pm

Och... "DrawPoints" looks something related to the external lib I use for the charts drawing... :(

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Mon Feb 23, 2009 9:04 am

Mmhh... which screen resolution are you playing with?

Anthropoid
Lieutenant
Posts: 132
Joined: Sun Feb 15, 2009 7:11 pm

Mon Feb 23, 2009 2:17 pm

In my configurator it is set to "Use Monitor Resolution."

In my Display Control Panel it is set to 1280 x 800

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Mon Feb 23, 2009 2:22 pm

I believe it's a memory corruption problem linked to DirectX.
The "DrawPoints" is an array of coordinates x/y/z I pass to DirectX for drawing a line (the charts printed on the Stat page). So it's extremely weird you get a crash there... :bonk:

I tried in 1280x1024, 1024x768 and 800x600 without no crash. Tonight I will force the resolution of my monitor to 1280x800 (you have a 16:9 monitor, right? Mine is 4:3) and see if it happens also on my PC... :wacko:

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Mon Feb 23, 2009 2:36 pm

Mmm... to help me: can you try the Stat page in 1024x768? If you have no crash, it means the CTD is caused by the screen resolution. Indeed I noticed a strange rendering of charts in 1280x1024: the zero y-offset looks wrong... :bonk:
So probably a 1280x800 resolution makes the x/y coordinates point to a fault address of VRAM. ;)

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Mon Feb 23, 2009 5:35 pm

Bug reproduced! :thumbsup:
I forced the 1280x800 resolution on my 4:3 monitor and here the crash! So it's related to the screen resolution.... I hate 16:9 monitors!!!! :mdr:

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Mon Feb 23, 2009 5:59 pm

And the bug is fixed! :king:
I also managed to correct the wrong display offsets for charts drawing when the screen resolution is greater than 1024x768.

Next patch. :love:

Anthropoid
Lieutenant
Posts: 132
Joined: Sun Feb 15, 2009 7:11 pm

Tue Feb 24, 2009 1:53 pm

Windows is such a friendly platform for the game designer to work in! :D

Good job finding the source of that. You may have a career in detective work waiting for you :)

Return to “WW1 Technical support / Aide technique”

Who is online

Users browsing this forum: No registered users and 19 guests