public void initialize() {
outStream.createFrame(249);
outStream.writeByteA(playerIsMember); // 1 for members, zero for free
outStream.writeWordBigEndianA(playerId);
setChatOptions(0, 0, 0);
for (int i = 0; i < 25; i++) {
setSkillLevel(i, playerLevel[i], playerXP[i]);
}
outStream.createFrame(107); // resets something in the client
setSidebarInterface(0, 2423); // attack tab
setSidebarInterface(1, 3917); // skills tab
setSidebarInterface(2, 638); // quest tab
setSidebarInterface(3, 3213); // backpack tab
setSidebarInterface(4, 1644); // items wearing tab
setSidebarInterface(5, 5608); // pray tab
if (ancients == 1) {
setSidebarInterface(6, 12855); // magic tab (ancient = 12855);
}
if (ancients == 0) {
setSidebarInterface(6, 1151); // magic tab (ancient = 12855);
}
setSidebarInterface(7, -1); // ancient magicks
setSidebarInterface(8, 5065); // friend
setSidebarInterface(9, 5715); // ignore
setSidebarInterface(10, 2449); // logout tab
setSidebarInterface(11, 4445); // wrench tab
setSidebarInterface(12, 147); // run tab
setSidebarInterface(13, 962); // harp tab
CAM().sendQuest("@
[email protected]", 1300);
CAM().sendQuest("Teleports you to Home", 1301);
showOption2(4, 0,"Trade", 3);
ShowOption(5, "Follow");
specAttack();
for (int i = 0; i < 11; i++) {
playerBonus[i] = 0;
}