How to add a item to a NPC

Page 1 of 9 123456789 LastLast
Results 1 to 15 of 127
  1. #1
    the sound's resound echo Jelle is offline
    True MemberRank
    Jun 2009 Join Date
    ._.Location
    1,036Posts

    How to add a item to a NPC

    How to add a item to a NPC
    UPDATE: DOES NOT WORK WITH V16/V17

    Well, this is very easy.
    We will be using a NPC Editor for this.
    There are probably more guide's out there
    How to edit a NPC and how to add a item
    But I got PM'd and asked by multiple people to make a guide on how to do this...
    Lets start.
    What do you need for this guide
    -NPC Editor (Link is down there)
    -Time
    -RES Editor

    Spoiler:

    Okay, for the sake of this tutorial, we are going to add a SProtect to the NPC Is.
    To make the NPC Editor work, you have to place your server files character.inc, propitem.txt, propitem.txt.txt in the same folder as the NPC Editor. If you placed them in the folder, start the NPC Editor. Now click on the MaFl_Mikyel and find MaFl_Is
    [http://img42.imageshack.us/img42/6392/pic1jwh.jpg < Picture 1
    Now in the text thing above, you see
    Code:
    		AddVendorItem( 0, IK3_MASK, -1, 1, 2, 100 );
    beneath that, add
    Code:
                    AddVendorItem( 0, IK3_SCROLL, -1, 1, 1, 100 );
    0 = The tab it gets sell'd in 0 = first tab.
    IK3_SCROLL = The typ of items it can sell.
    -1 = The class it is made for. -1 = vagrant.
    1 = Level
    1 = Rarity
    I made the rarity and level both one because we will now make the scroll rarity and level one.
    Click on the ADDVENDORITEM button. After that press on the MATERIAL button. New screen will popup.
    http://img153.imageshack.us/img153/9273/pic2nw.jpg
    Next to search name, typ in Scroll of Sprotect and click Search.
    Now you can see the Scroll of Sprotect highlighted.
    At the most left, click the 'Shopable' box. Move your mouse to the right and you can see the column called 'Level'. The SProtect should be Level 1 already, if not, change it to the number 1.
    The next column is 'Rarity'. Change that = to 1.
    http://img14.imageshack.us/img14/3541/pic3iw.jpg
    Now click CLOSE and then click ADD.
    Now click on the SAVE box. Replace the old character.inc, propitem.txt and propitem.txt.txt with the new one's.
    If you placed the NPCEditor inside the server files, you wont have to replace :).
    Now open up your RESEditor. Open the DataSub2.res
    Delete the propitem.txt and propitem.txt.txt and replace it with the new one's.
    Then open up DataSub1.res and delete character.inc and replace it with the new one.
    DONE! Enjoy!;)


    Hope some of you learned more about NPC's, thank you for reading / replying / thanking !
    Got any questions? Leave a message BELOW.

    //DOWNLOADS//
    NPCEditor: NPCEditor.rar
    RESEditor: Flyff ResEditor.rar
    Last edited by Jelle; 26-10-11 at 09:35 AM.
    :3


  2. #2
    Account Inactive Denichu is offline
    InactiveRank
    Mar 2009 Join Date
    744Posts

    Re: How to add a item to a NPC

    Lol jelle i tought u disliked this program :>
    aka Trozay, PHP Beginner. Currently developing: Trozay's Admin Panel
    Meh, Trozay's back in da house o.o

  3. #3
    the sound's resound echo Jelle is offline
    True MemberRank
    Jun 2009 Join Date
    ._.Location
    1,036Posts

    Re: How to add a item to a NPC

    I used to.. till I putted 10 minutes time into it and than I fell in love with it :>
    :3

  4. #4
    Account Inactive Denichu is offline
    InactiveRank
    Mar 2009 Join Date
    744Posts

    Re: How to add a item to a NPC

    told ya :P
    aka Trozay, PHP Beginner. Currently developing: Trozay's Admin Panel
    Meh, Trozay's back in da house o.o

  5. #5
    Account Inactive mickhoz is offline
    InactiveRank
    Dec 2006 Join Date
    18Posts

    Re: How to add a item to a NPC

    Great Thanks............

  6. #6
    the sound's resound echo Jelle is offline
    True MemberRank
    Jun 2009 Join Date
    ._.Location
    1,036Posts

    Re: How to add a item to a NPC

    Quote Originally Posted by mickhoz View Post
    Great Thanks............
    Then why haven't you thanked? Héhé :P
    :3

  7. #7
    WORK. demz123 is offline
    True MemberRank
    Apr 2010 Join Date
    C:/wamp/www/Location
    336Posts

    Re: How to add a item to a NPC

    thanks for guide hehehehe... now i understand a bit bout this

  8. #8
    Account Inactive MatreX is offline
    InactiveRank
    Sep 2004 Join Date
    U.s.ALocation
    237Posts

    Re: How to add a item to a NPC

    Is it just me or does the NPCeditor not work? it crashes right when i open it on both windows XP and Windows7

  9. #9
    One word! Im Fawkin Pro! Xakzi is offline
    True MemberRank
    Jul 2010 Join Date
    SwedenLocation
    1,264Posts

    Re: How to add a item to a NPC

    Quote Originally Posted by MatreX View Post
    Is it just me or does the NPCeditor not work? it crashes right when i open it on both windows XP and Windows7
    Works fine for me , windows 7 32-bit ^^

    THANKS ALOT FOR THIS :D this will save some time ^^

  10. #10
    i sell platypus Improved is offline
    Alpha MaleRank
    Jun 2009 Join Date
    DenmarkLocation
    2,819Posts

    Re: How to add a item to a NPC

    Quote Originally Posted by MatreX View Post
    Is it just me or does the NPCeditor not work? it crashes right when i open it on both windows XP and Windows7
    Dide you place it in the resource folder?

    Does your AntiVirus eat it? (Haven't tested the program so can't tell if it dosen't)

  11. #11
    One word! Im Fawkin Pro! Xakzi is offline
    True MemberRank
    Jul 2010 Join Date
    SwedenLocation
    1,264Posts

    Re: How to add a item to a NPC

    Quote Originally Posted by Mallestarx View Post
    Dide you place it in the resource folder?

    Does your AntiVirus eat it? (Haven't tested the program so can't tell if it dosen't)
    Place it in the resource folder? that is no need :o
    You can make a new folder, put in the files -> Propitem.txt / Propitem.txt.txt And Character.inc With the program, and run it :p
    Last edited by Xakzi; 04-07-10 at 12:22 AM.

  12. #12
    Account Inactive huiskamer is offline
    InactiveRank
    May 2007 Join Date
    NetherlandsLocation
    28Posts

    Re: How to add a item to a NPC

    i tried it.. but it didnt work :S

  13. #13
    Account Inactive sora1212 is offline
    InactiveRank
    Dec 2009 Join Date
    134Posts

    Re: How to add a item to a NPC

    So....If you want to add another item [Say like a Snowboarder Hat (M)] Do you find the IK3_code?

  14. #14
    the sound's resound echo Jelle is offline
    True MemberRank
    Jun 2009 Join Date
    ._.Location
    1,036Posts

    Re: How to add a item to a NPC

    Quote Originally Posted by sora1212 View Post
    So....If you want to add another item [Say like a Snowboarder Hat (M)] Do you find the IK3_code?
    Open the material list in the program, search for Snowboarder and you will find it. I think it is IK3_HAT tho.
    :3

  15. #15
    Registered Gembitx is offline
    MemberRank
    Aug 2010 Join Date
    21Posts

    Re: How to add a item to a NPC

    Thanks :]



Page 1 of 9 123456789 LastLast

Advertisement