Thread: How to change the levels required for armour

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 How to change the levels required for armour 
    domo9122
    Guest
    Purpose: To change the level needed to wear something.

    Difficulty: 2

    Assumed Knowledge: To be able to change the correct numbers

    Server Base: cheezscape (Works with most)

    Classes Modified: client.java

    Procedure

    Attacking wepons!

    Open up client.java and search for:
    Code:
    if (ItemName.startsWith("Bronze")) {
    It shoud look like this:
    Code:
    if (ItemName.startsWith("Bronze")) { 
                return 1; 
             } else if (ItemName.startsWith("Iron")) { 
                return 1; 
             } else if (ItemName.startsWith("Steel")) { 
                return 5; 
             } else if (ItemName.startsWith("Black")) { 
                return 10; 
             } else if (ItemName.startsWith("Mithril")) { 
                return 20; 
             } else if (ItemName.startsWith("Adamant")) { 
                return 30; 
             } else if (ItemName.startsWith("Rune")) { 
                return 40; 
             } else if (ItemName.startsWith("Dragon")) { 
                return 60; 
             } 
          } else if (ItemName.startsWith("Granite")) { 
             return 50; 
          } else if (ItemName.endsWith("whip") || ItemName.endsWith("Ahrims staff") || ItemName.endsWith("Torags hammers") || ItemName.endsWith("Veracs flail") || ItemName.endsWith("Guthans warspear") || ItemName.endsWith("Dharoks greataxe")) { 
             return 70; 
          } 
          return 1;
    Those are weapons and the level required is where it says return 50; for granite that means you need 50 attack to wield granite. Change them to whatever you want them to be.

    Defensive armour!

    Now search for:

    Code:
    public int GetCLDefence(int ItemID) {
    Scroll down a bit and it shoud look like this:

    Code:
    if (ItemName.startsWith("Bronze")) { 
                return 1; 
             } else if (ItemName.startsWith("Iron")) { 
                return 1; 
             } else if (ItemName.startsWith("Steel")) { 
                return 5; 
             } else if (ItemName.startsWith("Black")) { 
                return 10; 
             } else if (ItemName.startsWith("Mithril")) { 
                return 20; 
             } else if (ItemName.startsWith("Adamant")) { 
                return 30; 
             } else if (ItemName.startsWith("Rune")) { 
                return 40; 
             } else if (ItemName.startsWith("Dragon")) { 
                return 60; 
             } else if (ItemName.startsWith("Dharoks") || ItemName.startsWith("Guthans") || ItemName.startsWith("Torags") || ItemName.startsWith("Veracs") || ItemName.startsWith("Karils") || ItemName.startsWith("Ahrims")) { 
                return 70;
    With these ones just do the same as you did with the weapons change the numbers after the return.

    If you have any problems then just ask me thanks.
     

  2. #2  
    my rep is h4x0r3d


    Join Date
    Dec 2006
    Posts
    1,760
    Thanks given
    10
    Thanks received
    8
    Rep Power
    207
    Been posted around like 30 times. If your just posting this for "Rep" than leave. Because it's been posted before, you don't deserve rep, and it's the simplest thing ever. That's just my say, but, i don't care it's mods decision to close or not. Oh, and for the weapons, you wannt put Dharoks_greataxe because than you would need 70 att and 70 defence to wear full dharok >.<.
    Quote Originally Posted by super_ View Post
    this is shit. you are shit. gtfo retard.
     

  3. #3  
    domo9122
    Guest
    Ok thanks well i just thought i would post a simple tut and no it not for rep.
     

  4. #4  
    my rep is h4x0r3d


    Join Date
    Dec 2006
    Posts
    1,760
    Thanks given
    10
    Thanks received
    8
    Rep Power
    207
    Quote Originally Posted by domo9122 View Post
    Ok thanks well i just thought i would post a simple tut and no it not for rep.
    Remember the tip on dharoks_greataxe add it to the tut.
    Quote Originally Posted by super_ View Post
    this is shit. you are shit. gtfo retard.
     

  5. #5  
    Jet Blue Lover!

    Lumby's Avatar
    Join Date
    Dec 2006
    Age
    29
    Posts
    564
    Thanks given
    16
    Thanks received
    45
    Rep Power
    165
    Posted So Many Times Mod Lock Please ( Don't Have The Power Here )

    ~Lumby
    May jetBlue be with you. Remember lowercase j capital B!



    Former Global Moderator
     

  6. #6  
    Mr.Andrew Gover
    Guest
    but how i make barrow gloves for 40def then?
     

  7. #7  
    Strayer
    Guest
    nice tut man
     

  8. #8  
    Mr.Andrew Gover
    Guest
    lol i found it i know how make barrows gloves for 45def ty and ty rep++
     

  9. #9 I Need Help With Arrows 
    Registered Member XdragonQ's Avatar
    Join Date
    Jan 2007
    Posts
    136
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    I did it thank you
    Last edited by XdragonQ; 08-18-2007 at 04:39 PM. Reason: Double posting is not allowed!
    Brian \m/ Metal to da bone \m/ says (14:57):
    omfg ik zij ik ga als emo verkleed naar dormi zij die ander dan hoef je niet veel te veranderen
     

  10. #10  
    Community Veteran


    Join Date
    Jul 2006
    Posts
    789
    Thanks given
    31
    Thanks received
    80
    Rep Power
    177
    quit grave digging noob.
     

Page 1 of 2 12 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. How i change wildy levels?
    By TehWorstCoder in forum Help
    Replies: 0
    Last Post: 11-13-2010, 04:36 PM
  2. [PI] Help required [Rep++]
    By Debugger in forum Help
    Replies: 6
    Last Post: 11-03-2010, 11:15 PM
  3. How to change the amount of kills required
    By 1_Ownage in forum Help
    Replies: 1
    Last Post: 08-29-2010, 02:58 AM
  4. Change Starting Levels On Deltascape HELP!?
    By Wicksyere in forum Help
    Replies: 4
    Last Post: 01-01-2009, 11:50 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
  •