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.
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
*/