Thread: [PI] Skillcape shop

Results 1 to 2 of 2
  1. #1 [PI] Skillcape shop 
    Registered Member susurik's Avatar
    Join Date
    Jan 2011
    Posts
    253
    Thanks given
    140
    Thanks received
    13
    Rep Power
    2
    Base: PI
    Problem:Well i need help with adding to my skillcape shop hunter skillcape. If im right i have to add it on ShopAssistant.java but instead of skillcape it is showing dwarf remains.
    Errors(Compiling Errors): -
    Other Information/Media(Pictures, etc): -
    This is the place where i added hunter skillcape, but i guess its not right.
    Code:
    public void openSkillCape() {
    			int capes = get99Count();
    			if (capes > 1)
    				capes = 1;
    			else
    				capes = 0;
    			c.myShopId = 14;
    			setupSkillCapes(capes, get99Count());		
    		}
    		
    		
    		
    		/*public int[][] skillCapes = {{0,9747,4319,2679},{1,2683,4329,2685},{2,2680,4359,2682},{3,2701,4341,2703},{4,2686,4351,2688},{5,2689,4347,2691},{6,2692,4343,2691},
    									{7,2737,4325,2733},{8,2734,4353,2736},{9,2716,4337,2718},{10,2728,4335,2730},{11,2695,4321,2697},{12,2713,4327,2715},{13,2725,4357,2727},
    									{14,2722,4345,2724},{15,2707,4339,2709},{16,2704,4317,2706},{17,2710,4361,2712},{18,2719,4355,2721},****,2737,4331,2739},{20,2698,4333,2700}};*/
    		public int[] skillCapes = {9747,9753,9750,9768,9756,9759,9762,9801,9807,9783,9798,9804,9780,9795,9792,9774,9771,9777,9786,9810,9765,9948,};
    		public int get99Count() {
    			int count = 0;
    			for (int j = 0; j < c.playerLevel.length; j++) {
    				if (c.getLevelForXP(c.playerXP[j]) >= 99) {
    					count++;				
    				}			
    			}		
    			return count;
    		}
    Thank you!
    Reply With Quote  
     

  2. #2  
    Registered Member susurik's Avatar
    Join Date
    Jan 2011
    Posts
    253
    Thanks given
    140
    Thanks received
    13
    Rep Power
    2
    Bump
    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] Skillcape Shop [PI]
    By vader rd in forum Help
    Replies: 1
    Last Post: 12-17-2010, 10:53 PM
  2. [pi] skillcape shop
    By Ninja assassin in forum Help
    Replies: 4
    Last Post: 10-26-2010, 04:04 PM
  3. Replies: 6
    Last Post: 08-29-2010, 09:02 PM
  4. Replies: 9
    Last Post: 06-15-2010, 10:17 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
  •