Lag problem

MarZMarZ Join Date: 2012-10-16 Member: 162473Members, Reinforced - Shadow
edited October 2012 in NS2 General Discussion
Hey guys,

Ive got a problem: My NS2 is lagging sometimes when i play. Graphics are on 1280x... resolution. All settings are low/off. Laptop data:

8Gb Ram
GTX 540M
WIndows 7 64 bit
Intel i7 QM2720 2,2 GHz (4 cores)

The game is working fine with 25-40 fps. My ping is normally 40-60ms. My maximum download/upload is 4Mb/Sec,1Mb/sec.

But sometimes i got these special kind of lags. My ping is jumping from 80-200ms and it feels like i would play with 1000+ ping. The game is constantly lagging and i am pulled back every 2-3 seconds on the position where was 1 second ago. I asked the people on the server and they said that i am extremly lagging from their point of view too. Some of them called me a ping cheater, because they cant hit me well.

As i said i have this problems only sometimes, like at the moment. This morning i was playing NS2 without problems(german time). Other games like Counterstrike working fine without lags or jumping ping. Restarting laptop or using instead of WLAN a LAN cable doesnt fix the problem.

Someone got an advice how i could fix this? Im in beta since 1 week so i dont know if i would have the same problems with other builds.

Edit: I recorded my laptop with my mobile phone. Jep its minecraft resolution :D

<a href="http://www.vidup.de/v/DYk5P/" target="_blank">http://www.vidup.de/v/DYk5P/</a>

Ive got 80-140 ms in the video(0:20) and the lags are visable at 0:30.

