Database error or what? Units getting new unit types and symbols???

Post bug reports and ask for help with other issues here.

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

Post Reply
User avatar
Grollub
Posts: 6674
Joined: Sun Oct 09, 2005 11:46 am
Location: Lulea, Sweden

Database error or what? Units getting new unit types and symbols???

Post by Grollub »

Hi,

Playing latest official patch (1.0.6.1108r9) in a PBEM.

Just noticed that (at least) two of my units have switched unit types. The IV Indian Corps HQ is now an AA unit, and one of my Indian Artillery units have become an armor unit? See pictures appended below. Is this something simple that I can fix in some way or must I hand in a save?

Checked the tech support thread some pages back, but couldn't find anyone else with this problem.

Image
Attachments
IVIndiancorps.jpg
IVIndiancorps.jpg (133.22 KiB) Viewed 84 times
“Not mastering metaphores is like cooking pasta when the train is delayed"
User avatar
Grollub
Posts: 6674
Joined: Sun Oct 09, 2005 11:46 am
Location: Lulea, Sweden

RE: Database error or what? Units getting new unit types and symbols???

Post by Grollub »

... and the other unit that I've found so far.

Image
Attachments
25IndMtnReg.jpg
25IndMtnReg.jpg (141.57 KiB) Viewed 84 times
“Not mastering metaphores is like cooking pasta when the train is delayed"
wdolson
Posts: 7648
Joined: Tue Jun 27, 2006 9:56 pm
Location: Near Portland, OR

RE: Database error or what? Units getting new unit types and symbols???

Post by wdolson »

Open the scenario you are playing in the editor and find the units. The unit number inf the database is the number in the upper left corner of the unit screen.

Bill
WitP AE - Test team lead, programmer
Image
User avatar
Grollub
Posts: 6674
Joined: Sun Oct 09, 2005 11:46 am
Location: Lulea, Sweden

RE: Database error or what? Units getting new unit types and symbols???

Post by Grollub »

Have never ever used the editor before.

I found the ground units when looking under the "location" and "scenario" tab. What am I supposed to do then?

ETA; When looking at the basic scenario, the units look ok.

ETA2; I also know that they have had correct unit types before. This has happened in any of our last turns.
“Not mastering metaphores is like cooking pasta when the train is delayed"
User avatar
witpqs
Posts: 26376
Joined: Mon Oct 04, 2004 7:48 pm
Location: Argleton

RE: Database error or what? Units getting new unit types and symbols???

Post by witpqs »

I had that happen and Michael found a bug (maybe multiple) and fix it (them) long ago in the current Beta series.
User avatar
Grollub
Posts: 6674
Joined: Sun Oct 09, 2005 11:46 am
Location: Lulea, Sweden

RE: Database error or what? Units getting new unit types and symbols???

Post by Grollub »

Ok, we'll se what "da man" says [:D]

Thanks for your replies.
“Not mastering metaphores is like cooking pasta when the train is delayed"
User avatar
michaelm75au
Posts: 12455
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Database error or what? Units getting new unit types and symbols???

Post by michaelm75au »

I believe that it is fixed, related to the same issue where a LCU would change to a different type (it was noticed more where the LCU changed to a 'base', but could apply to any case where the unit suffix got randomly overridden)
Fixed Correct LCUs that change to base (type 6) in beta 1110

You drop in a save and I can verify if you like

Michael
User avatar
Grollub
Posts: 6674
Joined: Sun Oct 09, 2005 11:46 am
Location: Lulea, Sweden

RE: Database error or what? Units getting new unit types and symbols???

Post by Grollub »

Ok, last save I recieved from my opponent attached. Please note, however, that we are not running the beta patch. We are a little conservative on that issue [:)]
Attachments
wpae130.zip
(2.73 MiB) Downloaded 5 times
“Not mastering metaphores is like cooking pasta when the train is delayed"
User avatar
michaelm75au
Posts: 12455
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Database error or what? Units getting new unit types and symbols???

Post by michaelm75au »

This one looks to be opposite to what I expected. The 'type' is right but 'suffix' (variant of the type) wrong.

Don't suppose you have a save just before it changed??
Michael
User avatar
michaelm75au
Posts: 12455
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Database error or what? Units getting new unit types and symbols???

