Posted: Mon Mar 01, 2010 10:19 am
Ok, the problem is that Defcon will consider 3 ships placed in the same tick to be in the same fleet. The multithreading module is designed to do as much work in one tick as possible. So, you need an unconditional yield, give me 10 seconds to write it and commit to svn...
Ok, grab the new multithreaidng file off the svn. To unconditionally yield pass true to the yield function. Ie. replace all yields in your ship placement code with
Nb: I haven't tested this, but it should work
Ok, grab the new multithreaidng file off the svn. To unconditionally yield pass true to the yield function. Ie. replace all yields in your ship placement code with
Code: Select all
Multithreading.YieldLongTask(true)
Nb: I haven't tested this, but it should work