Thread: Hp orb fix

Results 1 to 3 of 3
  1. #1 Hp orb fix 
    Banned
    Join Date
    Feb 2013
    Posts
    1,067
    Thanks given
    72
    Thanks received
    28
    Rep Power
    0
    has any one got a fix for hp orb for eliminates client, the hp orb doesnt update every hit for some reason im using eliminates client with vulcan source also i put it on old hits to have normal hp hits
    heres the method
    Code:
    	private void loadAllOrbs() {
    		int[] 
    			spriteID = {isPoisoned && hpHover ? 8 : 7, prayHover ? 8 : 7, runHover ? 8 : 7, sumActive && sumHover ? 8 : 7}, 
    			coloredOrbSprite = {0, clickedQuickPrayers ? 2 : 1, runClicked ? 4 : 3, sumActive ? 6 : 5}, 
    			orbIconX = {183, 197, 200, 183}, orbIconY = {23, 60, 99, 136}, orbSprite = {9, 10, runClicked ? 12 : 11, 13};
    		String cEnergy = RSInterface.interfaceCache[149].message.replaceAll("%", "");
    		String hp = RSInterface.interfaceCache[4016].message.replaceAll("%", "");
    		int currentHP = Integer.parseInt(hp), currentEnergy = Integer.parseInt(cEnergy);
    		for (int i = 0; i < (summOrb ? 4 : 3); i++) {
        		String currentStats = RSInterface.interfaceCache[currentInterface[i]].message.replaceAll("%", ""), maxStats = RSInterface.interfaceCache[maximumInterface[i]].message.replaceAll("%", "");
        		int currentLevel = Integer.parseInt(currentStats), maxLevel = Integer.parseInt(maxStats), level = (int)(((double) currentLevel / (double) maxLevel) * 100D);
    			cacheSprite[spriteID[i]].drawSprite(orbX[i], orbY[i]);
    			cacheSprite[coloredOrbSprite[i]].drawSprite(coloredOrbX[i], coloredOrbY[i]);
        		double percent = (i == 2 ? runEnergy ? currentEnergy / 100D : 100 : level / 100D), fillHp = 27 * percent, fillPrayer = 27 * percent, fillRun = 27 * percent, fillSumm = 27 * percent;
        		double[] fill = {fillHp, fillPrayer, fillRun, fillSumm};
        		int depleteFill = 27 - (int) fill[i];
        		cacheSprite[14].myHeight = depleteFill;
        		cacheSprite[14].drawSprite(coloredOrbX[i], coloredOrbY[i]);
    			cacheSprite[orbSprite[i]].drawSprite(orbIconX[i], orbIconY[i]);
    			smallText.method382(getOrbTextColor(i == 2 ? runEnergy ? currentEnergy : 100 : level), orbTextX[i], "" + (i == 2 ? runEnergy ? cEnergy : 100 : i == 0 && newDamage ? currentHP * 10 : RSInterface.interfaceCache[currentInterface[i]].message.replaceAll("%", "")), orbTextY[i], true);
    		}
    	}
    Reply With Quote  
     

  2. #2  
    Registered Member Zentharia's Avatar
    Join Date
    Sep 2014
    Posts
    89
    Thanks given
    24
    Thanks received
    21
    Rep Power
    39
    My friend has the problem, where the hp xp is like 10x lol
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Feb 2013
    Posts
    1,067
    Thanks given
    72
    Thanks received
    28
    Rep Power
    0
    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. Fixing HP Orbs
    By iitzTyson in forum Help
    Replies: 4
    Last Post: 08-10-2011, 05:24 PM
  2. Replies: 4
    Last Post: 06-08-2011, 02:59 AM
  3. NPC HP Bar fix (Stop it repeatedly refilling)
    By Unborn in forum Tutorials
    Replies: 170
    Last Post: 04-03-2011, 04:17 PM
  4. Working HP Orb and LogoutDoor
    By Clienthax in forum Tutorials
    Replies: 77
    Last Post: 04-29-2009, 02:15 PM
  5. 525 HP Bar fix
    By Edu in forum Configuration
    Replies: 31
    Last Post: 03-31-2009, 11:20 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
  •