Jump to content
Sign in to follow this  
Gircat

Skillcape Masters [FIXED]

Recommended Posts

Since I'm using Dementhium's base, and their skillcape masters were a little messed up about which capes to give you.
I know this is an easy fix, but I thought it'd be nice to at least help a few others if they're using Dementhium.


To replace this, go to [COLOR="#FF0000"]\src\org\dementhium\content[/COLOR] and look for [B]SkillCapes.java[/B]

Find:
[CODE]private enum Masters {[/CODE]

You should know what to do from here. Simple.

Old Code - [B]DO NOT USE THIS ONE.[/B]
[CODE] private enum Masters {
AJJAT(4288, Skills.ATTACK, new Item[] {new Item(9747), new Item(9748)}, new Item(9749)),
SLOANE(4297, Skills.STRENGTH, new Item[] {new Item(9750), new Item(9751)}, new Item(9752)),
MELEE_INSTRUCTOR(705, Skills.DEFENCE, new Item[] {new Item(9753), new Item(9754)}, new Item(9755)),
ARMOUR_SALESMAN(682, Skills.RANGE, new Item[] {new Item(9756), new Item(9757)}, new Item(9758)),
BROTHER_JERED(802, Skills.PRAYER, new Item[] {new Item(9759), new Item(9760)}, new Item(9761)),
ROBE_STORE_OWNER(1658, Skills.MAGIC, new Item[] {new Item(9762), new Item(9763)}, new Item(9764)),
SURGEON_GENERAL(961, Skills.HITPOINTS, new Item[]{new Item(9768), new Item(9769)}, new Item(9770)),
CAPTION_IZZY(437, Skills.AGILITY, new Item[] {new Item(9771), new Item(9772)}, new Item(9773)),
KAQEMEEX(455, Skills.HERBLORE, new Item[]{new Item(9774), new Item(9775)}, new Item(9776)),
MARTIN_THWAIT(2270, Skills.THIEVING, new Item[] {new Item(9777), new Item(9778)}, new Item(9779)),
MASTER_CRAFTER(805, Skills.CRAFTING, new Item[]{new Item(9780), new Item(9781)}, new Item(9782)),
HICKTON(575, Skills.FLETCHING, new Item[]{new Item(9763), new Item(9764)}, new Item(9765)),
DWARF(3295, Skills.MINING, new Item[]{new Item(9792), new Item(9793)}, new Item(9794)),
THURGO(604, Skills.SMITHING, new Item[]{new Item(9795), new Item(9795)}, new Item(9796)),
MASTER_FISHER(308, Skills.FISHING, new Item[]{new Item(9798), new Item(9799)}, new Item(9800)),
HEAD_CHEF(847, Skills.COOKING, new Item[]{new Item(9801), new Item(9802)}, new Item(9803)),
IGNATIUS_VULCAN(4946, Skills.FIREMAKING, new Item[]{new Item(9804), new Item(9805)}, new Item(9806)),
WILFRED(4906, Skills.WOODCUTTING, new Item[]{new Item(9807), new Item(9808)}, new Item(9809)),
MARTIN_MASTER_GARDENER(3299, Skills.FARMING, new Item[]{new Item(9789), new Item(9790)}, new Item(9791));[/CODE]


New code: - [B]REPLACE OLD ONE.[/B]
[CODE] private enum Masters {
//first item id is untrimmed || second id is trimmed || third id is hood ||||| Fixed by Gircat - RuneLocus.com
AJJAT(4288, Skills.ATTACK, new Item[] {new Item(9747), new Item(9748)}, new Item(9749)), //attack
SLOANE(4297, Skills.STRENGTH, new Item[] {new Item(9750), new Item(9751)}, new Item(9752)), //strength
MELEE_INSTRUCTOR(705, Skills.DEFENCE, new Item[] {new Item(9753), new Item(9754)}, new Item(9755)), //defence
ARMOUR_SALESMAN(682, Skills.RANGE, new Item[] {new Item(9756), new Item(9757)}, new Item(9758)), //range
BROTHER_JERED(802, Skills.PRAYER, new Item[] {new Item(9759), new Item(9760)}, new Item(9761)), //prayer
ROBE_STORE_OWNER(1658, Skills.MAGIC, new Item[] {new Item(9762), new Item(9763)}, new Item(9764)), //magic
SURGEON_GENERAL(961, Skills.HITPOINTS, new Item[]{new Item(9768), new Item(9769)}, new Item(9770)), //hitpoints
CAPTION_IZZY(437, Skills.AGILITY, new Item[] {new Item(9771), new Item(9772)}, new Item(9773)), //agility
KAQEMEEX(455, Skills.HERBLORE, new Item[]{new Item(9774), new Item(9775)}, new Item(9776)), //herblore
MARTIN_THWAIT(2270, Skills.THIEVING, new Item[] {new Item(9777), new Item(9778)}, new Item(9779)), //thieving
MASTER_CRAFTER(805, Skills.CRAFTING, new Item[]{new Item(9780), new Item(9781)}, new Item(9782)), //crafting
HICKTON(575, Skills.FLETCHING, new Item[]{new Item(9783), new Item(9784)}, new Item(9785)), //fletching
DWARF(3295, Skills.MINING, new Item[]{new Item(9792), new Item(9793)}, new Item(9794)), //mining
THURGO(604, Skills.SMITHING, new Item[]{new Item(9795), new Item(9796)}, new Item(9797)), //smithing
MASTER_FISHER(308, Skills.FISHING, new Item[]{new Item(9798), new Item(9799)}, new Item(9800)), //fishing
HEAD_CHEF(847, Skills.COOKING, new Item[]{new Item(9801), new Item(9802)}, new Item(9803)), //cooking
IGNATIUS_VULCAN(4946, Skills.FIREMAKING, new Item[]{new Item(9804), new Item(9805)}, new Item(9806)), //firemaking
WILFRED(4906, Skills.WOODCUTTING, new Item[]{new Item(9807), new Item(9808)}, new Item(9809)), //woodcutting
MARTIN_MASTER_GARDENER(3299, Skills.FARMING, new Item[]{new Item(9810), new Item(9811)}, new Item(9812)); //farming[/CODE] Edited by Hoyte

Share this post


Link to post
Share on other sites
Realized I only posted a portion of the code.
Fixed it.

Share this post


Link to post
Share on other sites
I was using a dementhium base but didn't encounter any skillcape problems. However, I did re write some of the dialogue in that class.

Share this post


Link to post
Share on other sites
[quote name='Rich']I was using a dementhium base but didn't encounter any skillcape problems. However, I did re write some of the dialogue in that class.[/QUOTE]I'll give you an example of what was wrong with mine. For instance, when you went to get the Fletching cape, it would give you an untrimmed Runecrafting cape along with a Magic hood. It did this for a few others also.
I'm sure other people have/would encounter this problem if they actually looked around the source. :P

Share this post


Link to post
Share on other sites
[quote name='JaguarNCS']I'll give you an example of what was wrong with mine. For instance, when you went to get the Fletching cape, it would give you an untrimmed Runecrafting cape along with a Magic hood. It did this for a few others also.
I'm sure other people have/would encounter this problem if they actually looked around the source. :P[/QUOTE]

The only real problem i encountered with that particular class in that base was the atrocious grammar.


Sent from my iPhone using Tapatalk Edited by Rich

Share this post


Link to post
Share on other sites
[quote name='Rich']The only real problem i encountered with that particular class in that base was the atrocious grammar.


Sent from my iPhone using Tapatalk[/QUOTE]Eh, yeah. Forgot to remove that. I just added those in there so I could see which skill was which so it was easier than looking for "(961, Skills.HITPOINTS,"

Share this post


Link to post
Share on other sites
Thanks you saved my time.

Share this post


Link to post
Share on other sites
[quote name='Fuzen Seth']Thanks you saved my time.[/QUOTE]
You're welcome. [MENTION=173862]Fuzen Seth[/MENTION]

Share this post


Link to post
Share on other sites
Sign in to follow this  

×