Jump to content
  • 0

Body Relocation -> Spider Web | Ankle Snare | Close Confine


RumbleRO

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.01
  • Content Count:  16
  • Reputation:   1
  • Joined:  09/02/22
  • Last Seen:  

Hello! I am currently using the latest rAthena and this seems to be NOT working. 

I just want to ask if why I am getting this error. Thank you so much!

image.png

  • Love 1
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  78
  • Topics Per Day:  0.03
  • Content Count:  436
  • Reputation:   167
  • Joined:  12/12/17
  • Last Seen:  

try changing `sc->data` into `sc->getSCE`...

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  110
  • Reputation:   56
  • Joined:  05/29/18
  • Last Seen:  

find this function on skill.cpp

case MO_BODYRELOCATION:
        if (unit_movepos(src, x, y, 2, 1)) {

then add before the if (unit_movepos(src, x, y, 2, 1)) {

case MO_BODYRELOCATION:
    
      +  // Block skill usage while you are under spider web, ankle snare & close confine
      +            if(sc && (sc->data[SC_SPIDERWEB] || sc->data[SC_ANKLE] || sc->data[SC_CLOSECONFINE2]))
      +                break;
        if (unit_movepos(src, x, y, 2, 1))


then recompile.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.01
  • Content Count:  16
  • Reputation:   1
  • Joined:  09/02/22
  • Last Seen:  

11 minutes ago, Katakuri said:

find this function on skill.cpp

case MO_BODYRELOCATION:
        if (unit_movepos(src, x, y, 2, 1)) {

then add before the if (unit_movepos(src, x, y, 2, 1)) {

case MO_BODYRELOCATION:
    
      +  // Block skill usage while you are under spider web, ankle snare & close confine
      +            if(sc && (sc->data[SC_SPIDERWEB] || sc->data[SC_ANKLE] || sc->data[SC_CLOSECONFINE2]))
      +                break;
        if (unit_movepos(src, x, y, 2, 1))


then recompile.

This does not work. That is what is in my attached picture.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.01
  • Content Count:  16
  • Reputation:   1
  • Joined:  09/02/22
  • Last Seen:  

4 hours ago, pajodex said:

try changing `sc->data` into `sc->getSCE`...

This is the error sir.

error.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.01
  • Content Count:  16
  • Reputation:   1
  • Joined:  09/02/22
  • Last Seen:  

	case MO_BODYRELOCATION:
		if(sc && (sc->getSCE(SC_SPIDERWEB) || sc->getSCE(SC_ANKLE)))
				break;
		if (unit_movepos(src, x, y, 2, 1)) {

Hello. Solved it! Thanks @pajodex @Katakuri

Link to comment
Share on other sites

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.

×
×
  • Create New...