| 03-12-2003, 09:41 PM | #1 |
It seems you cannot use more than 6 threads (including main one) in AI. That means you can only call StartThread 5 times. After that it is just ignored. When I tested even ending a thread did not give the slot free. Following calls to StartThread were ignored. I am not sure about this one but it seems that using up the limit is buggy. When I used all 6 threads in the new AI I am working on the AIs seemed to get stuck quite often. The symptoms indicate that with each of them a thread was not running any more after some time. With some it was the attacking thread, with others the build sequence thread. It was not reproducable meaning that it did not happen every time in a certain situation. I guess it is not advisable to use more than 4 (so many run in the standard melee AI) or 5 threads. |
