Thread: Could anyone help !!

Results 1 to 7 of 7
  1. #1 Could anyone help !! 
    Registered Member
    Join Date
    Apr 2014
    Posts
    47
    Thanks given
    5
    Thanks received
    3
    Rep Power
    11
    This code is ripped from soulsplit source! ! I want to know if anyone can customize it for it to work for my server please? its a 317 614 animations its heavenx source de bugged tho~!


    Code:
    	private int fRing;
    
    	private void handleFericiousRings() {
    		boolean wearingFericiousRing = equipmentItems[Equipment.SLOT_RING] == ItemIdentifiers.FEROCIOUS_RING_1
    				|| equipmentItems[Equipment.SLOT_RING] == ItemIdentifiers.FEROCIOUS_RING_2
    				|| equipmentItems[Equipment.SLOT_RING] == ItemIdentifiers.FEROCIOUS_RING_3
    				|| equipmentItems[Equipment.SLOT_RING] == ItemIdentifiers.FEROCIOUS_RING_4
    				|| equipmentItems[Equipment.SLOT_RING] == ItemIdentifiers.FEROCIOUS_RING_5;
    		if (!wearingFericiousRing) {
    			return;
    		}
    		if (this.isDead()) {
    			return;
    		}
    		int heal = 1;
    		switch (equipmentItems[Equipment.SLOT_RING]) {
    		case ItemIdentifiers.FEROCIOUS_RING_5: {
    			heal = 10;
    			break;
    		}
    		case ItemIdentifiers.FEROCIOUS_RING_4: {
    			heal = 8;
    			break;
    		}
    		case ItemIdentifiers.FEROCIOUS_RING_3: {
    			heal = 6;
    			break;
    		}
    		case ItemIdentifiers.FEROCIOUS_RING_2: {
    			heal = 4;
    			break;
    		}
    		case ItemIdentifiers.FEROCIOUS_RING_1: {
    			heal = 2;
    		}
    		}
    		if (levels[Skills.HITPOINTS] + heal > playerAssistant
    				.getLevelForExperience(Skills.HITPOINTS)) {
    			return;
    		}
    		if (fRing % 10 == 0) {
    			playerAssistant.restoreSkill(Skills.HITPOINTS, heal);
    			this.sendMessage("The fericious ring heals you " + heal + " HP");
    			this.gfx0(1549);
    		}
    		if (fRing == (Integer.MAX_VALUE - 1)) {
    			fRing = 1;
    		}
    		fRing++;
    	}
    Reply With Quote  
     

  2. #2  
    Community Veteran

    Exploiter's Avatar
    Join Date
    Oct 2006
    Posts
    956
    Thanks given
    447
    Thanks received
    650
    Rep Power
    5000
    Are we just supposed to magically know what your base is?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Apr 2014
    Posts
    47
    Thanks given
    5
    Thanks received
    3
    Rep Power
    11
    its a 317 614 animations its heavenx source de bugged tho~!
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Apr 2014
    Posts
    47
    Thanks given
    5
    Thanks received
    3
    Rep Power
    11
    Quote Originally Posted by Nan Unplugger View Post
    Are we just supposed to magically know what your base is?
    its a 317 614 animations its heavenx source de bugged tho~!
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Apr 2014
    Posts
    47
    Thanks given
    5
    Thanks received
    3
    Rep Power
    11
    bump!
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    May 2013
    Posts
    1,169
    Thanks given
    28
    Thanks received
    133
    Rep Power
    53
    Probably a pi of you're still wondering what base..
    If only I hadn't given you up, my life could've been different.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    May 2013
    Posts
    1,169
    Thanks given
    28
    Thanks received
    133
    Rep Power
    53
    I'm assuming all this ring does is heal the user by a certain amount of points depending on what ring you have? That's rather simple to do..
    If only I hadn't given you up, my life could've been different.
    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. Replies: 10
    Last Post: 09-25-2013, 06:20 AM
  2. Could anyone help me with allstar Modicons?
    By rockarocka in forum Help
    Replies: 0
    Last Post: 06-01-2013, 05:58 PM
  3. could anyone help me trying to make a php page like this
    By oblivion742 in forum Application Development
    Replies: 1
    Last Post: 04-29-2013, 09:31 PM
  4. Could anyone help me add a new model header?
    By Sillhouette in forum Models
    Replies: 3
    Last Post: 12-27-2011, 12:00 AM
  5. Replies: 4
    Last Post: 12-16-2010, 12:12 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
  •