Thread: [525] npc dialouge help :( [525]

Results 1 to 2 of 2
  1. #1 [525] npc dialouge help :( [525] 
    Banned
    Join Date
    Jul 2009
    Posts
    192
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Were do I put theese?

    public void sendNPCHead(int npcID, int interfaceID, int childID) {
    StaticPacketBuilder pkt = new StaticPacketBuilder().setId(25);
    pkt.addShort(npcID)
    .addLEShort(ID++)
    .addInt((interfaceID << 16) + childID);
    player.getSession().write(pkt.toPacket());
    }

    public void sendPlayerHead(int interfaceID, int childID) {
    StaticPacketBuilder pkt = new StaticPacketBuilder().setId(57);
    pkt.addLEInt((interfaceID << 16) + childID)
    .addShort(ID++);
    player.getSession().write(pkt.toPacket());
    }

    public void sendItem(int itemID, int itemSize, int interfaceID, int childID) {
    StaticPacketBuilder pkt = new StaticPacketBuilder().setId(253);
    pkt.addInt(itemSize)
    .addShortA(itemID)
    .addInt2((interfaceID << 16) + childID)
    .addLEShort(ID++);
    player.getSession().write(pkt.toPacket());
    }

    public void animateInterface(int animID, int interfaceID, int childID) {
    StaticPacketBuilder pkt = new StaticPacketBuilder().setId(204);
    pkt.addShort(animID)
    .addLEShort(ID++)
    .addLEInt((interfaceID << 16) + childID);
    player.getSession().write(pkt.toPacket());
    }
    Reply With Quote  
     

  2. #2  
    MBScape 723 Owner


    Join Date
    Oct 2008
    Age
    18
    Posts
    1,330
    Thanks
    1
    Thanked 23 Times in 16 Posts
    Rep Power
    302
    Idk, why don't you leech a source like you did mine and find out?!
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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