Hey, I made a post about this before, but here's another question. When I run 4-8 clients on one pc, scripts (generally) behave correctly.
I tested then 35 clients on a pc and scripts start being stuck, etc.
To see what's up, I did a little test and noticed that the usual response time of methods is greatly increased, example:
1. Trade player
2. sleep 200ms.
2. loop -> log trade.isCurrentlyTrading(); => FALSE
3. After 1.8 secs => TRUE.
This applies to almost all methods.
So my question again is, how do you handle such inconsistency except by adding longer sleeps?
P.S. I use conditional sleeps, but that can't be applied everywhere.
Thanks!