Thread: Duel Hd / ld interfaces tabs it all lol

Page 1 of 9 123 ... LastLast
Results 1 to 10 of 89
  1. #1 Duel Hd / ld interfaces tabs it all lol 
    ̿ ̿̿ ̿̿ ̿̿̿'̿'\̵͇̿̿\=(•̪

    Dragonking's Avatar
    Join Date
    May 2008
    Posts
    2,011
    Thanks given
    16
    Thanks received
    31
    Rep Power
    567
    Requested by Ashton aka Pixel ( i help him to much lol )
    first go to login.java or rs2loginprotical

    Find something like this
    Code:
            p.stream.readUnsignedByte();
                p.stream.readUnsignedWord();
                p.stream.readUnsignedWord();
            p.stream.readUnsignedWord(); //client height too
                for (int i = 0; i < 24; i++) {
                    int cacheIDX = p.stream.readUnsignedByte();
                }
                String junk = p.stream.readString();
                for (int i = 0; i < 29; i++) {
                    int junk2 = p.stream.readDWord();
                }
                loginEncryptPacketSize--;
                int encryption = p.stream.readUnsignedByte();
                if (encryption != 10) {
                    p.loginStage = -1;
                    return;
    and replace it with this ( graham released this part my way didnt work 100% so thank him for this )

    Code:
        p.stream.readUnsignedByte();
                p.stream.readUnsignedWord();
                p.stream.readUnsignedWord();
                p.stream.readUnsignedWord(); //client height too
                for (int i = 0; i < 24; i++) {
                    int cacheIDX = p.stream.readUnsignedByte();
                }
                String junk = p.stream.readString();
                for (int i = 0; i < 29; i++) {
                    int junk2 = p.stream.readDWord();
                }
                loginEncryptPacketSize--;
                int junk29 = p.stream.readUnsignedByte();
                int encryption = junk29;
                if(!(encryption == 10 || encryption == 64)) {
                    encryption = p.stream.readUnsignedByte();
                }
                if (encryption != 10 && encryption != 64) {
                    p.loginStage = -1;
                    return;
                }
    ok now it just aloud both ld and hd to connect and it doesnt encript anything =P but now if u log onto hd no tabs or anything will be set.

    now to fix this

    go to player.java add

    Code:
    public boolean useingHD = false;
    now go to actionsender/frames.java and add these voids

    Code:
        /**
         *HD
         */
        public void setTabhd(Player p, int tabId, int childId) {
            setInterface(p, 1, 746, tabId, childId);
           //  System.out.println("Tabs Useing hd == "+ String.valueOf(p.useingHD));
        }
    
        public void setOverlayhd(Player p, int childId) {
            setInterface(p, 1, 746, 5, childId);
        }
    
        public void removeOverlayhd(Player p) {
            setInterface(p, 1, 746, 5, 56);
        }
    
        public void showInterfacehd(Player p, int childId) {
    
            setInterface(p, 0, 746, 3, childId);
            setInterface(p, 0, 746, 8, childId);
            p.interfaceId = childId;
        }
    
        public void removeShownInterfacehd(Player p) {
            setInterface(p, 1, 746, 3, 56);
            p.interfaceId = -1;
        }
        /**
         *
         * Removing Normal interfaces
         *
         */
           public void RemovesetInterfaces(Player p) {
            if (p == null || p.disconnected[0]) {
                return;
            }
            setTab(p, 6, 670);
            setTab(p, 11, 670); // Chat options
            setTab(p, 68, 670); // Chatbox
            setTab(p, 64, 670); // HP bar
            setTab(p, 65, 670); // Prayer bar
            setTab(p, 66, 670); // Energy bar
            setTab(p, 67, 670);
            setConfig(p, 1160, -1);
            setTab(p, 8, 670); // Playername on chat
            setTab(p, 73,  670); // Attack tab
            setTab(p, 74, 670); // Skill tab
            setTab(p, 75, 670); //  Quest tab
            setTab(p, 76, 670); // Inventory tab
            setTab(p, 77, 670); // Equipment tab
            setTab(p, 78, 670); // Prayer tab
            setTab(p, 79, 670); // Magic tab
            setTab(p, 80, 670); // Summoning tab <- Enabled
            setTab(p, 81, 670); // Friend tab
            setTab(p, 82, 670); // Ignore tab
            setTab(p, 83, 670); // Clan tab
            setTab(p, 84, 670); // Setting tab
            setTab(p, 85, 670); // Emote tab
            setTab(p, 86, 670); // Music tab
            setTab(p, 87, 670); // Logout tab
            setString(p, "Click here to log out<br>of DragonScape 508", 182, 0);
            if(p.questStage >= 1)
            {
                setString(p, "<col=00fff0>Learning the Basics", 259, 2);
            }
        else
        setString(p, "Learning the Basics", 259, 2);
        }    
        public void setFullScreenInterfaces(Player p) {
            if (p == null || p.disconnected[0]) {
                return;
            }
        RemovesetInterfaces(p);
        setInterface(p, 1, 549, 0, 746); 
        setInterface(p, 1, 746, 13, 748); //energy orb
        setInterface(p, 1, 746, 14, 749); //energy orb
        setInterface(p, 1, 746, 15, 750); //energy orb
        setInterface(p, 1, 746, 16, 747); //summing orb
        setInterface(p, 1, 746, 18, 751); //things below chatbox 
        setInterface(p, 1, 752, 8, 137); //chatbox
        setInterface(p, 1, 746, 65, 752); //chatbox 752
        setInterface(p, 1, 549, 0, 746); // Main interface
        setInterface(p, 1, 746, 87, 92); // Attack tab
        setInterface(p, 1, 746, 88, 320); // Skill tab
        setInterface(p, 1, 746, 89, 274); // Quest tab
        setInterface(p, 1, 746, 90, 149); // Inventory tab
        setInterface(p, 1, 746, 91, 387); // Equipment tab
        setInterface(p, 1, 746, 92, 271); // Prayer tab
        setInterface(p, 1, 746, 93, 193); // Magic tab
        setInterface(p, 1, 746, 94, 662); // Summoning tab
        setInterface(p, 1, 746, 95, 550); // Friend tab
        setInterface(p, 1, 746, 96, 551); // Ignore tab
        setInterface(p, 1, 746, 97, 589); // Clan tab
        setInterface(p, 1, 746, 98, 261); // Setting tab
        setInterface(p, 1, 746, 99, 464); // Emote tab
        setInterface(p, 1, 746, 100, 187); // Music tab
        setInterface(p, 1, 746, 101, 182); // Logout tab
        setInterface(p, 1, 752, 8, 137); // Chatbox 
        setInterface(p, 1, 746, 65, 752); // Chatbox 752
        setInterface(p, 1, 746, 18, 751); // Settings below chatbox
        setInterface(p, 1, 746, 13, 748); // HP orb
        setInterface(p, 1, 746, 14, 749); // Prayer orb
        setInterface(p, 1, 746, 15, 750); // Energy orb
        setInterface(p, 1, 746, 12, 747); // Summoning orb
        }
    
    /**
     *End of hd
     */
    now replace ur showinterface with

    Code:
        public void showInterface(Player p, int childId) {
           p.interfaceId = childId;
            if(!p.useingHD)
            {
            setInterface(p, 0, 548, 8, childId);
            }
            else if(p.useingHD)
            {
            showInterfacehd(p, childId);
            }
        }
    now it just made it so if ur useing hd that it uses the sethdinterface instead

    now to make it know ur useing hd!

    go to packetmenager and add this
    Code:
    case 129:
    p.getActionSender().setFullScreenInterfaces(p);
    p.useingHD = true;
    System.out.println("Useing hd == "+ String.valueOf(p.useingHD));
    break;
    i tihnk that is about it if im forgetting something just say and il find it lol

    pics:




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

  2. #2  
    Iceman
    Guest
    Haven't tried and probably wont soon but I like the looks of this!
    Reply With Quote  
     

  3. #3  
    ̿ ̿̿ ̿̿ ̿̿̿'̿'\̵͇̿̿\=(•̪

    Dragonking's Avatar
    Join Date
    May 2008
    Posts
    2,011
    Thanks given
    16
    Thanks received
    31
    Rep Power
    567
    just put pics


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

  4. #4  
    Dj T3nSiOnN
    Guest
    hi Dragon King great work again. Rep++
    Reply With Quote  
     

  5. #5  
    ̿ ̿̿ ̿̿ ̿̿̿'̿'\̵͇̿̿\=(•̪

    Dragonking's Avatar
    Join Date
    May 2008
    Posts
    2,011
    Thanks given
    16
    Thanks received
    31
    Rep Power
    567
    thanks =P iv had for a long time lol if u look in show off lol


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

  6. #6  
    Dj T3nSiOnN
    Guest
    i know. thanks for the release.
    Reply With Quote  
     

  7. #7  
    Member Market Banned Market Banned


    Join Date
    Nov 2006
    Posts
    3,292
    Thanks given
    29
    Thanks received
    22
    Rep Power
    4355
    Wow Dragon You Rock In 508 and Hd And Ld
    Spoiler for Signature:



    Nick David Matt Kevin Zack Corey Jeff GOD DAMMIT
    Reply With Quote  
     

  8. #8  
    ̿ ̿̿ ̿̿ ̿̿̿'̿'\̵͇̿̿\=(•̪

    Dragonking's Avatar
    Join Date
    May 2008
    Posts
    2,011
    Thanks given
    16
    Thanks received
    31
    Rep Power
    567
    Quote Originally Posted by Elite pl0x View Post
    Wow Dragon You Rock In 508 and Hd And Ld
    thanks im ont on ur sig


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

  9. #9  
    Donator


    Join Date
    Sep 2006
    Age
    27
    Posts
    2,106
    Thanks given
    73
    Thanks received
    54
    Rep Power
    491
    You should release how to make the wildy skull load in HD

    This is very very good thanks dragonking for releasing this for meh
    Reply With Quote  
     

  10. #10  
    ̿ ̿̿ ̿̿ ̿̿̿'̿'\̵͇̿̿\=(•̪

    Dragonking's Avatar
    Join Date
    May 2008
    Posts
    2,011
    Thanks given
    16
    Thanks received
    31
    Rep Power
    567
    thanks ashton and look this is how u do it lol

    public void setOverlayhd(Player p, int childId) {
    setInterface(p, 1, 746, 5, childId);
    }


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

Page 1 of 9 123 ... LastLast

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
  •