EmperorFool
Deity
EF, you mind posting the bit of offending code?
Sure. Here's the fixed version from SVN:
Code:
<TEXT>
<Tag>TXT_KEY_TRADE_ROUTE_HELP_BASE</Tag>
<English>%s1 [ICON_COMMERCE]: Base profit</English>
<French>%s1 [ICON_COMMERCE] : bénéfice de base</French>
<German>%s1 [ICON_COMMERCE]: Basisprofit</German>
<Italian>%s1 [ICON_COMMERCE]: profitto basilare</Italian>
<Spanish>%s1 [ICON_COMMERCE]: Beneficio base</Spanish>
</TEXT>
"%s" tells the game to expect a string. "%d" tells it to expect an integer number. Well, the address of a string is just a large integer, so the engine was taking part of it and formatting it into a string ("%d").
I found it because I diffed the new version against the original BTS version so I could split out the additions. At that point I found changes to some of the XML entries which I didn't expect. It was really blind luck.