I have tried to add this to prevent players from using moving skills while in fiberlock, ankle snare, close confine.
case TF_BACKSLIDING: //This is the correct implementation as per packet logging information. [skotlex]
if( sd->sc.data[sC_CLOSECONFINE2] || sd->sc.data[sC_ANKLE] || sd->sc.data[sC_SPIDERWEB] )
{
clif_skill_fail(sd,sd->menuskill_id,0,0);
break;
}
and
case MO_BODYRELOCATION:
if( sc && sc->data[sC_CLOSECONFINE2] || sc->data[sC_ANKLE] || sc->data[sC_SPIDERWEB] )
{
clif_skill_fail(sd,sd->menuskill_id,0,0);
break;
}
it does work well in my test server. but i was wondering cause my test server crashed because of this..
is there anyone who could pin point the problem to this?.
im not really good at these. lol.
Thank you.