Co-operating Minor HQ reorganisation

Post bug reports and ask for game support here.

Moderator: Shannon V. OKeets

Post Reply
User avatar
Beryl
Posts: 44
Joined: Sun Jun 01, 2008 9:14 am
Location: France

Co-operating Minor HQ reorganisation

Post by Beryl »

Polish HQ reorganising a polish plane needs 4 pts in combined impluse (instead of 2)

I think that one should only double pts for co-operating minors units if any point comes from a co-operating major HQ (even its controler), but not when the HQ is of the very same nationality as the unit.
Would be the same with Antonescu reoganising a rumanian corps in a land impulse
"Nicht kleckern, klotzen!" - Guderian
gautebirkeli
Posts: 41
Joined: Wed Nov 20, 2013 6:47 pm
Location: Richardson, Texas

RE: Co-operating Minor HQ reorganisation

Post by gautebirkeli »

Is it a fighter or a bomber? Remember the Reorg option doubles the cost of reorganizing bombers navs (3&4).
User avatar
Centuur
Posts: 9083
Joined: Fri Jun 03, 2011 12:03 pm
Location: Hoorn (NED).

RE: Co-operating Minor HQ reorganisation

Post by Centuur »

Known bug (however not high on the list to fix at the moment...).
Peter
User avatar
Dabrion
Posts: 740
Joined: Tue Nov 05, 2013 10:26 am
Location: Northpole

RE: Co-operating Minor HQ reorganisation

Post by Dabrion »

Where is that list, how long is it and what is the current speed of clearing that list (is it faster than the speed the list grows)? Is that list complete?
"If we come to a minefield, our infantry attacks exactly as it were not there." ~ Georgy Zhukov
User avatar
warspite1
Posts: 42130
Joined: Sat Feb 02, 2008 1:06 pm
Location: England

RE: Co-operating Minor HQ reorganisation

Post by warspite1 »

ORIGINAL: Dabrion

Where is that list, how long is it and what is the current speed of clearing that list (is it faster than the speed the list grows)? Is that list complete?
warspite1

Dabrion I know you are frustrated - and clearly angry with the situation - but you don't strike me as being without intelligence. That being the case, how can you ask if a bug list is complete? a) Until a bug is found how does anyone know its there? and b) even if you thought you had them all, there is a danger of new bugs being created when fixing old bugs.... Not to mention there is still new stuff to code - which may lead to ... well you get the picture.
Now Maitland, now's your time!

Duke of Wellington to 1st Guards Brigade - Waterloo 18 June 1815
Shannon V. OKeets
Posts: 22165
Joined: Wed May 18, 2005 11:51 pm
Location: Honolulu, Hawaii
Contact:

RE: Co-operating Minor HQ reorganisation

Post by Shannon V. OKeets »

ORIGINAL: Centuur

Known bug (however not high on the list to fix at the moment...).
Not a known bug. I don't have anything on my radar with Reorganization points being incorrect.

EDIT: Here is the code for determining the 'effect' of an HQ on reorganizing a unit. It checks for a minor country HQ reorganizing one of its own units.

---
// ****************************************************************************
// If no reorganization point came from a cooperating major power or minor
// country, then each HQ reorganization point is doubled. The last check is for
// when a minor country HQ reorganizes one of its own units.
// ****************************************************************************
if (not UsedCooperatingReorgPts) and
((HQ = nil) or
((Countries[HQ.HomeCountryCommonwealth] is TMajorCountry) and
(ControllingCountryCommonwealth = HQ.ControllingCountryCommonwealth)) or
(Country = HQ.Country)) then
Result := Result * 2;
---
Steve

Perfection is an elusive goal.
Shannon V. OKeets
Posts: 22165
Joined: Wed May 18, 2005 11:51 pm
Location: Honolulu, Hawaii
Contact:

RE: Co-operating Minor HQ reorganisation

Post by Shannon V. OKeets »

ORIGINAL: Dabrion

Where is that list, how long is it and what is the current speed of clearing that list (is it faster than the speed the list grows)? Is that list complete?
The percentage of reported bugs that can be eliminated after a quick examination is 70%. Further examination cuts that by another 2/3rds. And even the remaining 10% are often not bugs - but I don't have a percentage for that.

The list of bugs is very dynamic, with an influx of 'suspects' that gets pared down to 'true' bugs that need fixing.

