06.11.2016, 16:02
(
Last edited by jbankss; 11/11/2016 at 09:56 PM.
)
Hi. I've done some testing in my gamemode and every now and then people have one of the two following issues(it happens for all players on the server)
* players/vehicles disappear for 3-5 seconds, as if their virtual world was set and then set back
OR
* players tab out on their screens and then come back after 3-5 sec
(this all happens simultaneously)
I've reviewed all virtualworld changes in the script several times and its definately not the issue, so then I assumed it was an infinite loop(that ends somewhy after about 5 sec), so I added debug messages to each and every loop(about 100 of them)
example
-.. to no success as the console wasnt spammed with messages when the bug happened.
Anyone had similliar issues / ideas as to why this is happening?
* players/vehicles disappear for 3-5 seconds, as if their virtual world was set and then set back
OR
* players tab out on their screens and then come back after 3-5 sec
(this all happens simultaneously)
I've reviewed all virtualworld changes in the script several times and its definately not the issue, so then I assumed it was an infinite loop(that ends somewhy after about 5 sec), so I added debug messages to each and every loop(about 100 of them)
example
PHP Code:
for(new....)
{
if(i > 512) printf("SendAllGangMessage: %i", i);
}
Anyone had similliar issues / ideas as to why this is happening?