Thread: 2 Problems i need help solving.

Results 1 to 3 of 3
  1. #1 2 Problems i need help solving. 
    ~Axium Developer~ || Coming soon!

    Join Date
    Nov 2012
    Posts
    138
    Thanks given
    4
    Thanks received
    8
    Rep Power
    17
    The first issue im having is when I fletch longbows of any type it actually gives me negative exp and if i fletch oaks i get magic longbows.
    The second issue is ive tried multiple different methods of adding in the ccb to my combat system and they all result in either telling me you cant use the bolts with the ccb or it will tell me for every weapon you cant use the item ur equipping with unarmed.
    Fletching File: [Only registered and activated users can see links. ]
    CombatAssistant File: [Only registered and activated users can see links. ]
    Please help me on this thread or pm me.
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Apr 2013
    Posts
    108
    Thanks given
    11
    Thanks received
    3
    Rep Power
    0
    Quote Originally Posted by hipster View Post
    and if i fletch oaks i get magic longbows.
    To fix that, open your client.java and search for the this... (Note: This is for herblore, not fletching, you can look for the fletching one)

    else if(itemUsed == 2483 && useWith == 241) {
    if(playerLevel[15] >= 73) {
    deleteItem(2483, getItemSlot(2483), 1);
    deleteItem(241, getItemSlot(241), 1);
    addItem(2454, 1);
    addSkillXP(3158, 15);
    } else {
    sendMessage("You need a higher herblore level to make this potion.");
    }
    }

    This means, if you use the item: 2483 on 241, you get the item: 2454.

    you can edit what you use each item with by editting this:
    else if(itemUsed == 2483 && useWith == 241) {

    And you can tell those items to disappear by changing the Deleted Item ID's:
    deleteItem(2483, getItemSlot(2483), 1);
    deleteItem(241, getItemSlot(241), 1);

    And then you can make it so that you get the Oak Short/Long bow as a end result by editting this:
    addItem(2454, 1);
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Apr 2013
    Posts
    108
    Thanks given
    11
    Thanks received
    3
    Rep Power
    0
    Sorry, Heres a working one, Just Copy this into your Client.java or Fletching.java
    Here's a working One!

    else if(itemUsed == 54 && useWith == 1777) {
    if(playerLevel[9] >= 14) {
    deleteItem(54, getItemSlot(54), 1);
    deleteItem(1777, getItemSlot(1777), 1);
    addItem(843, 1);
    addSkillXP(1000, 9);
    } else {
    sendMessage("You need atleast 15 Fletching to Make this... ");
    }
    }

    Note: Use that code for Oak Shortbows
    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. [PI] Huge NPC Problem + Pic, Need help ASAP
    By jordan641 in forum Help
    Replies: 5
    Last Post: 03-26-2011, 07:06 PM
  2. Relationship problem...I need help
    By Lmfao4dayZ in forum Chat
    Replies: 55
    Last Post: 11-09-2010, 07:08 PM
  3. Webclient Problem - I need help please
    By Defiled-X in forum Help
    Replies: 0
    Last Post: 09-21-2010, 02:38 AM
  4. Replies: 0
    Last Post: 09-20-2010, 09:06 PM
  5. Replies: 7
    Last Post: 09-20-2010, 08:43 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
  •