Member
Join Date: Sep 2010
Posts: 19
|
Hi,
I keep getting "duplicate record encountered" when trying to load my data files with AB3.2. I ensured that the mentioned records are unique throughout all data files. When reordering the records directly in the xml data files causes sometimes to solve the problem. It seems to happen mostly with calc stat and/or rule records. When adding new data files with new calc stat or rule records previously manually reordered records appear to cause duplicate record errors again. Is this a known problem? What can there be done to debug the source of the errors? Regardss, Dreamfish |
#1 |
Member
Join Date: Sep 2010
Posts: 19
|
I solved the duplicate error problem by giving all calc stat records a different name. They all had the same name but with a unique id. Giving two or more records the same name is allowed in AB but is probably giving the above problems when more than x records have same name? Could it be a bug?
|
#2 |
Senior Member
Lone Wolf Staff
Join Date: Dec 2008
Posts: 4,690
|
In almost all cases, giving records the same name is allowed. However, I believe there is one (maybe two) exceptions to this, and I think one of them might well be statcalcs; although statcalcs have a unique id (so you can reference them with scripts), Army Builder still does a lot of things with them by name internally. So having multiple statcalcs with the same name will cause problems, and so isn't allowed.
It's not a bug, but it does seem undesirable. I'll add it to our to-do list to take a look at at some point. |
#3 |
Thread Tools | |
Display Modes | |
|
|