controlling the pets client side

06/09/2015 11:30 kakamankoko#1
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

NameOffsetExample
Size068
PacketID22035
UID4700080
MonsterTypeID89000(get it from monesters.dat)
callpet type122
Mesh16920
AiType201
AttackRange248
X26245
Y28240
Name30IronEscort

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
06/09/2015 14:44 abdoumatrix#2
Nice Share
06/09/2015 23:28 AhMeDMeToOo#3
that's right , i also made it but are you sure that 24 is " Distance to move " as it's value is 1 in the new pets packet like ripper and panda ....etc

it's spawn packet :
in old guards > 261 name length name "" "" 0 ""
in new pets > 261 name length name " " and after that it's owner name :D

254 in the new pets is 1 but old guards is 0
255 in the new pets is 1 but old guards i see it 9 6

and the packet which offest 255 = 9 you will see offest 24 in 2035 is 8
and when offest 255 = 6 you will see offest 24 in 2035 is 5 :D

about movement and attacking

there are a anew data type for long distance for jump
and when it jump for a small distance you will see data type is the ordinary Jump (you only send the packet to others ) it sends from the pet owner client but the Uid Offest is the Pet Uid

Pets Uid have a counter which start from a constant number


[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

if you see that pics you will see that Pet Owner Name is only seen By others .

:D i only don't know offest 12 & 24 in 2035 packet :D .
06/13/2015 22:58 nTL3fTy#4
Offset 12 is the callpet type (0, 1, or 2).
Offset 24 is the attack range.
This isn't rocket science guys.. most of the info in the packet comes from the monstertype.
06/14/2015 01:20 kakamankoko#5
Quote:
Originally Posted by nTL3fTy View Post
Offset 12 is the callpet type (0, 1, or 2).
Offset 24 is the attack range.
This isn't rocket science guys.. most of the info in the packet comes from the monstertype.
Thanks, do you know anything about the entity offset before owneruid one ?