Team:
While playing the 2nd Chancellorsville Scenario, one of my regiments retreated and got stuck in a limbo. It would retreat backwards, then stop and retreat forwards again. The odd part about it is that there were no troops behind it. It should have had a clear path to the destination.
I have included the save file for this bug, although it only does it a few times after the start of the save. Take me for my word that the regiment was bouncing around for over a minute beforehand.
Thanks!
Odd Retreating Bug Found - .SAV File Included
-
- Reactions:
- Posts: 1436
- Joined: Thu Aug 21, 2008 9:06 am
Odd Retreating Bug Found - .SAV File Included
- Attachments
-
- ERRORSAVE.zip
- (479.66 KiB) Downloaded 3 times
Hancock the Superb
Re: Odd Retreating Bug Found - .SAV File Included
This problem was discussed a while back, I call it the ping-pong-effect, the only solution that I have found is to place another unit between the regiment and the enemy troops.
That seems to stop the unit from constantly bouncing back and forth!
davinci
That seems to stop the unit from constantly bouncing back and forth!
davinci
The only true logic is that, there is no true logic!
Re: Odd Retreating Bug Found - .SAV File Included
thanks for the save, I'll take a look
Re: Odd Retreating Bug Found - .SAV File Included
Took a look at this last night and I was able to fix the issue in this save and I understand the issue.
In case you want to know:
The image of the reg over the terrain is saved. Then that image is projected on the destination to see if the reg can fit. If it cannot, it's moved. So that is what you are seeing, the engine trying to place that reg. The problem here is that since the reg is retreating, the image is totally hosed up. Not at all like it will be once they form up. I have tried to counter that with code and it did fix this saved game immediately. Now we have to test to make sure that nothing else was affected and that it handles all situations, not just this save.
Thank you very much for this, a non-modded saved game clearly showing the bug is all I need to get something fixed 90% of the time.
In case you want to know:
The image of the reg over the terrain is saved. Then that image is projected on the destination to see if the reg can fit. If it cannot, it's moved. So that is what you are seeing, the engine trying to place that reg. The problem here is that since the reg is retreating, the image is totally hosed up. Not at all like it will be once they form up. I have tried to counter that with code and it did fix this saved game immediately. Now we have to test to make sure that nothing else was affected and that it handles all situations, not just this save.
Thank you very much for this, a non-modded saved game clearly showing the bug is all I need to get something fixed 90% of the time.