Example. The Trojan spawns, and moves away from his spawn point. Then, he moves out of the 1000 range from his start location. 5 seconds later, if he hasn't found anything to attack, the computer AI tells him to move back to his spawn location, to guard it.
To solve, go into gameplay constants and change this line
-Creeps - Guard Distance 1000
To
-Creeps - Guard Distance 100000
That should solve the problem.
The Trojan would have to get 100000 distance away from his start location before he is sent back, which should solve the problem.
Edit: In addition, modifying these lines
-Cancel Refund Factor - Building Construction 0.75
-Cancel Refund Factor - Building Upgrade 0.75
To
-Cancel Refund Factor - Building Construction 1.00
-Cancel Refund Factor - Building Upgrade 1.00
Will make it so that you do not lose any money when starting an upgrade, then canceling it.
These would eliminate two irritating Flaws in the game.
Edit:
WOW, I thought that after giving the method to fix the main problem the game has(trojan does not attack sometimes) I would get ONE reply XD Oh well....
Edited by Ranakastrasz, 09 March 2010 - 08:09 PM.