enjoy2play wrote:thanks for it. check pm, i have problems with tps, maybe u find my mistake.
I assume you have an xml file? (i've made one to load it, no need to upload one)
"thanks for it. check pm, i have problems with tps, maybe u find my mistake."
What exactly do you want me to fix? I noticed immediately that resources are being placed on top of your trade route which is causing it to not spawn correctly. If you comment out all of the resources it will spawn 100% of the time. All you need to do is play with the following three constraints because resources are breaking the posts:
int shortAvoidTradeRoute = rmCreateTradeRouteDistanceConstraint("trade route short", 16.0);
//used to be 6.0, just mess with it until you are happy with it
int avoidTradeRoute = rmCreateTradeRouteDistanceConstraint("trade route", 16.0);
//used to be 10.0, just change it until you are happy with the results
int avoidTradeRouteFar = rmCreateTradeRouteDistanceConstraint("trade route far", 20.0);
You may want to just have them avoid the sockets instead, which you can change.