Odd Retreating Bug Found - .SAV File Included

Game won't run. Keeps crashing. Hopefully we won't get any posts here, but if we do, we'll try to help you out. You can also post any bugs that you find here. IMPORTANT: Don't post mod related problems here!
Post Reply
Hancock the Superb
Reactions:
Posts: 1436
Joined: Thu Aug 21, 2008 9:06 am

Odd Retreating Bug Found - .SAV File Included

Post by Hancock the Superb »

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!
Attachments
ERRORSAVE.zip
(479.66 KiB) Downloaded 3 times
Hancock the Superb
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Odd Retreating Bug Found - .SAV File Included

Post by Davinci »

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
The only true logic is that, there is no true logic!
User avatar
norb
Reactions:
Posts: 3778
Joined: Mon Nov 26, 2007 9:59 am
Location: Central Florida
Contact:

Re: Odd Retreating Bug Found - .SAV File Included

Post by norb »

thanks for the save, I'll take a look
User avatar
norb
Reactions:
Posts: 3778
Joined: Mon Nov 26, 2007 9:59 am
Location: Central Florida
Contact:

Re: Odd Retreating Bug Found - .SAV File Included

Post by norb »

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.
Post Reply