Avatar Courtesy of Aaron McCoy, National University of Ireland.

Web

Reducing Lag Time in Online Games

Predictions from a neural network could reduce characters' jerky movements.

  • Thursday, October 18, 2007
  • By Erica Naone

Gamers know the problem well: in the middle of an awesome, fast-paced battle, the action onscreen becomes slow and jerky. Suddenly, your character turns up dead, and you didn't see who did it. In massively multiplayer online games, the problem of lag arises when a player's computer can't keep up with changes in a shared online world--and it can turn euphoria into frustration. New software being designed at the National University of Ireland, Maynooth, could help reduce the problem and may also have applications in military simulations.

"Ideally, somebody wants to drop down and play a game online with a bunch of other people and have the same experience they would have if everybody was in their home living room playing that game," says Michael Katchabaw, an assistant professor of computer science at the University of Western Ontario. The problem, he explains, is that the players' computers have to update each other on the players' actions, and too many simultaneous updates can cause delays or overload the network. One way of reducing these problems, Katchabaw says, is a technique called dead reckoning.

Dead reckoning calls for each player's computer to run a low-fidelity simulation of what's going on in the game. At the same time, the computer runs a high-fidelity version that keeps precise track of the player's actions and position. The computer constantly compares the two versions. If they don't match, the computer sends an update to all the other participating computers, which can make the necessary corrections. While the computers must still broadcast updates, they don't do it nearly as often as they otherwise would.

"Most well-known simulations and games actually use [dead reckoning] in one form or another," including, for example, the popular computer game Quake, says Aaron McCoy, a postdoctoral researcher at the National University of Ireland and technical lead on the neural-network project. His group's work is a way of improving on current dead-reckoning techniques.

Advertisement

McCoy and his colleagues' neural-network system is at its best when it's predicting erratic movements. Dead-reckoning systems assume that a game character will maintain the velocity and direction that it has at the moment an update is sent. That works fine for virtual bullets, McCoy says, but human-controlled avatars often exhibit fast, jerky movements.

McCoy's system improves the process by installing a neural network in the player's computer, adding another layer of prediction and enabling smarter updates. "What we're trying to do with the neural networks is, we're trying to say, 'Look. We think that in half a second's time we're going to be here.' So we'll take that information into account and let the other computers know about it." McCoy says that his system could reduce by 10 or 20 percent the 10 to 20 updates per second sent by many games, although he notes that the reduction fluctuates depending on the situation.

Print

Related Articles

Creating Creatures

Spore's Lucy Bradshaw talks about why the game's developers embraced an old programming technique.

Peer-to-Peer Virtual Worlds

A new system is designed to handle sudden crowds.

Close Comments

To comment, please sign in or register

Forgot my password

Guest (EckhartC)

  • 1581 Days Ago
  • 10/18/2007

Curious

I've played some games where the players explicitly attempt to defeat the dead reckoning algorithms in order to cause opponent's systems to miscalculate their position. I'm curious how resistant this system is to this type of behavior.

Reply

brunascle

65 Comments

  • 1581 Days Ago
  • 10/18/2007

Re: Curious

what games, and how did they do it?

i've played Quake 3 and 4 for years and i never knew it worked like this. this does explain why players keep walking in a straight line when i'm lagging, though.

Reply

Erica Naone

70 Comments

  • 1580 Days Ago
  • 10/19/2007

Re: Curious

It's an interesting question, and I'm looking into it. I'll put up whatever I find out.

Thank you,
Erica Naone

Reply

swethago

1 Comment

  • 1367 Days Ago
  • 05/19/2008

Re: Curious

It seems to be very helpless when the character suddenly disappears without any particular reason. It happened to me many a times when I was playing live online on a multiplayer game, it was fun and kind of serious situation and I got disappeared suddenly.
____________________________________________________
I challenge you to a game of trivia! Click here to battle against me online at ConQUIZtador. Let's see who's the winner...
https://www.conquiztador.com/?a=26041

Reply

jmsimpson68

1 Comment

  • 1577 Days Ago
  • 10/22/2007

I thought this was how The Matrix worked

This has been on my mind for a long time. It's about time something like Neuro-Reckoning showed up.

However, it makes for interesting story as well.

Here is my take on Neuro-Reckoning and The Matrix

I thought this was how The Matrix worked

Reply

Advertisement

MAGAZINE

Can We Build Tomorrow's Breakthroughs?

Manufacturing in the United States is in trouble. That's bad news not just for the country's economy but for the future of innovation.

Videos

A Social-Media Decoder

More

Advertisement

Technology Review Lists

TR50

Our list of the 50 most innovative companies, including the following:

Twitter

Complete Genomics

Groupon

Toyota

More

Advertisement

Facebook

Advertisement