Is this a bug?

Moderator: AlvaroSousa

Post Reply
Harrybanana
Posts: 4098
Joined: Sat Nov 27, 2004 12:07 am
Location: Canada

Is this a bug?

Post by Harrybanana »

Using version 1.00.073 in a pbem game. Prior to Barbarossa my Russian ants (the large corps with 20% experience) all had defense strengths of 2. Now after Barbarossa they all have defense strengths of only 1. This includes units that still have not taken any losses and have 100% effectiveness. This is only my second Allied Barbarossa, but I am pretty sure that in my former game they retained the 2 defence. My 35% experience large corps appear to be similarly affected with reduced defense strength (except the ones that I forgot to cancel upgrades for so have 40 or 41 tech).

Image
Attachments
LowStrength.jpg
LowStrength.jpg (119.71 KiB) Viewed 328 times
Robert Harris
Harrybanana
Posts: 4098
Joined: Sat Nov 27, 2004 12:07 am
Location: Canada

RE: Is this a bug?

Post by Harrybanana »

Following the below link I see that these soviet rifle corps are supposed to have 3-2-2. But as shown above they are only 3-1-2. i thought this bug was fixed?

https://www.matrixgames.com/forums/tm.asp?m=4817194
Robert Harris
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: Is this a bug?

Post by ncc1701e »

Yep it was supposed to be fixed...
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
Harrybanana
Posts: 4098
Joined: Sat Nov 27, 2004 12:07 am
Location: Canada

RE: Is this a bug?

Post by Harrybanana »

Well maybe it has been for everyone but me. I think I can fix it for myself (but I am pretty sure I did that once already). Has anyone else experienced this?
Robert Harris
User avatar
AlvaroSousa
Posts: 12107
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Is this a bug?

Post by AlvaroSousa »

I just checked 1939 scenario it is a 3-2-2. Perhaps your opponent started a game with the older version. 39 and 40 scenarios are correct.

Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Harrybanana
Posts: 4098
Joined: Sat Nov 27, 2004 12:07 am
Location: Canada

RE: Is this a bug?

Post by Harrybanana »

ORIGINAL: AlvaroSousa

I just checked 1939 scenario it is a 3-2-2. Perhaps your opponent started a game with the older version. 39 and 40 scenarios are correct.


I am pretty sure my opponent started the game with 1.00.073 like me; but I will ask him.

I played some hot seat games against myself (basically doing nothing and having Germany DOW Russia on T2 of the 1939 scenario) and sure enough my Russian large corps started with 2 guns, but reverted to 1 gun as soon as Russia was DOWed. I then checked my game script and the large corps only had 1 gun (again, this was after updating to 1.00.073). So I amended my own script and retried my hot seat game. This time the Russian large corps retained their 2 guns (and more importantly 2 defence) after the DOW.

This isn't just happening to me. If you check Magic Missiles AAR with Flavius (where MM is Allies) you will see that he is also reporting that his large corps with 41 tech only have 1 gun and his 42 tech have 2 guns. They should have 2 and 3 guns respectively.I am not sure why a DOW changes the number of guns for the Russian large corps; but it seems to be the case.

My suggestion Alvaro is that you run my test of playing a hot seat 1939 game against yourself. On T1 do nothing and see how many guns your Russian large corps have. On T2 have Germany DOW Russia and then check again to see if your large corps still have 2 guns. In fact I suggest that everyone try this. It literally only takes 2 minutes.
Robert Harris
User avatar
AlvaroSousa
Posts: 12107
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Is this a bug?

Post by AlvaroSousa »

//USSR loses ability to build large corps
$ChangeUnitAttributes
if_Date=1/1/1939
if_Country=4
if_Alliance=Allies
lifespan=tillTrigger
targetCountry=4
unitID=3
stats=20,3,2,2,0,0,0,0,0,0,0,1,3,5,1,60,180,0,0
addReportTo=Allies
$End


//USSR loses ability to build large corps
$ChangeUnitAttributes
if_Date=1/1/1942
if_Country=4
if_Alliance=Neutral
lifespan=tillTrigger
targetCountry=4
unitID=3
stats=20,3,2,2,0,0,0,0,0,0,0,1,3,5,1,60,180,0,0
$End

Script is correct. Ran a hotseat 1939 scenario and it came out correct before and after DOW.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Harrybanana
Posts: 4098
Joined: Sat Nov 27, 2004 12:07 am
Location: Canada

RE: Is this a bug?

Post by Harrybanana »

Good, the script is correct for you and hopefully most everyone else. Not sure why it was incorrect for me, my opponent, MagicMissile and probably Flavius. But I still suggest that everyone should run the test and/or check their scripts.
Robert Harris
User avatar
AlvaroSousa
Posts: 12107
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Is this a bug?

Post by AlvaroSousa »

Grab the latest beta scenarios. They might have forgotten to.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Harrybanana
Posts: 4098
Joined: Sat Nov 27, 2004 12:07 am
Location: Canada

