With cordite in the air, splintered steel, shell casings and powder burns, there’s only one explanation...
If you have any trouble with SG, this is the place to ask.

Moderator: Pardner

[Tutorial] Lag every minute ?

Postby Barto » Tue Oct 11, 2011 10:16 pm

Introduction

Do you use the Wi-Fi technology to have internet?
Do you have Windows XP?
Do you have a ping at around 1000 milliseconds every one or two minutes?
This is annoying when you have a stick of TNT near to blow in your hand, isn't it? :D

I had the same problem a long time ago and this is now the time to share to the online community my solution of this problem.
Before creating this small tutorial, I needed to know that it was working not only on my own computer, this was done recently.

Contents
  • Spotting the problem
  • Theory
  • Let's solve it

Spotting the problem

As I already said, this problem occures on computer which are running Windows XP and are having internet with the Wi-Fi.
You can see the problem while playing with the sudden high ping you have every one or two minutes, just count to be sure.
You actually don't see the problem while just surfing on the net because this sudden high ping is too short to be seen on a website. This is another problem while playing online because you actually need a regular connection. Here is some ping statistic I did:
Code: Select all
$ ping -t www.google.com

Envoi d'une requête 'ping' sur www.l.google.com [74.125.39.106] avec 32 octets de données:

Réponse de 74.125.39.106: octets=32 temps=26 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=28 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=28 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=26 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=28 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=28 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=28 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=28 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=28 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=29 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=28 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=29 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=27 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=28 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=28 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=27 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=26 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=28 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=28 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=28 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=26 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=28 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=28 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=28 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=26 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=26 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=28 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=29 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=28 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=27 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=27 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=1833 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=27 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=26 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=27 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=27 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=27 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=27 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=29 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=27 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=27 ms TTL=52
Réponse de 74.125.39.106: octets=32 temps=27 ms TTL=52

You can clearly see the spot where I get a sudden high ping, 1833 milliseconds here, even if my computer is in french :lol:

Theory

This is the fault of Windows XP here. The computer is actually scanning every new Wi-Fi hotspots every one or two minutes. This is the reason that you lost your internet connection in that time. This task on Windows is called the "Windows Zero Configuration SerViCe", let's just call it WZCSVC, okay?
The aim now is to disable this task without being disconnected from the current Wi-Fi hotspot.

Let's solve it

This is finally a simple way to get rid of this problem, just disable that task at the good moment and you're done.

The complete way:

1) Create one text file. (.txt)
2) Open it and add into it the following text:
Code: Select all
@echo off
net stop WZCSVC
@echo on

3) save it and rename it as WZCSVC_off.bat . You might activate the possibility to show the extension of files to be able to do that step.

This is the file which will disable the WZCSVC. You just need, after being connected to your Wi-Fi, run that script by double clicking on it. You will need to do that on every computer's boot.

If you loose your connection to your Wi-Fi hotspot, you won't be able to reconnect so you need also a script that re-enable that task. Just change the step 2) with that following code:
Code: Select all
@echo off
net start WZCSVC
@echo on

and save it in another file named WZCSVC_on.bat .

The fast and lame way:

Download the scripts here, extract it and execute WZCSVC_off.bat

Conclusion

I hope you solved the high ping issue with that small trick, it worked on my computer. This was just a small configuration's problem which was solved easily. If you have other problem, don't be scared to reply or send me some PM. I have tested that way only on Windows XP, having an answer on the other system would be nice.
I apologize also with my bad english, i won't be angry if I someone tells me I made some mistakes, I will just correct them.

Source

- http://jelnet.free.fr/jlnt_indx.htm which explains the trick with the script, and some other (french)
"Chuck Norris had to shorten his beard in the presence of Richard Stallman because two beards that awesome, so close would segfault the universe (again)."
User avatar
Barto
Jeuxlinux Admin
 
Posts: 360
Joined: Fri Oct 23, 2009 5:08 pm
Location: Switzerland



Re: [Tutorial] Lag every minute ?

Postby Barto » Sat Jun 18, 2022 4:23 pm

Here am I answering a comment the next day on a 11 years old post :lol:

That bug was specific with Windows XP from what I recall, with badly configured drivers.
I doubt this issue happens with newer machines/drivers/Windows versions.

The map dm_train is a rather buggy map I have to concede. I doubt this is due to a networking issue. Worst case try a local game and see if the problem still occurs.
"Chuck Norris had to shorten his beard in the presence of Richard Stallman because two beards that awesome, so close would segfault the universe (again)."
User avatar
Barto
Jeuxlinux Admin
 
Posts: 360
Joined: Fri Oct 23, 2009 5:08 pm
Location: Switzerland



Re: [Tutorial] Lag every minute ?

Postby Personne ! » Sun Jul 31, 2022 4:34 pm

I can't longer download new maps on baller bude, so I am automatically disconnected when a map I do not have is played... Has anyone ever had this problem? If not, are all these maps downloadable on moddb? I didn't find them: are they downloadable only as packs ?
Personne !
Newcomer
 
Posts: 3
Joined: Sat Jul 30, 2022 2:14 am
Location: Sad Hill (but not buried !)



Re: [Tutorial] Lag every minute ?

Postby TheDoctor » Mon Aug 01, 2022 12:31 am

Personne ! wrote:I can't longer download new maps on baller bude, so I am automatically disconnected when a map I do not have is played.

You can download any required file manually here: http://download.smokin-guns.org/mirror.9k.lv/smokinguns/. If you allow downloads before connecting to Baller Bude, either via \cl_allowdownload 1 or via Settings -> Game Options -> Auto Download, your client should download the missing files.
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 820
Joined: Sun Jun 06, 2010 3:31 am



Re: [Tutorial] Lag every minute ?

Postby Personne ! » Mon Aug 01, 2022 3:13 pm

Thanks you, doctor. it works again : Auto Download was disabled ! :roll:
Personne !
Newcomer
 
Posts: 3
Joined: Sat Jul 30, 2022 2:14 am
Location: Sad Hill (but not buried !)



Re: [Tutorial] Lag every minute ?

Postby Barto » Thu Dec 08, 2022 10:19 pm

Cable is always more stable than Wireless. That is a fact.

You can't push as many bits on wireless, and it is prone to interference or sharing congestion.
"Chuck Norris had to shorten his beard in the presence of Richard Stallman because two beards that awesome, so close would segfault the universe (again)."
User avatar
Barto
Jeuxlinux Admin
 
Posts: 360
Joined: Fri Oct 23, 2009 5:08 pm
Location: Switzerland




Return to Doc's Office

Show Sidebar
Show Sidebar

User Control Panel

cron