Air unit upgrade rollsback, twice

Post bug reports and ask for tech support here.

Moderators: wdolson, Don Bowen, mogami

User avatar
dtravel
Posts: 4533
Joined: Wed Jul 07, 2004 6:34 pm

Air unit upgrade rollsback, twice

Post by dtravel »

Game as Allies against AI, V.Hard level, early June 1945, PDU off, Soviets not active. I've just had the Soviet 113 BAD upgrade from PE-2 to Tu-2S, for the second time, the turn before my current turn. But I just noticed that the unit is back to being equipped with PE-2. The Tu-2S pool is still down the 126 aircraft that were used upgrading the unit twice.

Zip file containing the last 11 end-of-turn saves: http://rapidshare.com/files/39787752/upgradebug.zip
This game does not have a learning curve. It has a learning cliff.

"Bomb early, bomb often, bomb everything." - Niceguy

Any bugs I report are always straight stock games.

Image
User avatar
rtrapasso
Posts: 22655
Joined: Tue Sep 03, 2002 4:31 am

RE: Air unit upgrade rollsback, twice

Post by rtrapasso »

ORIGINAL: dtravel

Game as Allies against AI, V.Hard level, early June 1945, PDU off, Soviets not active. I've just had the Soviet 113 BAD upgrade from PE-2 to Tu-2S, for the second time, the turn before my current turn. But I just noticed that the unit is back to being equipped with PE-2. The Tu-2S pool is still down the 126 aircraft that were used upgrading the unit twice.

Zip file containing the last 11 end-of-turn saves: http://rapidshare.com/files/39787752/upgradebug.zip


Is this against AI? Otherwise you need to PM your PW...

i shall investigate tonight when i get home.
User avatar
dtravel
Posts: 4533
Joined: Wed Jul 07, 2004 6:34 pm

RE: Air unit upgrade rollsback, twice

Post by dtravel »

