Minor issue I found: If a MP challenge is created using list Thracian 460-351 BC, it is incorrectly displayed as Thracian 680-461 BC. This is because file Core\ArmyList.txt has wrong entry in section [LE_THRACIAN]:
NAME IDS_ARMY_E_THRACIAN
should be
NAME IDS_ARMY_LE_THRACIAN
MP lobby: Thracian 460-351 BC shows wrong army name
-
- Field of Glory 2
- Posts: 28297
- Joined: Sun Dec 04, 2005 6:25 pm
Re: MP lobby: Thracian 460-351 BC shows wrong army name
Many thanks, those errors are hard to spot, because they only appear in the MP Lobby. The main game scripts derive the string tag from the army list "chunk" name, e.g. [LE_THRACIAN], but the MP lobby (which is hard-coded in the engine) uses the string tag in the armylist.txt file.
We have a little code routine to check for such errors, but we have to remember to run it after any changes to the army lists. Clearly we did not do so after the new Thracian lists were added.
Anyway, I have done it now, and that was the only such error.
It will be fixed for the next update.
Thanks again for reporting the error.
We have a little code routine to check for such errors, but we have to remember to run it after any changes to the army lists. Clearly we did not do so after the new Thracian lists were added.
Anyway, I have done it now, and that was the only such error.
It will be fixed for the next update.
Thanks again for reporting the error.
Richard Bodley Scott


Re: MP lobby: Thracian 460-351 BC shows wrong army name
The ONE TIME you didn’t run the error check...
I came about this backwards, I noticed the entry was wrong in ArmyList.txt but everything looked fine in-game (SP). I did some searching and found the script that reads this data was in a function for MP, and only then did I figure out how to reproduce/report the issue.

I came about this backwards, I noticed the entry was wrong in ArmyList.txt but everything looked fine in-game (SP). I did some searching and found the script that reads this data was in a function for MP, and only then did I figure out how to reproduce/report the issue.
-
- Field of Glory 2
- Posts: 28297
- Joined: Sun Dec 04, 2005 6:25 pm
Re: MP lobby: Thracian 460-351 BC shows wrong army name
I am intrigued. As far as I know the code that reads that data is in the engine, to which I do not have code access. My scripts don't read the tag from the ArmyList.txt file but construct it from the army chunk name. Which script are you referring to?mgardner wrote: ↑Sun Apr 05, 2020 5:14 pm The ONE TIME you didn’t run the error check...![]()
I came about this backwards, I noticed the entry was wrong in ArmyList.txt but everything looked fine in-game (SP). I did some searching and found the script that reads this data was in a function for MP, and only then did I figure out how to reproduce/report the issue.
As far as I know the only script that reads the NAME tag from the ArmyList.txt file is the CheckArmyListNames() function that does the aforementioned integrity check (when I remember to run it).
Richard Bodley Scott


Re: MP lobby: Thracian 460-351 BC shows wrong army name
Yes, this is exactly where I found the clue. Searching *.bsf for NAME (whole word / match case) found only a few hits. The CheckArmyListNames comment is the only thing that prompted me to test this list in MP:rbodleyscott wrote: ↑Sun Apr 05, 2020 9:14 pm As far as I know the only script that reads the NAME tag from the ArmyList.txt file is the CheckArmyListNames() function that does the aforementioned integrity check (when I remember to run it).
"Checks that the NAME string tag is correct for all lists in ArmyList.txt. (Otherwise errors only become apparent in the MP lobby.)"
Re-reading my comment, it does sound like I was claiming knowledge about scripts used for MP but that is certainly not the case - sorry.
-
- Field of Glory 2
- Posts: 28297
- Joined: Sun Dec 04, 2005 6:25 pm
Re: MP lobby: Thracian 460-351 BC shows wrong army name
No problem, I just wanted to make sure I wasn't missing something.mgardner wrote: ↑Sun Apr 05, 2020 9:38 pmYes, this is exactly where I found the clue. Searching *.bsf for NAME (whole word / match case) found only a few hits. The CheckArmyListNames comment is the only thing that prompted me to test this list in MP:rbodleyscott wrote: ↑Sun Apr 05, 2020 9:14 pm As far as I know the only script that reads the NAME tag from the ArmyList.txt file is the CheckArmyListNames() function that does the aforementioned integrity check (when I remember to run it).
"Checks that the NAME string tag is correct for all lists in ArmyList.txt. (Otherwise errors only become apparent in the MP lobby.)"
Re-reading my comment, it does sound like I was claiming knowledge about scripts used for MP but that is certainly not the case - sorry.
Richard Bodley Scott

