Thread: Dragon claw glitch

Results 1 to 7 of 7
  1. #1 Dragon claw glitch 
    Registered Member
    Join Date
    Aug 2011
    Posts
    178
    Thanks given
    16
    Thanks received
    41
    Rep Power
    30
    ok so im hawing this claw problem rep++ to whoever helps fixing

    as you can see when the opponents hp is 0 the last hits are 900+
    Reply With Quote  
     

  2. #2  
    I'm President Carter


    Join Date
    Jan 2011
    Posts
    1,204
    Thanks given
    17
    Thanks received
    222
    Rep Power
    144
    Is this only with claws or does it happen with a dds too?


    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Aug 2011
    Posts
    178
    Thanks given
    16
    Thanks received
    41
    Rep Power
    30
    Quote Originally Posted by I'm A Jerk View Post
    Is this only with claws or does it happen with a dds too?
    only claws for dds the last hit is 0
    Reply With Quote  
     

  4. #4  
    Fuck the rest join the best, WoR
    Jinx's Avatar
    Join Date
    Oct 2010
    Posts
    635
    Thanks given
    99
    Thanks received
    65
    Rep Power
    364
    Not sure where you have to add this, but I do know that this is what you need. I think you can either add it to a process method or put it somewhere in AttackPlayer.java.

    Code:
    if(c2.playerLevel[3] <= 0) {
        c.stopMovement();
        c.getCombat().resetPlayerAttack();
    }
    Goodluck.
    The wor has begun.


    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Aug 2011
    Posts
    178
    Thanks given
    16
    Thanks received
    41
    Rep Power
    30
    Quote Originally Posted by Layne View Post
    Not sure where you have to add this, but I do know that this is what you need. I think you can either add it to a process method or put it somewhere in AttackPlayer.java.

    Code:
    if(c2.playerLevel[3] <= 0) {
        c.stopMovement();
        c.getCombat().resetPlayerAttack();
    }
    dont seem to work

    Goodluck.
    dont seem to work
    Reply With Quote  
     

  6. #6  
    I'm President Carter


    Join Date
    Jan 2011
    Posts
    1,204
    Thanks given
    17
    Thanks received
    222
    Rep Power
    144
    Post your appendhit and appendhit2 method.


    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Aug 2011
    Posts
    178
    Thanks given
    16
    Thanks received
    41
    Rep Power
    30
    Code:
    public void appendHitUpdate(Stream str) {
    		synchronized(this) {
    			str.writeByte(getHitDiff()); // What the perseon got 'hit' for
    			if (poisonMask == 1) {
    				str.writeByteA(2);
    			} else if (getHitDiff() > 0) {
    				str.writeByteA(1); // 0: red hitting - 1: blue hitting
    			} else {
    				str.writeByteA(0); // 0: red hitting - 1: blue hitting
    			}
    			if (playerLevel[3] <= 0) {
    				playerLevel[3] = 0;
    				isDead = true;	
    			}
    			str.writeByte(CIcon); // The combat icon 
    			str.writeByteC(playerLevel[3]); // Their current hp, for HP bar
    			str.writeByte(getLevelForXP(playerXP[3])); // Their max hp, for HP bar
    		}
    	}
    	
    	
    	public void appendHitUpdate2(Stream str) {
    		synchronized(this) {
    			str.writeByte(hitDiff2); // What the perseon got 'hit' for
    			if (poisonMask == 2) {
    				str.writeByteS(2);
    				poisonMask = -1;
    			} else if (hitDiff2 > 0) {
    				str.writeByteS(1); // 0: red hitting - 1: blue hitting
    			} else {
    				str.writeByteS(0); // 0: red hitting - 1: blue hitting
    			}
    			if (playerLevel[3] <= 0) {
    				playerLevel[3] = 0;
    				isDead = true;	
    			}
    			str.writeByte(CIcon); // The combat icon 
    			str.writeByte(playerLevel[3]); // Their current hp, for HP bar
    			str.writeByteC(getLevelForXP(playerXP[3])); // Their max hp, for HP bar
    		}
    	}
    here
    and also when you're poisoned you get a critical melee hit icon.
    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. Dragon Claw
    By FreekySteve69 in forum Images
    Replies: 8
    Last Post: 06-18-2011, 01:22 PM
  2. dragon claw help
    By pk flavor in forum Help
    Replies: 4
    Last Post: 06-04-2011, 05:00 AM
  3. d claw spec glitch on dementhium
    By Zᴀᴄʜ in forum Help
    Replies: 2
    Last Post: 05-06-2011, 10:26 PM
  4. Dragon Claw Help
    By Sir Lethal in forum Help
    Replies: 8
    Last Post: 04-18-2009, 07:29 PM
  5. dragon claw
    By harmy in forum Help
    Replies: 8
    Last Post: 03-08-2009, 04:33 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
  •