Jump to content
  • 0
letifer

Matrix items issue

Question

how do i change the items so the owner can wear anything. right now it still says i hav to vote to wear stuff and be a donator. anybody have a clue how to change that?
what steps need to be done? thanks guys!

Share this post


Link to post
Share on other sites

11 answers to this question

Recommended Posts

  • 0
how do i make it so you dont have to do kiln to wear kiln or trick the client into thinking i have done it? also how do i make it so that auras dont have cooldown time?

[COLOR="silver"][SIZE=1]- - - Updated - - -[/SIZE][/COLOR]

also what does ::brute and ::demon do?

how do i remove the requirement that you need to have completed fight caves to wear comp cape?

after i take this out from line 218 i get error
private boolean wonFightPits; Edited by letifer

Share this post


Link to post
Share on other sites
  • 0
after i take out the fight kilns thing from boolean it wont let me wear comp cape at all. so where do i take out the command? right now i took it from the player.java file am i supposed to have done this in the command.java file?

how do i make it so every1 can wear comp cape and comp cape (t)? Edited by letifer

Share this post


Link to post
Share on other sites
  • 0
[quote name='letifer']how do i change the items so the owner can wear anything. right now it still says i hav to vote to wear stuff and be a donator. anybody have a clue how to change that?
what steps need to be done? thanks guys![/QUOTE]

Look at the commands file, for donator

;;permdonar (name), allows your account to be a permanent donor.
[quote name='letifer']how do i make it so you dont have to do kiln to wear kiln or trick the client into thinking i have done it? also how do i make it so that auras dont have cooldown time?

[COLOR="silver"][SIZE=1]- - - Updated - - -[/SIZE][/COLOR]

also what does ::brute and ::demon do?

how do i remove the requirement that you need to have completed fight caves to wear comp cape?

after i take this out from line 218 i get error
private boolean wonFightPits;[/QUOTE]

[quote name='letifer']after i take out the fight kilns thing from boolean it wont let me wear comp cape at all. so where do i take out the command? right now i took it from the player.java file am i supposed to have done this in the command.java file?

how do i make it so every1 can wear comp cape and comp cape (t)?[/QUOTE]

For Comp Cape stuff, let me get back to you on that in a while.

Update for Comp Cape; I spawned it, 20749, and I was able to wear it without changing anything.

Edit 2; If I changed the colors, now it tells me about the requirements. Found it all.

Go to ItemDefinitions.java and search; "else if (name.equals("Max cape")) { " and you should see

