Strange ZOC result

Moderator: AlvaroSousa

Nirosi
Posts: 2417
Joined: Sun Sep 17, 2017 5:01 pm

Strange ZOC result

Post by Nirosi »

Hi Alvaro,

In this picture, you can see the Polish ZOC working as intended (+2).
Capture d’écran 2022-11-07 194052.jpg
Capture d’écran 2022-11-07 194052.jpg (74.16 KiB) Viewed 944 times
Nirosi
Posts: 2417
Joined: Sun Sep 17, 2017 5:01 pm

Re: Strange ZOC result

Post by Nirosi »

However, in this picture, you can see that for the same terrain type and beside the same Polish unit, the ZOC does not seem to apply!
Capture d’écran 2022-11-07 194114.jpg
Capture d’écran 2022-11-07 194114.jpg (118 KiB) Viewed 942 times
Nirosi
Posts: 2417
Joined: Sun Sep 17, 2017 5:01 pm

Re: Strange ZOC result

Post by Nirosi »

It is in the main 1939 scenario (Multiplayer game)
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Strange ZOC result

Post by AlvaroSousa »

Yea I have seen some anomalies like that but haven't been able to trace them down.

I just did the same exact thing as the picture. I got 4 and 4.

I wonder if some data isn't clearing from the previous move.
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
User avatar
ncc1701e
Posts: 10717
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

Re: Strange ZOC result

Post by ncc1701e »

I have retried many times with plenty of initial conditions. I did not reproduced. This is strange.
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.
User avatar
ncc1701e
Posts: 10717
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

Re: Strange ZOC result

Post by ncc1701e »

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.
Nirosi
Posts: 2417
Joined: Sun Sep 17, 2017 5:01 pm

Re: Strange ZOC result

Post by Nirosi »

Capture d’écran 2022-12-18 223909.jpg
Capture d’écran 2022-12-18 223909.jpg (169.58 KiB) Viewed 886 times
Another one just occurred if it helps. PBEM and latest patch. Soviet CAV has no ZOC in this particular hex (no battle occurred in hex).
User avatar
ncc1701e
Posts: 10717
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

Re: Strange ZOC result

Post by ncc1701e »

Should it matter if the hex is already owned by Finland?

I don’t think so but for the code?
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.
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Strange ZOC result

Post by AlvaroSousa »

For the life of me I have no idea why it is doing this. I look at it about once a month to see if something pops in my head.

Like I resolved the intercept going to port this week because an idea popped in my head on how to work around the code. I couldn't believe I didn't see it earlier.
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
Nirosi
Posts: 2417
Joined: Sun Sep 17, 2017 5:01 pm

Re: Strange ZOC result

Post by Nirosi »

I wonder if it happens because in some cases the ZOC does not affect movement as it should (but the ZOC still exist) or in some cases the ZOC itself is cancelled? Effect would be the same, but cause might be different.
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Strange ZOC result

Post by AlvaroSousa »

I have never been able to replicate it.

Does it happen in PBEM, computer opponent, or both?
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
Nirosi
Posts: 2417
Joined: Sun Sep 17, 2017 5:01 pm

Re: Strange ZOC result

Post by Nirosi »

AlvaroSousa wrote: Tue Dec 20, 2022 5:24 pm I have never been able to replicate it.

Does it happen in PBEM, computer opponent, or both?
Can not say against AI, do no remember. All occurrences I saw lately are in PBEM. And it is very random as in the same situation (start of game in Poland, same hex and enemy troop), it may or may not happen...

Maybe a curse?
User avatar
ncc1701e
Posts: 10717
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

Re: Strange ZOC result

Post by ncc1701e »

I try a lot in hotseat without success. Will try against computer.
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.
BRedgie
Posts: 13
Joined: Fri May 31, 2019 4:14 pm

Re: Strange ZOC result

Post by BRedgie »

I have had this problem on several occasions in many of my PBEM games. If you complete the move to the hex that shows the no ZOC cost the move is completed at the no ZOC cost. But I also found that if prior to actually moving that unit you move a different unit and then come back to that same unit that had displayed the ZOC error it would now show the correct cost. My opponent and I have a house rule that if you notice a unit is not going to pay the correct cost for ZOC to simply move another unit and then come back to that unit in question.

I have also noticed that when a units movement path shows this no ZOC cost that even moving that unit to a hex just short of the ZOC hex and then checking the movement path again will also correct the problem.
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Strange ZOC result

Post by AlvaroSousa »

This helps. It might be a pathfinding array I forgot to clear when uploading one PBEM game then loading another.

Does it happen at the start of a game?
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
BRedgie
Posts: 13
Joined: Fri May 31, 2019 4:14 pm

Re: Strange ZOC result

Post by BRedgie »

I have not noticed it happening every game turn but rather sporadically throughout a game.
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Strange ZOC result

Post by AlvaroSousa »

Ok let me look into this. I haven't played PBEM in a while and test against the computer.
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
User avatar
ncc1701e
Posts: 10717
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

Re: Strange ZOC result

Post by ncc1701e »

I have one PBEM game number 389010 me Axis against generalfdog.

Here is the situation. I unselect, reselect the unit, it is reproducible.
ZOC bug 1.JPG
ZOC bug 1.JPG (52.12 KiB) Viewed 722 times
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.
User avatar
ncc1701e
Posts: 10717
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

Re: Strange ZOC result

Post by ncc1701e »

It takes 1 to enter this hex. This is normal.
ZOC bug 2.JPG
ZOC bug 2.JPG (66.36 KiB) Viewed 720 times
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.
User avatar
ncc1701e
Posts: 10717
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

Re: Strange ZOC result

Post by ncc1701e »

But look my unit has 4 ops left and it can enter the following hex???

I have save the PBEM so that you can download it and have a look with more debug tools.
ZOC bug 3.JPG
ZOC bug 3.JPG (62.25 KiB) Viewed 719 times
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.
Post Reply

Return to “War Plan: Tech Support”