Antiwarp

ET Pro Documentation Project

Moderators: Forum moderators, developers, ET Pro Documentation

Post Reply
User avatar
zinx
Posts: 267
Joined: Fri Jan 16, 2004 12:37 pm
Location: US
Contact:

Antiwarp

Post by zinx »

ET Pro implements an antiwarp system to keep players from "warping" or "teleporting" around, accidentally or intentionally.

Controlling the antiwarp system
b_antiwarp controls the antiwarp system. The possible settings are:
0 - disabled. ET Pro does no antiwarp at all.
1 - enabled (default). ET Pro keeps players from "warping"

What is "warping"
"Warping" occurs when the server recieves several new commands for a player in a very short period of time. This happens because packets from the player were lost or never sent. The player will appear to cross a great distance in a very short period of time, making them hard to hit and possibly allowing them to avoid landmine damage.

How the antiwarp system keeps players from warping
The antiwarp system in ET Pro delays commands when they are recieved too quickly. Thus, when a player sends 700ms worth of commands in 50ms, the commands will be spread out over 700ms, causing the player to move smoothly to other players. This affects the player who sent the commands too quickly only by increasing their ping, and will not keep increasing ping endlessly - at maximum, the added ping is the highest ping the player is actually getting. If temporary network issues cause ping to increase beyond a sensible number, the player can stand still for a moment and their ping will normalize.
Last edited by zinx on Thu Apr 15, 2004 11:58 am, edited 2 times in total.
Zinx Verituse http://zinx.xmms.org/
User avatar
bani
Site Admin
Posts: 2780
Joined: Sun Jul 21, 2002 3:58 am
Contact:

Post by bani »

A demo of antiwarp technology in action:

http://etpro.anime.net/antiwarp_demo.dm_83
Post Reply