Comments

  • TechercizerTechercizer 7th Player Join Date: 2011-06-11 Member: 103832Members
    I'm surprised you can even join a team with a 2.2 GHz laptop, much less get 30 FPS >.>
  • MarZMarZ Join Date: 2012-10-16 Member: 162473Members, Reinforced - Shadow
    <!--quoteo(post=1995693:date=Oct 23 2012, 11:36 AM:name=Techercizer)--><div class='quotetop'>QUOTE (Techercizer @ Oct 23 2012, 11:36 AM) <a href="index.php?act=findpost&pid=1995693"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I'm surprised you can even join a team with a 2.2 GHz laptop, much less get 30 FPS >.><!--QuoteEnd--></div><!--QuoteEEnd-->

    Why not? The weakness of my laptop is the graphic card, not the processor.

    As i said there are days/times without lagging and constantly 30-40FPS so i dont even notice lags or less frames. When i start an own server/ join training mode i can play without any problems. If i join a full or empty server i have this problem. Maybe tomorrow i can play again on public without this issue, but this is not the solution^^
  • rmbrown09rmbrown09 Join Date: 2012-10-17 Member: 162592Members
    edited October 2012
    So you said you don't have this problem with other games then and you're on LAN?
    Then this could either be a issue with the game temporarily chugging on that system, maybe this does happen in other games it's just not as noticeable or..
    I know in counter strike you can change your network settings a little. Can you do this in NS2? For example cmd_update rate, rate_, etc can all be changed in console to optimize connection. Maybe you should mess around with that kind of stuff.

    Also these appear to be the networking commands so maybe not.

    net_stats Toggle list network traffic information
    net_messages Prints to the console the network messages that the client is receiving
    net_peers Prints peer connection information
    net_log <log level> (0,1,2...?) Network log
    net_lag ? Simulates network loss
    net_loss ? ?
    net_classes ? ?
    net_usage ? ?
    net_compensation ? ?
    net_snapshots ? ?
    net_test ? ?
    nm_stats Toggle display of incoming & outgoing network messages for the client.
    nms_stats Toggle display of sound network messages.
    c_chokedebug true/false Prints state packet send/receive info
  • Dictator93Dictator93 Join Date: 2008-12-21 Member: 65833Members, Reinforced - Shadow
    <!--quoteo(post=1995704:date=Oct 23 2012, 03:04 PM:name=MarZ)--><div class='quotetop'>QUOTE (MarZ @ Oct 23 2012, 03:04 PM) <a href="index.php?act=findpost&pid=1995704"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Why not? The weakness of my laptop is the graphic card, not the processor.

    As i said there are days/times without lagging and constantly 30-40FPS so i dont even notice lags or less frames. When i start an own server/ join training mode i can play without any problems. If i join a full or empty server i have this problem. Maybe tomorrow i can play again on public without this issue, but this is not the solution^^<!--QuoteEnd--></div><!--QuoteEEnd-->

    Sounds like a lag problem induced by the server
  • MarZMarZ Join Date: 2012-10-16 Member: 162473Members, Reinforced - Shadow
    edited October 2012
    <!--quoteo(post=1995706:date=Oct 23 2012, 12:09 PM:name=Dictator93)--><div class='quotetop'>QUOTE (Dictator93 @ Oct 23 2012, 12:09 PM) <a href="index.php?act=findpost&pid=1995706"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Sounds like a lag problem induced by the server<!--QuoteEnd--></div><!--QuoteEEnd-->

    On all servers? I tried maybe 20 or more and always the same problems. On servers with players all player got normal ping/ no lags. Only me with these lags.

    Now i typed in the console "r_stats" to see how much frames ive got. Ive got 30-60 FPS but the frames are still lagging so these lags, which i see on my monitor, should come from the ping and not my hardware.


    EDIT: Btw are these console errors normal? These messages appeared after starting the game and joining an empty server.

    <a href="http://www.pic-upload.de/view-16586668/ns2-2012-10-23-21-30-43-89.jpg.html" target="_blank">http://www.pic-upload.de/view-16586668/ns2...-43-89.jpg.html</a>
  • WilsonWilson Join Date: 2010-07-26 Member: 72867Members
    Does it happen on all servers? Try playing on HBZ or All-in
  • MarZMarZ Join Date: 2012-10-16 Member: 162473Members, Reinforced - Shadow
    <!--quoteo(post=1995710:date=Oct 23 2012, 12:13 PM:name=Wilson)--><div class='quotetop'>QUOTE (Wilson @ Oct 23 2012, 12:13 PM) <a href="index.php?act=findpost&pid=1995710"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Does it happen on all servers? Try playing on HBZ or All-in<!--QuoteEnd--></div><!--QuoteEEnd-->


    Jep i tried. I know i was playing on HBZ WITHOUT lags last few days. When i have this issue it depend on all servers.

    So this sounds like it is a problem of my internet. But i have no problems with the internet e.g. streaming videos(hd), playing other games, downloading data.
  • ScardyBobScardyBob ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    Are you gaming over wireless? Some people have had problems due to NS2 being very data transfer intensive in certain situations.
  • MarZMarZ Join Date: 2012-10-16 Member: 162473Members, Reinforced - Shadow
    <!--quoteo(post=1995713:date=Oct 23 2012, 12:33 PM:name=ScardyBob)--><div class='quotetop'>QUOTE (ScardyBob @ Oct 23 2012, 12:33 PM) <a href="index.php?act=findpost&pid=1995713"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Are you gaming over wireless? Some people have had problems due to NS2 being very data transfer intensive in certain situations.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Sometimes with Lan, sometimes with WLAN. I know it worked with both, but if i have this issue i doesnt matter if i use LAN or WLAN. Both same ping and problems.
  • VeNeMVeNeM Join Date: 2002-07-13 Member: 928Members
    sounds like something eating cpu, check your running procs when this happens. you running any file shares?
  • MarZMarZ Join Date: 2012-10-16 Member: 162473Members, Reinforced - Shadow
    <!--quoteo(post=1995705:date=Oct 23 2012, 12:08 PM:name=rmbrown09)--><div class='quotetop'>QUOTE (rmbrown09 @ Oct 23 2012, 12:08 PM) <a href="index.php?act=findpost&pid=1995705"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->So you said you don't have this problem with other games then and you're on LAN?
    Then this could either be a issue with the game temporarily chugging on that system, maybe this does happen in other games it's just not as noticeable or..
    I know in counter strike you can change your network settings a little. Can you do this in NS2? For example cmd_update rate, rate_, etc can all be changed in console to optimize connection. Maybe you should mess around with that kind of stuff.

    Also these appear to be the networking commands so maybe not.

    net_stats Toggle list network traffic information
    ...<!--QuoteEnd--></div><!--QuoteEEnd-->

    I typed all of these commands in the console, but i dont know how to read most of the feedback. I dont know which numbers are normal. Ping relevating data were all between 100-200ms, so there were no extremly high pings.
  • MarZMarZ Join Date: 2012-10-16 Member: 162473Members, Reinforced - Shadow
    edited October 2012
    <!--quoteo(post=1995723:date=Oct 23 2012, 12:46 PM:name=VeNeM)--><div class='quotetop'>QUOTE (VeNeM @ Oct 23 2012, 12:46 PM) <a href="index.php?act=findpost&pid=1995723"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->sounds like something eating cpu, check your running procs when this happens. you running any file shares?<!--QuoteEnd--></div><!--QuoteEEnd-->

    The funny thing is that ive got only problems on public servers. If i open training mode server i have 30-60 FPS and no lags. If i join an empty or a full server ive got these lags. Notable is that i have 30 hours playtime on NS2. Most of this time i was playing without issues.
  • VeNeMVeNeM Join Date: 2002-07-13 Member: 928Members
    <!--quoteo(post=1995731:date=Oct 23 2012, 02:53 PM:name=MarZ)--><div class='quotetop'>QUOTE (MarZ @ Oct 23 2012, 02:53 PM) <a href="index.php?act=findpost&pid=1995731"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->The funny thing is that ive got only problems on public servers. If i open training mode server i have 30-60 FPS and no lags. If i join an empty or a full server ive got these lags. Notable is that i have 30 hours playtime on NS2. Most of this time i was playing without issues.<!--QuoteEnd--></div><!--QuoteEEnd-->
    hmm then the question is what changed recently on your system. already tried turning multicore rendering off as well?
  • MarZMarZ Join Date: 2012-10-16 Member: 162473Members, Reinforced - Shadow
    edited October 2012
    <!--quoteo(post=1995733:date=Oct 23 2012, 12:55 PM:name=VeNeM)--><div class='quotetop'>QUOTE (VeNeM @ Oct 23 2012, 12:55 PM) <a href="index.php?act=findpost&pid=1995733"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->hmm then the question is what changed recently on your system. already tried turning multicore rendering off as well?<!--QuoteEnd--></div><!--QuoteEEnd-->

    1280x720 resolution
    all low/disabled except of anti laising. If i turn this off too, it doesnt matter. The only thing i changed between this morning and this evening was that i set my laptop into standby. I restarted after this issue my windows but doesnt help. So the question is why this issue only appear once in a while. If it would be a problem of my router, i would notice it on other applications. Multicore rendering turned off since begining to play NS2.


    EDIT: Is it possible that you can join my server if i create one? Because when i start own server i have 30ms and no lags. Would be interesting if i get problems when someone join me.

    EDIT2: From 11pm till 1am i was able to play again without lags...interesting
  • MarZMarZ Join Date: 2012-10-16 Member: 162473Members, Reinforced - Shadow
    edited October 2012
    i noticed that there is a technical forum, so i open another thread where i sum my results of this issue, there are a few videos, so you better see whats my problem

    <a href="http://www.unknownworlds.com/ns2/forums/index.php?showtopic=122154" target="_blank">http://www.unknownworlds.com/ns2/forums/in...howtopic=122154</a>
Sign In or Register to comment.