Anyone know if the lag simulator is working? Tried it in both my zone extension and room extension, didn't cause any lag...
this.lagSimulationMillis = 2000;//Lag in milliseconds
Lag simulator not working for MMO rooms?
Re: Lag simulator not working for MMO rooms?
Hi,
sorry I am not sure that this code:
refers to?
Can you clarify?
thanks
sorry I am not sure that this code:
Code: Select all
this.lagSimulationMillis = 2000
refers to?
Can you clarify?
thanks
Re: Lag simulator not working for MMO rooms?
Umm, I read that lag simulation was added as far back as SmartFox 1.x for Java extensions.
If you just type "this.lag" in extension init() in a Java IDE two different variables come up...
If you just type "this.lag" in extension init() in a Java IDE two different variables come up...
Re: Lag simulator not working for MMO rooms?
Thanks.
Yes you have two parameters:
lagSimulationMillis and lagOscillation. The former indicates a base value and the latter adds or subtracts a random value in the range [1.. lagOscillation]
The system works by causing the server response to get to the client with additional lag. So it's server --> client only.
Yes you have two parameters:
lagSimulationMillis and lagOscillation. The former indicates a base value and the latter adds or subtracts a random value in the range [1.. lagOscillation]
The system works by causing the server response to get to the client with additional lag. So it's server --> client only.
Who is online
Users browsing this forum: No registered users and 74 guests