Thread: Quick help with bows

Results 1 to 9 of 9
  1. #1 Quick help with bows 
    Registered Member
    Join Date
    Apr 2014
    Posts
    73
    Thanks given
    5
    Thanks received
    1
    Rep Power
    9
    Okay so I have bows right you know what a bow is lol

    Well problem they're registered as 1 handed weapons so you can us a shield with short and long bows...

    help pleas?
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Jul 2013
    Posts
    594
    Thanks given
    261
    Thanks received
    104
    Rep Power
    247
    PI correct?

    Go into your ItemAssistant.java

    Search for:
    Code:
    public int getWearSlot(int item) {
    and fix the item slots, simple
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Apr 2014
    Posts
    73
    Thanks given
    5
    Thanks received
    1
    Rep Power
    9
    Quote Originally Posted by The Talking D View Post
    PI correct?

    Go into your ItemAssistant.java

    Search for:
    Code:
    public int getWearSlot(int item) {
    and fix the item slots, simple
    that code wasn't in there...
    Reply With Quote  
     

  4. #4  
    Registered Member
    _Ali's Avatar
    Join Date
    Apr 2014
    Posts
    382
    Thanks given
    67
    Thanks received
    147
    Rep Power
    252
    Quote Originally Posted by Arrched View Post
    that code wasn't in there...
    It should be in your playerassistant or combat handler for many others, either search ags id or another two handed weapon you will know how its handled, and do the same for the bow.. Could be istwohanded method etc. I can't give exact answer because you haven't posted any of the classes.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    May 2013
    Posts
    23
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    Just go to ItemAssistant.java then search for

    Code:
    if(itemName.contains("longbow") || itemName.contains("shortbow") || itemName.contains("ark bow")) {
    			return true;
    		}
    then under
    Code:
    switch(itemId) {
    add

    Code:
    case ****: //your itemID there.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Apr 2014
    Posts
    73
    Thanks given
    5
    Thanks received
    1
    Rep Power
    9
    Quote Originally Posted by Trollation View Post
    Just go to ItemAssistant.java then search for

    Code:
    if(itemName.contains("longbow") || itemName.contains("shortbow") || itemName.contains("ark bow")) {
    			return true;
    		}
    then under
    Code:
    switch(itemId) {
    add

    Code:
    case ****: //your itemID there.
    That did help either D:
    Reply With Quote  
     

  7. #7  
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    Search something like is2handed in ItemAssistant
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Apr 2014
    Posts
    73
    Thanks given
    5
    Thanks received
    1
    Rep Power
    9
    Quote Originally Posted by Nighel View Post
    Search something like is2handed in ItemAssistant
    Fixed thank you
    Reply With Quote  
     

  9. #9  
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    Quote Originally Posted by arrched View Post
    fixed thank you
    np
    Reply With Quote  
     


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. Quick help with mysql connecting :P
    By pk bro4 in forum Help
    Replies: 11
    Last Post: 08-06-2012, 05:29 PM
  2. 718 Need quick help with an error!
    By altiar in forum Help
    Replies: 2
    Last Post: 08-02-2012, 11:43 PM
  3. Need Quick Help with This error
    By Con Artist in forum Help
    Replies: 3
    Last Post: 01-24-2012, 10:43 AM
  4. quick help with errors plzzz
    By T-Sex in forum Help
    Replies: 1
    Last Post: 08-11-2010, 01:09 AM
  5. Quick Help with making NPCs say what i type thru a command
    By myserverIP192.168.200.253 in forum RS2 Server
    Replies: 0
    Last Post: 06-10-2008, 11:35 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
  •