Difference between revisions of "Latency Settings"

From ASSS Wiki
Jump to: navigation, search
 
m (added link to Latency article)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
[Latency] These settings determine how the server and clients treat [[latency]] (delay between packet sends and receives).
 +
 
=== SendRoutePercent ===  
 
=== SendRoutePercent ===  
* Min: 300
+
''Datatype:'' Tenths of a percent (300 to 800).
* Max: 800
+
 
Percentage of the ping time that is spent on the ClientToServer portion of the ping. (used in more accurately syncronizing clocks)
+
Percentage of the ping time that is spent on the ClientToServer portion of the ping. (Used in more accurately syncronizing clocks.)
  
  
 
=== KickOutDelay ===  
 
=== KickOutDelay ===  
* Min: 100
+
''Datatype:'' Hundredths of seconds (100 to 2000).
* Max: 2000
+
 
Amount of time the server can receive no data from the player before the player is kicked.
+
Time the server can receive no data from a client before it kicks it.
 +
 
 +
 
 +
=== S2CNoDataKickoutDelay ===
 +
''Datatype:'' Hundredths of seconds (100 to 32000).
 +
 
 +
Time a client can receive no data from server before it automatically disconnects. This must be higher than the KeepAliveDelay specified in [[server.ini]].
 +
 
 +
=== NoFlagDelay ===
 +
''Datatype:'' Hundredths of seconds (100 to 1000).
 +
 
 +
If the server does not receive packets from a client for this amount of time, it denies them the ability to pick up flags. Use this setting to prevent players from taking advantage of lag to grab flags.
 +
 
 +
 
 +
=== NoFlagPenalty ===
 +
''Datatype:'' Hundredths of seconds (300 to 32000).
 +
 
 +
If a user triggers the above NoFlagDelay, the server will continue denying flag pickups for this long after it starts receiving packets again.
 +
 
 +
 
 +
=== SlowPacketTime ===
 +
''Datatype:'' Hundredths of seconds (20 to 200).
 +
 
 +
The server will consider a C2S packet slow if it takes this long or longer to receive.
 +
 
 +
 
 +
=== SlowPacketKickoutPercent ===
 +
''Datatype:'' Tenths of a percent (0 to 1000).
 +
 
 +
The server will kick a client if this percentage of its C2S packets are slow. (See above setting.)
 +
 
  
 +
=== SlowPacketSampleSize ===
 +
''Datatype:'' Count (50 to 1000).
  
=== NoFlagDelay ===
+
Number of packets to sample C2S latency before checking for kickout. (See above setting.) Only in very rare cases will this need to be altered, so just leave it at its default.
* Min: 100
 
* Max: 1000
 
Amount of time before the server can receive no data from the player before it denies them the ability to pick up flags.
 
  
  
=== NoFlagPenalty ===  
+
=== ClientSlowPacketTime ===
* Min: 300
+
''Datatype:'' Hundredths of seconds (20 to 200).
* Max: 32000
 
Amount of time user is penalized when they exceed the NoFlagDelay.
 
  
 +
The client will consider an S2C packet slow if it takes this long or longer to receive.
  
=== SlowPacketKickoutPercent ===
 
* Min: 0
 
* Max: 1000
 
Percentage of C2S slow packets before a player is kicked.
 
  
 +
=== ClientSlowPacketKickoutPercent ===
 +
''Datatype:'' Tenths of a percent (0 to 1000).
  
=== SlowPacketTime ===
+
The client will automatically disconnect if this percentage of its S2C packets are slow. (See above setting.)
* Min: 20
 
* Max: 200
 
Amount of latency C2S that constitutes a slow packet.
 
  
  
=== SlowPacketSampleSize ===  
+
=== ClientSlowPacketSampleSize ===
* Min: 50
+
''Datatype:'' Count (50 to 1000).
* Max: 1000
 
Number of packets to sample C2S before checking for kickout.
 
  
 +
Number of packets to sample S2C latency before checking for kickout. (See above setting.) Only in very rare cases will this need to be altered, so just leave it at its default.
  
=== ClientSlowPacketKickoutPercent ===
 
* Min: 0
 
* Max: 1000
 
Percentage of S2C slow packets before a player is kicked.
 
  
 +
=== MaxLatencyForWeapons ===
 +
''Datatype:'' Hundredths of seconds (20 to 200).
  
=== ClientSlowPacketTime ===
+
Maximum C2S latency to allow before server disables a player's weapons.
* Min: 20
 
* Max: 200
 
Amount of latency S2C that constitutes a slow packet.
 
  
  
=== ClientSlowPacketSampleSize ===  
+
=== MaxLatencyForPrizes ===
* Min: 50
+
''Datatype:'' Hundredths of seconds (50 to 800).
* Max: 1000
 
Number of packets to sample S2C before checking for kickout.
 
  
 +
Maximum latency allowed before a shared prize packet is ignored.
  
=== MaxLatencyForWeapons ===
 
* Min: 20
 
* Max: 200
 
Maximum C2S latency to allow before server disables weapons.
 
  
 +
=== MaxLatencyForKickOut ===
 +
''Datatype:'' Hundredths of seconds (40 to 200).
  
=== MaxLatencyForPrizes ===
+
The server will consider a client lagging if its packet latency meets or exceeds this time. (See below setting.)
* Min: 50
 
* Max: 800
 
Maximum amount of time that can pass before a shared prize packet is ignored.
 
  
  
=== MaxLatencyForKickOut ===  
+
=== LatencyKickOutTime ===
* Min: 40
+
''Datatype:'' Hundredths of seconds (300 to 3000).
* Max: 200
 
Maximum latency that allowed before kickout.
 
  
 +
Time a client can lag before the server will kick it from the game. (See above setting.)
  
