1.5.1 Disband manpower bug?

Post bug reports and ask for game support here.

Moderator: MOD_Commander_The_Great_War

Post Reply
jrone
Posts: 7
Joined: Wed Aug 30, 2006 11:41 am

1.5.1 Disband manpower bug?

Post by jrone »

Searched forums but did not find anything on this so maybe it is intended.
Anyways if you disband a unit Mp is calculated using .costPP as base (see code below).
For exemple if Austria disbands their BB they get 124 Mp. If you disband a garrison you get 10 Mp back etc.



function GetDisbandRefund(unit)
local PPrefund
local MPrefund
if unit.type ~= Unit.NAVAL then
if unit.hex.originalFaction.alliance.id == unit.faction.alliance.id then
if unit.hex.originalFaction.id == unit.faction.id then
PPrefund = math.floor(unit.prototype.costPP * unit.hp * 50 / 10000)
else
PPrefund = math.floor(unit.prototype.costPP * unit.hp * 25 / 10000)
end
else
PPrefund = 0
end
if unit.hex.originalFaction.alliance.id == unit.faction.alliance.id then
if unit.hex.originalFaction.id == unit.faction.id then
* MPrefund = math.floor(unit.prototype.costPP * unit.hp * 100 / 10000)
else
* MPrefund = math.floor(unit.prototype.costPP * unit.hp * 50 / 10000)
end
else
MPrefund = 0
end
else
PPrefund = math.floor(unit.prototype.costPP * unit.hp * 50 / 10000)
* MPrefund = math.floor(unit.prototype.costPP * unit.hp * 100 / 10000)

return PPrefund, MPrefund
end
Vyper
Posts: 23
Joined: Sat Oct 24, 2009 6:42 pm

RE: 1.5.1 Disband manpower bug?

Post by Vyper »

I don't think getting MP back from disbanding is currently working. I actually got through my first single player campaign this weekend, and in the end game the CP powers started to disband the massive armies I had returning from Russia....and 0 MP increases (Except for a very small seasonal increase in MP, which I'm guessing is just a part of the game).

Seems like bad bait though...doesn't the game messages say disbanding a BB flotilla cost 30% National Morale?
jrone
Posts: 7
Joined: Wed Aug 30, 2006 11:41 am

RE: 1.5.1 Disband manpower bug?

Post by jrone »

It is working but...
If your unit is inside its original country borders you get 100% refund of MP and 50 % of PP.
If your unit is inside orginal alliance borders but outisde its own country you get 50% refund of MP and 25 % of PP.
Any other case and you get 0.

Naval units don't have these restrictions they just need to be in a port and always yield 100% of MP and 50% of PP.

The bug lets you trade PP for manpower if you wish though. You can build artillery for 50 PP and 5 MP and disband it for 25 PP and 50 MP as long as it stays inside its original country border. Or build a submarine for 22 PP and 1 MP and disband it for 11 PP and 22 MP. I agree that disbanding the BB is not a smart move though [;)] .
User avatar
kirk23
Posts: 3033
Joined: Fri Oct 15, 2010 1:19 pm
Location: Fife Scotland
Contact:

RE: 1.5.1 Disband manpower bug?

Post by kirk23 »

This has been rectified in the next Game Play patch I'm working on now cheers.when it should have been returning MP it has been returning addition PP.[;)]
Make it so!
jrone
Posts: 7
Joined: Wed Aug 30, 2006 11:41 am

RE: 1.5.1 Disband manpower bug?

Post by jrone »

Thanks, good to know.
Though it is returning MP and not extra PP. Just alot of extra MP [:)].
User avatar
kirk23
Posts: 3033
Joined: Fri Oct 15, 2010 1:19 pm
Location: Fife Scotland
Contact:

RE: 1.5.1 Disband manpower bug?

Post by kirk23 »

The disband problem was discussed in this thread a couple of weeks back,you can read about it here.[:)]

tm.asp?m=3659671
Make it so!
jrone
Posts: 7
Joined: Wed Aug 30, 2006 11:41 am

RE: 1.5.1 Disband manpower bug?

Post by jrone »

Oh sorry I must have missed that thread somehow when I did a search.
Nevermind then nothing to see here [8|].
Post Reply

Return to “Tech Support”