Thread: (Devo THE END) - Ancients

Results 1 to 5 of 5
  1. #1 (Devo THE END) - Ancients 
    advent emu
    Guest
    How can i make it when you logg in you automaticly get the Ancients instead of the normal mage.

    thanks.
     

  2. #2  
    Previously Hyperion


    Join Date
    Jan 2009
    Posts
    1,254
    Thanks given
    3
    Thanks received
    18
    Rep Power
    138
    look in initialize()

    [Only registered and activated users can see links. ]
     

  3. #3  
    advent emu
    Guest
    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;
    }
    Thats it. But dunno how to change it.
     

  4. #4  
    Previously Hyperion


    Join Date
    Jan 2009
    Posts
    1,254
    Thanks given
    3
    Thanks received
    18
    Rep Power
    138
    if (ancients == 1) {
    setSidebarInterface(6, 12855); // magic tab (ancient = 12855);
    }
    if (ancients == 0) {
    setSidebarInterface(6, 1151); // magic tab (ancient = 12855);
    }
    This means if the player switched to ancients it loads up the ancients interface, if you just want them to automatically be on ancients put this
    Code:
    setSidebarInterface(6, 12855); // magic tab (ancient = 12855);
    then comment out the other ones as you might want them later

    [Only registered and activated users can see links. ]
     

  5. #5  
    Registered Member Akeid's Avatar
    Join Date
    May 2009
    Posts
    911
    Thanks given
    22
    Thanks received
    15
    Rep Power
    37
    yupp thats what i exactly did on mine
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    MSN: [email protected]
     


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
  •