Difference between revisions of "ActivateCommand"

From MMNet Wiki
Jump to navigation Jump to search
 
Line 9: Line 9:
  
 
Upon receiving an Activate command from a player, the server checks the player's client version to make sure it is compatible and the player isn't already active or fighting.  If the client passes this test, the player's armies are checked for validity, and units are checked for ongoing repairs, damage that disqualifies them from front-line duty, or unmaintained status.  Hangars are checked for negative bays, and armies are checked to ensure they qualify to launch attacks.  If all these tests pass, the player's [[Constants | status]] is set to STATUS_ACTIVE and the player heads to the front lines.
 
Upon receiving an Activate command from a player, the server checks the player's client version to make sure it is compatible and the player isn't already active or fighting.  If the client passes this test, the player's armies are checked for validity, and units are checked for ongoing repairs, damage that disqualifies them from front-line duty, or unmaintained status.  Hangars are checked for negative bays, and armies are checked to ensure they qualify to launch attacks.  If all these tests pass, the player's [[Constants | status]] is set to STATUS_ACTIVE and the player heads to the front lines.
 +
  
 
<hr>
 
<hr>
 
[[MW_Commands | Commands]]
 
[[MW_Commands | Commands]]

Latest revision as of 07:49, 22 February 2017

Command: Activate

Default Security Level: 0

Syntax: /activate ClientVersion


The Activate command sends a player to the front lines to engage in combat.

Upon receiving an Activate command from a player, the server checks the player's client version to make sure it is compatible and the player isn't already active or fighting. If the client passes this test, the player's armies are checked for validity, and units are checked for ongoing repairs, damage that disqualifies them from front-line duty, or unmaintained status. Hangars are checked for negative bays, and armies are checked to ensure they qualify to launch attacks. If all these tests pass, the player's status is set to STATUS_ACTIVE and the player heads to the front lines.



Commands