Ill just give you a warning, do not use this version of the program to edit your NPC's if you use V17 (spec_item).
When you do so, you might get error's, or random NPC's spawn everywhere (event NPC's), and name's of NPC's get fucked up.
You could call this guide "outdated" since it does not work with V17, unless you recode the prgoram, wich is easily possible since the SOURCE of this program has been released by the creator.
IS THIS WORKING V15?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
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
[< Picture 1![]()
Now in the text thing above, you see
beneath that, addCode:AddVendorItem( 0, IK3_MASK, -1, 1, 2, 100 );
0 = The tab it gets sell'd in 0 = first tab.Code:AddVendorItem( 0, IK3_SCROLL, -1, 1, 1, 100 );
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.
To view the content, you need to sign in or register
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.
To view the content, you need to sign in or register
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:To view the content, you need to sign in or register
RESEditor:To view the content, you need to sign in or register
hello sir do you have proper list to see the Spec_item.txtAdditional Info for everyone. ^_^
[If you used the v15 original source files, Extract Flyff NPC Editor @ 'V15_FIles\Resource\'. It should already be in the same location with character.inc,propItem.txt,propItem.txt.txt.]
[For those who experienced the Editor just crashing... Please see to it that these files: character.inc,propItem.txt,propItem.txt.txt are not opened with other programs and/or on the same location with the Editor.]
[AddVenderItem Syntax:
AddVenderItem( 0, IK3_SWD, -1, 10, 10, 100);
Left to Right--
0 - NPC Trade Slot number. 0->1st slot,1->2nd slot,2->3rd slot,3-> 4th slot.
IK3_SWD - ITEM CATEGORY. IKE_SWD->Swords,IKE_KNUCKLEHAMMER->KNUCKLES etc.. etc..(find them by pressing 'Material' button)
-1 -> Job Requirement. -1-> ALL JOBS, 0->Vagrant(Haven't tried Vagrant), 1->Mercenary,2->Acrobat,3->Assist,4->Magician then, 6->Knights....(forgot the sequence from here, will update when I got home)
10 -> Item Level. 10 means it gets all items from level 1-10 that are shopAbled [dwShopAble = 1].
10 -> Max Rarity. 10 means it gets all items that has rarity level 1-10 that are showAbled [dwShopAble = 1].
100 -> still trying to figure out what this means. ^_^
Example...
If @ PropItem.txt i got:
Guardian Sword[IK3_SWD] = shopAble:1 Rarity:1 Level:1
Angel Sword[IK3_SWD] = shopAble:1 Rarity:2 Level:1
AddVenderItem(0,IK3_SWD, 1, 1, 1,100); -- would add Guardian Sword only because Angel Sword has Rarity:2.
Add VenderItem(0,IK3_SWD, 3, 2, 1,100); -- would show NOTHING because there are no swords for Assists(JOB:3).
Add VenderItem(0,IK3_SWD, 1, 2, 1,100); -- would show both.]
Goodluck~~!
WHERE SHOULD I PUT THE FLYFF NPC EDITOR AND THE RESEDITOR.I tried it with 5 scrolls now, i all gave em 1 rarity just as in the code of addvendor.
This is how it looks like right now.
![]()