Understanding Attack packet
Hi i would like some help to understand attack packet....Client to server
I made this test :
1- Attack a small airbatt with a wood sword
2- Attack a small airbatt with hand
3-Attack a small mushpang with a wood sword
4-Attack a small mushpang with Hand and i obtained those :
1- Attack a small airbatt with a wood sword
Code:
5e =>first bit ok
c56f3bfe =>Length hash
1c000000 =>Packet length
83fe9ecf => Data hash
Ffffffff => -1
1000ff00 => Attack command Ok unitl here no problem
1d000000 => 29 = MTI_ATK7 in defineNeuz.h each atk are the same with a sword
a0c19800 => ?? change each time...
00000000 => ?
00000100 => ???
7b14ae3d =>Seem rto be the same each time i use a wooden sword
2- Attack a small airbatt with hand
I saw that in game charater make 2 type of attaque with hand : 1d000000 MTI_ATK7 and 1e000000 MMI_ATK8... On seem to correspond to the hand movement from left to right and the other form right to left
Do not sure it's important for us but that this part isn't unknow now...
Code:
5e =>first bit ok
c56f3bfe =>Length hash
1c000000 =>Packet length
a6cb2270 => Data hash
ffffffff => -1
1000ff00 => Attack command Ok
1e000000 =>attack type MMI_ATK8 = 30 on defineNeuz.ini
cead9900 => ????? change each time...
00000000 => ???
00000100 => ????
295c8f3d => Each time i use hand this is constant it change with other weapon...
3-Attack a small mushpang with a wood sword
Code:
5e
c56f3bfe
1c000000
36839d4c
Ffffffff
1000ff00 => commande attaquer
1e000000 =>MMI_ATK8
445d9200 ?
00000000 => constant ?
00000100 = > constant ?
7b14ae3d = >constante for my wooden sword ?
4-Attack a small mushpang with Hand and i obtained this :
Code:
5e
c56f3bfe
1c000000
63a6a46b
Ffffffff -1
1000ff00 => Attack command
1d000000 => MMI_ATK7
27758e00 => ??
00000000 => ??
00000100 => ??
295c8f3d => plus une constante donc main ?
So my question what are my ??? point...
Code:
00000000 => ??
00000100 => ??
Constant ?
Last int (7b14ae3d) work with all sword => MELE_ATTACK type ? Weapon type ?
Last int (295c8f3d) is constant each time i fight with hand
And what i don't undertans, why dont we have moverid ? if i see for the line after MMI type Attack, the result is to big to corrrespond with spwan_id of the monster...
So how do the server know woith who we are fighting ?
I had tested, with +10 wooden sword, with fire +10 or with mercenary skill that buff damage, but it don't seem to change anything in this packet...
If you could help me to know what are my unknow int it would be great ^^