Ping Spikes and Constant Freezing

GolafdorGolafdor Join Date: 2012-08-13 Member: 155541Members, Reinforced - Supporter
Hi all,

I preordered NS2 a few months ago. Every couple weeks I log on to check and see if my problems persists. Sure enough, it does. I play a large variety of video games and get decent FPS and never lag spikes. Natural Selection 2, however, I consistently have a problem with.

Here it is: When I stand still, generally no problem occurs. When I start moving around (perhaps when doors open and new textures have to load? Also with players), I get about a five second freeze on average. This occurs every two to five seconds, nonstop for as long as I'm playing. I've only gotten as far as figuring out my ping spikes suddenly from ~80 to 500-999. I'm not downloading (anything!) and there is no one else logged into my router. I literally do not have this problem with any other game. I run a Radeon HD 4800 with up-to-date drivers.

Please, so I know I can play the sequel to an old favorite, someone help!


  • AngeluszAngelusz Harmonic entropist Join Date: 2003-07-10 Member: 18072Members, Forum Moderators, Constellation, NS2 Playtester
    We're going to need more info!

    - More hardware specs (CPU etc.)
    - Driver version (Catalyst x.x?)
    - Have you tried uninstalling and reinstalling NS2?
    - Did you test this online, or on a local server?
  • Josh86Josh86 Join Date: 2010-12-06 Member: 75513Members
    Just to throw in...

    I've had the same loading freeze/frame drop thing for quite a few builds. I assumed this was pretty normal since I've seen Max or another dev mention this. I've been told things kind of need to load in for the first match. Problem is, the freezes/hitches don't really go away even after I've visited parts of the map multiple times. Maybe I need to just wait it out...but by 10-15 minutes in I'm pretty frustrated and just stop playing. The problem isn't nearly as bad in a LAN (if it even happens) so I assume the problem is compounded with all the network commotion and other players/structures. The server tickrate usually seems really good/steady, I think it's client side.

    As far as the network latency thing -- I know I can't play NS2 with my wireless without it spiking to 999. Many other semi-demanding net games play fine with my wireless. Going wired ethernet solves the net latency issue for me. Also happens with the newer Battlefield games for me and ARMA II.
  • ScardyBobScardyBob ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    Yeah, are you gaming over wireless? I've had the '999 ping/freeze' issue when I've done that with my laptop. If so, try connecting via ethernet to your router and see if you still get the issues.
  • Angry Hillbilly 2Angry Hillbilly 2 Join Date: 2012-03-31 Member: 149741Members
    edited June 2013
    I see this is an old thread but I'm having to bump instead of making a new one because I am suffering the same issue I used to have a while back and many builds later on (a couple of months later playing after coming back from uni) my desktop pc. It makes the game unplayable because as you can imagine freezing during the heat of battle doesn't win you many battles.

    The main issue is during game my ping goes from a nice 20-30 suddenly to 999 and starts jumping all over the place. I am unsure if the pc is doing something else in the background randomly at times to cause this but looking at Task Manager seems clean.

    Desktop Spec:

    Intel Core i5-2400 CPU @3.1 GHz
    4 Gig of RAM
    Windows 7 (64bit)
    GeForce GTX 460 SE: Graphics overclocked to 720MHz (standard is 648MHz) and Memory Overclocked to 1720MHz (Standard clock 1700MHz)

    These overclock settings have been tested to be stable and I have tried NS2 with no overclock and the same issue occurs. I have tried different graphics quality settings but the same issue appears. I get a consistent 60-70FPS with everything on max apart from ambient occlusion which is turned off

    (I know the desktop is a little bit behind the times but it runs most games pretty damn fine high graphics. But I am very well aware of NS2's special case)

    I have a direct wire connection to the Modem with Virgin Media 60MB Broadband with consistent and stable connection. Other games are all running fine and online is also fine on other games as well.

    I do have AVG Free but have had no issues in the past. Is there any chance its causing the background stutters?

    Any ideas folks? :)
  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    edited June 2013
    So, the first thing to check is to make sure it isn't your connection. I know it doesnt do it for other games for sae of completeness we gotta check it first.

    The easy way to do this is to setup a window doing a ping to a server.

    hit windows +r type in cmd, press enter.
    in the resulting window type ping -t and press enter you should see something that looks like this:

    Pinging [] with 32 bytes of data:
    Reply from bytes=32 time=17ms TTL=56
    Reply from bytes=32 time=23ms TTL=56

    It should add another line going on every few seconds. It will keep running forever, since we set -t. Leave that running and go play ns2.

    Play a bit, when you get the lag alt tab and see if you see something similar in your other window.

    if you see a similar increase in the number on the ping to Google, its going to be something outside ns2. Someone else on the network stealing your precious bandwidth. Someone DDOSing that minecraft server you are running. Your ISP doing something weird. Those sorts of things

    If the ping to google is normal looking while you lag, its going to be something in your pc or your ns2 install. At that point, nearly anything could be a problem. I would start with antivirus, especially real time scanning of processes see if you can white list ns2.exe. From there, I would get something like process explorer, and see if you can match the spike in ns2 pings with activity by something else on the machine.

    edit: removed about 50 extra lines at the end
  • Angry Hillbilly 2Angry Hillbilly 2 Join Date: 2012-03-31 Member: 149741Members
    Thanks for the quick reply. Thanks will give all of it a go :)
  • StardogStardog Join Date: 2004-10-25 Member: 32448Members
    Same issue here. I have 650 hours without this happening before the patch.

    It's like it's not saving the section of the map in memory anymore. Normally it hitched when loading for the first time, then was smooth after, but now it hitches every time I return to those areas. I hope they haven't messed with this code.

    I just disabled Avast file scanner/etc, so I'll play for a bit and see.
  • SwoopedSwooped Join Date: 2013-07-21 Member: 186259Members
    I just got this game and i'm having this problem :[
  • IronHorseIronHorse Developer, QA Manager, Technical Support & contributor Join Date: 2010-05-08 Member: 71669Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Subnautica Playtester, Subnautica PT Lead, Pistachionauts
    edited July 2013
    Well we need those having this problem to report back their results from the suggestions above.

    I highly recommend disabling /bypassing routers, anti virus programs, and firewalls when diagnosing. I had this issue after installing an anti virus earlier this year.. Turns out it was inspecting every packet and ns2 just couldn't handle being interrupted like that.

    Also if this this consistent enough you can type net_log 3 in the console (~ key) and it will Log what's happening in your log.txt file found in your hidden appdata/natural selection 2/ folder.
    Keep it short though as the log file will get huge fast.. So reproduce the issue and then immediately exit ns2 and don't run it again or else it will over write that log file

    Attach it or link it here.
  • SeediSeedi Join Date: 2013-07-25 Member: 186403Members
    I have the same problem. Every 3 minutes I get this "lag spikes" which bring my ping to 999 and my picture frezzt 1-2 seconds. This problem I have only been 2 weeks. I have just tried to create a log.txt file. Unfortunately it does not work for me. I just get a InstallScript.vdf file. 823 hours playing time and then something now. :/ I hope you can fix this.
  • IronHorseIronHorse Developer, QA Manager, Technical Support & contributor Join Date: 2010-05-08 Member: 71669Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Subnautica Playtester, Subnautica PT Lead, Pistachionauts
    @seedi we have no idea whats causing it, as we cannot reproduce it, only users like yourself can, so we rely on you to provide those logs so that we can fix it.
  • StardogStardog Join Date: 2004-10-25 Member: 32448Members
    edited November 2013
    This is still happening since July. Whatever patch happened then broke it.

    I'll try to make a log. For others - log.txt is here - C:\Users\Username\AppData\Roaming\Natural Selection 2

    EDIT - Here is the interesting part of my log: See "#9000+ killed Stardog with Rifle"

    It froze just before I got killed and a few times before that. I alt-f4'd right after that.

    Also, please don't use the AppData folder for anything. That is maybe part of the problem. That hard drive is slow and shouldn't doing anything game-related. Move the cache somewhere else.
Sign In or Register to comment.