[font="times new roman"]Image  [:'(][/font]
This game does not have a learning curve. It has a learning cliff.

"Bomb early, bomb often, bomb everything." - Niceguy

Any bugs I report are always straight stock games.

Image
User avatar
rtrapasso
Posts: 22655
Joined: Tue Sep 03, 2002 4:31 am

RE: Air unit upgrade rollsback, twice

Post by rtrapasso »

OK - at home now - i forgot to ask: what version are you running??
User avatar
rtrapasso
Posts: 22655
Joined: Tue Sep 03, 2002 4:31 am

RE: Air unit upgrade rollsback, twice

Post by rtrapasso »

OK - this is just a mess - i don't need 11 saves, just 1 save before, and 1 after - trying to unzip the 11 files just starts overwriting other test files (so got aborted)- and the files i did unzip and that i've looked at don't have the unit you referred to (113th BAD)

So - just send 1 before and 1 after turn. If i can't replicate the bug, you can send me another set of saves.

Tell me WHERE the unit is ('cause i don't see it).

and i need to know what version you are running.

EDIT - despite your playing the AI, a fair number of files have PW on them...

User avatar
rtrapasso
Posts: 22655
Joined: Tue Sep 03, 2002 4:31 am

RE: Air unit upgrade rollsback, twice

Post by rtrapasso »

Let me clarify what saves i need:

i need a save where the unit in question has the correct plane, and the next turn where it reverts...

So, presumably the 113th BAD will have the TU-2S one turn, and then it will revert to Pe-2 the next turn (reverts, as you said). i need those 2 turns. If you sent them in the 11 saves, let me know which ones they are.

And i still need to know what version you are running.
User avatar
dtravel
Posts: 4533
Joined: Wed Jul 07, 2004 6:34 pm

RE: Air unit upgrade rollsback, twice

Post by dtravel »

1.806, the 006 save (6/3/45) and 007 save (6/4/45).
This game does not have a learning curve. It has a learning cliff.

"Bomb early, bomb often, bomb everything." - Niceguy

Any bugs I report are always straight stock games.

Image
User avatar
rtrapasso
Posts: 22655
Joined: Tue Sep 03, 2002 4:31 am

RE: Air unit upgrade rollsback, twice

Post by rtrapasso »

This is SEMI-reproducible... 1st time i ran from a cold boot - no go. i ran it again without rebooting and the bug showed up, but not with the same numbers as in your save...

Actually, this is fairly typical (bugs showing up when you have not rebooted between turns) for AI games, i've found.

i'm checking to see what the programmers can do.
User avatar
rtrapasso
Posts: 22655
Joined: Tue Sep 03, 2002 4:31 am

RE: Air unit upgrade rollsback, twice

Post by rtrapasso »

OK - after checking with the software guru, i am forwarding this to him...
User avatar
dtravel
Posts: 4533
Joined: Wed Jul 07, 2004 6:34 pm

RE: Air unit upgrade rollsback, twice

Post by dtravel »

I can't help but think that if such basic memory management and database functions had been done right the first time, we never would have had such bugs as the Leaders and PBEM Synch bugs. 
 
(I'm going to leave it at that because if I say anything more I'm going to get banned.)
This game does not have a learning curve. It has a learning cliff.

"Bomb early, bomb often, bomb everything." - Niceguy

Any bugs I report are always straight stock games.

Image
User avatar
rtrapasso
Posts: 22655
Joined: Tue Sep 03, 2002 4:31 am

RE: Air unit upgrade rollsback, twice

Post by rtrapasso »

ORIGINAL: dtravel

I can't help but think that if such basic memory management and database functions had been done right the first time, we never would have had such bugs as the Leaders and PBEM Synch bugs. 

(I'm going to leave it at that because if I say anything more I'm going to get banned.)


i suspect much of this is a function of Windows... running different programs, etc. will induce different errors, which i think accounts for the difficulty in reproducing the errors... something that has become all too apparent as a tester.

and no, i don't think this is a problem unique to WITP.

It has also become apparent to me that the more things you have installed on your machine, the more problems start happening in general, even if the installed programs are not running.

i **think** that many of the errors that happen to different people while others are spared the errors is dependent on some of the programs people have installed.
User avatar
dtravel
Posts: 4533
Joined: Wed Jul 07, 2004 6:34 pm

RE: Air unit upgrade rollsback, twice

Post by dtravel »

As for "other programs", you mean like my anti-virus software?  Or the drivers for my optical drives?  The kind of stuff that everyone has running on their computers?  The stuff that people realistically can't do without?  Since I don't have an isolated stand-alone computer dedicated solely to running WiTP, I have other things running on it.  Other games don't have anywhere near this level of trouble with that simple reality.
 
Its been hinted that WiTP was written in some version of C.  C is notorious for being very easy to bleep up the memory management if the programmer doesn't take some basic precautions and pay attention to what they are doing.  As the saying goes, "In C++ its harder to blow your foot off than C, but when you do you blow your whole leg off."
 
I'm not blaming you Robert.  I know its not your fault.  You verified the bug and passed it on.  So please don't take my ranting personally, its not meant to be.
This game does not have a learning curve. It has a learning cliff.

"Bomb early, bomb often, bomb everything." - Niceguy

Any bugs I report are always straight stock games.

Image
User avatar
rtrapasso
Posts: 22655
Joined: Tue Sep 03, 2002 4:31 am

RE: Air unit upgrade rollsback, twice

Post by rtrapasso »

Lots of stuff you don't want to turn off as you mentioned.

However, with Windows, i've found the more stuff you turn off (or don't install) the better... i.e. - i was having severe problems with my machine until i removed half of the printer/scanner/fax software from my HP "All-in-one" printer/scanner/fax.

Similarly, LOTS of (other) programs just LOVE to load TSRs - and they can really bollux things up. Some of the more persistent problem children i've run into are:

AOL - i refuse to allow the to be installed on any machine of mine.
Norton Antivirus and related programs - they get everywhere in your registry and you have a deuce of a problem with them when things go wrong.
RealPlayer - another program i refuse to let onto my machines.

