Duplicate units

Post bug reports and ask for tech support here. Post any Community Site Requests here as well.

Moderator: Vic

Post Reply
Szilard
Posts: 386
Joined: Wed Jan 03, 2001 10:00 am

Duplicate units

Post by Szilard »

This happened with a scenario I'm fiddling with. Unfortunately over-wrote it in debugging so probably not a very useful report but anyway ...

- Duplicate copies of units somehow appeared (ie same unit number, same unit number#, but two units in different positions on the map). This happened with a number of units in two different regimes.
- No idea if relevant but they appeared after I had been fooling around trying to add in a new "desert" landscape type & changing hexes on which the original units were placed to this type. Units in other areas not affected.
- Duplicates *may* have arisen by placing new units and copying contents of original units (ie copy unit #) or *may* have arisen in conjunction with moving the original units a couple of hexes. Can't remember exact sequence, sorry.
- AI run time error resulted. Stack dump showed an "index out of range error" in a function called something like MoveAPCostPreview (didn't copy the dump, sorry).
- In human turn, only one of the unit instances could be moved. The other appeared to be a normal unit except attempts to move it failed.
- Deleting one instance removed the other, too. Deleting all copied units fixed the prob.



User avatar
Vic
Posts: 9931
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Duplicate units

Post by Vic »

I have seen this before, but never managed to pinpoint how the situation is created... :(
 
if anybody can pinpoint it. by traceable steps it would be great help.
 
kind regards,
vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
Post Reply

Return to “Advanced Tactics Support”