Go Back   Tactical Gamer > Tactical > Battlefield 2 > Battlefield 2 - Technical Support & FAQs


Battlefield 2 - Technical Support & FAQs Technical Support and FAQs for Battlefield 2 and related mods.

Reply
 
Thread Tools
Old 12-03-2005, 06:53 PM   #1 (permalink)
 
Lekdevil.NL's Avatar
 
Join Date: Sep 2005
Age: 38
Posts: 90
Here's how to connect despite stats server being down

Okay, the reason why people either cannot log into BF2 today, or the process taking forever, is that the Gamespy stats server seems to be terminally overloaded. But who needs stats anyway, right? So let's just bypass the thing and play, shall we?

Here's what to do:
  1. Open your hosts file in Notepad. By default, your hosts file can be found in %WINDIR%\SYSTEM32\DRIVERS\ETC\HOSTS (where %WINDIR% is the directory Windows is installed in).
  2. At the bottom of your hosts file, add the following line:
    Code:
    127.0.0.1	bf2web.gamespy.com
  3. Save your hosts file
  4. Open a command prompt by running CMD.EXE, and enter the following command:
    Code:
    IPCONFIG /FLUSHDNS
  5. That's it. Now go and play BF2.
Note: whenever the stats server comes back to life, just remove that line you added to restore the in-game stats functionality.

HTH.
Lekdevil.NL is offline   Reply With Quote
Old 12-03-2005, 06:58 PM   #2 (permalink)


 
Tempus's Avatar
 
Join Date: May 2003
Location: Miami, FL
Age: 38
Posts: 8,170
Re: Here's how to connect despite stats server being down

It's hard to see, but there IS a space in that first bit of code.

127.0.0.1 bf2web.gamespy.com

__________________
Battlefield 2/2142 Game Officer
Contact me with server/player/admin issues.




-- Suits are what you wear when doing things you shouldn’t want to do anyway.

FROM THE TACTICAL GAMER PRIMER.
3) Support game play in a near-simulation environment. Where the focus of play would not be solely on doing what it takes to win, but doing so utilizing real-world combat strategy and tactics rather than leveraging exploits provided to players by the design of the game engine.
Tempus is offline   Reply With Quote
Sponsored links
Old 12-03-2005, 07:52 PM   #3 (permalink)
 
marstein's Avatar
 
Join Date: Jul 2005
Location: Half Moon Bay, CA, USA
Age: 42
Posts: 828
Re: Here's how to connect despite stats server being down

It works! You are a genius! Would you let us know how you found that out?

Doesn't this mean that there is like a 5 minute timeout for accessing the statistics server? Why wouldn't they do that in a separate thread and if this fails just let us know that statistics are down (again)??
__________________
Gigabyte P35-DS3R, 2GB, 8800GTS 640MB, Core2Duo E8400
marstein is offline   Reply With Quote
Old 12-03-2005, 09:45 PM   #4 (permalink)
 
ScratchMonkey's Avatar
 
Join Date: Aug 2005
Location: San Pablo, California
Posts: 4,240
Re: Here's how to connect despite stats server being down

LOL

Their stats server is a dog.

BTW, a similar trick used on a server gives everyone all unlocks.
__________________
ScratchMonkey is offline   Reply With Quote
Old 12-03-2005, 09:49 PM   #5 (permalink)
 
Hymen_Slaughter's Avatar
 
Join Date: Dec 2005
Location: portland, or
Posts: 1
Re: Here's how to connect despite stats server being down

not working for me
anything else to look for?
I double check and repeated the above steps to make sure it was done properly

With this being done I login like usual?
Hymen_Slaughter is offline   Reply With Quote
Old 12-03-2005, 11:37 PM   #6 (permalink)
 
Lekdevil.NL's Avatar
 
Join Date: Sep 2005
Age: 38
Posts: 90
Re: Here's how to connect despite stats server being down

Quote:
Originally Posted by marstein
It works! You are a genius! Would you let us know how you found that out?
You're welcome. What I did was just a basic Ethereal capture of the client-server traffic and an analysis of the data.

I noticed that the client is contacting two master servers before connecting to the game server: the first one is the account server (to which your nick, password, id and email is sent), and the second one is the stats server. The account server is working properly, but the stats server is having issues. I noticed that the client was connecting to it, and that the server acknowledged that connect (so it is up), but that the the HTTP request for the stats data went unanswered. This indicates that the web application servicing the stats data is down, but that the web server itself is up.
Quote:
Doesn't this mean that there is like a 5 minute timeout for accessing the statistics server? Why wouldn't they do that in a separate thread and if this fails just let us know that statistics are down (again)??
My best guess is that the client only knows how to handle a stats server that is down completely (i.e. does not respond at all). In the curent situation, a socket does get opened to the server, so the client is just waiting for data that never arrives.
Lekdevil.NL is offline   Reply With Quote
Sponsored links
Old 12-04-2005, 01:49 AM   #7 (permalink)
 
BaneII's Avatar
 
Join Date: Sep 2005
Location: Durham, NC
Posts: 2,424
Re: Here's how to connect despite stats server being down

Gotta pay homage on that. Mucho rep, amigo.
BaneII is offline   Reply With Quote
Old 12-04-2005, 05:21 PM   #8 (permalink)
 
Beatnik's Avatar
 
