Thread: Player hint icons draw offset

Results 1 to 5 of 5
  1. #1 Player hint icons draw offset 
    Endeavor

    Mikey`'s Avatar
    Join Date
    Dec 2007
    Posts
    4,434
    Thanks given
    715
    Thanks received
    1,435
    Rep Power
    1202
    Why does this happen?

    Packet:
    Code:
    public class SendPlayerHint extends OutgoingPacket {
    	
    	private final int type;
    	
    	private final int id;
    
    	public SendPlayerHint(boolean player, int id) {
    		super();
    		type = (player ? 10 : 1);
    		this.id = id;
    	}
    
    	@Override
    	public void execute(Client client) {
    		StreamBuffer.OutBuffer out = StreamBuffer.newOutBuffer(7);
            out.writeHeader(client.getEncryptor(), 254);
            out.writeByte(type);
            out.writeShort(id);
            out.writeByte(0 >> 16);
            out.writeByte(0 >> 8);
            out.writeByte(0);
            client.send(out.getBuffer());
    	}
    
    	@Override
    	public int getOpcode() {
    		return 254;
    	}
    	
    }

    (ignore the left player, it flashed right as I took the picture, but it's offset too)
    Reply With Quote  
     

  2. #2  
    Community Veteran

    mige5's Avatar
    Join Date
    Aug 2008
    Posts
    5,528
    Thanks given
    573
    Thanks received
    1,410
    Rep Power
    2114
    maybe related to how the new minimap was done... (client-sided)

    - though if everything else positions correctly, dunno why it wouldnt work for hints..
    Number of page #1 releases with most views & posts: (Updated: 2023)
    RS2 server section: 1
    RS2 client section: 2
    Reply With Quote  
     

  3. #3  
    Endeavor

    Mikey`'s Avatar
    Join Date
    Dec 2007
    Posts
    4,434
    Thanks given
    715
    Thanks received
    1,435
    Rep Power
    1202
    Quote Originally Posted by mige5 View Post
    maybe related to how the new minimap was done... (client-sided)

    - though if everything else positions correctly, dunno why it wouldnt work for hints..
    That's what I thought too and I tried another client. It had the same error though.
    Reply With Quote  
     

  4. #4  
    Community Veteran

    mige5's Avatar
    Join Date
    Aug 2008
    Posts
    5,528
    Thanks given
    573
    Thanks received
    1,410
    Rep Power
    2114
    Quote Originally Posted by Mikey` View Post
    That's what I thought too and I tried another client. It had the same error though.
    u tried my client, i remember doing something with hints for resizable?
    Number of page #1 releases with most views & posts: (Updated: 2023)
    RS2 server section: 1
    RS2 client section: 2
    Reply With Quote  
     

  5. #5  
    Endeavor

    Mikey`'s Avatar
    Join Date
    Dec 2007
    Posts
    4,434
    Thanks given
    715
    Thanks received
    1,435
    Rep Power
    1202
    Quote Originally Posted by mige5 View Post
    u tried my client, i remember doing something with hints for resizable?
    The client was in fixed when I tried it though.
    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. Hint Icons(Arrows above heads)
    By Palidino in forum Tutorials
    Replies: 39
    Last Post: 11-07-2010, 07:22 PM
  2. How to Use Hint icon (Palis Nio?)
    By Vastiko in forum Tutorials
    Replies: 15
    Last Post: 10-13-2009, 01:13 PM
  3. Epic-Proper hint icons!(Frame)
    By wizzyt21 in forum Show-off
    Replies: 9
    Last Post: 01-11-2009, 06:29 PM
  4. Hint icons frame X and Y coordinated
    By wizzyt21 in forum Tutorials
    Replies: 7
    Last Post: 01-08-2009, 07:26 PM
  5. Usage: Hint Icon.
    By Vastiko in forum Requests
    Replies: 6
    Last Post: 11-28-2008, 03:26 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
  •