Author Topic: Lag  (Read 10204 times)

0 Members and 3 Guests are viewing this topic.

Offline [V]ACE

  • SA-MP Retirees
  • *
  • *
  • Posts: 1536
    • Awards
Re: Lag
« Reply #15 on: May 06, 2008, 04:43:54 PM »
i get the idea of wat putty is talking about but its not a "lag swith" that gta needs. Most offical servers use a a "client prediction"

"Client prediction is technique where a server compensates for a players lag by predicting the player's movements" "This reduces latency problems, since there no longer will be a delay between input and feedback due to network ping times"

the principle is u have lag (causing a loss of pakets/information)
Client prediction kicks in when you as a client are connected to the big server, but aren't seeing updates from the server consistently (Loss of information).
The part of the game that is running on your computer looks at the input you are giving it, and makes a 'best guess' at what it thinks should be going on, in the absence of any overriding information from the server. It will display the guessed information, and then correct itself if need be when it does get the latest state of the world from the server.
http://www.extremetech.com/article2/0,1697,1156331,00.asp
=http://en.wikipedia.org/wiki/Client-side_prediction
A main problem is that this is used for first person shooters and on a thrid person shooter it is much more difficult to use as it has to be precise.
"A problem is that players with higher latency will introduce inconsistencies into the game, since they are more out of sync, and thus at times can, for example, see (and fire at, and damage) players who (from their view of the game) have already moved behind a wall"

I remember someone suggesting this, but sa-mp wouldnt use it cus it owuld mean rewritting code for the game for the prediction to work.

I do remember the sa-mp guys had an idea/way to reduce lag in sa-mp 2.5 so...hopefully this will happen and we will all be happy when the new sa-mp is realeased (well now called grand larceny)
« Last Edit: May 06, 2008, 05:17:17 PM by ACE »


TOP-SAMP

Offline FaTaLiTy

  • Big Fish
  • ****
  • Posts: 366
    • Awards
Re: Lag
« Reply #16 on: May 06, 2008, 06:03:36 PM »
Intresting post Ace, but tbh it sounds a bit like warp.

Offline [V3loc1Ty]

  • SA-MP Retirees
  • *
  • Posts: 1879
  • Premium Member
    • Awards
Re: Lag
« Reply #17 on: May 06, 2008, 08:09:06 PM »
Is it just me or does LW server lag very badly lately? [...]
Depending on the amount of players.. yes, it can be quite laggy at times.
And yeah, we all get these kind of issues.


Offline Putty

  • Adult Fish
  • ***
  • Posts: 198
  • Put Put...
    • Awards
Re: Lag
« Reply #18 on: May 06, 2008, 09:37:40 PM »
i get the idea of wat putty is talking about but its not a "lag swith" that gta needs. Most offical servers use a a "client prediction"

ACE i love you and fuk all you asses.....

i know there had to be some form of intelligent life form out there

* Putty gives ACE a flock of sheep as a reward!...

jinx>>>"If you read it all, I said it is a stupid idea in simpleton terms. :P" <<<Ass...

« Last Edit: May 07, 2008, 12:35:54 AM by Putty »
I'm laughing with a broken face...


<Putty> I am the most love player on lw's
<jinx> Yet another pointless thread
<Putty> I love you too jinx.
<[eVo]twinkle> Silly putty
<Putty> ACE you love me?
<ACE> i asked v3 he said i cant love u he's a bit jelous!
<Putty> FYI v3 say he love me!
<ACE> LIES ALL LIES LIKE THE CAKE!
<eDiT> putty i voted to make ur babies (even tho ima guy lol!)
<Smoke2jointS> Looks like everyone who hates you want your babies.
<Putty> one more on my side Everyone loves me!
<Smoke2jointS> I didn't vote
<Egg> I picked the one with the babies.
<Putty> You keep that ChainsaW dildo love to your self Egg....

Offline [V]ACE

  • SA-MP Retirees
  • *
  • *
  • Posts: 1536
    • Awards
Re: Lag
« Reply #19 on: May 07, 2008, 02:20:30 PM »
:o Thanks for the Sheep, Putty  :)

Intresting post Ace, but tbh it sounds a bit like warp.

i think thats what the sa-mp team said, unless they rebuilt parts the rockstar game code to add prediction, but its mainly impossible with sa-mp, cus each player fights diffrently.

Some run, jump, walk, diffrent weapons, some hide, etc... It would be impossible to take all these factors into account, and make the game/client predict where another person will be in time, it so would probably look like warp - another problem is that u could go to run away, and be killed due to client prediction thinkin u were gonna carry on fightin - lol

I think the server is more laggy cus Splatter's bin on the server more, and he downloads moose porn which fu**s the server up :(



TOP-SAMP

Offline LorenXo

  • SA-MP Retirees
  • *
  • Posts: 236
    • do you like them too?
    • Awards
Re: Lag
« Reply #20 on: May 07, 2008, 09:49:02 PM »
There is prediction in so much as when a player isn't communicating with the server they will keep doing the same action they were doing when they were last in communication. The is shown when a player crashes and they keep driving in circles or running into a wall.

