Thread: Hitsplats won't show

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 Hitsplats won't show 
    H_E_N_T_A_I_H_E_A_V_E_N_
    Tatsumi's Avatar
    Join Date
    May 2013
    Posts
    1,779
    Thanks given
    537
    Thanks received
    269
    Rep Power
    337
    Fixed it myself, it had something to do in PlayerHandler




    Basically all of a sudden my hitsplats wont show up when npc's attack me. Even though when i attack them Hitsplats do show


    What do

    edit: They still deal damage, just no hitsplats appear

    Base is PI
    Reply With Quote  
     

  2. #2  
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,743
    Thanks given
    1,162
    Thanks received
    3,603
    Rep Power
    5000
    npc updating is wrong
    Reply With Quote  
     

  3. #3  
    H_E_N_T_A_I_H_E_A_V_E_N_
    Tatsumi's Avatar
    Join Date
    May 2013
    Posts
    1,779
    Thanks given
    537
    Thanks received
    269
    Rep Power
    337
    Quote Originally Posted by Stuart View Post
    npc updating is wrong
    Mind Giving me a hint on what to look at exactly? because i havent touched my npc files or anyhting
    Reply With Quote  
     

  4. #4  
    Owner of New World-PK
    Vinny PKs's Avatar
    Join Date
    Dec 2015
    Posts
    166
    Thanks given
    119
    Thanks received
    53
    Rep Power
    0
    this is why you save back-ups, to know where you went wrong pal.
    Reply With Quote  
     

  5. #5  
    H_E_N_T_A_I_H_E_A_V_E_N_
    Tatsumi's Avatar
    Join Date
    May 2013
    Posts
    1,779
    Thanks given
    537
    Thanks received
    269
    Rep Power
    337
    Quote Originally Posted by doflamingo pkz View Post
    this is why you save back-ups, to know where you went wrong pal.
    They suddenly stopped working, without any errors ..
    Reply With Quote  
     

  6. #6  
    Ex Rune-Scaper

    Join Date
    Jun 2008
    Posts
    3,534
    Thanks given
    457
    Thanks received
    1,257
    Rep Power
    990
    check your hit masks
    Attached image
    Reply With Quote  
     

  7. #7  
    H_E_N_T_A_I_H_E_A_V_E_N_
    Tatsumi's Avatar
    Join Date
    May 2013
    Posts
    1,779
    Thanks given
    537
    Thanks received
    269
    Rep Power
    337
    Quote Originally Posted by Seven View Post
    check your hit masks
    Where are they located, what should i look at
    Reply With Quote  
     

  8. #8  
    Ex Rune-Scaper

    Join Date
    Jun 2008
    Posts
    3,534
    Thanks given
    457
    Thanks received
    1,257
    Rep Power
    990
    Quote Originally Posted by Toumou View Post
    Where are they located, what should i look at
    Where ever you append the mask for the npc updating. No idea what base you're using so I couldn't tell ya.

    Code:
    /**
     * {@link MobUpdateBlock} implementation that displays a single hit-splat on a
     * mob.
     * 
     * @author SeVen
     */
    public class MobSingleHitUpdateBlock extends MobUpdateBlock {
    	private final Hit hit;
    
    	public MobSingleHitUpdateBlock(Hit hit) {
    		super(0x40, UpdateFlag.HIT);
    		this.hit = hit;
    	}
    
    	@Override
    	public void encode(Mob entity, PacketBuilder builder) {
    		builder
    		.put(hit.getDamage(), ByteModification.NEGATION)
    		.put(hit.getType().getId(), ByteModification.SUBTRACTION)
    		.put(hit.getDamageType().getId())
    		.put(entity.getCurrentHealth(), ByteModification.SUBTRACTION)
    		.put(entity.getMaximumHealth(), ByteModification.NEGATION);
        }
    
    }
    Attached image
    Reply With Quote  
     

  9. #9  
    H_E_N_T_A_I_H_E_A_V_E_N_
    Tatsumi's Avatar
    Join Date
    May 2013
    Posts
    1,779
    Thanks given
    537
    Thanks received
    269
    Rep Power
    337
    help!! bump
    Reply With Quote  
     

  10. #10  
    Banned Hitsplats won't show Market Banned

    Join Date
    Jan 2016
    Posts
    117
    Thanks given
    45
    Thanks received
    20
    Rep Power
    0
    Pm me skype i may be able to help you on this for free
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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 Spec Bar Won't Show
    By Kaelen in forum Help
    Replies: 2
    Last Post: 09-28-2011, 03:48 AM
  2. Replies: 8
    Last Post: 06-19-2010, 08:56 AM
  3. Custom sprites won't show?
    By Continue in forum Help
    Replies: 0
    Last Post: 01-10-2010, 11:44 PM
  4. Jar won't show GUI
    By Markian in forum Help
    Replies: 3
    Last Post: 08-04-2009, 12:32 AM
  5. My quest tab won't show up!?
    By Oh my gawd in forum Help
    Replies: 6
    Last Post: 04-08-2009, 10:14 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
  •