Thread: Emote Tab

Results 1 to 3 of 3
  1. #1 Emote Tab 
    Registered Member Pharmacy's Avatar
    Join Date
    Feb 2008
    Posts
    149
    Thanks given
    0
    Thanks received
    2
    Rep Power
    70
    Okay this is going to teach you how to add emotions to the emote tabs.

    Knowledge: Idk, not that difficult
    Time: Only time consuming if you are adding the emotes yourself.
    Credits:

    Songoty, i think he deserves more than he asked for.
    Me
    Rob
    Cellkyborg

    I only added the emotes that are lit up on the emote tab.

    Step One
    In RsPlayer, search for:
    Code:
    
                case ClientPackets.PING_REPLY:
                    inStream.readOffset += packetSize;
                    break;
    then under it put this -
    Code:
    case ClientPackets.EMOTE_PRESSED:
                    int interID2 = inStream.readSize();
                    int buttID2 = inStream.readSize();
                    System.out.println("Button pressed: Interface Id -" + interID2 +" Button Id = " + buttID2);
                    buttonHandler.buttonPressed(interID2, buttID2);
                    break;
    Step Two
    Go to ButtonHandler, search for this-
    Code:
                case 387:
                    interface387(buttID);
                    break;
    Under it add this-
    Code:
                case 464:
                    interface464(buttID);
                    break;
    Step Three
    After that search for -
    Code:
    private void interface182(int ID) {
    Which is right under it most likely.
    Add this above that or below it -
    Code:
        private void interface464(int ID) {
            switch (ID) {
                case 2: // Yes
                    myPlayer.doAnimation(855, 0);
                    break;
                case 3: // No
                    myPlayer.doAnimation(856, 0);
                    break;
                case 4: // Bow
                    myPlayer.doAnimation(858, 0);
                    break;
                case 5: // Angry
                    myPlayer.doAnimation(859, 0);
                    break;
                case 6: // Think
                    myPlayer.doAnimation(857, 0);
                    break;
                case 7: // Wave
                    myPlayer.doAnimation(863, 0);
                    break;
                case 8: // Shrug
                    myPlayer.doAnimation(2113, 0);
                    break;
                case 9: // Cheer
                    myPlayer.doAnimation(862, 0);
                    break;
                case 10: // Beckon
                    myPlayer.doAnimation(864, 0);
                    break;
                case 11: // Laugh
                    myPlayer.doAnimation(861, 0);
                    break;
                case 12: // Joy Jump
                    myPlayer.doAnimation(2109, 0);
                    break;
                case 13: // Yawn
                    myPlayer.doAnimation(2111, 0);
                    break;
                case 14: // Dance
                    myPlayer.doAnimation(866, 0);
                    break;
                case 15: // Jig
                    myPlayer.doAnimation(2106, 0);
                    break;
                case 16: // Spin
                    myPlayer.doAnimation(2107, 0);
                    break;
                case 17: // HeadBang
                    myPlayer.doAnimation(2108, 0);
                    break;
                case 18: // Cry
                    myPlayer.doAnimation(860, 0);
                    break;
                case 19: // Blow Kiss
                    myPlayer.doAnimation(0x558, 0);
                    break;
                case 20: // Panic
                    myPlayer.doAnimation(2105, 0);
                    break;
                case 21: // Raspberry
                    myPlayer.doAnimation(2110, 0);
                    break;
                case 22: // Clap
                    myPlayer.doAnimation(865, 0);
                    break;
                case 23: // Salute
                    myPlayer.doAnimation(2112, 0);
                    break;
               case 24: // Goblin Bow
                    myPlayer.doAnimation(0x84F, 0);
                    break;
                case 25: // Goblin Salute
                    myPlayer.doAnimation(0x850, 0);
                    break;
                case 26: // Glass Box
                    myPlayer.doAnimation(1131, 0);
                    break;
                case 27: // Climb Rope
                    myPlayer.doAnimation(1130, 0);
                    break;
                case 28: // Lean
                    myPlayer.doAnimation(1129, 0);
                    break;
                case 29: // Glass Wall
                    myPlayer.doAnimation(1128, 0);
                    break;
                case 34: // Zombie Walk
                    myPlayer.doAnimation(3544, 0);
                    break;
                case 35: // Zombie Dance
                    myPlayer.doAnimation(3543, 0);
                    break;
                case 37: // Scared
                    myPlayer.doAnimation(2836, 0);
                    break;
    
                }
    
            }
    Reply With Quote  
     

  2. #2  
    iownuk
    Guest
    wtf? why hasnt anyone posted, this is a fine dam job k? you dont fucken leech and dont thank for god sake, good job man, great job on finding.
    Reply With Quote  
     

  3. #3  
    Registered Member
    cocoa's Avatar
    Join Date
    Jan 2008
    Age
    26
    Posts
    652
    Thanks given
    4
    Thanks received
    22
    Rep Power
    200
    474....teh fauk? I thought this **** died. If so leave it dead.
    Project 377
    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

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