RE: Is this a bug?

Post by Harrybanana »

Sorry, are you saying that the script change was made with the latest beta and was not included with the most recent official update (1.00.073)? If so, that might explain the problem. I personally don't play with the betas and just wait for the official updates. Anyway, I have corrected the problem with my game by editing the game script.
Robert Harris
User avatar
Flaviusx
Posts: 7732
Joined: Wed Sep 09, 2009 3:55 pm
Location: Southern California

RE: Is this a bug?

Post by Flaviusx »

Nope, the corps are working correctly for me. I even double checked this today with a fresh hot seat to make double sure.
WitE Alpha Tester
Harrybanana
Posts: 4098
Joined: Sat Nov 27, 2004 12:07 am
Location: Canada

RE: Is this a bug?

Post by Harrybanana »

ORIGINAL: Flaviusx

Nope, the corps are working correctly for me. I even double checked this today with a fresh hot seat to make double sure.

And I assume you would have noticed in your game with MM if your large corps with 39 assault reverted to a 1 CV after Barbarossa. Oddly, MM says in his AAR where he is Allies (which I know you can't look at) that his large corps only have 1 gun. All very strange.

Are you using the latest beta?
Robert Harris
guggy
Posts: 86
Joined: Sat Apr 01, 2017 4:32 pm
Location: París, FRANCE

RE: Is this a bug?

Post by guggy »

I am Harrybanana's opponent in the game mentioned in the original post.

I can confirm the game was started under the latest official version, v1.00.073
This version was issued July 15th long after this bug was reported and corrected (in May).

I just ran the hotseat test and the soviet corps went from gun:2 to gun:1 after Germany DOWed Soviet Union.
Then I checked the _events.txt file from the Europe 1939 folder.
The values were wrong : stats=20,3,1,2,0,0,0,0,0,0,0,1,3,5,1,60,180,0,0
I edited the file and set the values to : stats=20,3,2,2,0,0,0,0,0,0,0,1,3,5,1,60,180,0,0
Then I did the hotseat test again and got the exact same result : corps guns dropped to 1 after German DOWed Soviet Union.

Looks like something is wrong here, and I don't have a clue how to deal with it.
User avatar
baloo7777
Posts: 1194
Joined: Sun May 17, 2009 11:49 pm
Location: eastern CT

RE: Is this a bug?

Post by baloo7777 »

ORIGINAL: AlvaroSousa

Grab the latest beta scenarios. They might have forgotten to.
I checked my games as I have a Steam version that auto-updates to 1.073, and a separate version on my D: drive that I run the Beta 8U6 on. I have 3-2-2 Sov Inf both before and after German DOW. However, this game uses 1 campaign folder it places o the C: drive. The scenarios and unit.png, as well as the map mods, are taken from that campaign folder. I updated that folder with the campaign files found on the Beta site, and wonder if that is why I'm not seeing the 3-2-2 to 3-1-2 change in Sov Inf you are seeing.
JRR
User avatar
AlvaroSousa
Posts: 12107
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Is this a bug?

Post by AlvaroSousa »

Quite possible that scenario file didn't get copied correctly for the person experiencing the problem.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
guggy
Posts: 86
Joined: Sat Apr 01, 2017 4:32 pm
Location: París, FRANCE

RE: Is this a bug?

Post by guggy »

Just tried something else : un-installed the game, removed all components, then re-installed and updated to v1.00.073

Checked the _events.txt file who showed wrong gun values at 2 places.

Corrected the values and ran the hotseat test ... who miserably failed. Gun value of soviet corps reverted to 1 after German DOWed Soviets.

Any idea ?

User avatar
AlvaroSousa
Posts: 12107
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Is this a bug?

Post by AlvaroSousa »

I don't know how they backtracked the scenario files in the install. They were correct.

All you have to do fix this correctly is edit the 1939 scenario since you fixed the script.

Main Menu -> pick 1939 scenario -> Edit Scenario -> File/Quit -> Load All Scripts -> choose the scenario from the list you loaded -> save.

Done. Scripts need to be loaded in from the editor as they are saved in the game itself.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
guggy
Posts: 86
Joined: Sat Apr 01, 2017 4:32 pm
Location: París, FRANCE

RE: Is this a bug?

Post by guggy »

Thank you, Alvaro, you always provide fast and precious support [&o]

I did as you suggested and ran the hotseat test, who finally succeeded : soviet corps gun value remains at 2 after German DOWed Soviet Union.

During the process, I got a weird pop-up message, when I did "Load All Scrips", who says :

Events Scripts 173 AI Scripts 146
Error logs: _eventErrors.txt, _aiScripErrors.txt

Transfer loops loaded
Victory hexes loaded

Don't know how bad that is, anyway, soviet guns are working better now...


User avatar
AlvaroSousa
Posts: 12107
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Is this a bug?

Post by AlvaroSousa »

It is just informational. anything in red is an issue.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Post Reply

Return to “War Plan: Tech Support”