Jump to content

Avoid slow movement caused by LAG!


12p

Recommended Posts

Posted

Solution: DELTA TIMING Option

here's Wikipedia link

Make an option in the Advanced Tab to toggle Delta Timing.

Why to NOT force Delta timing?

Okay, let's take myself as example... My PC sucks when playing highly-decorated maps like Rafinha v10; the car slows down to the point it's-never-using-nitro-speed. This feature may fix the problem related to the speed.

BUT with players that have good PCs (like Mondim^^ or FFS members), this feature will be just useless and could be disabled. Also, some players may still not want to use Delta Timing, so they would want to disable it, too.

Posted

I do. I experienced a 2001 PC during years playing MTA. Now, yeah, I have a superepic PC compared to my old one, but still saying that players who play 640xblablabla resolution need to be considered in servers. Also, the MTA team need to implement an option to toggle shaders.

"Everything exists, because otherwise nothing would", Bob Marley, 2015.

Posted

Its not hard to do, all You need is a mathematical function that describes exact correlation between FPS and game speed (witch unfortunately I don’t have)…

But we use this on 2paq Race Server anyway (but only on special occasions like championships, where equal chances are important)

Posted

Nope.

Delta time is used for some games only (although in most cases it sucks, just look at Super Meat Boy, when you are playing at 10 FPS).

But in this case, it is FUNDAMENTAL.

Also, it's not a HUGE rewrite.

From what I read, this would need to change around 50 lines and add 200.

Posted
You do it by calling a timer every frame per second that holds the time between now and last call in milliseconds. You thereafter use the resulting number (Delta Time) to calculate how much faster that e.g. a game character has to move to make up for the lag spike caused in the first place.

that exactly what every game does(3d and not ancient at least)

all velocity>position and etc is based on this: velocity*delta time = travel units to add up to position(might need some unit conversion)

unless this explaination in wiki is terrible its all done already.

Posted

Well, it may not be that simple, it may lead to bugs.

"velocity*delta time = travel units to add up to position"

It should be done inside a FOR loop, to check collisions. Got what I mean?

  • 3 weeks later...
  • 2 weeks later...
Posted

mta really need this , it will be the best thing ever.

just like trackmania you can play at any fps you want whitout causing trouble :o

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...