Page 1 of 1

Crash during custom game deployment phase

Posted: Sun Oct 21, 2018 1:21 am
by Jagger2002
I get a crash periodically during custom game deployment phase. Usually I am grabbing a unit from the bottom of the map and trying to lift it to the left. My mouse pointer will end up frozen on the extreme left center of the map. Here are the error codes I receive:

GetTile(unit->mTile.x, unit->mTile.y).unit==NULL && "Trying to enter an occupied tile" .\BattleMap.cpp(3420)

After clicking OK on the above error message, I get:

***Unhandled Exception! ExpCode: 0x80000003 ExpFlags:0 ExpAddress: 0x0050A35D Please Report!

When I click Ok on the second message, I am bounced out to the game opening screen.

Re: Crash during custom game deployment phase

Posted: Mon Oct 22, 2018 7:11 am
by rbodleyscott
Thanks for the report.

Could you post the error.log report from the time the game crashed please.

You will find it in

/Documents/My Games/FieldOfGlory2/

The vanilla error.log file is overwritten each time you open the game, but there should be a date-stamped version from the time of the crash.

Re: Crash during custom game deployment phase

Posted: Mon Oct 22, 2018 1:32 pm
by Jagger2002
error20181007_222152.zip
(1.33 KiB) Downloaded 93 times
Ok, here you go. This is an old error file but it is the same type crash.

Re: Crash during custom game deployment phase

Posted: Mon Oct 22, 2018 1:39 pm
by rbodleyscott
Jagger2002 wrote: Mon Oct 22, 2018 1:32 pm error20181007_222152.zip

Ok, here you go. This is an old error file but it is the same type crash.
Thanks, I will ask Pip to take a look.

The thing is that even if you were trying to drag a unit on top of another unit, the system ought to be able to handle that without crashing. Clearly there is a bug somewhere (either in the scripts or the engine).

Re: Crash during custom game deployment phase

Posted: Tue Oct 23, 2018 3:41 pm
by Jagger2002
Ok, thanks. It doesn't happen very often now because I rarely do that move quickly anymore. although every now then, I get in a hurry and get the crash.

Re: Crash during custom game deployment phase

Posted: Tue Oct 23, 2018 9:11 pm
by pipfromslitherine
I think I have found and fixed the issue. Thanks for reporting it and providing the data.

Cheers

Pip

Re: Crash during custom game deployment phase

Posted: Wed Oct 24, 2018 3:37 am
by Jagger2002
Thanks Pip!