How is this combat result possible?
Moderator: AlvaroSousa
- MagicMissile
- Posts: 1951
- Joined: Sat Oct 11, 2014 8:18 am
- Location: A village in Thailand
Re: How is this combat result possible?
I dont think I have seen it yet maybe in the screenshot below. 7:1 attack 9 attacker losses seems very high.
I have no idea what changed in patch 19 that could make this happen but I am pretty sure I have not seen these kind of results that have been posted here in earlier patches.
/MM
I have no idea what changed in patch 19 that could make this happen but I am pretty sure I have not seen these kind of results that have been posted here in earlier patches.
/MM
- AlvaroSousa
- Posts: 11164
- Joined: Mon Jul 29, 2013 7:13 pm
- Contact:
Re: How is this combat result possible?
So far I can't replicate it.
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
- WarPlan
- WarPlan Pacific
Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
- PanzerMike
- Posts: 1174
- Joined: Sun Apr 30, 2006 8:40 am
Re: How is this combat result possible?
I am 100 percent sure I never saw this before the last patch. So it must be a very recent change in the code.
- AlvaroSousa
- Posts: 11164
- Joined: Mon Jul 29, 2013 7:13 pm
- Contact:
Re: How is this combat result possible?
It happened before. I found an error and fixed it. But this is new since the fix
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
- WarPlan
- WarPlan Pacific
Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Re: How is this combat result possible?
If it happens again I'll stop playing my turn so the savegame can be used to test.
Offer for code review still stands.
Offer for code review still stands.
Re: How is this combat result possible?
It has just happened to our game (1.00.20 beta).
But I can't save it, the PBEM++ does not respond...
But I can't save it, the PBEM++ does not respond...
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.
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.
Re: How is this combat result possible?
This is new to me. I did perform a Ground Strike. Move a Pz in a contested hex. And did this attack.
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.
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.
- PanzerMike
- Posts: 1174
- Joined: Sun Apr 30, 2006 8:40 am
Re: How is this combat result possible?
It keeps happening to me too every once in a while, still no pattern as far as I can see. It is a very disrupting bug though 

- AlvaroSousa
- Posts: 11164
- Joined: Mon Jul 29, 2013 7:13 pm
- Contact:
Re: How is this combat result possible?
I run manual tests and A.I. tests and I can't find it yet. I go over the code and nothing.
It happens to attack and defender. Will work on it more this week. I didn't change the combat routines.
It happens to attack and defender. Will work on it more this week. I didn't change the combat routines.
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
- WarPlan
- WarPlan Pacific
Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
- AlvaroSousa
- Posts: 11164
- Joined: Mon Jul 29, 2013 7:13 pm
- Contact:
Re: How is this combat result possible?
Silly question here. Is it happening with a specific opponent in PBEM? Or vs 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
- WarPlan
- WarPlan Pacific
Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
- PanzerMike
- Posts: 1174
- Joined: Sun Apr 30, 2006 8:40 am
Re: How is this combat result possible?
I was playing versus the AI
- battlevonwar
- Posts: 1223
- Joined: Thu Dec 22, 2011 3:17 am
Re: How is this combat result possible?
I have had 5-6-7 instances of it. Look for Exponential Damage taken from attacking Infantry of any kind where you get an impossible number of casualties. Like 17 against a 1 HP near dead Div or 30-65 against an Infantry Corp.
I took more screenies of it and I have never seen it till the new patch .19
I took more screenies of it and I have never seen it till the new patch .19
- AlvaroSousa
- Posts: 11164
- Joined: Mon Jul 29, 2013 7:13 pm
- Contact:
Re: How is this combat result possible?
I am running sims over and over. Nothing so far I can trace. The damage is normal. Rechecked code.
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
- WarPlan
- WarPlan Pacific
Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Re: How is this combat result possible?
Al any possibility of code overlap with the extra damage to ships from air units?
I think it is critical damage...IF it happens once you have another chance to happen and so forth....
A COMPLETE guess here.
I think it is critical damage...IF it happens once you have another chance to happen and so forth....
A COMPLETE guess here.
- AlvaroSousa
- Posts: 11164
- Joined: Mon Jul 29, 2013 7:13 pm
- Contact:
Re: How is this combat result possible?
This is all land combat. They use the same functions. I know I recently added a retreat modifier so full units don't explode because it made no sense for them to stand and die.
That is what I am looking into. So far nothing. I kept running sims last not and even made a special scenario with low polish units see if that was the issue.
Will keep working on it. Went over functions and I just can't see what is causing this.
That is what I am looking into. So far nothing. I kept running sims last not and even made a special scenario with low polish units see if that was the issue.
Will keep working on it. Went over functions and I just can't see what is causing this.
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
- WarPlan
- WarPlan Pacific
Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Re: How is this combat result possible?
I do see air units involved...
As I said...was a complete guess and more the reverse issue
BUT the issue is more the attacker being wiped out for the most part.
Not seen anything like this in WPP at the moment with multiple games going...all normal combat so far
As I said...was a complete guess and more the reverse issue
BUT the issue is more the attacker being wiped out for the most part.
Not seen anything like this in WPP at the moment with multiple games going...all normal combat so far
- AlvaroSousa
- Posts: 11164
- Joined: Mon Jul 29, 2013 7:13 pm
- Contact:
Re: How is this combat result possible?
Same code for combat. This is an anomoly
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
- WarPlan
- WarPlan Pacific
Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
-
- Posts: 1140
- Joined: Wed Sep 20, 2006 12:24 pm
- Location: Greenville, SC
Re: How is this combat result possible?
Any detailed logging the people getting the error could turn on? If no, perhaps add it work with one of them? If they get the error and it cannot be recreated, why not try using logging to isolate the issue?
- AlvaroSousa
- Posts: 11164
- Joined: Mon Jul 29, 2013 7:13 pm
- Contact:
Re: How is this combat result possible?
I am using logging to show the values. It just hasn't come up in my testing.
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
- WarPlan
- WarPlan Pacific
Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
- AlvaroSousa
- Posts: 11164
- Joined: Mon Jul 29, 2013 7:13 pm
- Contact:
Re: How is this combat result possible?
Ok I finally figured it out. It has to do with the new rule I put in about slamming units with overwhelming damage.
Basically if a unit has more than 33% of its max health and takes 50%+ of its health in damage it auto-retreats, does 50% damage and stops taking more damage.
This represents a fully capable unit understanding it is getting overrun and does a delayed retreat before getting surrounded and destroyed.
Unlike a low strength unit barely functioning it doesn't have the force available to hold its line effectively. Those units get overrun.
Running more tests to make sure it is working as it should showing variables. Then I will put up a beta.
Basically if a unit has more than 33% of its max health and takes 50%+ of its health in damage it auto-retreats, does 50% damage and stops taking more damage.
This represents a fully capable unit understanding it is getting overrun and does a delayed retreat before getting surrounded and destroyed.
Unlike a low strength unit barely functioning it doesn't have the force available to hold its line effectively. Those units get overrun.
Running more tests to make sure it is working as it should showing variables. Then I will put up a beta.
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
- WarPlan
- WarPlan Pacific
Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3