Xfire Fórum ~ Česká republika
http://xfire.4fan.cz/

samovolné odpojování EN
http://xfire.4fan.cz/viewtopic.php?f=8&t=225
Stránka 1 z 1

Autor:  maxXx [ 29 bře 2009 09:53 ]
Předmět příspěvku:  samovolné odpojování EN

Návod jak se zbavit samovolného odpojování.

Citace:
* I get disconnected from Xfire every few minutes or when I join a game. How do I fix this?
Xfire uses something called a 'heartbeat' to know if you're still connected to the server. On a regular cycle, we send this 'heartbeat' to the server and then the message is received.

If you can't send the message to the server, you get an error talking to it. If you get an error reading from server, you didn't receive the heartbeat back from the server.

The most likely culprit to cause this is an aggressive firewall, router or NAT device. Firewalls and NAT's have functions that will close down unused ports when they are not used for a certain period of time. This is done to protect you from open ports being hacked.

Most good firewalls/NAT's will have an adjustment or timer that you can tweak to adjust how often this happens. Older products came with a default timer of 10 minutes, but newer ones seem to be set to 5 minutes or lower.

If you have a 5 minute timer, or do not have any clue what you have or how to adjust it, you can adjust Xfire instead. First, completely exit Xfire, it cannot be running while you make changes. Once Xfire is not running, you can edit your Xfire.ini file. You can use the "search" feature on your start menu to find it, or you can located it manually (default location for Windows XP is c:\program files\xfire; for Windows Vista it can be found at c:\programdata\xfire - this is a hidden folder so you'll need to set hidden files/folders to viewable in your Windows Vista settings before it will appear).

Once you locate the Xfire.ini file, double click it to open it in notepad or wordpad. You should see something that looks like this:

[Toucan] Build=19803
[Xfire]
Version=56
InstallVersion=43
UpdateCount=24
[I18N]
LanguageMajor=us
[Skin]
SkinName=Xfire
[DNS Cache]
cs.xfire.com=204.71.190.24

You will need to add a new line that says:
PingInterval=180
You will need to add this under the [xfire] section. After you've done this, your Xfire.ini file should look like this:

[Toucan]
Build=19803
[Xfire]
Version=56
InstallVersion=43
UpdateCount=24
PingInterval=180
[I18N]
LanguageMajor=us
[Skin]
SkinName=Xfire
[DNS Cache]
cs.xfire.com=204.71.190.24

Save the file, and restart your Xfire client. You will now have a 3 minute 'heartbeat' time, which will be below the more modern 5 minute firewall timers. If you still have problems, you can lower the PingInterval to 120 or 2 minutes, but that's the lowest it can be adjusted.

Now if you're only getting disconnected while you're playing games, the problem may not be a port closing up. To send and receive the heartbeat to the server, Xfire requires some cpu time and bandwidth. If you computer is slightly below spec and playing a newer game, you may not have the cpu time available and therefore the above suggestion might not help.

Lastly, all ISP's experience hiccups once in a while. If this happens at the right moment, Xfire will not send or receive the 'heartbeat' and you'll get disconnected. The PingInterval solution is something geared towards the user who gets disconnected many times per day or session, and not just once every few days.

Stránka 1 z 1 Všechny časy jsou v UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/
„Žití, to je největší umění na světě, neboť většina lidí pouze existuje.“ Oscar Wilde