Difference between revisions of "SecureTrade (00000115)"

From SWGANH Wiki
Jump to: navigation, search
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Object Controller|SecureTrade (00000115)}}
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 6: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
|{{long}}|Receiver ID
 
|-
 
|{{int}}|{{unknown}}
 
 
|-
 
|-
 
|{{int}}|{{unknown}}
 
|{{int}}|{{unknown}}
Line 19: Line 17:
 
|-
 
|-
 
|}
 
|}
 
+
|}
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
Line 25: Line 23:
 
----
 
----
  
This packet causes the system message, "XXX wants to trade with you", to come up.
+
This packet causes the system message, "XXX wants to trade with you", to come up when send to the client.
 +
 
 +
Additionally the client sends it to the server when we want to trade with somebody
  
 
* '''Receiver''':
 
* '''Receiver''':
Line 33: Line 33:
 
:The character sending the message
 
:The character sending the message
  
* '''Unks''':
+
* '''Unk''':
:The first can be any value, to no effect
+
:probably string to display when send to the client, is in client to server msg 0
:The second can only be 1, any other value causes nothing to happen
+
:When send to the client : any other value than '1' causes nothing to happen  
 +
 
 +
* '''Trade Types''':
 +
:01 RequestTrade
 +
:02 TradeRequested
 +
:03 AcceptTrade
 +
:04 DeniedTrade
 +
:05 DeniedPlayerBusy
 +
:06 DeniedPlayerUnreachable
 +
:07 RequestTradeReversed
 +
:08 LastTradeMessageId
  
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 47: Line 58:
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
 +
 +
<pre>
 +
 +
 +
 +
05 00 #Operand
 +
46 5E CE 80 #ObjController
 +
0B 00 00 00
 +
15 01 00 00 #secureTrade
 +
AC 3B 65 D2 00 00 00 00 #trader Sender
 +
00 00 00 00
 +
01 00 00 00 #Request Trade
 +
A1 56 89 27 00 00 00 00 #Trader Sender
 +
AC 3B 65 D2 00 00 00 00 #trade receiver
 +
 +
 +
05 00 #Operand
 +
46 5E CE 80 #ObjController
 +
0B 00 00 00
 +
15 01 00 00 #SecureTrade
 +
AC 3B 65 D2 00 00 00
 +
00 00 00 00
 +
00 #ExtraByte?
 +
01 00 00 00 #Request Trade
 +
A1 56 89 27 00 00 00 00 #trade Sender
 +
AC 3B 65 D2 00 00 00 00 #trade receiver                                             
 +
                 
 +
 +
05 00 #Operand
 +
46 5E CE 80 #ObjController
 +
23 00 00 00 #Unknown
 +
15 01 00 00 #SecureTrade
 +
AC 3B 65 D2 00 00 00 #Sender
 +
00 00 00 00
 +
00 #ExtraByte?
 +
02 00 00 00 #TradeRequested
 +
00 00 00 00
 +
00 00 00 00
 +
00 00 00 00
 +
00 00 00 00
 +
 +
 +
05 00 #Operand
 +
46 5E CE 80 #ObjController
 +
23 00 00 00
 +
15 01 00 00 #SecureTrade
 +
AC 3B 65 D2 00 00 00 00 #CharacterID
 +
00 00 00 00
 +
02 00 00 00 #TradeRequested
 +
00 00 00 00 00 00 00 00
 +
00 00 00 00 00 00 00 00 
 +
 +
</pre>

Latest revision as of 18:27, 10 September 2013

Object Controller - SecureTrade (00000115)

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

Struct


INT ??
LONG Sender ID
LONG Receiver ID

Variable Descriptions


controllerID = 00000115


This packet causes the system message, "XXX wants to trade with you", to come up when send to the client.

Additionally the client sends it to the server when we want to trade with somebody

  • Receiver:
The character receiving the message
  • Sender:
The character sending the message
  • Unk:
probably string to display when send to the client, is in client to server msg 0
When send to the client : any other value than '1' causes nothing to happen
  • Trade Types:
01 RequestTrade
02 TradeRequested
03 AcceptTrade
04 DeniedTrade
05 DeniedPlayerBusy
06 DeniedPlayerUnreachable
07 RequestTradeReversed
08 LastTradeMessageId

Tags


OCM This header is part of the ObjControllerMessage.

75% This packet has been partially reversed.


[email protected]

05 00 #Operand
46 5E CE 80 #ObjController
0B 00 00 00 
15 01 00 00 #secureTrade
AC 3B 65 D2 00 00 00 00 #trader Sender
00 00 00 00 
01 00 00 00 #Request Trade
A1 56 89 27 00 00 00 00 #Trader Sender
AC 3B 65 D2 00 00 00 00 #trade receiver


05 00 #Operand
46 5E CE 80 #ObjController
0B 00 00 00 
15 01 00 00 #SecureTrade
AC 3B 65 D2 00 00 00 
00 00 00 00 
00 #ExtraByte?
01 00 00 00 #Request Trade
A1 56 89 27 00 00 00 00 #trade Sender
AC 3B 65 D2 00 00 00 00 #trade receiver                                               
                  

05 00 #Operand
46 5E CE 80 #ObjController
23 00 00 00 #Unknown
15 01 00 00 #SecureTrade
AC 3B 65 D2 00 00 00 #Sender
00 00 00 00
00 #ExtraByte?
02 00 00 00 #TradeRequested
00 00 00 00 
00 00 00 00 
00 00 00 00 
00 00 00 00 


05 00 #Operand
46 5E CE 80 #ObjController
23 00 00 00 
15 01 00 00 #SecureTrade
AC 3B 65 D2 00 00 00 00 #CharacterID
00 00 00 00 
02 00 00 00 #TradeRequested
00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00