Difference between revisions of "LoginEnumCluster"

From SWGANH Wiki
Jump to: navigation, search
 
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{MissingPacket}}
 
+
{{PageHeader|Server Packet|LoginEnumCluster}}
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 6: Line 6:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| 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'''||'''ServerCount'''
+
 
|-
 
|-
 +
|{{int}}||'''ServerCount'''
 
|}
 
|}
 +
{{beginlist|servers|Server_Count}}
 
:{| class="wikitable"
 
:{| class="wikitable"
 +
|{{int}}||'''ServerID'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''ServerID'''
+
|{{a_string}}||'''ServerName'''
|-
+
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''ServerName'''
+
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Distance'''
+
 
|-
 
|-
 +
|{{int}}||'''Distance'''
 
|}
 
|}
 
+
{{endlist|servers}}
 
{| class="wikitable"
 
{| class="wikitable"
|-
+
|{{int}}||'''MaxCharsPerAccount'''
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''MaxCharsPerAccount'''
+
|}
|-
+
 
|}
 
|}
 
===Variable Descriptions===
 
===Variable Descriptions===
Line 37: Line 35:
 
Opcode     = '''C11C63B9'''
 
Opcode     = '''C11C63B9'''
 
----
 
----
* '''ServerCount:
+
* '''ServerCount''':
 
:Total number of servers to list.
 
:Total number of servers to list.
  
* '''ServerID:
+
* '''ServerID''':
 
:ID number of the server. must be greater than 1 (2+ )
 
:ID number of the server. must be greater than 1 (2+ )
  
* '''ServerName:
+
* '''ServerName''':
 
:Ascii string of the galaxy's name.
 
:Ascii string of the galaxy's name.
  
* '''Distance:
+
* '''MaxCharsPerAccount''':
:Distance of server, old value???
+
 
+
* '''MaxCharsPerAccount:
+
 
:Maximum number of characters allowed per account. Default is 8.
 
:Maximum number of characters allowed per account. Default is 8.
 
:'''TODO''': Someone test this to see if it stops querying char create at 8, or w/e this value is set as.
 
:'''TODO''': Someone test this to see if it stops querying char create at 8, or w/e this value is set as.
 +
 +
* '''Distance'''
 +
:D = 3600 * GMTOffset
 +
:GMTOffset is the the Offset of GMT time the server is located at. PST = -8, MST = -7 CST = -6, EST = -5
 +
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 59: Line 60:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{75%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
  
 
|}
 
|}
 
----
 
 
==Sample Code==
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
  
 
==Sample Packet==
 
==Sample Packet==

Latest revision as of 21:26, 8 January 2008





Server Packet - LoginEnumCluster

SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.

Struct


SHORT Operand_Count
INT Opcode
INT ServerCount

<servers count=Server_Count>

INT ServerID
A_STRING ServerName
INT Distance

<servers/>

INT MaxCharsPerAccount

Variable Descriptions


Opperand_Count = 3

Opcode = C11C63B9


  • ServerCount:
Total number of servers to list.
  • ServerID:
ID number of the server. must be greater than 1 (2+ )
  • ServerName:
Ascii string of the galaxy's name.
  • MaxCharsPerAccount:
Maximum number of characters allowed per account. Default is 8.
TODO: Someone test this to see if it stops querying char create at 8, or w/e this value is set as.
  • Distance
D = 3600 * GMTOffset
GMTOffset is the the Offset of GMT time the server is located at. PST = -8, MST = -7 CST = -6, EST = -5

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.

Sample Packet

Insert Sample Packet Here...