hey, i found a packet that controls the pet client side you should send it after that you send the pet spawn packet and the uint before the names put the pet owner uid and ushort before it put 9 (its not a constant value it change for each pet but 9 is for the guard)
for example for the latest patch the names is at offset 261, at offset 257 i will send the pet owner uid and at offset 255 i will send that value.
here`s the packet
for the AItype
1 will make the pet only attack when you attack
3 will make it attack when someone attack you
offset 24 and 12 by nTL3fTy
for example for the latest patch the names is at offset 261, at offset 257 i will send the pet owner uid and at offset 255 i will send that value.
here`s the packet
| Name | Offset | Example |
|---|---|---|
| Size | 0 | 68 |
| PacketID | 2 | 2035 |
| UID | 4 | 700080 |
| MonsterTypeID | 8 | 9000(get it from monesters.dat) |
| callpet type | 12 | 2 |
| Mesh | 16 | 920 |
| AiType | 20 | 1 |
| AttackRange | 24 | 8 |
| X | 26 | 245 |
| Y | 28 | 240 |
| Name | 30 | IronEscort |
for the AItype
1 will make the pet only attack when you attack
3 will make it attack when someone attack you
offset 24 and 12 by nTL3fTy