Join Date: Jun 2005
Location: Austin, TX
Age: 33
Posts: 4,322
Re: Here's how to connect despite stats server being down

+rep I hate having to 'log in' just to open the game.
__________________
-F- Beatnik
Beatnik is offline   Reply With Quote
Old 12-04-2005, 09:46 PM   #9 (permalink)
 
ScratchMonkey's Avatar
 
Join Date: Aug 2005
Location: San Pablo, California
Posts: 4,240
Re: Here's how to connect despite stats server being down

Quote:
Originally Posted by Beatnik
+rep I hate having to 'log in' just to open the game.
If there's just a few servers you play on, and always use the same profile, you can create a custom shortcut that takes you right into that server, bypassing the server browser. The same trick is used by All-Seeing Eye (a 3rd party server browser now distributed by Yahoo) to connect directly to the chosen server.

Technical details:

http://matureasskickers.net/wbb2/thr...threadid=10523
__________________
ScratchMonkey is offline   Reply With Quote
Old 01-19-2006, 08:32 AM   #10 (permalink)
 
Shafik's Avatar
 
Join Date: Nov 2005
Location: Israel
Age: 27
Posts: 1,556
Re: Here's how to connect despite stats server being down

You mean I can have desktop shortcut that connects me to server 1, for example? How?
I understood everything and actuualy used these tips when using Xfire. But I dont anymore. Is a desktop shortcut possible? Double click and im on the server?
__________________



Shafik is offline   Reply With Quote
Sponsored links
Old 01-19-2006, 04:26 PM   #11 (permalink)
 
Ransack's Avatar
 
Join Date: Dec 2005
Location: Northern Virginia
Age: 39
Posts: 469
Re: Here's how to connect despite stats server being down

Is this why it takes 4+ minutes for me to the BF2 main menu after launching it from my desktop shortcut?

If i make this change, what functionality do i lose?
__________________
|TG-1stMIP| Ransack
1st Mechanized Infantry Platoon (C-Team)


Ransack is offline   Reply With Quote
Old 01-20-2006, 07:00 PM   #12 (permalink)
 
Wimpinator's Avatar
 
Join Date: Jan 2006
Location: United states, TN
Age: 35
Posts: 2,909
Re: Here's how to connect despite stats server being down

I got the part working where you skip the login but I can't get it to launch straight to a a server. I pretty much only play on the TG servers so having 2 shortcuts that go straight there would be a big time saver.

Here is my shortcut:
"C:\Program Files\EA GAMES\Battlefield 2\BF2.exe" +menu 1 +username Wimpinator +playerPassword password + 70.86.19.218

What am I doing wrong?
__________________
|TG-6th|Wimpinator



Wimpinator is offline   Reply With Quote
Old 01-20-2006, 08:40 PM   #13 (permalink)
 
Join Date: Jul 2005
Posts: 4,494
Re: Here's how to connect despite stats server being down

Quote:
Originally Posted by Wimpinator
I got the part working where you skip the login but I can't get it to launch straight to a a server. I pretty much only play on the TG servers so having 2 shortcuts that go straight there would be a big time saver.

Here is my shortcut:
"C:\Program Files\EA GAMES\Battlefield 2\BF2.exe" +menu 1 +username Wimpinator +playerPassword password + 70.86.19.218

What am I doing wrong?
Something like this should do it:
Code:
"D:\Program Files\EA GAMES\Battlefield 2\BF2.exe" +menu 1 +fullscreen 1 +playername |TG|perry +playerPassword asdfjkl +joinServer 70.86.19.218 +port 16567
__________________
Battlefield Admin(BF2 Rules) (BF2142 Rules)
[volun2][medic][defense3][eng2][support]
[sg-c1][gchq-c1][tog-c1][ma-c1][taw-c1][tg-c2]
Support TG | Write for TacticalWiki | BF2 Sig. Generator | TS Help
perry is offline   Reply With Quote
Old 01-21-2006, 10:08 PM   #14 (permalink)
 
elmerfudd's Avatar
 
Join Date: Aug 2005
Posts: 227
Re: Here's how to connect despite stats server being down

Quote:
Originally Posted by perry
Something like this should do it:
Code:
"D:\Program Files\EA GAMES\Battlefield 2\BF2.exe" +menu 1 +fullscreen 1 +playername |TG|perry +playerPassword asdfjkl +joinServer 70.86.19.218 +port 16567
*gasp* I KNOW PERRY'S PASSWORD!!!!


[/sarcasm]
__________________
|TG| aschmack
elmerfudd is offline   Reply With Quote
Old 01-23-2006, 01:53 PM   #15 (permalink)
 
Wimpinator's Avatar
 
Join Date: Jan 2006
Location: United states, TN
Age: 35
Posts: 2,909
Re: Here's how to connect despite stats server being down

Perry,

That worked perfectly! Thanks for the help.
__________________
|TG-6th|Wimpinator



Wimpinator is offline   Reply With Quote
Sponsored links
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IP address won't connect in AA server or on team speak? WR7 America's Army - General Discussion 22 11-12-2005 04:03 PM
Server Configuration / Settings FAQ asch Battlefield 2 - Technical Support & FAQs 1 07-12-2005 09:22 AM
Global Server Rank Stats attrition Natural Selection - General Discussion 12 10-27-2004 08:10 PM


All times are GMT -4. The time now is 03:40 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
©2004-2008 - Tactical Gamer - All Rights Reserved