Difference between revisions of "ClientPermissionsMessage"

From SWGANH Wiki
Jump to: navigation, search
(Sample Packet)
m (Protected "ClientPermissionsMessage": Page is complete. [edit=sysop:move=sysop])
 
(5 intermediate revisions by 2 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'''
 
|{{short}}||'''Operand_Count'''
Line 18: Line 19:
 
|{{byte}}||'''Unlimited_CharCreation_Flag'''
 
|{{byte}}||'''Unlimited_CharCreation_Flag'''
 
|}
 
|}
 
+
|}
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
Line 51: Line 52:
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
 
----
 
 
==Sample Code==
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
  
 
==Sample Packet==
 
==Sample Packet==
  
 
<pre>
 
<pre>
 
 
04 00        //Operand_Count
 
04 00        //Operand_Count
E5 30 07 E0  //ClientPermissionsMessage
+
E5 30 07 E0  //Opcode ClientPermissionsMessage
  
01
+
01           //Galaxy_Open_Flag
01
+
01           //CharacterSlot_Open_Flag
00
+
00           //Unlimited_CharCreation_Flag
  
 
00 67 B8      //Comp flag, crc
 
00 67 B8      //Comp flag, crc
 
 
</pre>
 
</pre>

Latest revision as of 20: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