You would like a nice tidy list [wouldn't everyone?], but that isn't how programming works. As a trivial example from last week, a reported bug about overstacking had nothing at all to do with overstacking, it was how certain saved games were restored. There was nothing wrong with the overstacking routines. If it weren't for computer editors/word processors, any bug list would be a mass of scratch outs and penciled in edits.
Steve

Perfection is an elusive goal.
Shannon V. OKeets
Posts: 22165
Joined: Wed May 18, 2005 11:51 pm
Location: Honolulu, Hawaii
Contact:

RE: Co-operating Minor HQ reorganisation

Post by Shannon V. OKeets »

ORIGINAL: Beryl

Polish HQ reorganising a polish plane needs 4 pts in combined impluse (instead of 2)

I think that one should only double pts for co-operating minors units if any point comes from a co-operating major HQ (even its controler), but not when the HQ is of the very same nationality as the unit.
Would be the same with Antonescu reoganising a rumanian corps in a land impulse
In a combined action the cost is doubled. See RAC 11.18.4.
Steve

Perfection is an elusive goal.
User avatar
paulderynck
Posts: 8508
Joined: Sat Mar 24, 2007 5:27 pm
Location: Canada

RE: Co-operating Minor HQ reorganisation

Post by paulderynck »

This is the second time reported where the minor country is paying double on top of double, though. The other one was a Dutch TRS re-orging a Dutch CA during a Naval action. In both cases a CW HQ would have paid double whatever the base action cost was (either one or two), but with the same minor country unit as the unit in question performing the re-org - then only single cost should be paid.
Paul
User avatar
Centuur
Posts: 9083
Joined: Fri Jun 03, 2011 12:03 pm
Location: Hoorn (NED).

RE: Co-operating Minor HQ reorganisation

Post by Centuur »

This is a bug, Steve. Has been reported some time ago already...
Peter
Shannon V. OKeets
Posts: 22165
Joined: Wed May 18, 2005 11:51 pm
Location: Honolulu, Hawaii
Contact:

RE: Co-operating Minor HQ reorganisation

Post by Shannon V. OKeets »

ORIGINAL: paulderynck

This is the second time reported where the minor country is paying double on top of double, though. The other one was a Dutch TRS re-orging a Dutch CA during a Naval action. In both cases a CW HQ would have paid double whatever the base action cost was (either one or two), but with the same minor country unit as the unit in question performing the re-org - then only single cost should be paid.
Okay, the Dutch have a TRS they can use to reorganize units. I missed that.

There are no minor country ATR units so the code doesn't worry about that condition. And it does handle the case where a minor country HQ reorganizes its own units. So it is the third reorganization possibility (by TRS/AMPH) that hasn't been coded.

I just checked. There are 4 minor countries with TRS units: Spain, Sweden, Norway, and the Netherlands.
Steve

Perfection is an elusive goal.
Shannon V. OKeets
Posts: 22165
Joined: Wed May 18, 2005 11:51 pm
Location: Honolulu, Hawaii
Contact:

RE: Co-operating Minor HQ reorganisation

Post by Shannon V. OKeets »

ORIGINAL: Centuur

This is a bug, Steve. Has been reported some time ago already...
I need to see a saved game for this then. There are way too many rules that affect reorganization costs for disorganized units and available reorganization points for reorganizing units.

The code looks okay to me, both for HQ and TRS units. If there is a bug, then I need to track through the code to see where it is doing something wrong.

I have been on this quest many times before and ended up with the program being coded correctly and the game situation having something that the code sees but the player doesn't.
Steve

Perfection is an elusive goal.
User avatar
Dabrion
Posts: 740
Joined: Tue Nov 05, 2013 10:26 am
Location: Northpole

RE: Co-operating Minor HQ reorganisation

Post by Dabrion »

Problem seems to be that the minor country units treat units from their controlling major power at double cost (and vv), but reorging units from their home country is always at normal cost. While here, minor country units treat any unit (they could reorg) at double cost.
Ex.: British unit reorging Polish unit (double cost), Polish unit reorging Polish unit (normal cost), Polish unit reorging British unit (double cost).

Instead of micro-optimising all the code occurrences you might want to get the kernel right.

Reproduce:
1) global war fast start; GE ground strike Pol unit; pass turn; CW reorg phase: try to reorg the Pol unit with the Pol HQ;
2) barb fast start: analog with Antonescu/Romanian units;
3) Belgium/Netherlands have a TRS that can be used if you want to look into the TRS part of the problem.
"If we come to a minefield, our infantry attacks exactly as it were not there." ~ Georgy Zhukov
User avatar
paulderynck
Posts: 8508
Joined: Sat Mar 24, 2007 5:27 pm
Location: Canada

RE: Co-operating Minor HQ reorganisation

Post by paulderynck »

ORIGINAL: Shannon V. OKeets
I have been on this quest many times before and ended up with the program being coded correctly and the game situation having something that the code sees but the player doesn't.
I know but the description is: "Polish HQ reorganising a polish plane needs 4 pts in combined impluse (instead of 2)"

Only possibility would be Variable Re-org thrown into the mix, and there are no Polish LND4s.
Paul
larssto
Posts: 14
Joined: Fri Aug 21, 2009 12:15 pm
Location: Norway

RE: Co-operating Minor HQ reorganisation

Post by larssto »

ORIGINAL: Dabrion

Problem seems to be that the minor country units treat units from their controlling major power at double cost (and vv), but reorging units from their home country is always at normal cost. While here, minor country units treat any unit (they could reorg) at double cost.
Ex.: British unit reorging Polish unit (double cost), Polish unit reorging Polish unit (normal cost), Polish unit reorging British unit (double cost).

This.
I just had Mannerheim being forced to spend two reorg points to reorg a Finnish land unit in a GER land impulse in Barbarossa. Can easily be reproduced by having a Finnish unit enter a swamp hex (like 35,50) in Finland and the have Mannerheim try to reorg it.
User avatar
Beryl
Posts: 44
Joined: Sun Jun 01, 2008 9:14 am
Location: France

RE: Co-operating Minor HQ reorganisation

Post by Beryl »

I don't play with optional variable reorg
Here is the save game
Attachments
reorg.zip
(1.46 MiB) Downloaded 7 times
"Nicht kleckern, klotzen!" - Guderian
Post Reply

Return to “Tech Support”