Any program that loads a little icon in the lower right hand corner of your machine is going to cause problems, i think (and some load TSRs that you have no control over). The trick is to find the one that causes the least problems, and is the least "invasive" and still gets the job done. Even then, it is still advisable to turn off some of these programs from time to time.

This is NOT an easy task.
User avatar
dtravel
Posts: 4533
Joined: Wed Jul 07, 2004 6:34 pm

RE: Air unit upgrade rollsback, twice

Post by dtravel »

I know, I did it years ago.  I found that the program TaskInfo http://www.iarsn.com/taskinfo.html was very useful if finding all those and helping me kill them off.
This game does not have a learning curve. It has a learning cliff.

"Bomb early, bomb often, bomb everything." - Niceguy

Any bugs I report are always straight stock games.

Image
User avatar
rtrapasso
Posts: 22655
Joined: Tue Sep 03, 2002 4:31 am

RE: Air unit upgrade rollsback, twice

Post by rtrapasso »

ORIGINAL: dtravel

I know, I did it years ago. I found that the program TaskInfo http://www.iarsn.com/taskinfo.html was very useful if finding all those and helping me kill them off.

Hopefully other folk will take this to heart, and save themselves some problems in the future by taking preventative action now.
User avatar
rtrapasso
Posts: 22655
Joined: Tue Sep 03, 2002 4:31 am

RE: Air unit upgrade rollsback, twice

Post by rtrapasso »

OK - this is incredible but true...

it turns out it is DESIGNED TO WORK THIS WAY!!!

The programmer and i are both scratching our heads - apparently, the Russians will undergo a major upgrade starting in June 1945... and the units are "locked into" their original configurations by a whole section of code... if you upgrade, this section of code will return a LCU to its orginal setup.

What to do? Well, there are a couple of solutions that i can think of:

Either ACTIVATE THE SOVIETS - and you'll need to talk to your PBEM opponent about this option... (don't know of anyway you can get the AI to do it!) or

TURN OFF ALL UPGRADES FOR THE SOVIETS.

From what i understand/guess, this is all put in for benefit of the AI.
User avatar
dtravel
Posts: 4533
Joined: Wed Jul 07, 2004 6:34 pm

RE: Air unit upgrade rollsback, twice

Post by dtravel »

Huh?  That's not making any sense.  Soviet air units have been upgrading all game without any problem until now.  And is that section of code dealing with air units or LCUs or both?  I'm still not sure this is working right.  There may have been some intent to ready the Soviets for their August '45 activation but downgrading air units doesn't make sense as part of that.
 
At any rate, I have already turned off upgrades for the Far East Command air units and I'm well in to June '45.  If I see more strangeness I'll let you know.  But as of 10 June 1945 there's been no sign of any kind of command wide upgrading.
This game does not have a learning curve. It has a learning cliff.

"Bomb early, bomb often, bomb everything." - Niceguy

Any bugs I report are always straight stock games.

Image
User avatar
rtrapasso
Posts: 22655
Joined: Tue Sep 03, 2002 4:31 am

RE: Air unit upgrade rollsback, twice

Post by rtrapasso »

i suspect you'll start seeing the problem as you get into mid-1945...

don't ask me to make sense of the idea - i think it was supposed to be some sort of fail-safe for the ai to make sure there were no corrupted units... [8|] [X(]
User avatar
michaelm75au
Posts: 12467
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Air unit upgrade rollsback, twice

Post by michaelm75au »

Tidbit of information:
The following air group slot numbers get upgraded for the Soviets post-June 45. The groups even have their names changed from that of the original slot name.
        1045
        1055
        1035
        1046
        1054
        1052

        1025
        1056
        1053
        1051
        1049

        1057

Michael
User avatar
tanjman
Posts: 668
Joined: Sat Jan 26, 2002 10:00 am
Location: Griffin, GA

RE: Air unit upgrade rollsback, twice

Post by tanjman »

Micheal,

Thanks for the Info on the Soviet hard coded air group slots! I've heard this happens to some Soviet LCU's also. If you know which slots are affected could you post them?

Thanks
Gunner's Mate: A Boatswain's Mate with a hunting license.
Post Reply

Return to “Tech Support”