
Oh, yeah, the same routine updates gold/wood/food/etc. I believe that, unlike the previous games, the AI resources are stored in the same data structure that the player resources are stored in and you're not going to be able to search for simple values because the game is constantly iterating through the players - the numbers won't be strictly increasing, nor will they ever be stable (assuming at least one other human/ai team exists). In order to train this game, you're going to need a debugger with conditional breakpoints, a remote debugger or some other way to debug without having direct x lockups, familiarity with mapping out data structures, and a whole lot of patience. Your best bet is to edit the xml/config files.
