Thread: Stat requirments

Page 1 of 3 123 LastLast
Results 1 to 10 of 29
  1. #1 Stat requirments 
    Registered Member
    Join Date
    Jul 2012
    Posts
    120
    Thanks given
    2
    Thanks received
    5
    Rep Power
    11
    So ive just added a custom arma crossbow and black partyhat and black mask, it is saying for the black items i need 10 defence to wear and for arma crossbow 65 defence to wear, im aware that you need to goto itemassistant.java and but not sure what i'd need to do to change that, if anyone can help that would be great.
    Reply With Quote  
     

  2. #2  
    Let the good times roll
    Eazy's Avatar
    Join Date
    Jun 2012
    Age
    27
    Posts
    1,234
    Thanks given
    90
    Thanks received
    223
    Rep Power
    70
    Just find method

    Code:
    public void getRequirements
    in your ItemAssistant.java

    And you should see all the item requirements in this method.




    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2012
    Posts
    120
    Thanks given
    2
    Thanks received
    5
    Rep Power
    11
    Still need help with this, willing to pay if its not an easy job.
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Sep 2011
    Posts
    812
    Thanks given
    195
    Thanks received
    60
    Rep Power
    129
    Add a " && !equal("black partyhat")" in the black reqs. Same for arma
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jul 2012
    Posts
    120
    Thanks given
    2
    Thanks received
    5
    Rep Power
    11
    Quote Originally Posted by Superius View Post
    Add a " && !equal("black partyhat")" in the black reqs. Same for arma
    That code gave me errors
    Reply With Quote  
     

  6. #6  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,436
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    Quote Originally Posted by Paragraph View Post
    That code gave me errors
    GOOGLE BRUH! how many threads will i look at and search google for .5 seconds and find a solution!?

    http://www.rune-server.org/runescape...ements-pi.html

    Quote Originally Posted by jerryrocks317 View Post
    i am 14 and have my own laptop im on almost 24/7 currently creating rsps lol so please get off my thread lol
    Reply With Quote  
     

  7. Thankful user:


  8. #7  
    Registered Member
    Join Date
    Jul 2012
    Posts
    120
    Thanks given
    2
    Thanks received
    5
    Rep Power
    11
    Quote Originally Posted by Eclipse View Post
    GOOGLE BRUH! how many threads will i look at and search google for .5 seconds and find a solution!?

    http://www.rune-server.org/runescape...ements-pi.html
    I have already added that exact code but it doesnt do anything, is it possible it could be my compiler?
    Reply With Quote  
     

  9. #8  
    Registered Member
    Senseless's Avatar
    Join Date
    Apr 2012
    Posts
    454
    Thanks given
    146
    Thanks received
    58
    Rep Power
    87
    Quote Originally Posted by Paragraph View Post
    I have already added that exact code but it doesnt do anything, is it possible it could be my compiler?
    Doubt it's your Compiler,

    Under;

    Code:
    public void getRequirements(String itemName, int itemId) {
    Under the Switch statement, You should see something along the lines like this,

    case ****:
    c.defenceLevelReq = 42;
    return;


    **** - Represents the Item ID,
    c.*******LevelReq - What Skill level is required to equip the item.

    So just look for your Custom ID's within that method and remove the case.
    Reply With Quote  
     

  10. #9  
    Registered Member o Java o's Avatar
    Join Date
    Sep 2014
    Posts
    183
    Thanks given
    14
    Thanks received
    19
    Rep Power
    0
    Quote Originally Posted by Paragraph View Post
    I have already added that exact code but it doesnt do anything, is it possible it could be my compiler?
    Send me a private message with a pastebin of your ItemAssistant.java and if you are not familiar with pastebin then just go to Pastebin.com - #1 paste tool since 2002! and paste the class in there and send me the link in a private message and I will be glad to help you.
    Reply With Quote  
     

  11. #10  
    Registered Member
    Join Date
    Jul 2012
    Posts
    120
    Thanks given
    2
    Thanks received
    5
    Rep Power
    11
    Bump still need help with this!
    Reply With Quote  
     

Page 1 of 3 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. Replies: 2
    Last Post: 01-28-2011, 04:53 PM
  2. Replies: 3
    Last Post: 08-13-2010, 02:56 PM
  3. 562 Stat Requirement Fix.
    By Hotyute in forum Snippets
    Replies: 8
    Last Post: 10-27-2009, 05:34 PM
  4. Making something require a stat to wear
    By bcdutton in forum Tutorials
    Replies: 3
    Last Post: 02-15-2008, 03:50 PM
  5. Making items have stat requirements
    By delta11 in forum Tutorials
    Replies: 0
    Last Post: 10-20-2007, 09:09 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
  •