First thing is...
1. How do i get them? Which 'packet' logger will be the best for pol096 and new series of 5.x.x clients? (i used razor before)
2. How do i get offsets of interesting me things? Like here:
Code: Select all
Packet ID: 0xC0
Packet Name: Graphical Effect
Packet Size: 36 Bytes
Sent By: Server
Submitted: MuadDib
Packet Breakdown
BYTE[1] cmd
BYTE[1] type
BYTE[4] sourceSerial
BYTE[4] targetSerial
BYTE[2] itemID
BYTE[2] xSource
BYTE[2] ySource
BYTE[1] zSource
BYTE[2] xTarget
BYTE[2] yTarget
BYTE[1] zTarget
BYTE[1] speed
BYTE[1] duration
BYTE[2] unk // On OSI, flamestrikes are 0x0100
BYTE[1] fixedDirection
BYTE[1] explodes
BYTE[4] hue
BYTE[4] renderMode
Notes
Packet seems to work fine with even 2.0.0 clients
(from: www.lostsoulsshard.org)
Code: Select all
var packet:=CreatePacket(0xC0,36);
//packet.SetInt8(1,0x0); //cmd
packet.SetInt32(2,caster.serial); //sourceSerial
packet.SetInt32(3,cast_on.serial); //targetSerial
packet.SetInt16(4,0x36D4); //itemID
packet.SetInt16(5,caster.x); //xS
packet.SetInt16(6,caster.y); //yS
packet.SetInt8(7,caster.z); //zS
packet.SetInt16(8,cast_on.x); //xT
packet.SetInt16(9,cast_on.y); //yT
packet.SetInt8(10,cast_on.z); //zT
packet.SetInt8(11,0x5); //speed
//packet.SetInt8(12,0x0); //duration
//packet.SetInt8(13,cast_on.y); //unk
//packet.SetInt16(14,0x0); //fixedD
packet.SetInt8(15,0x1); //explodes
//packet.SetInt32(16,0x482); //hue
//packet.SetInt16(17,cast_on.y); //renderMode
packet.SendPacket(caster);