Thread: 100% Fix to Dragonkings HD Fullscreen

Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1 100% Fix to Dragonkings HD Fullscreen 
    Renown Programmer

    Nikki's Avatar
    Join Date
    Aug 2008
    Posts
    3,993
    Thanks given
    553
    Thanks received
    1,077
    Rep Power
    5000
    Well with this HD fullscreen Whenever you try to switch tabs, It doesnt work This is the 100% fix
    This is the Weapon and Magic tab fix AND BANKS!
    Banks:
    Replace your setinventory with:
    Code:
        public void setInventory(Player p, int childId) {
    	if(!p.useingHD) {
            setInterface(p, 0, 548, 71, childId);
    		} else {
        setInterface(p, 1, 746, 90, childId);
    		}
        }
    Ok ALSO! The Weapons arent 100% but it works
    Code:
    public void sethdtab(int childID) {
    if(p.useingHD == true) {
        p.frames.setInterface(p, 1, 746, 87, childID); // Attack tab
    } else if(p.useingHD == false) {
                p.frames.setTab(p, 73, childID);
    }
    }
    Replace the
    Code:
                p.frames.setTab(p, 73, ##);
    With
    Code:
    sethdtab(##);
    That should fix the weps, If you know how
    Step 1:
    Replace the Settab part of your Changing Method with
    Code:
    if(p.useingHD == true) {
        p.frames.setInterface(p, 1, 746, 93, tab here); // Magic tab
    } else {
    						p.frames.setTab(p, 79, tabhere);
    }
    And for the lazy espeon
    Code:
    if(p.useingHD == true) {
        p.getActionSender().setInterface(p, 1, 746, 93, tab here); // Magic tab
    } else {
    						p.getActionSender().setTab(p, 79, tabhere);
    }
    Replace "Tab Here" With the ID of the tab, I.E: 192(Modern) 193 (ancients) or 430 (Lunar)
    There You ahve it, Magic tabs In HD Fullscreen
    Reply With Quote  
     

  2. #2  
    Registered Member
    Enjoi's Avatar
    Join Date
    Sep 2008
    Posts
    2,454
    Thanks given
    565
    Thanks received
    281
    Rep Power
    1325
    thanks for fixing this. Do you have banks working properly yet and the weapon interface fixed? cuz i really hate fucking around with frames and no one can be bothered to tell us lol.

    Good job
    Reply With Quote  
     

  3. #3  
    ★☆♥♣♥☆★

    EndlessZombies's Avatar
    Join Date
    Aug 2008
    Age
    28
    Posts
    440
    Thanks given
    30
    Thanks received
    4
    Rep Power
    125
    these will fix the attack tab

    goes in playerweapon.java replace your void
    Code:
       	    public void setWeapon() {
            if (p == null) {
                return;
            }
            p.walkEmote = getWalkEmote(p.equipment[3]);
            p.runEmote = getRunEmote(p.equipment[3]);
            p.standEmote = getStandEmote(p.equipment[3]);
            p.attackEmote = getAttackEmote(p.equipment[3]);
            p.attackDelay = getAttackDelay(p.equipment[3]);
            String weapon = Engine.items.getItemName(p.equipment[3]);
    if(!p.useingHD) {
            if (p.equipment[3] == -1) {
                p.frames.setTab(p, 73, 92);
                p.frames.setString(p, weapon, 92, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.equals("Abyssal whip")) {
                p.frames.setTab(p, 73, 93);
                p.frames.setString(p, weapon, 93, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.equals("Granite maul")
                    || weapon.equals("Tzhaar-ket-om")
                    || weapon.equals("Torags hammers")) {
                p.frames.setTab(p, 73, 76);
                p.frames.setString(p, weapon, 76, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.equals("Veracs flail") || weapon.endsWith("mace")) {
                p.frames.setTab(p, 73, 88);
                p.frames.setString(p, weapon, 88, 0);
            } else if (weapon.endsWith("crossbow") || weapon.endsWith(" c'bow")) {
                p.frames.setTab(p, 73, 79);
                p.frames.setString(p, weapon, 79, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.endsWith("bow") || weapon.endsWith("bow full")
                    || weapon.equals("Seercull")) {
                p.frames.setTab(p, 73, 77);
                p.frames.setString(p, weapon, 77, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.startsWith("Staff") || weapon.endsWith("staff")
                    || weapon.equals("Toktz-mej-tal")) {
                p.frames.setTab(p, 73, 90);
                p.frames.setString(p, weapon, 90, 0);
            } else if (weapon.endsWith("dart") || weapon.endsWith("knife")
                    || weapon.endsWith("thrownaxe") || weapon.equals("Toktz-xil-ul")) {
                p.frames.setTab(p, 73, 91);
                p.frames.setString(p, weapon, 91, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.endsWith("dagger") || weapon.endsWith("dagger(s)")
                    || weapon.endsWith("dagger(+)") || weapon.endsWith("dagger(p)")) {
                p.frames.setTab(p, 73, 89);
                p.frames.setString(p, weapon, 89, 0);
            } else if (weapon.endsWith("pickaxe")) {
                p.frames.setTab(p, 73, 83);
                p.frames.setString(p, weapon, 83, 0);
            } else if (weapon.endsWith("axe") || weapon.endsWith("battleaxe")) {
                p.frames.setTab(p, 73, 75);
                p.frames.setString(p, weapon, 75, 0);
            } else if (weapon.endsWith("halberd")) {
                p.frames.setTab(p, 73, 84);
                p.frames.setString(p, weapon, 84, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.endsWith("spear") || weapon.equals("Guthans warspear")) {
                p.frames.setTab(p, 73, 85);
                p.frames.setString(p, weapon, 85, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.endsWith("claws")) {
                p.frames.setTab(p, 73, 78);
                p.frames.setString(p, weapon, 78, 0);
            } else if (weapon.endsWith("2h sword") || weapon.endsWith("godsword")
                    || weapon.equals("Saradomin sword")) {
                p.frames.setTab(p, 73, 81);
                p.frames.setString(p, weapon, 81, 0);
            } else {
                p.frames.setTab(p, 73, 82);
                p.frames.setString(p, weapon, 82, 0);
            }
    		}
    		else if(p.useingHD) {
    		if (p.equipment[3] == -1) {
                p.frames.setTabhd(p, 87, 92);
                p.frames.setString(p, weapon, 92, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.equals("Abyssal whip")) {
                p.frames.setTabhd(p, 87, 93);
                p.frames.setString(p, weapon, 93, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.equals("Granite maul")
                    || weapon.equals("Tzhaar-ket-om")
                    || weapon.equals("Torags hammers")) {
                p.frames.setTabhd(p, 87, 76);
                p.frames.setString(p, weapon, 76, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.equals("Veracs flail") || weapon.endsWith("mace")) {
                p.frames.setTabhd(p, 87, 88);
                p.frames.setString(p, weapon, 88, 0);
            } else if (weapon.endsWith("crossbow") || weapon.endsWith(" c'bow")) {
                p.frames.setTabhd(p, 87, 79);
                p.frames.setString(p, weapon, 79, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.endsWith("bow") || weapon.endsWith("bow full")
                    || weapon.equals("Seercull")) {
                p.frames.setTabhd(p, 87, 77);
                p.frames.setString(p, weapon, 77, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.startsWith("Staff") || weapon.endsWith("staff")
                    || weapon.equals("Toktz-mej-tal")) {
                p.frames.setTabhd(p, 87, 90);
                p.frames.setString(p, weapon, 90, 0);
            } else if (weapon.endsWith("dart") || weapon.endsWith("knife")
                    || weapon.endsWith("thrownaxe") || weapon.equals("Toktz-xil-ul")) {
                p.frames.setTabhd(p, 87, 91);
                p.frames.setString(p, weapon, 91, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.endsWith("dagger") || weapon.endsWith("dagger(s)")
                    || weapon.endsWith("dagger(+)") || weapon.endsWith("dagger(p)")) {
                p.frames.setTabhd(p, 87, 89);
                p.frames.setString(p, weapon, 89, 0);
            } else if (weapon.endsWith("pickaxe")) {
                p.frames.setTabhd(p, 87, 83);
                p.frames.setString(p, weapon, 83, 0);
            } else if (weapon.endsWith("axe") || weapon.endsWith("battleaxe")) {
                p.frames.setTabhd(p, 87, 75);
                p.frames.setString(p, weapon, 75, 0);
            } else if (weapon.endsWith("halberd")) {
                p.frames.setTabhd(p, 87, 84);
                p.frames.setString(p, weapon, 84, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.endsWith("spear") || weapon.equals("Guthans warspear")) {
                p.frames.setTabhd(p, 87, 85);
                p.frames.setString(p, weapon, 85, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.endsWith("claws")) {
                p.frames.setTabhd(p, 87, 78);
                p.frames.setString(p, weapon, 78, 0);
            } else if (weapon.endsWith("2h sword") || weapon.endsWith("godsword")
                    || weapon.equals("Saradomin sword")) {
                p.frames.setTabhd(p, 87, 81);
                p.frames.setString(p, weapon, 81, 0);
            } else {
                p.frames.setTabhd(p, 87, 82);
                p.frames.setString(p, weapon, 82, 0);
            }
    		}
            checkSpecials(p);
        }
    sorry if its long =/ only way i could find but it works so far for HD
    that should fix the attack tab for LD and HD

    creds to someone from a tut idk who sorry =/^


    nicole thanks for this ^-^ but i fixd my switching commands with booleans
    btw whats the problem witht he bank?

    "Snapback with my city on it, text back with yo titties on it, levi's with yo kitty on it"


    Reply With Quote  
     

  4. #4  
    We be steady Mobbin'

    Stefan's Avatar
    Join Date
    Sep 2008
    Age
    26
    Posts
    2,380
    Thanks given
    38
    Thanks received
    23
    Rep Power
    1988
    Thanks i couldnt get this working but now my HD dont work anyway
    People still use this site?
    Reply With Quote  
     

  5. #5  
    Renown Programmer

    Nikki's Avatar
    Join Date
    Aug 2008
    Posts
    3,993
    Thanks given
    553
    Thanks received
    1,077
    Rep Power
    5000
    Quote Originally Posted by Domanico View Post
    these will fix the attack tab

    goes in playerweapon.java replace your void
    Code:
       	    public void setWeapon() {
            if (p == null) {
                return;
            }
            p.walkEmote = getWalkEmote(p.equipment[3]);
            p.runEmote = getRunEmote(p.equipment[3]);
            p.standEmote = getStandEmote(p.equipment[3]);
            p.attackEmote = getAttackEmote(p.equipment[3]);
            p.attackDelay = getAttackDelay(p.equipment[3]);
            String weapon = Engine.items.getItemName(p.equipment[3]);
    if(!p.useingHD) {
            if (p.equipment[3] == -1) {
                p.frames.setTab(p, 73, 92);
                p.frames.setString(p, weapon, 92, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.equals("Abyssal whip")) {
                p.frames.setTab(p, 73, 93);
                p.frames.setString(p, weapon, 93, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.equals("Granite maul")
                    || weapon.equals("Tzhaar-ket-om")
                    || weapon.equals("Torags hammers")) {
                p.frames.setTab(p, 73, 76);
                p.frames.setString(p, weapon, 76, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.equals("Veracs flail") || weapon.endsWith("mace")) {
                p.frames.setTab(p, 73, 88);
                p.frames.setString(p, weapon, 88, 0);
            } else if (weapon.endsWith("crossbow") || weapon.endsWith(" c'bow")) {
                p.frames.setTab(p, 73, 79);
                p.frames.setString(p, weapon, 79, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.endsWith("bow") || weapon.endsWith("bow full")
                    || weapon.equals("Seercull")) {
                p.frames.setTab(p, 73, 77);
                p.frames.setString(p, weapon, 77, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.startsWith("Staff") || weapon.endsWith("staff")
                    || weapon.equals("Toktz-mej-tal")) {
                p.frames.setTab(p, 73, 90);
                p.frames.setString(p, weapon, 90, 0);
            } else if (weapon.endsWith("dart") || weapon.endsWith("knife")
                    || weapon.endsWith("thrownaxe") || weapon.equals("Toktz-xil-ul")) {
                p.frames.setTab(p, 73, 91);
                p.frames.setString(p, weapon, 91, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.endsWith("dagger") || weapon.endsWith("dagger(s)")
                    || weapon.endsWith("dagger(+)") || weapon.endsWith("dagger(p)")) {
                p.frames.setTab(p, 73, 89);
                p.frames.setString(p, weapon, 89, 0);
            } else if (weapon.endsWith("pickaxe")) {
                p.frames.setTab(p, 73, 83);
                p.frames.setString(p, weapon, 83, 0);
            } else if (weapon.endsWith("axe") || weapon.endsWith("battleaxe")) {
                p.frames.setTab(p, 73, 75);
                p.frames.setString(p, weapon, 75, 0);
            } else if (weapon.endsWith("halberd")) {
                p.frames.setTab(p, 73, 84);
                p.frames.setString(p, weapon, 84, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.endsWith("spear") || weapon.equals("Guthans warspear")) {
                p.frames.setTab(p, 73, 85);
                p.frames.setString(p, weapon, 85, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.endsWith("claws")) {
                p.frames.setTab(p, 73, 78);
                p.frames.setString(p, weapon, 78, 0);
            } else if (weapon.endsWith("2h sword") || weapon.endsWith("godsword")
                    || weapon.equals("Saradomin sword")) {
                p.frames.setTab(p, 73, 81);
                p.frames.setString(p, weapon, 81, 0);
            } else {
                p.frames.setTab(p, 73, 82);
                p.frames.setString(p, weapon, 82, 0);
            }
    		}
    		else if(p.useingHD) {
    		if (p.equipment[3] == -1) {
                p.frames.setTabhd(p, 87, 92);
                p.frames.setString(p, weapon, 92, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.equals("Abyssal whip")) {
                p.frames.setTabhd(p, 87, 93);
                p.frames.setString(p, weapon, 93, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.equals("Granite maul")
                    || weapon.equals("Tzhaar-ket-om")
                    || weapon.equals("Torags hammers")) {
                p.frames.setTabhd(p, 87, 76);
                p.frames.setString(p, weapon, 76, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.equals("Veracs flail") || weapon.endsWith("mace")) {
                p.frames.setTabhd(p, 87, 88);
                p.frames.setString(p, weapon, 88, 0);
            } else if (weapon.endsWith("crossbow") || weapon.endsWith(" c'bow")) {
                p.frames.setTabhd(p, 87, 79);
                p.frames.setString(p, weapon, 79, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.endsWith("bow") || weapon.endsWith("bow full")
                    || weapon.equals("Seercull")) {
                p.frames.setTabhd(p, 87, 77);
                p.frames.setString(p, weapon, 77, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.startsWith("Staff") || weapon.endsWith("staff")
                    || weapon.equals("Toktz-mej-tal")) {
                p.frames.setTabhd(p, 87, 90);
                p.frames.setString(p, weapon, 90, 0);
            } else if (weapon.endsWith("dart") || weapon.endsWith("knife")
                    || weapon.endsWith("thrownaxe") || weapon.equals("Toktz-xil-ul")) {
                p.frames.setTabhd(p, 87, 91);
                p.frames.setString(p, weapon, 91, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.endsWith("dagger") || weapon.endsWith("dagger(s)")
                    || weapon.endsWith("dagger(+)") || weapon.endsWith("dagger(p)")) {
                p.frames.setTabhd(p, 87, 89);
                p.frames.setString(p, weapon, 89, 0);
            } else if (weapon.endsWith("pickaxe")) {
                p.frames.setTabhd(p, 87, 83);
                p.frames.setString(p, weapon, 83, 0);
            } else if (weapon.endsWith("axe") || weapon.endsWith("battleaxe")) {
                p.frames.setTabhd(p, 87, 75);
                p.frames.setString(p, weapon, 75, 0);
            } else if (weapon.endsWith("halberd")) {
                p.frames.setTabhd(p, 87, 84);
                p.frames.setString(p, weapon, 84, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.endsWith("spear") || weapon.equals("Guthans warspear")) {
                p.frames.setTabhd(p, 87, 85);
                p.frames.setString(p, weapon, 85, 0);
                if (p.attackStyle == 3) {
                    p.attackStyle = 2;
                    p.frames.setConfig(p, 43, 2);
                }
            } else if (weapon.endsWith("claws")) {
                p.frames.setTabhd(p, 87, 78);
                p.frames.setString(p, weapon, 78, 0);
            } else if (weapon.endsWith("2h sword") || weapon.endsWith("godsword")
                    || weapon.equals("Saradomin sword")) {
                p.frames.setTabhd(p, 87, 81);
                p.frames.setString(p, weapon, 81, 0);
            } else {
                p.frames.setTabhd(p, 87, 82);
                p.frames.setString(p, weapon, 82, 0);
            }
    		}
            checkSpecials(p);
        }
    sorry if its long =/ only way i could find but it works so far for HD
    that should fix the attack tab for LD and HD

    creds to someone from a tut idk who sorry =/^


    nicole thanks for this ^-^ but i fixd my switching commands with booleans
    btw whats the problem witht he bank?
    Thats the Freaking long way, My way Uses a Void to set the Variable Ones Its a small Void that will ONLY work in playerweapon
    Reply With Quote  
     

  6. #6  
    Pie
    Pie is offline
    Pie ownz all!
    Pie's Avatar
    Join Date
    Oct 2008
    Age
    25
    Posts
    998
    Thanks given
    1
    Thanks received
    10
    Rep Power
    530
    nice job on this, i dont like fullscreen tho, its laggy
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  7. #7  
    Codex
    Rowan's Avatar
    Join Date
    Sep 2008
    Age
    25
    Posts
    1,593
    Thanks given
    0
    Thanks received
    20
    Rep Power
    1092
    i don't get the second part =[ can u come on msn and explain a bit?
    [Only registered and activated users can see links. ] - [Only registered and activated users can see links. ] - [Only registered and activated users can see links. ] - [Only registered and activated users can see links. ] - [Only registered and activated users can see links. ]
    Reply With Quote  
     

  8. #8  
    Respected Donater

    Mario's Avatar
    Join Date
    Sep 2007
    Age
    27
    Posts
    1,255
    Thanks given
    32
    Thanks received
    15
    Rep Power
    778
    Good Job Nicole =D
    Reply With Quote  
     

  9. #9  
    Renown Programmer

    Nikki's Avatar
    Join Date
    Aug 2008
    Posts
    3,993
    Thanks given
    553
    Thanks received
    1,077
    Rep Power
    5000
    Thanks =D
    Reply With Quote  
     

  10. #10  
    Registered Member
    Dark Regen's Avatar
    Join Date
    Jan 2009
    Posts
    678
    Thanks given
    184
    Thanks received
    22
    Rep Power
    185
    nicole good but, i don' really get it because i use espeon o.o but im good at pali, but i hear espeon is good
    Reply With Quote  
     

Page 1 of 3 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
  •