=== LatencyKickOutTime ===
 
* Min: 300
 
* Max: 3000
 
Amount of time that MaxLatencyForKickOut must be bad before the kickout occurs.
 
  
 +
=== CutbackWatermark ===
 +
''Datatype:'' Count (500 to 32000).
  
=== S2CNoDataKickoutDelay ===
+
The server will cut back on packet sending by skipping non-critical packets if it sends this much data per second to a client.
* Min: 100
 
* Max: 32000
 
Amount of time a user can receive no data from server before connection is terminated.
 
  
  
=== CutbackWatermark ===  
+
=== C2SNoDataAction ===
* Min: 500
+
''Datatype:'' Sum (bitfield).
* Max: 32000
 
Amount of data the server is allowed to send the user per second before it starts trying to cutback by skipping non-critical packets.
 
  
 +
Determines action(s) to take if above value is exceeded.
 +
* 1=Display Sysop Warning
 +
* 2=Spec Player
 +
* 4=Kick
  
=== C2SNoDataAction ===  
+
=== C2SNoDataTime ===
0=Use Normal Method (Above settings) 1=Display Sysop Warning, 2=Spec Player, 3=Warning&Spec, 4=Kick, 5=Warning&Kick, 6=Kick&Spec, 7=Warning&Kick&Spec
+
''Datatype:'' Hundredths of a second.
  
 +
If above setting (C2SNoDataAction) is set, this is the delay that a player's ping can be maxed at during a position packet before server takes the action.
  
=== C2SNoDataTime ===
 
If above setting (C2SNoDataAction) is set, this is the delay (in 1/100 of a second [100 = 1 second, 60000=1 minute]) that a player's ping can be maxed at during a position packet before action takes place
 
  
 +
=== NegativeClientSlowPacketTime ===
 +
''Datatype:'' Hundredths of a second.
  
=== NegativeClientSlowPacketTime ===
+
If a packet has a timestamp farther in the future than this, the server will consider it a slow packet. Feature is still experimental. ''Special Value:'' 0 = check disabled.
Packets with future timestamp farther in future than this variable are considered as slow packets (0=disabled). Feature is still experimental.
 
  
  
 
[[Category: Settings]]
 
[[Category: Settings]]

Latest revision as of 22:40, 28 September 2007

[Latency] These settings determine how the server and clients treat latency (delay between packet sends and receives).

SendRoutePercent

Datatype: Tenths of a percent (300 to 800).

Percentage of the ping time that is spent on the ClientToServer portion of the ping. (Used in more accurately syncronizing clocks.)


KickOutDelay

Datatype: Hundredths of seconds (100 to 2000).

Time the server can receive no data from a client before it kicks it.


S2CNoDataKickoutDelay

Datatype: Hundredths of seconds (100 to 32000).

Time a client can receive no data from server before it automatically disconnects. This must be higher than the KeepAliveDelay specified in server.ini.

NoFlagDelay

Datatype: Hundredths of seconds (100 to 1000).

If the server does not receive packets from a client for this amount of time, it denies them the ability to pick up flags. Use this setting to prevent players from taking advantage of lag to grab flags.


NoFlagPenalty

Datatype: Hundredths of seconds (300 to 32000).

If a user triggers the above NoFlagDelay, the server will continue denying flag pickups for this long after it starts receiving packets again.


SlowPacketTime

Datatype: Hundredths of seconds (20 to 200).

The server will consider a C2S packet slow if it takes this long or longer to receive.


SlowPacketKickoutPercent

Datatype: Tenths of a percent (0 to 1000).

The server will kick a client if this percentage of its C2S packets are slow. (See above setting.)


SlowPacketSampleSize

Datatype: Count (50 to 1000).

Number of packets to sample C2S latency before checking for kickout. (See above setting.) Only in very rare cases will this need to be altered, so just leave it at its default.


ClientSlowPacketTime

Datatype: Hundredths of seconds (20 to 200).

The client will consider an S2C packet slow if it takes this long or longer to receive.


ClientSlowPacketKickoutPercent

Datatype: Tenths of a percent (0 to 1000).

The client will automatically disconnect if this percentage of its S2C packets are slow. (See above setting.)


ClientSlowPacketSampleSize

Datatype: Count (50 to 1000).

Number of packets to sample S2C latency before checking for kickout. (See above setting.) Only in very rare cases will this need to be altered, so just leave it at its default.


MaxLatencyForWeapons

Datatype: Hundredths of seconds (20 to 200).

Maximum C2S latency to allow before server disables a player's weapons.


MaxLatencyForPrizes

Datatype: Hundredths of seconds (50 to 800).

Maximum latency allowed before a shared prize packet is ignored.


MaxLatencyForKickOut

Datatype: Hundredths of seconds (40 to 200).

The server will consider a client lagging if its packet latency meets or exceeds this time. (See below setting.)


LatencyKickOutTime

Datatype: Hundredths of seconds (300 to 3000).

Time a client can lag before the server will kick it from the game. (See above setting.)


CutbackWatermark

Datatype: Count (500 to 32000).

The server will cut back on packet sending by skipping non-critical packets if it sends this much data per second to a client.


C2SNoDataAction

Datatype: Sum (bitfield).

Determines action(s) to take if above value is exceeded.

  • 1=Display Sysop Warning
  • 2=Spec Player
  • 4=Kick

C2SNoDataTime

Datatype: Hundredths of a second.

If above setting (C2SNoDataAction) is set, this is the delay that a player's ping can be maxed at during a position packet before server takes the action.


NegativeClientSlowPacketTime

Datatype: Hundredths of a second.

If a packet has a timestamp farther in the future than this, the server will consider it a slow packet. Feature is still experimental. Special Value: 0 = check disabled.