Jump to content

Ruse - fix right click walk here


Adam
 Share

Recommended Posts

Head too Client.java and search for '== 516'

You should see something like this:

if (l == 516) {
    if (!menuOpen) {
        worldController.request2DTrace(super.saveClickY - 4, super.saveClickX - 4);
    } else {
        worldController.request2DTrace(interfaceId - 4, slot - 4);
    }
}

Head too the worldController method, may be called something else in your client and it'll appear something like this

public void request2DTrace(int x, int y) {
   isClicked = true;
   clickX = y;
   clickY = x;
   clickedTileX = -1;
   clickedTileY = -1;
}

You'll notice a few things like clickX is pointing too the y variable..

 

Change it to match this:

Changes:

clickX = x;

clickY = y;

parameters swapped around..

public void request2DTrace(int y, int x) {
   isClicked = true;
   clickX = x;
   clickY = y;
   clickedTileX = -1;
   clickedTileY = -1;
}

Load up your client and both left click + right click walk here options should be fixed.

 

  • Positive 1
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
Reply to this topic...

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

 Share