Posted: 13 Nov 2006, 09:21
Unresolved issue: the UnitCreated event in the AI is being bound only to the last AI to load.
Example infolog, 2 identical AIs:
4999 is GlobalAI0's commander, 4998 is GlobalAI1's commander.
4997 is a solar cell built by GlobalAI0, and should not firing a UnitCreated event in GlobalAI1.
Example infolog, 2 identical AIs:
Code: Select all
Player hughperkins joined as 0
GlobalAI0: Hello from abi-called dll!
GlobalAI0: The map name is: SmallDivide.smf
GlobalAI0: Our ally team is: 0
GlobalAI0: Num features is: 999
GlobalAI0: First feature: GeoVent
GlobalAI0: Unit created: 4999
GlobalAI0: Unit created: ARMCOM
GlobalAI0: Max Slope: 0.330869
GlobalAI0: Commanderpos: 600.000000 64.395966 600.000000
GlobalAI0: Num unit defs: 285
GlobalAI0: Found solar collector def: 114
GlobalAI0: Closest build site: 600.000000 39.618950 600.000000
GlobalAI1: Hello from abi-called dll!
GlobalAI1: The map name is: SmallDivide.smf
GlobalAI1: Our ally team is: 1
GlobalAI1: Num features is: 999
GlobalAI1: First feature: GeoVent
GlobalAI1: Unit created: 4998
GlobalAI1: Unit created: 4997
User exited
4997 is a solar cell built by GlobalAI0, and should not firing a UnitCreated event in GlobalAI1.