Jump to content
  • 0

Circular cell preventing the cast of a certain skill


imat1

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  99
  • Reputation:   19
  • Joined:  05/01/12
  • Last Seen:  

When i'm using a melee skill like asura, FCP, or sonic blow while i'm 3 or more cell away on the target, my character just move closer, but the skill interrupts and there is no cast especially when i'm diagonally positioned onto the target. Please help me...

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  803
  • Reputation:   229
  • Joined:  01/30/13
  • Last Seen:  

        } else if( !battle_check_range(src, target, range) )
            return 0; // Arrow-path check failed.

Just change to that to:

        } else if( !battle_check_range(src, target, range+1) )
            return 0; // Arrow-path check failed.

For now.

 

At least then you only change it in that one specific case instead of changing a general range function that's used everywhere.

 

Yes, it's not safe, it gives hackers one more skill range than other players, but I can't look into a better fix because the bug doesn't appear for me locally and nobody else that has this bug could look into why it even gets to that code part.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   345
  • Joined:  02/26/12
  • Last Seen:  

When i'm using a melee skill like asura, FCP, or sonic blow while i'm 3 or more cell away on the target, my character just move closer, but the skill interrupts and there is no cast especially when i'm diagonally positioned onto the target. Please help me...

Is it the same like this issue? https://github.com/rathena/rathena/issues/1427

If yes, see my comments below, i have fixed it, but my fix not safe.

Edited by Anacondaqq
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  99
  • Reputation:   19
  • Joined:  05/01/12
  • Last Seen:  

Now i know why it's not safe. It makes a melee skill somewhat range.

Edited by imat1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  99
  • Reputation:   19
  • Joined:  05/01/12
  • Last Seen:  

Anyone have the better fix for this?

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...