Author Topic: Lag spikes when shooting  (Read 3666 times)

GeneralScott

  • Posts: 291
  • Turrets: +3/-8
Lag spikes when shooting
« on: April 14, 2011, 09:08:37 pm »
I usually use a Mac to play GPP, which has WiFi and a dual core 2 duo. It works great, maxes at 150 FPS.

However, it's a school computer, and I don't have it anymore, and am forced to use my Windows PC. It has quad core 2 duo, and is connected via cable, giving me a 20 FPS boost on all servers.

But there's one big problem. A game sapping, huge, deathly problem.

Whenever someone else other than me fires a gun, I get a huuge lag spike (Connection Inturupted error on screen) for an instant, which gives the impression of getting 1 FPS when in reality my PC maxes at 320 FPS (I use 120 but it can go that high)

So is there some cvar, or SOMETHING that can make the game PLAYABLE again? The specs of the PC are better than the laptop, connection is better, everything is better. But it lags whenever someone else shoots! Help!

GeneralScott

  • Posts: 291
  • Turrets: +3/-8
Re: Lag spikes when shooting
« Reply #1 on: April 14, 2011, 09:18:45 pm »
Using Windows 7

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Lag spikes when shooting
« Reply #2 on: April 14, 2011, 09:51:42 pm »
Make sure rate is set to 25000, and try playing with cl_maxpackets, bigger is better but it sounds like it could be too high atm.

Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Menace13

  • Posts: 516
  • Turrets: +12/-41
    • hhhhhh
Re: Lag spikes when shooting
« Reply #3 on: April 14, 2011, 10:00:45 pm »
Make sure rate is set to 25000, and try playing with cl_maxpackets, bigger is better but it sounds like it could be too high atm.
IIRC 40000 is a better rate...cl_maxpackets is best at 60 I think...

but a small twisty barrel will have small pew pew's, and small pew pew's can hurt mr.tyrant.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Lag spikes when shooting
« Reply #4 on: April 14, 2011, 10:05:32 pm »
Most (all?) servers have rate set to 25000, so going higher is generally pointless.

And max packets will vary depending on network speed and fps.  What works for you won't work for someone else.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Dracone

  • Posts: 1079
  • Turrets: +138/-278
Re: Lag spikes when shooting
« Reply #5 on: April 14, 2011, 10:38:16 pm »
Official US1 has both sv_minrate and sv_maxrate at 0.
Quote from: St. Anger
Tip 4 baslick guiz: Make sure you get near them bc u can stiky them i think its a bug lolz. but dont tell 2 many ppl shh.
Quote from: dobruiyyk
It's possible, your descendant will never see the sun because our species is gonna extinct in nearest future. So you better unstick from your computer and find a girl to make a child with!

GeneralScott

  • Posts: 291
  • Turrets: +3/-8
Re: Lag spikes when shooting
« Reply #6 on: April 15, 2011, 02:26:17 am »
Solved.