Page 1 of 1
Russian production bug
Posted: Sat May 09, 2015 10:30 am
by joshuamnave
Pre Barbarossa, during a Soviet/Japanese war, Russia is getting the production multiple bump for Japanese units in Siberia and for Japanese attacks on Russian units in Siberia. There are no non Russian units in European Russia, nor any attacks on Russian units in European Russia.
RE: Russian production bug
Posted: Sun May 10, 2015 8:55 am
by Centuur
ORIGINAL: Zartacla
Pre Barbarossa, during a Soviet/Japanese war, Russia is getting the production multiple bump for Japanese units in Siberia and for Japanese attacks on Russian units in Siberia. There are no non Russian units in European Russia, nor any attacks on Russian units in European Russia.
Any chance of a gamesave for this bug?
RE: Russian production bug
Posted: Tue May 12, 2015 11:49 pm
by Shannon V. OKeets
Yes, I would like to see a saved game. There are specific lines of code to not include Siberia in those calculations.
Perhaps you are seeing the USSR bumps for 1942 & 1943?
===
mcUSSR:
begin
// ****************************************************************************
// USSR bonus for holding certain cities during certain years
// ****************************************************************************
if (Game.Date.Year >= 1942) and
((Map.HexControlHex[Minsk] = USSR) or
(Map.HexControlHex[Kiev] = USSR)) then
Result := Result + 0.25;
if (Game.Date.Year >= 1943) and
(Map.HexControlHex[Leningrad] = USSR) and
(Map.HexControlHex[Moscow] = USSR) and
(Map.HexControlHex[Stalingrad] = USSR) then
Result := Result + 0.25;
end;
RE: Russian production bug
Posted: Wed May 13, 2015 12:49 am
by joshuamnave
It happened in 1940, and it only happened on turns in which Japanese forces attacked Soviet troops inside Siberia. On subsequent turns, where there were no attacks, production returned to normal levels.
RE: Russian production bug
Posted: Wed May 13, 2015 1:33 am
by paulderynck
ORIGINAL: Shannon V. OKeets
Yes, I would like to see a saved game. There are specific lines of code to not include Siberia in those calculations.
Perhaps you are seeing the USSR bumps for 1942 & 1943?
===
mcUSSR:
begin
// ****************************************************************************
// USSR bonus for holding certain cities during certain years
// ****************************************************************************
if (Game.Date.Year >= 1942) and
((Map.HexControlHex[Minsk] = USSR) or
(Map.HexControlHex[Kiev] = USSR)) then
Result := Result + 0.25;
if (Game.Date.Year >= 1943) and
(Map.HexControlHex[Leningrad] = USSR) and
(Map.HexControlHex[Moscow] = USSR) and
(Map.HexControlHex[Stalingrad] = USSR) then
Result := Result + 0.25;
end;
This code is the USSR city bumps. Attacks in home country must be somewhere else in the code, but RAW excludes Siberia as being part of the USSR "home country" for some reason. Of course in MWiF we don't have vertical lines telling us which "map" hexes are on, so I'm unsure how that rule gets implemented.