Lag problem as usual !!

Jonny Two Shoes

Expert Member
Joined
Nov 13, 2006
Messages
4,542
Reaction score
17
Location
Gauteng
If anyone can save me from this frustration which is about to force me to stop playing it will be much appreciated.

I used to play BF2 fine quite a while back. I now decided to get back into the game again but it is lagging quite strangely.

I am constantly being teleported short spaces or I lose control and it usually lasts about a second or two at random. I would expect this to be seen when your ping gets pretty high but while it's happening I quickly press TAB and note my ping can be around 25-50ms while it happens. Sometimes my ping does spike but I can't attribute it 100% to the teleporting lag like issue.

It is causing me to get killed on countless occasions as well and normally I would not take a small bit of lag seriously but this happens way too often and is getting on my nerves. Conveniently it will always happen when I need to aim properly or run away quickly and I find myself struggling to use the sniper scope or running into walls from a short teleport only to be impossibly killed from my last known location or where I was standing a second before.

Anyone else experience this or know where the problem could be?? It's like I am not synchronising with the server sometimes. Could it be a punkbuster issue? I could say it averages once every 20 seconds or so.

I have tried dual core patches and tcp optimizer and tested here and there but can't fix it. I have also reinstalled PunkBuster, no joy.
 
Last edited:
well firstly tye pb_security 0 in the console

make sure you have no programs running when playing bf 2 that could chow bandwidth

who is your service provider?
 
I did try pb_security 0 but it did not help. I have also updated PB and renamed the BF2.exe file. Strangely since I did that rename and updated PB I have graphic problems but gfx problems are the least of my concern right now, I can usually fix those easily enough. I just want to play!! :mad:

I am using a Webafrica SAIX Int and local account with routesentry. But have also tried to just use my Int account and the same problem occurs. :(

Thanks for reply though Killa :)
 
Last edited:
Make sure your ports are open
BF2 is set up to use upnp (universal plug and play), but some firewalls/routers won't open all of the ports the program needs to function. The full list of ports follows:

PHP Code:
TCP 16567
TCP 16569
UDP 27900
UDP/TCP 29900
TCP 80
TCP 4711
TCP 29901
UDP 1500-4999
UDP/TCP 1024-1124
UDP 28910
UDP 16567
UDP 55123-55125

Change PB Scan Time

One reason why you might be getting spurts of decreased performance while online is PunkBuster scanning your harddrive for cheats/hacks/ect. By default, PB scans every 20 seconds, which can slow you down quite a bit.

To fix this, we'll change the interval between scans from 20 seconds to 50 seconds. This is not detected as hack by PB, and is fully legal on any ranked server. In fact, EvenBalence sanctions it.

Step 1: Open BF2, and join any ranked server that is running PB. (Thats most of them.)
Step 2: Walk around for a bit, then hit the ~ key. (Below "Esc") This opens up the console.
Step 3: Make sure the cursor in the console is blinking, and then type, without quotes, "pb_sleep500". Hit Enter.
Step 4: Without closing the console, type "pb_writecfg" to save the change.

Your lag spikes should be much less frequent, if happening at all.

Rename BF2.exe
Although although nobody knows why this fix improves the gameplay , but I belive is probably that Ati and Nvidia recognise BF2.exe as a game, so by renaming the file, you turn the game into a normal program, not the memory-hogging beast we know it as. Most people see some jump in performance after doing this.

Step 1: The first thing you do is find your game directory, the default is C:\Program Files\EA Games\Battlefield 2 .
Step 2: Find BF2.exe, and right-click on it. Select "Properties".
Step 3: Now rename it to anything you like, but keep it simple so you can revert back later if need be.
Step 4: Before you tell me it dosn't work, change the shortcut on your desktop to reflect the new name. ;)

Run BF2 as a High-Priority application
Step 1: Go back to the BF2 folder.
Step 2: Right click anywhere in the folder and click "New" then "Text Document".
Step 3: Right click on the newly created file and rename it to bf2.bat, The file should then turn into a little cog. If it doesn't, you will need to uncheck the "Hide extensions for known file types" option in Tools>Folder Options>View.
Step 4: Edit your new BAT file, and paste in:

PHP Code:
@echo off
cd /d "C:\Program Files\EA GAMES\Battlefield 2"
start /high BF2.exe +menu 1 +fullscreen 1

