Thread: [PAYING] Valius right click not working

Results 1 to 3 of 3
  1. #1 [PAYING] Valius right click not working 
    I Like Chicken Nuggets :]

    Join Date
    Aug 2014
    Posts
    313
    Thanks given
    4
    Thanks received
    56
    Rep Power
    54
    Valius right click not working, if you can fix pm me with skype or discord
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Jan 2018
    Posts
    43
    Thanks given
    12
    Thanks received
    6
    Rep Power
    0
    It's because of the latest JRE 9 change, theres a snippet on how to fix it probably in 317 Client Snipps/Tut
    Reply With Quote  
     

  3. #3  
    Donator
    Bananastreet's Avatar
    Join Date
    Jul 2011
    Posts
    102
    Thanks given
    81
    Thanks received
    24
    Rep Power
    23
    Quote Originally Posted by icebrick View Post
    Java 9 introduced a few bugs in the ancient client engine most people use, the most noticeable one is right mouse clicking.

    Go to the class where you handle your mouse clicking, usually in RSApplet.java.

    Search for this:
    Code:
     
    if (type == 2) {
    			mouseWheelDown = true;
    			mouseWheelX = i;
    			mouseWheelY = j;
    			return;
    		}
    replace the if statement with:
    Code:
    if (SwingUtilities.isMiddleMouseButton(e)) {
    Then search for:
    Code:
    		if (mouseevent.isMetaDown()) {
    			clickMode1 = 2;
    			clickMode2 = 2;
    		}
    Replace the first if statement with:
    Code:
    	if(SwingUtilities.isRightMouseButton(e)) {
    Then also in the following else block:
    Code:
    	} else {
    			clickMode1 = 1;
    			clickMode2 = 1;
    		}
    replace the else line with:
    Code:
    	} else if(SwingUtilities.isLeftMouseButton(e)){
    Pretty sure he was talking about this.
    Reply With Quote  
     

  4. Thankful user:



Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 2
    Last Post: 07-28-2019, 03:33 PM
  2. right click not working rsps
    By znaation in forum Help
    Replies: 3
    Last Post: 10-19-2017, 08:26 PM
  3. Replies: 0
    Last Post: 01-02-2015, 06:45 PM
  4. Player rights 3 not working
    By dawson11 in forum Help
    Replies: 1
    Last Post: 10-21-2012, 05:20 AM
  5. Making right click ban work
    By Eternal Darknes in forum Tutorials
    Replies: 2
    Last Post: 05-31-2008, 12:07 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •