Difference between revisions of "Guilds"

From SWGANH Wiki
Jump to: navigation, search
Line 13: Line 13:
 
:*Player clicks on "create guild". '''CLIENT SENDS''' ObjectMenuSelectMessage with button id 185.
 
:*Player clicks on "create guild". '''CLIENT SENDS''' ObjectMenuSelectMessage with button id 185.
  
:*The server then sends a SuiCreatePageMessage:Script.inputBox([http://paste.swganh.org/viewp.php?id=20070705193023-6cbd2c60a6ecefe3257d9c5427afae6d|Example]).
+
:*The server then sends a SuiCreatePageMessage:Script.inputBox([http://paste.swganh.org/viewp.php?id=20070705193023-6cbd2c60a6ecefe3257d9c5427afae6d |Example]).

Revision as of 19:31, 5 July 2007

A short guide from the packet perspective on to how to tie the many systems of the swg client together to achieve guilds.


Step1: The Setup

When each player zones into a region regardless if they are part of a guild or not they get the GILD 3. It contains a list of all the guild id and tags for every guild on the server. This packet can sometimes get very large but its used so that when someone has a guild tag displayed you see it. How this works is that when a player is a member of a guild there is a variable in the CREO6 that contains the id of the guild they belong too. It uses the information in the GILD3 to know what tag to display next to their name.


Step2: Creating the guild

  • Player brings up guild terminal's radial and sever checks to see if it has been associated with a guild yet. If finds that it has not and returns the "create guild" radial. SERVER SENDS ObjController 147h -- OptionID 7(EXAMINE) and OptionID 185 (@guild:menu_create).
  • Player clicks on "create guild". CLIENT SENDS ObjectMenuSelectMessage with button id 185.
  • The server then sends a SuiCreatePageMessage:Script.inputBox(|Example).