Difference between revisions of "PlayMusicMessage"

From SWGANH Wiki
Jump to: navigation, search
(Sample Packet)
(Struct)
Line 15: Line 15:
 
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''SoundFile String'''
 
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''SoundFile String'''
 
|-
 
|-
|align="center" style="background:#3C4565; color:white;"|'''INT'''||'''00'''
+
|align="center" style="background:#3C4565; color:white;"|'''INT'''||'''00 00 00 00'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''00'''
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''00 00 00 00'''
 
|-
 
|-
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''00/01'''
+
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''[00 or 01]'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''00'''
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''00 00 00 00'''
 
|-
 
|-
 
|}
 
|}

Revision as of 13:14, 13 March 2007


Struct


SHORT Operand_Count
INT Opcode
A_STRING SoundFile String
INT 00 00 00 00
INT 00 00 00 00
BYTE [00 or 01]
INT 00 00 00 00

Variable Descriptions


Opperand_Count = 5

Opcode = 04270D8A


  • Sound String:
string of location to .snd file to play example: sound/music_mission_complete.snd

unknown int(s) and byte effect.

Tags


S→C This packet originates on the server.

75% This packet has been partially reversed.


Sample Code

Insert Code Snippet Here...

Sample Packet

HEX:05 00 8A 0D 27 04 20 00 73 6F 75 6E 64 2F 6D 75 
    73 69 63 5F 61 63 71 5F 62 6F 75 6E 74 79 68 75
    6E 74 65 72 2E 73 6E 64 00 00 00 00 00 00 00 00
    01 00 00 00 00 
ASC:....'...sound/music_acq_bountyhunter.snd.............