Thread: Skill Capes

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34
  1. #1 Skill Capes 
    Itachi Uchiha
    Guest
    Since my half-assed capes are being thought less of =(, I re-did most of it and now it works for Miss Silabsoft's client.

    Updates
    -Skillcapes give correct item bonuses with an extra +1 in attack and strength for un-trimmed
    -All real skill cape IDs
    -Blocks capes and hood if you
    -Fixed bug from being able to wear at 100 to 99
    -When you level to 99 you receive trimmed, untrimmed and hood
    -Converted every ID
    -Only trimmed capes do the emotes

    Soon to be added
    -Separate the hood and cape blocks to different methods
    -Make both trimmed and non-trimmed capes use the emotes

    Purpose: Add skill capes to your server
    Difficulty: 2/10 Seriously how hard is it to copy and paste?
    Server base: Cheezscape
    Required Knowledge: How to hit Ctrl and the C and P buttons
    Classes Modified: client.java, item.cfg

    Step 1:
    Open item.cfg and add this at the bottom
    Code:
    item = 10704	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10707	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10710	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10713	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10715	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10718	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10722	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10725	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10728	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10731	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10734	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10737	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10740	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10743	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10746	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10749	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10752	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10755	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10758	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10761	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10764	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10767	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	1	1	1	1	1	9	9	9	9	9	1	0
    item = 10705	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10708	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10711	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10714	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10717	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10720	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10723	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10726	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10729	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10732	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10735	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10738	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10741	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10744	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10747	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10750	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10753	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10756	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10759	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10762	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10765	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    item = 10768	Skill_Cape	It's_a_skill_cape.	61608.0013642381	61608.0013642381	80929.5918252946	0	0	0	0	0	9	9	9	9	9	0	4
    Step 2:
    Open client.java and search for
    Code:
    public void levelup(int skill)
    Replace 1-20 with these
    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(10706, 1);
    		addItem(10704, 1);
    		addItem(10705, 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(10709, 1);
    		addItem(10707, 1);
    		addItem(10708, 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(10712, 1);
    		addItem(10710, 1);
    		addItem(10711, 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(10727, 1);
    		addItem(10725, 1);
    		addItem(10726, 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(10715, 1);
    		addItem(10713, 1);
    		addItem(10714, 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(10718, 1);
    		addItem(10716, 1);
    		addItem(10717, 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(10719, 1);
    		addItem(10720, 1);
    		addItem(10721, 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(10760, 1);
    		addItem(10758, 1);
    		addItem(10759, 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(10765, 1);
    		addItem(10763, 1);
    		addItem(10764, 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(10742, 1);
    		addItem(10740, 1);
    		addItem(10741, 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(10757, 1);
    		addItem(10755, 1);
    		addItem(10756, 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 firemaking level.");
                if (playerLevel[skill] >= 99) {
                	sendMessage("Congratulations on getting Level 99 Firemaking!");
    		addItem(10763, 1);
    		addItem(10761, 1);
    		addItem(10762, 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(10739, 1);
    		addItem(10737, 1);
    		addItem(10738, 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(10754, 1);
    		addItem(10752, 1);
    		addItem(10753, 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(10751, 1);
    		addItem(10749, 1);
    		addItem(10750, 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(10733, 1);
    		addItem(10731, 1);
    		addItem(10732, 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(10730, 1);
    		addItem(10728, 1);
    		addItem(10729, 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(10736, 1);
    		addItem(10734, 1);
    		addItem(10735, 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(10745, 1);
    		addItem(10743, 1);
    		addItem(10744, 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(10769, 1);
    		addItem(10767, 1);
    		addItem(10768, 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(10724, 1);
    		addItem(10722, 1);
    		addItem(10723, 1);
                }
                NpcDialogueSend = true;
                break;
    Step 3:
    Declare this in your boolean process(don't know if this works though, i just write it up from a bunch of crap I found in a random client.java, it looks like it would work though)
    Code:
    if(playerLevel[0] < 99)
    {
    if((playerEquipment[playerCape] == 10704) || (playerEquipment[playerCape] == 10705) || (playerEquipment[playerHat] == 10706))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 Attack to wear this cape."); 
    }
    }
    if(playerLevel[1] < 99)
    {
    if((playerEquipment[playerCape] == 10707) || (playerEquipment[playerCape] == 10708) || (playerEquipment[playerHat] == 10709))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 Strength to wear this cape."); 
    }
    }
    if(playerLevel[2] < 99)
    {
    if((playerEquipment[playerCape] == 10710) || (playerEquipment[playerCape] == 10711) || (playerEquipment[playerHat] == 10712))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 Defence to wear this cape."); 
    }
    }
    if(playerLevel[3] < 99)
    {
    if((playerEquipment[playerCape] == 10725) || (playerEquipment[playerCape] == 10726) || (playerEquipment[playerHat] == 10727))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 Hitpoints to wear this cape."); 
    }
    }
    if(playerLevel[4] < 99)
    {
    if((playerEquipment[playerCape] == 10713) || (playerEquipment[playerCape] == 10714) || (playerEquipment[playerHat] == 10715))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 Range to wear this cape."); 
    }
    }
    if(playerLevel[5] < 99)
    {
    if((playerEquipment[playerCape] == 10716) || (playerEquipment[playerCape] == 10717) || (playerEquipment[playerHat] == 10718))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 Prayer to wear this cape."); 
    }
    }
    if(playerLevel[6] < 99)
    {
    if((playerEquipment[playerCape] == 10719) || (playerEquipment[playerCape] == 10720) || (playerEquipment[playerHat] == 10721))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 Magic to wear this cape."); 
    }
    }
    if(playerLevel[7] < 99)
    {
    if((playerEquipment[playerCape] == 10758) || (playerEquipment[playerCape] == 10759) || (playerEquipment[playerHat] == 10760))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 Cooking to wear this cape."); 
    }
    }
    if(playerLevel[8] < 99)
    {
    if((playerEquipment[playerCape] == 10764) || (playerEquipment[playerCape] == 10765) || (playerEquipment[playerHat] == 10766))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 WoodCutting to wear this cape."); 
    }
    }
    if(playerLevel[9] < 99)
    {
    if((playerEquipment[playerCape] == 10740) || (playerEquipment[playerCape] == 10741) || (playerEquipment[playerHat] == 10742))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 Fletching to wear this cape."); 
    }
    }
    if(playerLevel[10] < 99)
    {
    if((playerEquipment[playerCape] == 10755) || (playerEquipment[playerCape] == 10756) || (playerEquipment[playerHat] == 10757))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 Fishing to wear this cape.");
    }
    }
    if(playerLevel[11] < 99)
    {
    if((playerEquipment[playerCape] == 10761) || (playerEquipment[playerCape] == 10762) || (playerEquipment[playerHat] == 10763))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 Firemaking to wear this cape."); 
    }
    }
    if(playerLevel[12] < 99)
    {
    if((playerEquipment[playerCape] == 10737) || (playerEquipment[playerCape] == 10738) || (playerEquipment[playerHat] == 10739))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 Crafting to wear this cape."); 
    }
    }
    if(playerLevel[13] < 99)
    {
    if((playerEquipment[playerCape] == 10752) || (playerEquipment[playerCape] == 10753) || (playerEquipment[playerHat] == 10754))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 Smithing to wear this cape."); 
    }
    }
    if(playerLevel[14] < 99)
    {
    if((playerEquipment[playerCape] == 10749) || (playerEquipment[playerCape] == 10750) || (playerEquipment[playerHat] == 10751))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 Mining to wear this cape."); 
    }
    }
    if(playerLevel[15] < 99)
    {
    if((playerEquipment[playerCape] == 10731) || (playerEquipment[playerCape] == 10732) || (playerEquipment[playerHat] == 10733))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 Herblore to wear this cape."); 
    }
    }
    if(playerLevel[16] < 99)
    {
    if((playerEquipment[playerCape] == 10728) || (playerEquipment[playerCape] == 10729) || (playerEquipment[playerHat] == 10730))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 Agility to wear this cape."); 
    }
    }
    if(playerLevel[17] < 99)
    {
    if((playerEquipment[playerCape] == 10734) || (playerEquipment[playerCape] == 10735) || (playerEquipment[playerHat] == 10736))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 Theiving to wear this cape."); 
    }
    }
    if(playerLevel[18] < 99)
    {
    if((playerEquipment[playerCape] == 10743) || (playerEquipment[playerCape] == 10744) || (playerEquipment[playerHat] == 10745))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 Slayer to wear this cape."); 
    }
    }
    if(playerLevel[19] < 99)
    {
    if((playerEquipment[playerCape] == 10767) || (playerEquipment[playerCape] == 10768) || (playerEquipment[playerHat] == 10769))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 Farming to wear this cape."); 
    }
    }
    if(playerLevel[20] < 99)
    {
    if((playerEquipment[playerCape] == 10722) || (playerEquipment[playerCape] == 10723) || (playerEquipment[playerHat] == 10724))
    {
    remove(playerEquipment[playerCape], playerCape);
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("You need level 99 Runecrafting to wear this cape."); 
    }
    }
    Step 4:
    Find
    Code:
    public int untradable
    It should look something like this
    Code:
    public int untradable[] = {84,3006,4653,4703,744,793,6959,6070,6603,6570};
    Add these
    Code:
    ,10704,10705,10706,10707,10708,10709,10710,10711,10712,10713,10714,10715,10716,10717,10718,10719,10720,10721,10722,10723,10724,10725,10726,10727,10728,10729,10730,10731,10732,10733,10734,10735,10736,10737,10738,10739,10740,10741,10742,10743,10744,10745,10749,10750,10751,10752,10753,10754,10755,10756,10757,10758,10759,10760,10761,10762,10763,10764,10765,10766,10767,10768,10769
    Step 5:
    Add this method
    Code:
    public void capeEmote() { //Make sure to use different graphicIDs, sometimes I go around rating servers and see the same gfx as I had put in here :(
           if (playerEquipment[playerCape] == 10705) { //attack
                  stillgfx(346, absY, absX); //Some of these will crash Silab's client so make sure you change them
                  stillgfx(427, absY, absX);
                  stillgfx(83, absY, absX);
           }
           if (playerEquipment[playerCape] == 10708) { //strength
                  stillgfx(482, absY, absX);
                  stillgfx(481, absY, absX);
                  stillgfx(246, absY, absX);
           }
           if (playerEquipment[playerCape] == 10711) { //defence
                  stillgfx(247, absY, absX);
                  stillgfx(604, absY, absX);
                  stillgfx(606, absY, absX);
           }
           if (playerEquipment[playerCape] == 10726) { //hitpoints
                  stillgfx(444, absY, absX);
                  stillgfx(574, absY, absX);
                  stillgfx(607, absY, absX);
           }
           if (playerEquipment[playerCape] == 10714) { //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] == 10717) { //prayer
                  stillgfx(84, absY, absX);
                  stillgfx(263, absY, absX);
                  stillgfx(264, absY, absX);
                  stillgfx(426, absY, absX);
           }
           if (playerEquipment[playerCape] == 10720) { //magic
                  stillgfx(409, absY, absX);
                  stillgfx(498, absY, absX);
                  stillgfx(497, absY, absX);
           }
           if (playerEquipment[playerCape] == 10759) { //cooking
                  stillgfx(563, absY, absX);
           }
           if (playerEquipment[playerCape] == 10765) { //wood
                  stillgfx(187, absY, absX);
           }
           if (playerEquipment[playerCape] == 10741) { //fletch
                  stillgfx(588, absY, absX);
           }
           if (playerEquipment[playerCape] == 10756) { //fish
                  pEmote = 0x2575;
                  stillgfx(68, absY, absX);
           }
           if (playerEquipment[playerCape] == 10762) { //firemaking
                  stillgfx(453, absY, absX);
                  stillgfx(446, absY, absX);
           }
           if (playerEquipment[playerCape] == 10738) { //crafting
                  stillgfx(239, absY, absX);
           }
           if (playerEquipment[playerCape] == 10753) { //smithing
                  stillgfx(436, absY, absX);
           }
           if (playerEquipment[playerCape] == 10750) { //mining
                  stillgfx(287, absY, absX);
           }
           if (playerEquipment[playerCape] == 10732) { //herblore
                  stillgfx(267, absY, absX);
                  stillgfx(255, absY, absX);
                  stillgfx(259, absY, absX);
                  stillgfx(615, absY, absX);
           }
           if (playerEquipment[playerCape] == 10729) { //agility
                  stillgfx(615, absY, absX);
                  stillgfx(60, absY, absX);
                  stillgfx(62, absY, absX);
           }
           if (playerEquipment[playerCape] == 10735) { //thieving
                  stillgfx(350, absY, absX);
                  stillgfx(630, absY, absX);
           }
           if (playerEquipment[playerCape] == 10744) { //slayer
                  stillgfx(466, absY, absX);
                  stillgfx(468, absY, absX);
           }
           if (playerEquipment[playerCape] == 10768) { //farming
                  stillgfx(568, absY, absX);
                  stillgfx(569, absY, absX);
                  stillgfx(593, absY, absX);
           }
           if (playerEquipment[playerCape] == 10723) { //runecrafting
                  stillgfx(601, absY, absX);
                  stillgfx(623, absY, absX);
                  stillgfx(186, absY, absX);
           }
    }
    Step 6:
    Now replace your yes emote packet with this one
    Code:
    			    case 168: 
        			              capeEmote();
          				      break;
    If are using your yes emote for special attacks or something just go to no, dance, jig any emote and replace the animation with capeEmote();

    I will add pictures when I get back from school and get on my WindowsXP.




    --------------------------------------------------------------------------------------------------------------------------------
    --------------------------------------------------------------------------------------------------------------------------------
    --------------------------------------------------------------------------------------------------------------------------------
    Alright some people complained they couldn't make the other one I made work for their server so I re-did it.

    Updates
    -Capes give bonuses
    -When you reach 99 of a skill the cape is added to your inv.
    -Skill capes are non-tradable
    -Skill cape emotes added

    Soon to be added
    -Level that the cape represents levels to 100 (has some bugs that need to be worked out)

    Purpose: Add skill capes to your server

    Difficulty: 5/10

    Server base: Cheezscape

    Required Knowledge: replacing bits of code, copy and paste, other basic knowledge you should already have

    Files Modified: client.java, item.cfg

    Step 1:
    Open item.cfg and replace the ones that already exist with these
    Code:
    item = 3765	Fremennik_cloak	A_strength_skill_cape.	198.176655767214	198.176655767214	225.875640091602	9	9	9	9	9	9	9	9	9	9	9	9
    item = 1031	Cape	A_strength_skill_cape.	27.6582336721112	27.6582336721112	30.0253123688741	9	9	9	9	9	9	9	9	9	9	9	9
    item = 3759	Fremennik_cloak	A_defence_skill_cape.	198.176655767214	198.176655767214	225.875640091602	9	9	9	9	9	9	9	9	9	9	9	9
    item = 3787	Fremennik_cloak	A_hitpoints_skill_cape.	198.176655767214	198.176655767214	225.875640091602	9	9	9	9	9	9	9	9	9	9	9	9
    item = 3761	Fremennik_cloak	A_ranging_skill_cape.	198.176655767214	198.176655767214	225.875640091602	9	9	9	9	9	9	9	9	9	9	9	9
    item = 2412	Saradomin_cape	A_prayer_skill_cape.	82.3862713616003	82.3862713616003	91.8846446283209	9	9	9	9	9	9	9	9	9	9	9	9
    item = 3783	Fremennik_cloak	A_magic_skill_cape.	198.176655767214	198.176655767214	225.875640091602	9	9	9	9	9	9	9	9	9	9	9	9
    item = 3785	Fremennik_cloak	A_cooking_skill_cape.	198.176655767214	198.176655767214	225.875640091602	9	9	9	9	9	9	9	9	9	9	9	9
    item = 4375	Team-31_cape	A_woodcutting_skill_cape.	42.4121178696844	42.4121178696844	46.5313264684913	9	9	9	9	9	9	9	9	9	9	9	9
    item = 6070	Mourner_cloak	A_fletching_skill_cape.	42.4121178696844	42.4121178696844	46.5313264684913	9	9	9	9	9	9	9	9	9	9	9	9
    item = 3763	Fremennik_cloak	A_fishing_skill_cape.	198.176655767214	198.176655767214	225.875640091602	9	9	9	9	9	9	9	9	9	9	9	9
    item = 3781	Fremennik_cloak	A_firemaking_skill_cape.	198.176655767214	198.176655767214	225.875640091602	9	9	9	9	9	9	9	9	9	9	9	9
    item = 1007	Cape	A_crafting_skill_cape.	1.94251726864338	1.94251726864338	1.97468354336601	9	9	9	9	9	9	9	9	9	9	9	9
    item = 1021	Cape	A_smithing_skill_cape.	27.6582336721112	27.6582336721112	30.0253123688741	9	9	9	9	9	9	9	9	9	9	9	9
    item = 1019	Cape	A_mining_skill_cape.	6.44974565321457	6.44974565321457	6.75408279806516	9	9	9	9	9	9	9	9	9	9	9	9
    item = 3765	Fremennik_cloak	A_herblore_skill_cape.	198.176655767214	198.176655767214	225.875640091602	9	9	9	9	9	9	9	9	9	9	9	9
    item = 1027	Cape	An_agility_skill_cape.	27.6582336721112	27.6582336721112	30.0253123688741	9	9	9	9	9	9	9	9	9	9	9	9
    item = 3789	Fremennik_cloak	A_thieveing_skill_cape.	198.176655767214	198.176655767214	225.875640091602	9	9	9	9	9	9	9	9	9	9	9	9
    item = 3779	Fremennik_cloak	A_slayer_skill_cape.	198.176655767214	198.176655767214	225.875640091602	9	9	9	9	9	9	9	9	9	9	9	9
    item = 1023	Cape	A_farming_skill_cape.	27.6582336721112	27.6582336721112	30.0253123688741	9	9	9	9	9	9	9	9	9	9	9	9
    item = 1029	Cape	A_runecraft_skill_cape.	27.6582336721112	27.6582336721112	30.0253123688741	9	9	9	9	9	9	9	9	9	9	9	9
    Step 2:
    Open client.java and search for
    Code:
    public void levelup(int skill)
    Replace cases 0-20 with these
    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 3:
    Find
    Code:
    public int untradable
    It should look something like this
    Code:
    public int untradable[] = {84,3006,4653,4703,744,793,6959,6070,6603,6570};
    Make it look like this
    Code:
    public int untradable[] = {84,3006,4653,4703,744,793,6959,6070,6603,6570,3777,1031,3759,3787,3761,2412,3783,3785,4375,6070,3763,3781,1007,1021,1019,3765,1027,3789,3779,1023,1029};
    Step 4:
    Add this void for the skill cape emotes
    Code:
    public void capeEmote() { //Ty Jorsa for the void <3
           if (playerEquipment[playerCape] == 3777) { //attack
                  stillgfx(346, absY, absX); //Pretty basic ones, only contain GFX, all the more fun for people who want to customize them and make their own
                  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 5:
    Now replace your yes emote case with this one
    Code:
    			    case 168: 
        			              capeEmote();
          				      break;
    Credits: 85% Itachi Uchiha 15% Jorsa

    Pictures
    Farming skill cape

    Magic skill cape

    Firemaking skill cape

    Hitpoints skill cape

    Runecraft skill cape


    More coming soon
     

  2. #2  
    Im Insane
    P Hatz Own's Avatar
    Join Date
    Oct 2006
    Posts
    222
    Thanks given
    1
    Thanks received
    0
    Rep Power
    29
    Nice thats pretty cool =P


    Thanks.
     

  3. #3  
    Zenzie
    Guest
    Old , but nice Gfx :O
     

  4. #4  
    lilstanwick
    Guest
    nice it looks awsome
     

  5. #5  
    Itachi Uchiha
    Guest
    Original Version

    PART 1
    Purpose: Make Skill Capes

    Difficulty: 5

    Assumed Knowledge: Java, Cut And Paste, Seperating the tut into parts

    Server Base: GothicScape

    Classes Modified: Client.java, and item.cfg

    Procedure
    Step 1: open client.java and search for
    Code:
    public int GetCLAttack(int ItemID)
    Step 2: Under that is a whole bunch of codes you may need to seperate this and add some new parts but add
    Code:
    	public int GetCLAttack(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape1", "");
    
    	public int GetCLStrength(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape2", "");
    
    	public int GetCLDefence(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape3", "");
    
    	public int GetCLHitpoints(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape4", "");
    
    	public int GetCLRanged(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape5", "");
    
    	public int GetCLPrayer(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape6", "");
    
    	public int GetCLMagic(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape7", "");
    
    	public int GetCLCooking(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape8", "");
    
    	public int GetCLWoodcutting(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape9", "");
    
    	public int GetCLFletching(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape10", "");
    
    	public int GetCLFishing(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape11", "");
    
    	public int GetCLFiremaking(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape12", "");
    
    	public int GetCLCrafting(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape13", "");
    
    	public int GetCLSmithing(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape14", "");
    
    	public int GetCLMining(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape15", "");
    
    	public int GetCLHerblore(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape16", "");
    
    	public int GetCLAgility(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape17", "");
    
    	public int GetCLTheiving(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape18", "");
    
    	public int GetCLSlayer(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape19", "");
    
    	public int GetCLFarming(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape20", "");
    
    	public int GetCLRunecraft(int ItemID) {
    		if (ItemID == -1) {
    			return 99;
    		}
    		String ItemName = GetItemName(ItemID);
    		String ItemName2 = ItemName.replaceAll("cape21", "");
    Step 3: close save and open item.cfg and add these!
    Code:
    item = 1007  Cape1        A_cape_given_to_you_for_achieving_99_attack_level.
    item = 1027  Cape2        A_cape_given_to_you_for_achieving_99_strength_level.
    item = 1021  Cape3        A_cape_given_to_you_for_achieving_99_defence_level.
    item = 1031  Cape4        A_cape_given_to_you_for_achieving_99_range_level.
    item = 6570  Cape5        A_cape_given_to_you_for_achieving_99_prayer_level.
    item = 1029  Cape6        A_cape_given_to_you_for_achieving_99_magic_level.
    item = 4304  Cape7        A_cape_given_to_you_for_achieving_99_runezcraft_level.
    item = 1052  Cape8        A_cape_given_to_you_for_achieving_99_hitpoints_level.
    item = 6959  Cape9        A_cape_given_to_you_for_achieving_99_agility_level.
    item = 2413  Cape10        A_cape_given_to_you_for_achieving_99_herblore_level.
    item = 1019  Cape11        A_cape_given_to_you_for_achieving_99_theiving_level.
    item = 1023  Cape12        A_cape_given_to_you_for_achieving_99_crafting_level.
    item = 2412  Cape13        A_cape_given_to_you_for_achieving_99_fletching_level.
    item = 2414  Cape14        A_cape_given_to_you_for_achieving_99_slayer_level.
    item = 4514  Cape15        A_cape_given_to_you_for_achieving_99_mining_level.
    item = 6070  Cape16        A_cape_given_to_you_for_achieving_99_smithing_level.
    item =  4313 Cape17        A_cape_given_to_you_for_achieving_99_fishing_level.
    item = 4395  Cape18        A_cape_given_to_you_for_achieving_99_cooking_level.
    item = 4375  Cape19        A_cape_given_to_you_for_achieving_99_firemaking_level.
    item = 4335  Cape20        A_cape_given_to_you_for_achieving_99_woodcutting_level.
    item = 4355  Cape21        A_cape_given_to_you_for_achieving_99_farming_level.

    Credits: 100% me

    PART 2
    Purpose: Emotes for Skill Capes

    Difficulty: 4

    Assumed Knowledge: how to read, a brain, how to copy and paste, this is ANTI-LEECH

    Server Base: cheezscape63

    Classes Modified: client.java

    Procedure
    Step 1: find
    Code:
    public class client extends Player implements Runnable {
    and under that add

    Code:
    public void AttackSkillCape(){
    	if (playerEquipment[playerWeapon] == 1007) {
    	if (playerLevel[playerMagic] >= 0) 
    	if (skill >= 9) {							
    	hitDiff = 24;				
    	inCombat();			
    	staticAnimation(248, absX, absY, 100);	
    	setAnimation(2890);			
    	actionTimer = 25;		
    	teleportToX = absX;			
    	teleportToY = absY;			
    	spec -= 9; 
    	}
    else {
    	sendMessage("You need more special energy to do that.");	// Specs 
    		} 	
    	} else {
    		sendMessage("You Are Not Wearing The Attack Skill Cape"); 
    		}
    
    }
    
      public void checkskill() { // specials - by Danie B/ Edited by Itachi
    		if (skill == 0)
    		{
    			skillBar = "@[email protected][@[email protected]]";
    		}
    		if (skill == 1)
    		{
    			skillBar = "@[email protected][@[email protected]]";
    		}
    		if (skill == 2)
    		{
    			skillBar = "@[email protected][[email protected]@--SkillCapeBar--]";
    		}
    		if (skill == 3)
    		{
    			skillBar = "@[email protected][[email protected]@-SkillCapeBar--]";
    		}
    		if (skill == 4)
    		{
    			skillBar = "@[email protected][[email protected]@SkillCapeBar--]";
    		}
    		if (skill == 5)
    		{
    			specBar = "@[email protected][[email protected]@illCapeBar--]";
    		}
    		if (skill == 6)
    		{
    			skillBar = "@[email protected][[email protected]@illCapeBar--]";
    		}
    		if (skill == 7)
    		{
    			skillBar = "@[email protected][[email protected]@llCapeBar--]";
    		}
    		if (spec == 8)
    		{
    			skillBar = "@[email protected][[email protected]@lCapeBar--]";
    		}
    		if (skill == 9)
    		{
    			skillBar = "@[email protected][[email protected]@CapeBar--]"; 
    		}
    		if (skill == 10)
    		{
    			skillBar = "@[email protected][[email protected]@apeBar--]"; 
    		}
    		if (skill == 11)
    		{
    			skillBar = "@[email protected][[email protected]@peBar--]"; 
    		}
    		if (skill == 12)
    		{
    			skillBar = "@[email protected][[email protected]@eBar--]"; 
    		}
    		if (skill == 13)
    		{
    			skillBar = "@[email protected][[email protected]@Bar--]"; 
    		}
    		if (skill == 14)
    		{
    			skillBar = "@[email protected][[email protected]@ar--]"; 
    		}
    		if (skill == 15)
    		{
    			skillBar = "@[email protected][[email protected]@r--]"; 
    		}
    		if (skill == 16)
    		{
    			skillBar = "@[email protected][[email protected]@--]"; 
    		}
    		if (skill == 17)
    		{
    			skillBar = "@[email protected][[email protected]@-]"; 
    		}
    		if (skill == 18)
    		{
    			skillBar = "@[email protected][[email protected]@]"; 
    		}
    		if (spec == 19)
    		{
    			skillBar = "@[email protected]}[---SkillCapeBar--]"; 
    		}
    
    		
    	}
    Step 2: Next add this where you think it goes
    Code:
    public String specBar = "@[email protected][---SkillCapeBar--]@[email protected]"; 
    	public int skill = 19; 
    	public int skillTimer = 0;
    Step 3: search for emotes and add this
    Code:
    				        case 167: // attack cape
    						sendQuest("cape1", 179);
    						AttackSkillCape();
    						break;
    Step 3: now search for
    Code:
    update();
    and under it add

    Code:
    sendFrame126("cape1", 179);

    Credits: 40% me, 60% to Jorsa, DanieB & Sam Server for special bar tutorial

    PART 3
    Purpose: Skill Cape level bonus

    Difficulty: 2

    Assumed Knowledge: copy and paste, and able to repeat the process

    Server Base: Project 16 v6/Cheezscape

    Classes Modified: client.java

    Procedure
    Step 1: open client.java and search for
    Code:
    case 3046:
    Step 2: highlight that whole case and replace it with this
    Code:
                case 3046: // magic
                    magePot = true;
                    magePotTimer = 9999999;
                    playerLevel[6] = getLevelForXP(playerXP[6]);
                    playerLevel[6] += 1;
                    sendFrame126(""+playerLevel[6]+"", 4014);
            if(playerEquipment[playerCape] == 1021);
                    updateRequired = true;
                    appearanceUpdateRequired = true;
                    GoOn = false;
                    break;
    Step 3: repeat the process by adding this to your potions cases but you may need to alter it to make it work
    Code:
                    magePot = true;
                    magePotTimer = 9999999;
                    playerLevel[6] = getLevelForXP(playerXP[6]);
                    playerLevel[6] += 1;
                    sendFrame126(""+playerLevel[6]+"", 4014);
            if(playerEquipment[playerCape] == 1021);
                    updateRequired = true;
                    appearanceUpdateRequired = true;
                    GoOn = false;
                    break;
    so change the playerlevel[6], everywhere it says mage to the cape you want it to be, playerXP[6], the 1021 id, and you can change how long it lasts if you want.
    -Warning this will delete the bonus you get from drinking potions


    Credits: 100% me


    PART 4
    Purpose: Skill Cape Shops

    Difficulty: 2

    Assumed Knowledge: copy and paste, and able to repeat the process, add new shops

    Server Base: Cheezscape 63

    Classes Modified: client.java, autospawn.cfg, and shop.cfg

    Procedure
    Step 1: open client.java and search for
    Code:
    				} else if (NPCID == 553) { //Aubury rune shop
    					PutNPCCoords = true;
    					WanneShop = 2; //Aubury Magic Shop
    Step 2: under that add
    Code:
    else if (NPCID == 535) { // skill cape shop
    PutNPCCoords = true;
    WanneShop = 82;
    }
    Step 3: now close, and open autospawn.cfg
    Step 4: at the bottom above
    Code:
    [ENDOFSPAWNLIST]
    add

    Code:
    spawn = 535	3217	3416	0	3220	3420	3213	3411	1	Skill Cape Fairy
    Step 5: now close, and open shop.cfg
    Step 6: at the bottom add
    Code:
    shop = 82	Skillcape_shop					2	2	1007	1	1027	1	1021	1	1031	1	6570	1	1029	1	4304	1	1052	1	6959	1	2412	1	1019	1	1023	1	2412	1	2414	1	4514	1	6070	1	4313	1	4395	1	4375	1	4335	1	4355	1

    Credits: 100% me
     

  6. #6  
    Registered Member
    Join Date
    May 2007
    Posts
    95
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    pretty good but some of the emotes crash my server
     

  7. #7  
    Itachi Uchiha
    Guest
    Oh yeah, I forgot to mention that you will need a 377 client for the emotes xD
     

  8. #8  
    x19
    Guest
    Is there a way to change the emotes that the cape uses? Also nice work

    Ell390
     

  9. #9  
    lattmjolk1
    Guest
    ty m8 usin it on mine now only trouble with untradeable thingy didnt find
    Code:
    public int untradable
    but i will figure it out...
     

  10. #10  
    Registered Member
    Kbob's Avatar
    Join Date
    Oct 2006
    Age
    30
    Posts
    420
    Thanks given
    5
    Thanks received
    2
    Rep Power
    150
    omg more bumpers!!!


    Org
    [Only registered and activated users can see links. ]
     

Page 1 of 4 123 ... LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Skill capes.
    By Dafuto Kami in forum Help
    Replies: 2
    Last Post: 01-04-2011, 04:04 PM
  2. Replies: 55
    Last Post: 12-21-2009, 11:17 AM
  3. All skill capes need 99 skill (NOT IN PROCESS)
    By Kelvin in forum Configuration
    Replies: 22
    Last Post: 10-26-2008, 05:09 AM
  4. Replies: 43
    Last Post: 01-05-2008, 10:43 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •