Difference between revisions of "LoginClusterStatus"

From SWGANH Wiki
Jump to: navigation, search
(Struct)
Line 8: Line 8:
  
 
{| class="wikitable"
 
{| class="wikitable"
 +
|{{short}}||'''Operand_Count'''
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''Operand_Count'''
+
|{{int}}||'''Opcode'''
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Opcode'''
+
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Server_Count'''
+
 
|-
 
|-
 +
|{{int}}||'''Server_Count'''
 
|}
 
|}
 +
{{beginlist|servers|Server_Count}}
 
:{| class="wikitable"
 
:{| class="wikitable"
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''ServerID'''
+
|{{int}}||'''ServerID'''
|-
+
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''IP_ADDR'''
+
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''ServerPort'''
+
|{{a_string}}||'''IP_ADDR'''
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''PingPort'''
+
|{{short}}||'''ServerPort'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''ServerPopulation'''
+
|{{short}}||'''PingPort'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''MaxCapacity'''
+
|{{int}}||'''ServerPopulation'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''MaxCharsPerServer'''
+
|{{int}}||'''MaxCapacity'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Distance'''
+
|{{int}}||'''MaxCharsPerServer'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Status'''
+
|{{int}}||'''Distance'''
 
|-
 
|-
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''NotRecommendedFlag'''
+
|{{int}}||'''Status'''
 
|-
 
|-
 +
|{{byte}}||'''NotRecommendedFlag'''
 
|}
 
|}
 +
{{endlist|servers}}
  
 
===Variable Descriptions===
 
===Variable Descriptions===

Revision as of 09:44, 10 April 2007


Struct


SHORT Operand_Count
INT Opcode
INT Server_Count

<servers count=Server_Count>

INT ServerID
A_STRING IP_ADDR
SHORT ServerPort
SHORT PingPort
INT ServerPopulation
INT MaxCapacity
INT MaxCharsPerServer
INT Distance
INT Status
BYTE NotRecommendedFlag

<servers/>


Variable Descriptions


Opperand_Count = 2

Opcode = 3436AEB6


  • ServerID:
ID Number of the Server. Must be greater than 1 (2+)
  • IP_ADDR:
The IP Address as an ascii string.
192.168.1.100
  • ServerPort:
The port number of the connection server on IP_ADDR.
  • PingPort:
The port number of the ping server on IP_ADDR.
  • ServerPopulation:
Very Light 	= 0
Light 		= 300
Medium 		= 600
Heavy 		= 900
Very Heavy 	= 1200
Extreamly Heavy = 1500
Full 		= 3000
  • MaxCapacity:
The Maximum amount of people the server can hold.
  • MaxCharsPerServer:
The maximum allowed characters per server.

Note: This seems to be old data floating around.

  • Distance:
Signed Integer.
This number is somehow computed to distance.
Suggestion: Lets modify this to a PING.
  • Status:
The Current Status of the server.
online  =  2
loading	=  1
offline =  0
  • NotRecommendedFlag:
When True, the (Recommended) tag in the server listings is not used.
When False, the (Recommended) tag appears next to the server.

Tags


S→C This packet originates on the server.

75% This packet has been partially reversed.


Sample Code

Insert Code Snippet Here...

Sample Packet

Insert Sample Packet Here...