[Tut] Fremmeninkcapes to Skillcapes

Results 1 to 8 of 8
  1. #1
    Member Regenator is offline
    MemberRank
    Nov 2007 Join Date
    The NetherlandsLocation
    66Posts

    [Tut] Fremmeninkcapes to Skillcapes

    Purpose: To make Fremmnik capes the skill capes, with emotes.

    Difficulty: 4/10

    Assumed Knowledge: Copy and Paste/Also, you must understand the item.java!

    Server Base: All (Yes I have a dodian based, so it should work for everyone!)

    Classes Modified: Client.java, Item.java or items.java


    _________________________________________________________________________________


    Procedure...


    Step 1: Open client.java and search for...

    Code:
    public void levelup(int skill)
    Then replace your Case 0 - Case 20 with the following code...

    Code:
    case 0: // Attack levelup
                sendFrame164(6247);
                sendFrame126("Congratulations, you just advanced an attack level!", 6248);
                sendFrame126("Your attack level is now "+playerLevel[0]+" .", 6249);
                sendMessage("Congratulations, you just advanced an attack level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Attack!");
            addItem(3777, 1);
                }
                //NpcDialogueSend = true;
                break;
             case 1: // Strength
                sendFrame164(6206);
                sendFrame126("Congratulations, you just advanced a strength level!", 6207);
                sendFrame126("Your strength level is now "+playerLevel[2]+" .", 6208);
                sendMessage("Congratulations, you just advanced a strength level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Strength!");
            addItem(1031, 1);
                }
                NpcDialogueSend = true;
                break;
             case 2: // Defence
                sendFrame164(6253);
                sendFrame126("Congratulations, you just advanced a defence level!", 6254);
                sendFrame126("Your defence level is now "+playerLevel[1]+" .", 6255);
                sendMessage("Congratulations, you just advanced a defence level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Defence!");
            addItem(3759, 1);
                }
                NpcDialogueSend = true;
                break;
             case 3: //Hitpoints
                sendFrame164(6216);
                sendFrame126("Congratulations, you just advanced a hitpoints level!", 6217);
                sendFrame126("Your hitpoints level is now "+playerLevel[3]+" .", 6218);
                sendMessage("Congratulations, you just advanced a hitpoints level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Hitpoints!");
            addItem(3787, 1);
                }
                NpcDialogueSend = true;
                break;
             case 4: //Ranging
                sendFrame164(4443);
                sendFrame126("Congratulations, you just advanced a ranged level!", 4444);
                sendFrame126("Your ranged level is now "+playerLevel[4]+" .", 4445);
                sendMessage("Congratulations, you just advanced a ranging level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Ranging!");
            addItem(3761, 1);
                }
                NpcDialogueSend = true;
                break;
             case 5: // Prayer
                sendFrame164(6242);
                sendFrame126("Congratulations, you just advanced a prayer level!", 6243);
                sendFrame126("Your prayer level is now "+playerLevel[5]+" .", 6244);
                sendMessage("Congratulations, you just advanced a prayer level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Prayer!");
            addItem(2412, 1);
                }
                NpcDialogueSend = true;
                break;
             case 6: // Magic
                sendFrame164(6211);
                sendFrame126("Congratulations, you just advanced a magic level!", 6212);
                sendFrame126("Your magic level is now "+playerLevel[6]+" .", 6213);
                sendMessage("Congratulations, you just advanced a magic level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Magic!");
            addItem(3783, 1);
                }
                //NpcDialogueSend = true;
                break;
             case 7: //Cooking
                sendFrame164(6226);
                sendFrame126("Congratulations, you just advanced a cooking level!", 6227);
                sendFrame126("Your cooking level is now "+playerLevel[7]+" .", 6228);
                sendMessage("Congratulations, you just advanced a cooking level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Cooking!");
            addItem(3785, 1);
                }
                NpcDialogueSend = true;
                break;
             case 8: //Woodcutting
                sendFrame164(4272);
                sendFrame126("Congratulations, you just advanced a woodcutting level!", 4273);
                sendFrame126("Your woodcutitng level is now "+playerLevel[8]+" .", 4274);
                sendMessage("Congratulations, you just advanced a woodcutting level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Woodcutting!");
            addItem(6070, 1);
                }
                //NpcDialogueSend = true;
                break;
             case 9: //Fletching
                sendFrame164(6231);
                sendFrame126("Congratulations, you just advanced a fletching level!", 6232);
                sendFrame126("Your fletching level is now "+playerLevel[9]+" .", 6233);
                sendMessage("Congratulations, you just advanced a fletching level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Fletching!");
            addItem(4375, 1);
                }
                NpcDialogueSend = true;
                break;
             case 10: //fishing
                sendFrame164(6258);
                sendFrame126("Congratulations, you just advanced a fishing level!", 6259);
                sendFrame126("Your fishing level is now "+playerLevel[10]+" .", 6260);
                sendMessage("Congratulations, you just advanced a fishing level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Fishing!");
            addItem(3763, 1);
                }
                NpcDialogueSend = true;
                break;
             case 11: //firemaking
                sendFrame164(4282);
                sendFrame126("Congratulations, you just advanced a fire making level!", 4283);
                sendFrame126("Your firemaking level is now "+playerLevel[11]+" .", 4284);
                sendMessage("Congratulations, you just advanced a fire making level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Fire Making!");
            addItem(3781, 1);
                }
                NpcDialogueSend = true;
                break;
             case 12: //crafting
                sendFrame164(6263);
                sendFrame126("Congratulations, you just advanced a crafting level!", 6264);
                sendFrame126("Your crafting level is now "+playerLevel[12]+" .", 6265);
                sendMessage("Congratulations, you just advanced a crafting level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Crafting!");
            addItem(1007, 1);
                }
                NpcDialogueSend = true;
                break;
             case 13: //Smithing
                sendFrame164(6221);
                sendFrame126("Congratulations, you just advanced a smithing level!", 6222);
                sendFrame126("Your smithing level is now "+playerLevel[13]+" .", 6223);
                sendMessage("Congratulations, you just advanced a smithing level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Smithing!");
            addItem(1021, 1);
                }
                NpcDialogueSend = true;
                break;
             case 14: //Mining
                sendFrame164(4416);
                sendFrame126("Congratulations, you just advanced a mining level!", 4417);
                sendFrame126("Your mining level is now "+playerLevel[14]+" .", 4418);
                sendMessage("Congratulations, you just advanced a mining level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Mining!");
            addItem(1019, 1);
                }
                NpcDialogueSend = true;
                break;
             case 15: //Herblore
                sendFrame164(6237);
                sendFrame126("Congratulations, you just advanced a herblore level!", 6238);
                sendFrame126("Your herblore level is now "+playerLevel[15]+" .", 6239);
                sendMessage("Congratulations, you just advanced a herblore level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Herblore!");
            addItem(3765, 1);
                }
                NpcDialogueSend = true;
                break;
             case 16: //Agility
                sendFrame164(4277);
                sendFrame126("Congratulations, you just advanced a agility level!", 4278);
                sendFrame126("Your agility level is now "+playerLevel[16]+" .", 4279);
                sendMessage("Congratulations, you just advanced an agility level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Agility!");
            addItem(1027, 1);
                }
                NpcDialogueSend = true;
                break;
             case 17: //Thieving
                sendFrame164(4261);
                sendFrame126("Congratulations, you just advanced a thieving level!", 6262);
                sendFrame126("Your theiving level is now "+playerLevel[17]+" .", 6263);
                sendMessage("Congratulations, you just advanced a thieving level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Thieving!");
            addItem(3789, 1);
                }
                NpcDialogueSend = true;
                break;
             case 18: //Slayer
                sendFrame164(12123);
                sendFrame126("Congratulations, you just advanced a slayer level!", 6207);
                sendFrame126("Your slayer level is now "+playerLevel[18]+" .", 6208);
                sendMessage("Congratulations, you just advanced a slayer level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Slayer!");
            addItem(3779, 1);
                }
                NpcDialogueSend = true;
                break;
             case 19: //Farming
                sendFrame164(4261);
                sendFrame126("Congratulations, you just advanced a farming level!", 6207);
                sendFrame126("Your farming level is now "+playerLevel[19]+" .", 6208);
                sendMessage("Congratulations, you just advanced a farming level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Farming!");
            addItem(1023, 1);
                }
                NpcDialogueSend = true;
                break;
             case 20: //Runecrafting
                sendFrame164(4267);
                sendFrame126("Congratulations, you just advanced a runecrafting level!", 4268);
                sendFrame126("Your runecrafting level is now "+playerLevel[20]+" .", 4269);
                sendMessage("Congratulations, you just advanced a runecrafting level.");
                if (playerLevel[skill] == 99) {
                    sendMessage("Congratulations on getting Level 99 Runecrafting!");
            addItem(1029, 1);
                }
                NpcDialogueSend = true;
                break;
    Step 2: Now search for this in client.java...

    Code:
    public int untradable
    Replace everything in the brackets with this...

    Code:
    {84,3006,4653,4703,744,793,6959,6070,6603,6570,3777,1031,3759,3787,3761,2412,378
    ,3785,4375,6070,3763,3781,1007,1021,1019,3765,1027,3789,3779,1023,1029};
    Step 3: Add this void...

    Code:
    public void capeEmote() {
           if (playerEquipment[playerCape] == 3777) { //attack
                  stillgfx(346, absY, absX);
                  stillgfx(427, absY, absX);
                  stillgfx(83, absY, absX);
           }
           if (playerEquipment[playerCape] == 1031) { //strength
                  stillgfx(482, absY, absX);
                  stillgfx(481, absY, absX);
                  stillgfx(246, absY, absX);
           }
           if (playerEquipment[playerCape] == 3759) { //defence
                  stillgfx(247, absY, absX);
                  stillgfx(604, absY, absX);
                  stillgfx(606, absY, absX);
           }
           if (playerEquipment[playerCape] == 3787) { //hitpoints
                  stillgfx(444, absY, absX);
                  stillgfx(574, absY, absX);
                  stillgfx(607, absY, absX);
           }
           if (playerEquipment[playerCape] == 3761) { //ranging
                  stillgfx(472, absY, absX);
                  stillgfx(474, absY, absX);
                  stillgfx(20, absY, absX);
                  stillgfx(21, absY, absX);
                  stillgfx(22, absY, absX);
                  stillgfx(23, absY, absX);
                  stillgfx(24, absY, absX);
                  stillgfx(25, absY, absX);
                  stillgfx(26, absY, absX);
           }
           if (playerEquipment[playerCape] == 2412) { //prayer
                  stillgfx(84, absY, absX);
                  stillgfx(263, absY, absX);
                  stillgfx(264, absY, absX);
                  stillgfx(426, absY, absX);
           }
           if (playerEquipment[playerCape] == 3783) { //magic
                  stillgfx(409, absY, absX);
                  stillgfx(498, absY, absX);
                  stillgfx(497, absY, absX);
           }
           if (playerEquipment[playerCape] == 3785) { //cooking
                  stillgfx(563, absY, absX);
           }
           if (playerEquipment[playerCape] == 4375) { //wood
                  stillgfx(187, absY, absX);
           }
           if (playerEquipment[playerCape] == 6070) { //fletch
                  stillgfx(588, absY, absX);
           }
           if (playerEquipment[playerCape] == 3763) { //fish
                  pEmote = 0x2575;
                  stillgfx(68, absY, absX);
           }
           if (playerEquipment[playerCape] == 3781) { //firemaking
                  stillgfx(453, absY, absX);
                  stillgfx(446, absY, absX);
           }
           if (playerEquipment[playerCape] == 1007) { //crafting
                  stillgfx(239, absY, absX);
           }
           if (playerEquipment[playerCape] == 1021) { //smithing
                  stillgfx(436, absY, absX);
           }
           if (playerEquipment[playerCape] == 1019) { //mining
                  stillgfx(287, absY, absX);
           }
           if (playerEquipment[playerCape] == 3765) { //herblore
                  stillgfx(267, absY, absX);
                  stillgfx(255, absY, absX);
                  stillgfx(259, absY, absX);
                  stillgfx(615, absY, absX);
           }
           if (playerEquipment[playerCape] == 1027) { //agility
                  stillgfx(615, absY, absX);
                  stillgfx(60, absY, absX);
                  stillgfx(62, absY, absX);
           }
           if (playerEquipment[playerCape] == 3789) { //thieving
                  stillgfx(350, absY, absX);
                  stillgfx(630, absY, absX);
           }
           if (playerEquipment[playerCape] == 3779) { //slayer
                  stillgfx(466, absY, absX);
                  stillgfx(468, absY, absX);
           }
           if (playerEquipment[playerCape] == 1023) { //farming
                  stillgfx(568, absY, absX);
                  stillgfx(569, absY, absX);
                  stillgfx(593, absY, absX);
           }
           if (playerEquipment[playerCape] == 1029) { //runecrafting
                  stillgfx(601, absY, absX);
                  stillgfx(623, absY, absX);
                  stillgfx(186, absY, absX);
           }
    }
    Step 4: Search for case 168: and replace it with this...

    Code:
    capeEmote();
    break;
    I hope this helps for some of you who do not understand how to properly code. If you have errors, it's your fault, not mine, since I made this myself, and tested before I posted.

    Credits :
    50% to me,
    50% to my friend


  2. #2
    Alpha Member Masius is offline
    MemberRank
    Dec 2007 Join Date
    1,580Posts

    Re: [TUT]Fremmeninkcapes to Skillcapes[/TUT]

    Would you please post some screenshot's of the emotes?

  3. #3
    Member Regenator is offline
    MemberRank
    Nov 2007 Join Date
    The NetherlandsLocation
    66Posts

    Re: [TUT]Fremmeninkcapes to Skillcapes[/TUT]

    I would, but those are skillcapesemotes!

  4. #4
    Apprentice philop is offline
    MemberRank
    Mar 2008 Join Date
    14Posts

    Re: [TUT]Fremmeninkcapes to Skillcapes[/TUT]

    Quote Originally Posted by Sparkly View Post
    Would you please post some screenshot's of the emotes?
    heres a firemaking one from 2 angles


  5. #5
    Member Regenator is offline
    MemberRank
    Nov 2007 Join Date
    The NetherlandsLocation
    66Posts

    Re: [TUT]Fremmeninkcapes to Skillcapes[/TUT]

    It is working:) U see!

  6. #6
    PSN - TheBreath Charcol is offline
    MemberRank
    Jul 2007 Join Date
    THE GHETTO.Location
    397Posts

    Re: [TUT]Fremmeninkcapes to Skillcapes[/TUT]

    PROBLEM :/
    Devolution, v7...
    I can do step one, then for step two, public int untradable.
    I don't find it.. :/
    HELP PL0X. I BE NEWB. :]

    Regards '
    Josh :juggle:

  7. #7
    Account Upgraded | Title Enabled! Tyerial is offline
    MemberRank
    May 2005 Join Date
    On a RockLocation
    249Posts

    Re: [TUT]Fremmeninkcapes to Skillcapes[/TUT]

    Quote Originally Posted by Charcol View Post
    PROBLEM :/
    Devolution, v7...
    I can do step one, then for step two, public int untradable.
    I don't find it.. :/
    HELP PL0X. I BE NEWB. :]

    Regards '
    Josh :juggle:
    search for public int un

  8. #8
    Novice michalayla is offline
    MemberRank
    Apr 2011 Join Date
    USLocation
    3Posts

    homefront battle code generator

    Hi
    sorry if "The Outerworld" is not the right place for this but I was hoping
    someone helps me to finda working homefront battle code generator please?
    thanks in advance,
    ps: sorry i'm just a newbie chick :p



Advertisement