[CODE]} else if (name.equals("Max cape")) {
itemRequiriments.put(Skills.ATTACK, 99);
itemRequiriments.put(Skills.DEFENCE, 99);
itemRequiriments.put(Skills.STRENGTH, 99);
itemRequiriments.put(Skills.HITPOINTS, 99);
itemRequiriments.put(Skills.RANGE, 99);
itemRequiriments.put(Skills.PRAYER, 99);
itemRequiriments.put(Skills.MAGIC, 99);
itemRequiriments.put(Skills.RUNECRAFTING, 99);
itemRequiriments.put(Skills.AGILITY, 99);
itemRequiriments.put(Skills.HERBLORE, 99);
itemRequiriments.put(Skills.THIEVING, 99);
itemRequiriments.put(Skills.CRAFTING, 99);
itemRequiriments.put(Skills.FLETCHING, 99);
itemRequiriments.put(Skills.SLAYER, 99);
itemRequiriments.put(Skills.HUNTER, 99);
itemRequiriments.put(Skills.MINING, 99);
itemRequiriments.put(Skills.SMITHING, 99);
itemRequiriments.put(Skills.FISHING, 99);
itemRequiriments.put(Skills.COOKING, 99);
itemRequiriments.put(Skills.FIREMAKING, 99);
itemRequiriments.put(Skills.WOODCUTTING, 99);
itemRequiriments.put(Skills.SUMMONING, 99);
itemRequiriments.put(Skills.DUNGEONEERING, 99);
itemRequiriments.put(Skills.HUNTER, 99);
itemRequiriments.put(Skills.FARMING, 99);[/CODE]

I realize that isn't what you're looking for but, the code states all skills need to be 99 to wear for the Max Cape, if you scroll down a little you'll see item id's;

[CODE]} else if (getId() == 20771) {
itemRequiriments.put(Skills.ATTACK, 99);
itemRequiriments.put(Skills.DEFENCE, 99);
itemRequiriments.put(Skills.STRENGTH, 99);
itemRequiriments.put(Skills.HITPOINTS, 99);
itemRequiriments.put(Skills.RANGE, 99);
itemRequiriments.put(Skills.PRAYER, 99);
itemRequiriments.put(Skills.MAGIC, 99);
itemRequiriments.put(Skills.RUNECRAFTING, 99);
itemRequiriments.put(Skills.AGILITY, 99);
itemRequiriments.put(Skills.HERBLORE, 99);
itemRequiriments.put(Skills.THIEVING, 99);
itemRequiriments.put(Skills.CRAFTING, 99);
itemRequiriments.put(Skills.FLETCHING, 99);
itemRequiriments.put(Skills.SLAYER, 99);
itemRequiriments.put(Skills.HUNTER, 99);
itemRequiriments.put(Skills.MINING, 99);
itemRequiriments.put(Skills.SMITHING, 99);
itemRequiriments.put(Skills.FISHING, 99);
itemRequiriments.put(Skills.COOKING, 99);
itemRequiriments.put(Skills.FIREMAKING, 99);
itemRequiriments.put(Skills.WOODCUTTING, 99);
itemRequiriments.put(Skills.SUMMONING, 99);
itemRequiriments.put(Skills.FARMING, 99);
itemRequiriments.put(Skills.DUNGEONEERING, 120);[/CODE]

There's your comp cape! But be sure to also change the requirements for hood and other comp cape id. Edited by Orcus
Update

Share this post


Link to post
Share on other sites
  • 0
the only thing is the requirements for my matrix client is it needs fight caves, fight kiln and fight pits completed. how do i make it so that it doesnt need it? or can i trick the client into thinking i have done it? what codes need to be placed? Edited by letifer

Share this post


Link to post
Share on other sites
  • 0
Hang on, I'll give you the code so you can wear anything without other ranks adding on.

EDIT:

ItemConstants.java - under [B]public static boolean canWear[/B]

add:

[code]if(player.getRights() == 2)
return true;
[/code]

Or change to whatever your owner rank is. Edited by Tylerr

Share this post


Link to post
Share on other sites
  • 0
[quote name='Tylerr']Hang on, I'll give you the code so you can wear anything without other ranks adding on.

EDIT:

ItemConstants.java - under [B]public static boolean canWear[/B]

add:

[code]if(player.getRights() == 2)
return true;
[/code]

Or change to whatever your owner rank is.[/QUOTE]
yes i am already owner of the server but it still requires me to "win one game of fight pits to wear comp cape"
what string do i need to take out?

best answer gets +rep! Edited by letifer

Share this post


Link to post
Share on other sites
  • 0
[quote name='letifer']yes i am already owner of the server but it still requires me to "win one game of fight pits to wear comp cape"
what string do i need to take out?

best answer gets +rep![/QUOTE]

Just go in ItemConstants.java and search for 20769 and 20771 and remove the if statements.

Share this post


Link to post
Share on other sites
  • 0
[quote name='Tylerr']Just go in ItemConstants.java and search for 20769 and 20771 and remove the if statements.[/QUOTE]

the ItemConsstants.java is a CLASS file and eclipse cant seem to open it( it opens as a read only file) and notepad ++ doesnt show the if statements so what should i do?

Share this post


Link to post
Share on other sites
  • 0
[quote name='letifer']the ItemConsstants.java is a CLASS file and eclipse cant seem to open it( it opens as a read only file) and notepad ++ doesnt show the if statements so what should i do?[/QUOTE]

You can open ItemConstants.java dude lol.

Share this post


Link to post
Share on other sites
  • 0
hi guys it dont work

[COLOR="silver"][SIZE=1]- - - Updated - - -[/SIZE][/COLOR]

lol it dont work

Share this post


Link to post
Share on other sites

×