Then save, but if you edied your BF2.exe's name in the last tweak, reflect that change here. Also, direct your Desktop shortcuts to the BAT file.

Manualy update PunkBuster
Punkbuster, the anti-cheat/anti-hack tool in many games, including BF2, is suposed to auto-update itself, but it rarley does, and old PB files can cause frequent connection errors in online play. You can manualy update PB with the application here: http://www.evenbalance.com/index.php...upport-bf2.php

UPDATE: If you are getting problems with input lag I've narrowed it down to the BAT script to run BF2 on High Priority. So if you are having input lag, just undo the BAT step and it should be fixed.

Picked this up from another forum which may help others. I have yet to try some of it on my PC. http://www.overclock.net/faqs/98915-info-how-can-i-get-better.html

The pb_sleep500 looks promising.
 
Only 1Gig. Ya I know :p but wish I could afford a 2Gig kit. Maybe at rage expo there will be something?

I never used to have any lag though so doubt it's the ram.

Even my old AMD2400+ with Radeon 9600 never lagged in BF2. If I remember correctly I only had 512meg back then.
 
Try dropping your textures in graphics down a notch. Seriously, my bro gets it too and hes on 1gig as well.

Check when youre ingame how much ram is being used - ctrl del :)
 
Well I played tonight with only very occasional lag. More spikes this time then anything else...so I am happy. Did quite a lot in between so can't say what the fix was :/ hope it stays fine

Changed gfx drivers, ran it from a bat file giving high priority as explained above, changed pb_security, pb_speed, and pb_sleep. Changed some in game gfx settings. Renamed it back to bf2.exe which fixed my gfx problems strangely. etc etc. As I say Im not sure what did it.
 
Well this looks promising, defnintly trying this tonight, see if it helps me not crashing the chopper every 5 seconds :D .. or the plane :p
 
@Johnny two shoes: your lag didnt seem to stop you from snipering me in the face over the last few days :p

@Joosh: Dude I was wondering why you flew us straight into that jet!
 
Try dropping your textures in graphics down a notch. Seriously, my bro gets it too and hes on 1gig as well.

Check when youre ingame how much ram is being used - ctrl del :)

Strangely this seems to work, i've had soooopah lag on my side after turning up my gfx (using an 8600GT - which can handle it fine). Even though the maps are local it seems to have some significant effect on your lag. dont ask me how.

I run 1gb ddr400 and i have no lag if i stick to 800x600 and have viewing distance etc on high.

try it out, it might just help.

Oh and jonny, good work on sniping rocket-boy :D
 
LOL @ Rocket-Boy :p was it you I felt bad about? honest I was not targeting at all, just luck. :) that was a while ago now though.

Well I have been playing a lot of ET Quake Wars lately and I also get these huge lag spikes. Oh but lookey here, it also uses punkbuster :mad: so I still can't tell if it is my PC, the line or punkbuster.

If I ping www.myadsl.co.za -t and let it run constantly I see no spikes except the occasional jump to 124ms. Thats nothing compared to in-game when it sits between 800ms - 1000ms for a few seconds at random. At least that teleport issue is gone now but these lag spikes are driving me insane. They always happen at the worst of times and probably makes me look like an idiot gamer.

Any way I can test for sure? I don't have many other online games that are as latency intensive as BF2 and Quake Wars.

Oh and I have tried SAIX and IS accounts, same story.
 
Last edited:
Johnny,

your latency seems to act silly, but if you want to make sure that no funny spyware or other equally malicious microsoft programs are chowing your BW, then goto: http://games.saix.net/bandwidthmeter.php and check how much free gigapings you have to use for gaming.

have you tried turning down ur gfx res yet ? as i mentioned earlier it seemed to work for me - no idea why though :/
 
Have you ever been to Schleswig? :D

Very funny dude. btw, how do i report a stalker on here ? ;)

good memory on you, i must say. Not even my family remember the name of that li'il german town i lived in way back when.

... not sure what that has to do with Johnny's lag problem though. But lets blame ze gehmans anyway!
 
Very funny dude. btw, how do i report a stalker on here ? ;)

good memory on you, i must say. Not even my family remember the name of that li'il german town i lived in way back when.

... not sure what that has to do with Johnny's lag problem though. But lets blame ze gehmans anyway!

LOL - Dit is jy!!!! :D:D:D:D
 
Top
Sign up to the MyBroadband newsletter
X