Difference between revisions of "SecureTrade (00000115)"

From SWGANH Wiki
Jump to: navigation, search
 
 
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Object Controller|SecureTrade (00000115)}}
{|
+
|- align="center"
+
||{{PacketGuide}}
+
|-
+
|}
+
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 11: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''<font color=red>Unknown</font>'''
+
|{{int}}|{{unknown}}
 
|-
 
|-
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''<font color=red>Unknown</font>'''
+
|{{long}}|Sender ID
 
|-
 
|-
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''<font color=red>Unknown</font>'''
+
|{{long}}|Receiver ID
 
|-
 
|-
 
|}
 
|}
 
+
|}
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
Line 27: Line 23:
 
----
 
----
  
* Something to do with trading.
+
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
  
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 36: Line 55:
 
||{{ObjControllerMessageTag}}
 
||{{ObjControllerMessageTag}}
 
|-
 
|-
||{{25%}}
+
||{{75%}}
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
 +
 +
<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