Post by michaelm75au »

I was going to setup an auto-fix for this problem, but cant rely on the 'suffix' being correct, as a lot of the locations don't have a correct suffix to restore the type from.
I'll fix the suffix when a new scenario is started to stop any possible future error.
Michael
User avatar
Grollub
Posts: 6674
Joined: Sun Oct 09, 2005 11:46 am
Location: Lulea, Sweden

RE: Database error or what? Units getting new unit types and symbols???

Post by Grollub »

Ok, I'll backtrack through the saves and see if I have the one when it happened.
“Not mastering metaphores is like cooking pasta when the train is delayed"
User avatar
Grollub
Posts: 6674
Joined: Sun Oct 09, 2005 11:46 am
Location: Lulea, Sweden

RE: Database error or what? Units getting new unit types and symbols???

Post by Grollub »

Found them. They didn't change during the same turns.

Attached is first my game save on end of turn (wpae131 1942_04_23) where everything was ok.

Attached to the next post is the japanese return save where one unit has changed type.
Attachments
Unit172c..4241of2.zip
(2.73 MiB) Downloaded 5 times
“Not mastering metaphores is like cooking pasta when the train is delayed"
User avatar
Grollub
Posts: 6674
Joined: Sun Oct 09, 2005 11:46 am
Location: Lulea, Sweden

RE: Database error or what? Units getting new unit types and symbols???

Post by Grollub »

... and here's the next return turn. Now unit 172 (the Indian Corps HQ) has changed to an AA unit.
Attachments
Unit172c..4242of2.zip
(2.73 MiB) Downloaded 2 times
“Not mastering metaphores is like cooking pasta when the train is delayed"
User avatar
Grollub
Posts: 6674
Joined: Sun Oct 09, 2005 11:46 am
Location: Lulea, Sweden

RE: Database error or what? Units getting new unit types and symbols???

Post by Grollub »

... and if you need it for comparison, here's the next turns where the artillery unit (6405) changed type.

Attached is my EOT save where the unit was ok..
Attachments
Unit6405..4251of2.zip
(2.73 MiB) Downloaded 4 times
“Not mastering metaphores is like cooking pasta when the train is delayed"
User avatar
Grollub
Posts: 6674
Joined: Sun Oct 09, 2005 11:46 am
Location: Lulea, Sweden

RE: Database error or what? Units getting new unit types and symbols???

Post by Grollub »

... and the next turn from my opponent, where the unit has changed type.
Attachments
Unit6405..4252of2.zip
(2.73 MiB) Downloaded 5 times
“Not mastering metaphores is like cooking pasta when the train is delayed"
User avatar
Grollub
Posts: 6674
Joined: Sun Oct 09, 2005 11:46 am
Location: Lulea, Sweden

RE: Database error or what? Units getting new unit types and symbols???

Post by Grollub »

Two questions;

1/ Am I correct in assuming that changing to the beta would fix this problem?

2/ I assume that this changing of unit type screws up how the units are supposed to work? For the artillery unit that's no big problem as it's still mainly a combat unit. The change IV Indian Corps HQ is a little more grave however. Having an ongoing invasion of India I need that HQ providing its usual benefits to the combats. There's not an abundance of corps HQ's in India in this game time.
“Not mastering metaphores is like cooking pasta when the train is delayed"
User avatar
Grollub
Posts: 6674
Joined: Sun Oct 09, 2005 11:46 am
Location: Lulea, Sweden

RE: Database error or what? Units getting new unit types and symbols???

Post by Grollub »

New save attached.
Attachments
wpae130.zip
(2.73 MiB) Downloaded 6 times
“Not mastering metaphores is like cooking pasta when the train is delayed"
User avatar
michaelm75au
Posts: 12455
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Database error or what? Units getting new unit types and symbols???

Post by michaelm75au »

The underlying cause of problem has been fixed in beta (57. Unit type changing unexpectedly).
The current beta would not restore the type as the suffix can't be warranted to be correct at the moment.
Attachments
wpae130.zip
(2.78 MiB) Downloaded 6 times
Michael
Post Reply

Return to “Tech Support”