Die Client package

11/10/2017 11:42 #HB#1
Sorry guys, what is the package of dying in the client? :handsdown: :handsdown: :handsdown:
11/10/2017 16:16 iGamerFD#2
What? :wutface:
11/10/2017 17:22 Sadronis#3
He is asking for the packet which is responsible of reporting the death of character.


0x30BF - SERVER_AGENT_ENTITY_UPDATE_STATE
Code:
4   uint    UniqueID
1   byte    stateType
1   byte    state
if(stateType == 0)
{
    if(state == 2)
    {
        if(UniqueID == ownID){
            //death of your character
        }
        else{
            //death of something other than you.
        }
    }
}
Thanks to DaxterSoul for packet info
11/12/2017 21:29 #HB#4
Quote:
Originally Posted by Sadronis View Post
He is asking for the packet which is responsible of reporting the death of character.


0x30BF - SERVER_AGENT_ENTITY_UPDATE_STATE
Code:
4   uint    UniqueID
1   byte    stateType
1   byte    state
if(stateType == 0)
{
    if(state == 2)
    {
        if(UniqueID == ownID){
            //death of your character
        }
        else{
            //death of something other than you.
        }
    }
}
Thanks to DaxterSoul for packet info
Thanks very much :D :handsdown: