Apologize for my English is bad..
store hp to struct. from recv packet
0048B68E |. 8947 18 mov dword ptr ds:[edi+18], eax
store mp to struct. from recv packet
0048B6E3 |. 8947 1C mov dword ptr ds:[edi+1C], eax
1C - 18 = 4 (Memory for store hp = 4 byte,0xFFFFFFFF)
form op-code we can make structure like this
structure pInfo{
....
....
DWORD hp;
DWORD mp;
...
}
posible HP higher than 0xFFFF but limit to 0xFFFFFFFF
i unsure,client had fix limit HP like DIL(i never try)
ps.exp and shield use 4-byte but it's floating-point
store hp to struct. from recv packet
0048B68E |. 8947 18 mov dword ptr ds:[edi+18], eax
store mp to struct. from recv packet
0048B6E3 |. 8947 1C mov dword ptr ds:[edi+1C], eax
1C - 18 = 4 (Memory for store hp = 4 byte,0xFFFFFFFF)
form op-code we can make structure like this
structure pInfo{
....
....
DWORD hp;
DWORD mp;
...
}
posible HP higher than 0xFFFF but limit to 0xFFFFFFFF
i unsure,client had fix limit HP like DIL(i never try)
ps.exp and shield use 4-byte but it's floating-point