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
    14
    Posts
    4,354
    Thanks given
    998
    Thanks received
    694
    Rep Power
    2968


    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;
    			}
    		}
    	}
    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
    754
    Thanks given
    4
    Thanks received
    149
    Rep Power
    79
    Pretty cool release, thank you!
    Reply With Quote  
     

  4. #3  
    Registered Member

    Join Date
    Oct 2017
    Posts
    611
    Thanks given
    6
    Thanks received
    107
    Rep Power
    146
    thank you..
    Reply With Quote  
     

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

    M Wolf's Avatar
    Join Date
    May 2015
    Posts
    1,023
    Thanks given
    136
    Thanks received
    170
    Rep Power
    156
    Thank you very much!
    Reply With Quote  
     

  6. #5  
    Rune-Server Affiliate

    Join Date
    Apr 2014
    Posts
    1,733
    Thanks given
    57
    Thanks received
    672
    Rep Power
    988
    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,603
    Thanks given
    1,336
    Thanks received
    1,597
    Rep Power
    5000
    Neat feature, thanks for this




    Discord: Roy#2382

    Reply With Quote  
     

  8. #7  
    Rune-Server Affiliate

    Join Date
    Oct 2010
    Posts
    2,845
    Thanks given
    1,191
    Thanks received
    1,589
    Rep Power
    5000
    Cool, nice job.
    [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 Smoke.'s Avatar
    Join Date
    Feb 2018
    Posts
    226
    Thanks given
    1
    Thanks received
    20
    Rep Power
    42
    Really neat, thanks for this.
    Reply With Quote  
     

  10. #9  
    Banned

    Join Date
    Apr 2013
    Posts
    1,625
    Thanks given
    410
    Thanks received
    474
    Rep Power
    0
    Nice work. Chatbox zoom next pls
    Reply With Quote  
     

  11. Thankful user:


  12. #10  
    Registered Member rabea's Avatar
    Join Date
    Mar 2018
    Posts
    350
    Thanks given
    19
    Thanks received
    50
    Rep Power
    69
    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)


User Tag List

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
  •