• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

How to understand this codes?

Newbie Spellweaver
Joined
Feb 18, 2016
Messages
32
Reaction score
0
i'm fixing this packet "SPAWN_MONSTER_CONTROL" by idb
but when i saw this
zq7695zq - How to understand this codes? - RaGEZONE Forums

i can't understand how it work
there is the idb link :
and this function is "MobStat::DecodeTemporary"
somebody can help me?
sorry for my bad english.
 
Custom Title Activated
Loyal Member
Joined
Jan 18, 2010
Messages
3,109
Reaction score
1,139
the dword is a constant specifying the bits of the mobstat. the function is basically checking if the mobstat is within the flag, and if it is, it encodes it. as for determining which mobstat is which, reference a PDB and figure them out from there.
 
Upvote 0
Newbie Spellweaver
Joined
Feb 18, 2016
Messages
32
Reaction score
0
the dword is a constant specifying the bits of the mobstat. the function is basically checking if the mobstat is within the flag, and if it is, it encodes it. as for determining which mobstat is which, reference a PDB and figure them out from there.
i know that,but the dwords have the same value,i dont understand this function how to check if the mobstat is within the flag(i have saw this function in cms v135 ) that is why it confuses me
think you for you answer!
 
Upvote 0
Skilled Illusionist
Joined
Jul 17, 2010
Messages
333
Reaction score
165
i know that,but the dwords have the same value,i dont understand this function how to check if the mobstat is within the flag(i have saw this function in cms v135 ) that is why it confuses me
think you for you answer!
xref (Press 'X' on dword_XXXXXX) and you will find the 'initializer' function for the flag.
http://forum.ragezone.com/f566/packet-structure-ida-1083766-post8523885/#post8523885
http://forum.ragezone.com/f566/packet-structure-ida-1083766-post8524128/#post8524128
 
Upvote 0
Back
Top