Difference between revisions of "ClientPermissionsMessage"

From SWGANH Wiki
Jump to: navigation, search
 
m (Protected "ClientPermissionsMessage": Page is complete. [edit=sysop:move=sysop])
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Server Packet|ClientPermissionsMessage (E00730E5)}}
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 6: Line 5:
 
===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'''
+
|{{byte}}||'''Galaxy_Open_Flag'''
 
|-
 
|-
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''Galaxy_Open_Flag'''
+
|{{byte}}||'''CharacterSlot_Open_Flag'''
|-
+
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''CharacterSlot_Open_Flag'''
+
|-
+
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''Unlimited_CharCreation_Flag'''
+
 
|-
 
|-
 +
|{{byte}}||'''Unlimited_CharCreation_Flag'''
 +
|}
 
|}
 
|}
 
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
Line 32: Line 31:
 
:When this flag is set to 1, connection to the server as well as character creation are enabled
 
:When this flag is set to 1, connection to the server as well as character creation are enabled
 
:If 0:--> "Connection to Galaxy failed, please try again later." Is displayed.
 
:If 0:--> "Connection to Galaxy failed, please try again later." Is displayed.
 
  
 
* '''CharacterSlot_Open_Flag''':
 
* '''CharacterSlot_Open_Flag''':
Line 39: Line 37:
  
 
'''Note''': ''Unlimited_CharCreation_Flag OVERRIDES this.''
 
'''Note''': ''Unlimited_CharCreation_Flag OVERRIDES this.''
 
  
 
* '''Unlimited_CharCreation_Flag''':
 
* '''Unlimited_CharCreation_Flag''':
Line 45: Line 42:
 
:If 0, character creation access is based off the CharacterSlot_Open flag.
 
:If 0, character creation access is based off the CharacterSlot_Open flag.
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 54: Line 52:
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
  
----
+
==Sample Packet==
 
+
==Sample Code==
+
  
 
<pre>
 
<pre>
Insert Code Snippet Here...
+
04 00        //Operand_Count
</pre>
+
E5 30 07 E0  //Opcode ClientPermissionsMessage
  
==Sample Packet==
+
01            //Galaxy_Open_Flag
 +
01            //CharacterSlot_Open_Flag
 +
00            //Unlimited_CharCreation_Flag
  
<pre>
+
00 67 B8      //Comp flag, crc
Insert Sample Packet Here...
+
 
</pre>
 
</pre>

Latest revision as of 19:03, 27 December 2007

Server Packet - ClientPermissionsMessage (E00730E5)

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
BYTE Galaxy_Open_Flag
BYTE CharacterSlot_Open_Flag
BYTE Unlimited_CharCreation_Flag

Variable Descriptions


Opperand_Count = 4

Opcode = E00730E5


  • Galaxy_Open_Flag:
When this flag is set to 1, connection to the server as well as character creation are enabled
If 0:--> "Connection to Galaxy failed, please try again later." Is displayed.
  • CharacterSlot_Open_Flag:
When this flag is set to 1, the user has an available slot for character creation.
If set to 0, the following response is sent --> "Sorry, You're not allowed to create anymore character on this galaxy." Is displayed.

Note: Unlimited_CharCreation_Flag OVERRIDES this.

  • Unlimited_CharCreation_Flag:
When this flag is set to 1, Character creation is allowed regardless of slots available.
If 0, character creation access is based off the CharacterSlot_Open flag.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.

Sample Packet

04 00         //Operand_Count
E5 30 07 E0   //Opcode ClientPermissionsMessage

01            //Galaxy_Open_Flag
01            //CharacterSlot_Open_Flag
00            //Unlimited_CharCreation_Flag

00 67 B8      //Comp flag, crc