As for increasing lag, although it would effectively make the game "fairer", it'd also make the game a lot less playable, given that it's difficult enough to hit a player when they're only lagging slightly. It would revolve far mar around being lucky and guessing what your opponent will do rather than being accurate. Also, the practicalities of implementing this are also fairly major.

The best thing to reduce lag is the ping kicker, everyone having a low ping makes the game far more playable.
<eDiT> what is intellectual

Offline Alexroberts

  • Tiny Fish
  • *
  • Posts: 2
    • Awards
Re: Lag
« Reply #21 on: May 08, 2008, 12:22:45 AM »
well damn this lag is intense now.

Offline Jamal

  • Kiddy Fish
  • **
  • Posts: 68
    • Awards
Re: Lag
« Reply #22 on: May 08, 2008, 12:26:38 AM »
Ye i said this before on sa-mp forums, the only thing that creates laggy hitpoints between players is ping diference or pings that jump. . .

Offline eDiT

  • Management
  • *
  • *
  • Posts: 1553
    • Littlewhiteys
    • Awards
Re: Lag
« Reply #23 on: May 08, 2008, 03:20:03 AM »
putty trying to act smart:) (jk putty)
if everyone stopped downloading ACEs porn everyones ping should reduce down to a good 100ms :)
but seriously, since this box that the server is hosted off of is in Germany, everyones ping HAS to be higher the farther away from Germany you are... unless you have T1 or a good upload speed, your ping will always be higher, the farther away you are...

Offline [V]ACE

  • SA-MP Retirees
  • *
  • *
  • Posts: 1536
    • Awards
Re: Lag
« Reply #24 on: May 08, 2008, 12:34:05 PM »

if everyone stopped downloading ACEs porn everyones ping should reduce down to a good 100ms :)
but seriously, since this box that the server is hosted off of is in Germany, everyones ping HAS to be higher the farther away from Germany you are... unless you have T1 or a good upload speed, your ping will always be higher, the farther away you are...


:o people download my porn!!!! wow, i never knew
*ACE feels special and wanted :)

Seriously, the lag is worse cus the server is bak in offical list and thus loads of players who live far away join - but theres loads more to kill :)
« Last Edit: May 08, 2008, 12:35:53 PM by ACE »


TOP-SAMP

Offline [V3loc1Ty]

  • SA-MP Retirees
  • *
  • Posts: 1879
  • Premium Member
    • Awards
Re: Lag
« Reply #25 on: May 08, 2008, 05:30:30 PM »
Well i live in germany and got a decent connection i'd say.. still i experience sum major lag when the server is filled. However, i got used to it i guess. I prefer a filled server with people lagging instead of a ghosttown with a few "easykills".


Offline HoogerBooger

  • Tiny Fish
  • *
  • Posts: 25
    • Awards
Re: Lag
« Reply #26 on: May 08, 2008, 06:06:41 PM »
Why not just reduce the player limit to 75 or 100?

Your best friend,
HoogerBooger.

Offline Putty

  • Adult Fish
  • ***
  • Posts: 198
  • Put Put...
    • Awards
Re: Lag
« Reply #27 on: May 08, 2008, 06:15:39 PM »
putty trying to act smart:) (jk putty)
>:(

I would love to get Simon's opinion on this
I'm laughing with a broken face...


<Putty> I am the most love player on lw's
<jinx> Yet another pointless thread
<Putty> I love you too jinx.
<[eVo]twinkle> Silly putty
<Putty> ACE you love me?
<ACE> i asked v3 he said i cant love u he's a bit jelous!
<Putty> FYI v3 say he love me!
<ACE> LIES ALL LIES LIKE THE CAKE!
<eDiT> putty i voted to make ur babies (even tho ima guy lol!)
<Smoke2jointS> Looks like everyone who hates you want your babies.
<Putty> one more on my side Everyone loves me!
<Smoke2jointS> I didn't vote
<Egg> I picked the one with the babies.
<Putty> You keep that ChainsaW dildo love to your self Egg....

Offline [V]ACE

  • SA-MP Retirees
  • *
  • *
  • Posts: 1536
    • Awards
Re: Lag
« Reply #28 on: May 08, 2008, 10:45:06 PM »
Why not just reduce the player limit to 75 or 100?

Your best friend,
HoogerBooger.

Cus as v3 says
I prefer a filled server with people lagging instead of a ghosttown with a few "easykills".

No point in limiting players to 100 or 75 - u can never get on the server, and when u do its easy kills, and boredom :(


TOP-SAMP

Offline LorenXo

  • SA-MP Retirees
  • *
  • Posts: 236
    • do you like them too?
    • Awards
Re: Lag
« Reply #29 on: May 08, 2008, 11:03:27 PM »
since this box that the server is hosted off of is in Germany, everyones ping HAS to be higher the farther away from Germany you are... unless you have T1 or a good upload speed, your ping will always be higher, the farther away you are...
The bit about distance is correct however throughput does not affect latency (unless you're torrenting or something but that's to do with router's queuing). So even if you can download at 1,000mbps and are tens of thousands of miles away it'll still be very laggy.
<eDiT> what is intellectual