Jump to content
  • 1

body relocation (i think this is the problem why snap won't work properly)


Question

Posted (edited)

step how to fix:

1. you go to src>map>skill.c

2. find case MO_BODYRELOCATION:

if (unit_movepos(src, x, y, 1, 1)) {

clif_skill_poseffect(src,skillid,skilllv,src->x,src->y,tick);

// clif_slide(src, src->x, src->y); //Poseffect is the one that makes the char snap on the client...

if (sd) skill_blockpc_start (sd, MO_EXTREMITYFIST, 2000);

}

3. remove the comment //beside clif_slide(src, src->x, src->y); //Poseffect is the one that makes the char snap on the client...

4.it will look like this:

case MO_BODYRELOCATION:

if (unit_movepos(src, x, y, 1, 1)) {

clif_skill_poseffect(src,skillid,skilllv,src->x,src->y,tick);

clif_slide(src, src->x, src->y); //Poseffect is the one that makes the char snap on the client...

if (sd) skill_blockpc_start (sd, MO_EXTREMITYFIST, 2000);

}

5. then save it and recompile

Edited by NANORAY
  • Upvote 1

9 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...