Both are not amazing, I didn't read all of the above thread, but it has the answers. My thought is that, polled wait is more accurate in multiplayer then trigger sleep action. Im probably wrong but w/e. The most accurate, by far, however, is a timer~ So use timers~
i remember making a timer for every 0.03 seconds and i put a debug msg in the timer itself.
then i used TriggerSleepAction(0.30) seconds then destroyed the timer
so 30 / 3 should be 10 right? but the timer runs more than 10 times usually... though it might be because im using triggersleep instead of PolledWait =\
PolledWait leaks
There's a leak free version somewhere around...
Anyway, PolledWait uses TriggerSleepAction to wait most of the time, and it creates and starts a timer for the details...
TriggerSleepAction is just that, it waits...
Unfortunately, it's not all that precise.
Especially on really short delays.
Waiting 0.3 might be 0.3, but it could just as well be 0.32...
I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.
I'm on a page about incorrect corrections, and spent the better part of like two hours trying to get someone to understand that -5^2 = -25, not 25, and then that post had comments get reposted because that group is self sustaining, and that person was in turn trying to explain what I just explained to them. And I'm taking that as a victory