how you check if its about to be casted?Create array with effect ids in const.h, check if id of a effect about to be send is in that array, if true then edit position.
In ProtocolGame, sendMagicEffect.how you check if its about to be casted?
In ProtocolGame, sendMagicEffect.
if(otclientV8 && type == CONST_ME_RESPAWNORMALCLIENT) //This is effect for respawn monsters normal client and otclient
{
type = CONST_ME_RESPAWN;
pos.x += 1; //i guess something like this
}
bumpC++:if(otclientV8 && type == CONST_ME_RESPAWNORMALCLIENT) //This is effect for respawn monsters normal client and otclient { type = CONST_ME_RESPAWN; pos.x += 1; //i guess something like this }
'x' cannot be modified because it is being accessed through a const object theforgottenserver
bumpbump