Thread: Scrollbar Minimap Zoom

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 Scrollbar Minimap Zoom 
    Registered Member
    Dexter Morgan's Avatar
    Join Date
    Nov 2008
    Age
    17
    Posts
    4,323
    Thanks given
    899
    Thanks received
    642
    Rep Power
    2827


    Sometimes I can't see across and this helps.

    In
    RSApplet or GameApplet

    find

    Code:
    mouseWheelMoved
    Code:
    		if (Client.loggedIn) {
    
    			boolean zoom = Client.frameMode == ScreenMode.FIXED ? (mouseX < 512)
    					: (mouseX < Client.frameWidth - 200);
    
    			boolean mapZoom = Client.frameMode == ScreenMode.FIXED ? (mouseX > 526 && mouseY < 150)
    					: ((Client.frameWidth - mouseX) < 180 && (Client.frameHeight - mouseY) > 635);
    
    			if (Client.openInterfaceId == -1) {
    				if (mapZoom) {
    					Client.instance.minimapZoom += rotation * 35;
    
    					if (Client.instance.minimapZoom > 350) {
    						Client.instance.minimapZoom = 350;
    					}
    
    					if (Client.instance.minimapZoom < -70) {
    						Client.instance.minimapZoom = -70;
    					}
    
    				} else if (zoom) {
    					Client.cameraZoom += rotation * 35;
    
    					int max_zoom_1 = (Client.frameMode == ScreenMode.FIXED ? -150 : -300);
    					if (Client.cameraZoom < max_zoom_1) {
    						Client.cameraZoom = max_zoom_1;
    					}
    
    					if (Client.cameraZoom > 1500) {
    						Client.cameraZoom = 1500;
    					} else if (Client.cameraZoom < 0) {
    						Client.cameraZoom = 0;
    					}
    
    					int setting = 0;
    
    					if (Client.cameraZoom > 1000) {
    						setting = 4;
    					} else if (Client.cameraZoom > 800) {
    						setting = 3;
    					} else if (Client.cameraZoom > 600) {
    						setting = 2;
    					} else if (Client.cameraZoom > 400) {
    						setting = 1;
    					}
    					Client.instance.settings[168] = setting;
    					Widget.interfaceCache[SettingsWidget.ZOOM_SLIDER].slider.setValue(Client.cameraZoom);
    				}
    				Client.updateChatbox = true;
    			}
    		}
    	}
    [Only registered and activated users can see links. ]
    Quote Originally Posted by UberNation View Post
    Did you update the quantum network sockets to match the polarity of the wilderness counter levels in the Boolean that divides the wilderness level by zero?
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Registered Member
    Join Date
    Feb 2015
    Posts
    716
    Thanks given
    4
    Thanks received
    143
    Rep Power
    54
    Pretty cool release, thank you!
    Reply With Quote  
     

  4. #3  
    Registered Member

    Join Date
    Oct 2017
    Posts
    588
    Thanks given
    6
    Thanks received
    97
    Rep Power
    121
    thank you..
    Reply With Quote  
     

  5. #4  
    I'll be coming...

    Gryffin's Avatar
    Join Date
    May 2015
    Posts
    999
    Thanks given
    132
    Thanks received
    164
    Rep Power
    168
    Thank you very much!
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  6. #5  
    Registered Member

    Join Date
    Apr 2014
    Posts
    1,677
    Thanks given
    50
    Thanks received
    644
    Rep Power
    948
    This is actually pretty neat. Simple but, can see this being quite useful
    Reply With Quote  
     

  7. #6  
    Extreme Donator Market Banned Market Banned



    Join Date
    Aug 2011
    Age
    23
    Posts
    3,483
    Thanks given
    1,112
    Thanks received
    1,087
    Rep Power
    5000
    Neat feature, thanks for this
    RIP
    Reply With Quote  
     

  8. #7  
    Elkoy

    Join Date
    Oct 2010
    Posts
    2,767
    Thanks given
    1,155
    Thanks received
    1,425
    Rep Power
    5000
    Cool, nice job.
    [Only registered and activated users can see links. ]

    [Today 01:29 AM] RSTrials: Nice 0.97 Win/Loss Ratio luke. That's pretty bad.
    [Today 01:30 AM] Luke132: Ok u fucking moron i forgot i could influence misc.random
    Reply With Quote  
     

  9. #8  
    Registered Member Og Smoke's Avatar
    Join Date
    Feb 2018
    Posts
    132
    Thanks given
    1
    Thanks received
    3
    Rep Power
    22
    Really neat, thanks for this.
    Reply With Quote  
     

  10. #9  
    Registered Member

    Join Date
    Apr 2013
    Posts
    1,596
    Thanks given
    406
    Thanks received
    465
    Rep Power
    582
    Nice work. Chatbox zoom next pls
    Spoiler for sig too large:
    [Only registered and activated users can see links. ]


    Reply With Quote  
     

  11. Thankful user:


  12. #10  
    Registered Member rabea's Avatar
    Join Date
    Mar 2018
    Posts
    116
    Thanks given
    17
    Thanks received
    16
    Rep Power
    42
    thank you very match
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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

Similar Threads

  1. 508 client zoom and minimap zoom :P
    By Erand in forum Show-off
    Replies: 4
    Last Post: 03-19-2010, 05:43 PM
  2. Reshape Minimap
    By Zachera in forum Tutorials
    Replies: 37
    Last Post: 02-20-2009, 07:19 PM
  3. Minimap and chatbox :D
    By Java got me Stoned in forum RS2 Client
    Replies: 12
    Last Post: 05-08-2008, 07:45 PM
  4. Making the minimap go black in coords
    By ViperSniper in forum Tutorials
    Replies: 6
    Last Post: 03-25-2008, 12:46 PM
  5. Requesting ScrollBar Color Change!
    By Ninja Cat in forum RS2 Client
    Replies: 4
    Last Post: 11-02-2007, 06:50 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •