Thread: PI Barrows bug

Results 1 to 5 of 5
  1. #1 PI Barrows bug 
    Registered Member
    Join Date
    Jan 2012
    Posts
    134
    Thanks given
    2
    Thanks received
    0
    Rep Power
    10
    Every time i exit a barrows stair area, the mini map does not come back. does anyone know why?
    Reply With Quote  
     

  2. #2  
    Developer


    Join Date
    Oct 2013
    Age
    29
    Posts
    1,038
    Thanks given
    689
    Thanks received
    321
    Rep Power
    260
    you'll need to give us more to go off of than that. For all we know, you're talking about OSRS.

    Attached image
    Spoiler for vouches(20+):

    Reply With Quote  
     

  3. #3  
    Registered Member OP411's Avatar
    Join Date
    May 2014
    Posts
    293
    Thanks given
    28
    Thanks received
    31
    Rep Power
    0
    Because it's not setting the minimap state back.
    Once you enter a barrows lair you will see it send a packet to blacken the minimap (sets the state to 0)
    So when you eave the lair it should set it back to 2
    Just dig around and look for where it processes the click for the stairs
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jan 2012
    Posts
    134
    Thanks given
    2
    Thanks received
    0
    Rep Power
    10
    Quote Originally Posted by divine View Post
    you'll need to give us more to go off of than that. For all we know, you're talking about osrs.
    hi other divine this is my barrows code at the moment

    Code:
    package server.model.minigames;
    
    import server.model.players.Client;
    import server.util.Misc;
    
    public class Barrows {
    
    	public static final int[][] COFFIN_AND_BROTHERS = {
    	{6823, 2030},
    	{6772, 2029},
    	{6822, 2028},
    	{6773, 2027},
    	{6771, 2026},
    	{6821, 2025}
    	
    	};
    	
    	/**
    	* Picking the random coffin
    	**/
    	public static int getRandomCoffin() {
    		return Misc.random(COFFIN_AND_BROTHERS.length-1);
    	}
    	
    	/**
    	* Selects the coffin and shows the interface if coffin id matches random coffin
    	**/
    	public static boolean selectCoffin(Client c, int coffinId) {
    		if(c.randomCoffin == 0) {
    			c.randomCoffin = getRandomCoffin();
    		}
    		
    		if(COFFIN_AND_BROTHERS[c.randomCoffin][0] == coffinId) {
    			c.getDH().sendDialogues(1, -1);
    			return true;
    		}
    		return false;
    	}
    	
    	
    }
    And this is the clickobject.java

    Code:
    				case 6706: // torag
    				c.objectXOffset = 2;
    				break;
    				case 6772:
    				c.objectDistance = 2;
    				c.objectYOffset = 1;
    				break;
    				
    				case 6705: // karils
    				c.objectYOffset = -1;
    				break;
    				case 6822:
    				c.objectDistance = 2;
    				c.objectYOffset = 1;
    				break;
    				
    				case 6704: // guthan stairs
    				c.objectYOffset = -1;
    				break;
    				case 6773:
    				c.objectDistance = 2;
    				c.objectXOffset = 1;
    				c.objectYOffset = 1;
    				break;
    				
    				case 6703: // dharok stairs
    				c.objectXOffset = -1;
    				break;
    				case 6771:
    				c.objectDistance = 2;
    				c.objectXOffset = 1;
    				c.objectYOffset = 1;
    				break;
    				
    				case 6702: // ahrim stairs
    				c.objectXOffset = -1;
    				break;
    				case 6821:
    				c.objectDistance = 2;
    				c.objectXOffset = 1;
    				c.objectYOffset = 1;
    				break;
    Reply With Quote  
     

  5. #5  
    Registered Member
    Zivik's Avatar
    Join Date
    Oct 2007
    Age
    28
    Posts
    4,421
    Thanks given
    891
    Thanks received
    1,527
    Rep Power
    3285
    There's some other code in that you gotta find related to barrows that sends the packet to change minimap state.
    Reply With Quote  
     


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. [PI] Barrows bug
    By gingerale1 in forum Help
    Replies: 0
    Last Post: 08-26-2014, 07:58 PM
  2. [PI] Barrows is bugged [5$ for Fix]
    By Radiation in forum Help
    Replies: 7
    Last Post: 05-28-2011, 01:26 AM
  3. pi -gw bug
    By Romania Clan in forum Help
    Replies: 3
    Last Post: 06-19-2010, 12:53 PM
  4. PI Barrows
    By Owned_ in forum Help
    Replies: 6
    Last Post: 05-31-2010, 07:15 PM
  5. PI Barrows
    By Owned_ in forum Requests
    Replies: 0
    Last Post: 05-31-2010, 02:42 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
  •