Basic Fletching

Discussion in 'RuneScape Miscellaneous' started by Full Metalst, Dec 9, 2008.

Thread Status:
Not open for further replies.
Basic Fletching
  1. Unread #1 - Dec 9, 2008 at 5:21 AM
  2. Full Metalst
    Referrals:
    0

    Full Metalst Guest

    Basic Fletching

    Basic Fletching

    Purpose: For you to add a new skill to your server: Fletching.

    Difficulty: 4/10

    Assumed Knowledge: Know how to code and patience.

    Source(s) Tested: Summon-Pkz - Cleaned Project Czar

    File(s) Modified: client.java
    _______________________________________________________
    TABLE OF CONTENTS

    Prologue(Introduction)
    Adding Fletching
    Epilogue(Conclusion)
    Credits
    ______________________________________________________
    Prologue

    Welcome to my TuT on Fletching, out of Prima's 317 base. I give FULL credits to Prima from MoparScape for source.

    Post any errors.
    ______________________________________________________
    Adding Fletching

    Go to client.java. Are you in client.java? Good. Search by pressing Ctrl+F at the same time, then type this:

    Code:
    case 53:
    Under one of those codes, add:

    Code:
    }
                else if (itemUsed == 1511 && useWith == 946) {
                    if (playerLevel[9] >= 0) {
                        deleteItem(1511, getItemSlot(1511), 1);
                        addItem(50, 1);
                        addSkillXP(15, 9);
                    } else {
                        sendMessage(
                                "You need a fletching level of 0 to make this bow.");
                    }
                } else if (itemUsed == 1521 && useWith == 946) {
                    if (playerLevel[9] >= 20) {
                        deleteItem(1521, getItemSlot(1521), 1);
                        addItem(54, 1);
                        addSkillXP(25, 9);
                    } else {
                        sendMessage(
                                "You need a fletching level of 20 to make this bow.");
                    }
                } else if (itemUsed == 1519 && useWith == 946) {
                    if (playerLevel[9] >= 40) {
                        deleteItem(1519, getItemSlot(1519), 1);
                        addItem(60, 1);
                        addSkillXP(40, 9);
                    } else {
                        sendMessage(
                                "You need a fletching level of 40 to make this bow.");
                    }
                } else if (itemUsed == 1517 && useWith == 946) {
                    if (playerLevel[9] >= 60) {
                        deleteItem(1517, getItemSlot(1517), 1);
                        addItem(64, 1);
                        addSkillXP(65, 9);
                    } else {
                        sendMessage(
                                "You need a fletching level of 60 to make this bow.");
                    }
                } else if (itemUsed == 1515 && useWith == 946) {
                    if (playerLevel[9] >= 75) {
                        deleteItem(1515, getItemSlot(1515), 1);
                        addItem(68, 1);
                        addSkillXP(90, 9);
                    } else {
                        sendMessage(
                                "You need a fletching level of 75 to make this bow.");
                    }
                } else if (itemUsed == 1513 && useWith == 946) {
                    if (playerLevel[9] >= 90) {
                        deleteItem(1513, getItemSlot(1513), 1);
                        addItem(72, 1);
                        addSkillXP(120, 9);
                    } else {
                        sendMessage(
                                "You need a fletching level of 90 to make this bow.");
                    }
                } // ------------------------end of cutting--------------------------------
                else if (itemUsed == 50 && useWith == 1777) {
                    if (playerLevel[9] >= 0) {
                        deleteItem(50, getItemSlot(50), 1);
                        deleteItem(1777, getItemSlot(1777), 1);
                        addItem(841, 1);
                        addSkillXP(15, 9);
                    } else {
                        sendMessage(
                                "You need a fletching level of 0 to make this bow.");
                    }
                } else if (itemUsed == 54 && useWith == 1777) {
                    if (playerLevel[9] >= 20) {
                        deleteItem(54, getItemSlot(54), 1);
                        deleteItem(1777, getItemSlot(1777), 1);
                        addItem(843, 1);
                        addSkillXP(25, 9);
                    } else {
                        sendMessage(
                                "You need a fletching level of 20 to make this bow.");
                    }
                } else if (itemUsed == 60 && useWith == 1777) {
                    if (playerLevel[9] >= 40) {
                        deleteItem(60, getItemSlot(60), 1);
                        deleteItem(1777, getItemSlot(1777), 1);
                        addItem(849, 1);
                        addSkillXP(40, 9);
                    } else {
                        sendMessage(
                                "You need a fletching level of 40 to make this bow.");
                    }
                } else if (itemUsed == 64 && useWith == 1777) {
                    if (playerLevel[9] >= 60) {
                        deleteItem(64, getItemSlot(64), 1);
                        deleteItem(1777, getItemSlot(1777), 1);
                        addItem(853, 1);
                        addSkillXP(65, 9);
                    } else {
                        sendMessage(
                                "You need a fletching level of 60 to make this bow.");
                    }
                } else if (itemUsed == 68 && useWith == 1777) {
                    if (playerLevel[9] >= 75) {
                        deleteItem(68, getItemSlot(68), 1);
                        deleteItem(1777, getItemSlot(1777), 1);
                        addItem(857, 1);
                        addSkillXP(90, 9);
                    } else {
                        sendMessage(
                                "You need a fletching level of 75 to make this bow.");
                    }
                } else if (itemUsed == 72 && useWith == 1777) {
                    if (playerLevel[9] >= 90) {
                        deleteItem(72, getItemSlot(72), 1);
                        deleteItem(1777, getItemSlot(1777), 1);
                        addItem(861, 1);
                        addSkillXP(120, 9);
                    } else {
                        sendMessage(
                                "You need a fletching level of 90 to make this bow.");
                    }
    }
    __________________________________________
    Epilogue

    Thank you for reading my TuT on Fletching. If you have any questions, errors, etc., don't hesitate to ask. Me, or the other members, would be happy to help.
    __________________________________________
    Credits

    80% - Prima from MoparScape for Summon-Pkz source
    20% - Cleaned Project Czar
    10% - Forums
     
< Basic herbolore | Basic Woodcutting >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site