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,336
    Thanks given
    948
    Thanks received
    686
    Rep Power
    2934


    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
    730
    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
    596
    Thanks given
    6
    Thanks received
    98
    Rep Power
    121
    thank you..
    Reply With Quote  
     

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

    M Wolf's Avatar
    Join Date
    May 2015
    Posts
    1,015
    Thanks given
    134
    Thanks received
    167
    Rep Power
    156
    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,721
    Thanks given
    57
    Thanks received
    662
    Rep Power
    970
    This is actually pretty neat. Simple but, can see this being quite useful
    Reply With Quote  
     

  7. #6  
    Revenant - The Undead Realm Market Banned Market Banned



    Join Date
    Aug 2011
    Age
    23
    Posts
    3,550
    Thanks given
    1,176
    Thanks received
    1,380
    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,824
    Thanks given
    1,174
    Thanks received
    1,500
    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
    Quote Originally Posted by Mille View Post
    but a model program? Would it be possible to use paint?
    Quote Originally Posted by ED3N View Post
    What do you know about Public Void and int without this [] is only 1 integer, why?
    Reply With Quote  
     

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

  10. #9  
    Banned

    Join Date
    Apr 2013
    Posts
    1,624
    Thanks given
    410
    Thanks received
    473
    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
    279
    Thanks given
    19
    Thanks received
    42
    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
  •