Thread: Multiple hit with new hitmarks

Results 1 to 8 of 8
  1. #1 Multiple hit with new hitmarks 
    Registered MrClassic

    MrClassic's Avatar
    Join Date
    Oct 2008
    Age
    26
    Posts
    1,967
    Thanks given
    16,936
    Thanks received
    409
    Rep Power
    5000
    Hello,
    since there are new hitmarks released, there's a new bug.
    It's when you spec with either dds and dclaws.
    if you hit 0 you see a little shield. the bug is, when you hit a 0 the shield first appears but never shows the other hits.

    This is an example:
    Thanks, MrClassic.

    [Only registered and activated users can see links. ]

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jun 2011
    Posts
    135
    Thanks given
    13
    Thanks received
    10
    Rep Power
    1
    I actually had same problem. Go to client.java and replace method86 with :

    Code:
    		private void method86(Stream stream) {
    		for (int j = 0; j < anInt893; j++) {
    			int k = anIntArray894[j];
    			NPC npc = npcArray[k];
    			int l = stream.readUnsignedByte();
    			if ((l & 0x10) != 0) {
    				int i1 = stream.method434();
    				if (i1 == 65535)
    					i1 = -1;
    				int i2 = stream.readUnsignedByte();
    				if (i1 == npc.anim && i1 != -1) {
    					int l2 = Animation.anims[i1].anInt365;
    					if (l2 == 1) {
    						npc.anInt1527 = 0;
    						npc.anInt1528 = 0;
    						npc.anInt1529 = i2;
    						npc.anInt1530 = 0;
    					}
    					if (l2 == 2)
    						npc.anInt1530 = 0;
    				} else if (i1 == -1
    						|| npc.anim == -1
    						|| Animation.anims[i1].anInt359 >= Animation.anims[npc.anim].anInt359) {
    					npc.anim = i1;
    					npc.anInt1527 = 0;
    					npc.anInt1528 = 0;
    					npc.anInt1529 = i2;
    					npc.anInt1530 = 0;
    					npc.anInt1542 = npc.smallXYIndex;
    				}
    			}
    			if ((l & 8) != 0) {
    				int j1 = stream.method426();
    				int j2 = stream.method427();
    				int type1 = stream.readUnsignedByte();
    				npc.updateHitData(j2, j1, type1, loopCycle);
    				npc.loopCycleStatus = loopCycle + 300;
    				npc.currentHealth = stream.method426();
    				npc.maxHealth = stream.readUnsignedByte();
    			}
    			if ((l & 0x80) != 0) {
    				npc.anInt1520 = stream.readUnsignedWord();
    				int k1 = stream.readDWord();
    				npc.anInt1524 = k1 >> 16;
    			npc.anInt1523 = loopCycle + (k1 & 0xffff);
    			npc.anInt1521 = 0;
    			npc.anInt1522 = 0;
    			if (npc.anInt1523 > loopCycle)
    				npc.anInt1521 = -1;
    			if (npc.anInt1520 == 65535)
    				npc.anInt1520 = -1;
    			}
    			if ((l & 0x20) != 0) {
    				npc.interactingEntity = stream.readUnsignedWord();
    				if (npc.interactingEntity == 65535)
    					npc.interactingEntity = -1;
    			}
    			if ((l & 1) != 0) {
    				npc.textSpoken = stream.readString();
    				npc.textCycle = 100;
    				// entityMessage(npc);
    
    			}
     	    if ((l & 0x40) != 0) {
    		int l1 = stream.method427();
    		int k2 = stream.method428();
    		int type2 = stream.readUnsignedByte();
    		npc.updateHitData(k2, l1, type2, loopCycle);
    		npc.loopCycleStatus = loopCycle + 300;
    		npc.currentHealth = stream.method428();
    		npc.maxHealth = stream.method427();
    	    }
    			if ((l & 2) != 0) {
    				npc.desc = EntityDef.forID(stream.method436());
    				npc.anInt1540 = npc.desc.aByte68;
    				npc.anInt1504 = npc.desc.anInt79;
    				npc.anInt1554 = npc.desc.walkAnim;
    				npc.anInt1555 = npc.desc.anInt58;
    				npc.anInt1556 = npc.desc.anInt83;
    				npc.anInt1557 = npc.desc.anInt55;
    				npc.anInt1511 = npc.desc.standAnim;
    			}
    			if ((l & 4) != 0) {
    				npc.anInt1538 = stream.method434();
    				npc.anInt1539 = stream.method434();
    			}
    		}
    	}
    Reply With Quote  
     

  3. #3  
    Registered MrClassic

    MrClassic's Avatar
    Join Date
    Oct 2008
    Age
    26
    Posts
    1,967
    Thanks given
    16,936
    Thanks received
    409
    Rep Power
    5000
    That's still not fixing it, I still have the bug. sorry
    Thanks, MrClassic.

    [Only registered and activated users can see links. ]

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  4. #4  
    Registered MrClassic

    MrClassic's Avatar
    Join Date
    Oct 2008
    Age
    26
    Posts
    1,967
    Thanks given
    16,936
    Thanks received
    409
    Rep Power
    5000
    bump
    Thanks, MrClassic.

    [Only registered and activated users can see links. ]

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #5  
    Registered MrClassic

    MrClassic's Avatar
    Join Date
    Oct 2008
    Age
    26
    Posts
    1,967
    Thanks given
    16,936
    Thanks received
    409
    Rep Power
    5000
    bump
    Thanks, MrClassic.

    [Only registered and activated users can see links. ]

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  6. #6  
    Registered Member Corydoras's Avatar
    Join Date
    Jul 2011
    Posts
    9
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    bump ......

    uhm, you could ask ingame mods who can code like a pro.....

    but i like the way of:
    I actually had same problem. Go to client.java and replace method86 with :

    Code:
    private void method86(Stream stream) {
    for (int j = 0; j < anInt893; j++) {
    int k = anIntArray894[j];
    NPC npc = npcArray[k];
    int l = stream.readUnsignedByte();
    if ((l & 0x10) != 0) {
    int i1 = stream.method434();
    if (i1 == 65535)
    i1 = -1;
    int i2 = stream.readUnsignedByte();
    if (i1 == npc.anim && i1 != -1) {
    int l2 = Animation.anims[i1].anInt365;
    if (l2 == 1) {
    npc.anInt1527 = 0;
    npc.anInt1528 = 0;
    npc.anInt1529 = i2;
    npc.anInt1530 = 0;
    }
    if (l2 == 2)
    npc.anInt1530 = 0;
    } else if (i1 == -1
    || npc.anim == -1
    || Animation.anims[i1].anInt359 >= Animation.anims[npc.anim].anInt359) {
    npc.anim = i1;
    npc.anInt1527 = 0;
    npc.anInt1528 = 0;
    npc.anInt1529 = i2;
    npc.anInt1530 = 0;
    npc.anInt1542 = npc.smallXYIndex;
    }
    }
    if ((l & 8) != 0) {
    int j1 = stream.method426();
    int j2 = stream.method427();
    int type1 = stream.readUnsignedByte();
    npc.updateHitData(j2, j1, type1, loopCycle);
    npc.loopCycleStatus = loopCycle + 300;
    npc.currentHealth = stream.method426();
    npc.maxHealth = stream.readUnsignedByte();
    }
    if ((l & 0x80) != 0) {
    npc.anInt1520 = stream.readUnsignedWord();
    int k1 = stream.readDWord();
    npc.anInt1524 = k1 >> 16;
    npc.anInt1523 = loopCycle + (k1 & 0xffff);
    npc.anInt1521 = 0;
    npc.anInt1522 = 0;
    if (npc.anInt1523 > loopCycle)
    npc.anInt1521 = -1;
    if (npc.anInt1520 == 65535)
    npc.anInt1520 = -1;
    }
    if ((l & 0x20) != 0) {
    npc.interactingEntity = stream.readUnsignedWord();
    if (npc.interactingEntity == 65535)
    npc.interactingEntity = -1;
    }
    if ((l & 1) != 0) {
    npc.textSpoken = stream.readString();
    npc.textCycle = 100;
    // entityMessage(npc);

    }
    if ((l & 0x40) != 0) {
    int l1 = stream.method427();
    int k2 = stream.method428();
    int type2 = stream.readUnsignedByte();
    npc.updateHitData(k2, l1, type2, loopCycle);
    npc.loopCycleStatus = loopCycle + 300;
    npc.currentHealth = stream.method428();
    npc.maxHealth = stream.method427();
    }
    if ((l & 2) != 0) {
    npc.desc = EntityDef.forID(stream.method436());
    npc.anInt1540 = npc.desc.aByte68;
    npc.anInt1504 = npc.desc.anInt79;
    npc.anInt1554 = npc.desc.walkAnim;
    npc.anInt1555 = npc.desc.anInt58;
    npc.anInt1556 = npc.desc.anInt83;
    npc.anInt1557 = npc.desc.anInt55;
    npc.anInt1511 = npc.desc.standAnim;
    }
    if ((l & 4) != 0) {
    npc.anInt1538 = stream.method434();
    npc.anInt1539 = stream.method434();
    }
    }
    }
    Some people are just.....

    I'm in need of a pro coder who can teach me bits of coding.


    add my msn if u can code and help me out with my problems:

    [Only registered and activated users can see links. ] Corydoras
    Reply With Quote  
     

  7. #7  
    Registered Member DarkSlayerz's Avatar
    Join Date
    Nov 2008
    Posts
    928
    Thanks given
    88
    Thanks received
    44
    Rep Power
    46
    need this to
    Reply With Quote  
     

  8. #8  
    Registered Member DarkSlayerz's Avatar
    Join Date
    Nov 2008
    Posts
    928
    Thanks given
    88
    Thanks received
    44
    Rep Power
    46
    sorry for double post but its the same as when a npc hits 0 on u and then more npcs come with an attk and they just odnt show up.. but the hp bars gets more red. so that measn theyre hitting,, so yeah anyone know a fix for this?..
    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: 54
    Last Post: 03-08-2015, 08:13 AM
  2. Replies: 5
    Last Post: 07-31-2010, 02:48 PM
  3. runescape mapdata with TD mapdata
    By Rowan112 in forum Downloads
    Replies: 23
    Last Post: 03-02-2010, 06:41 PM
  4. My Mapdata reader cant read some mapdata
    By ncarug02 in forum Help
    Replies: 2
    Last Post: 07-05-2009, 07:44 PM
  5. Replies: 36
    Last Post: 02-03-2009, 01:25 PM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •