Additional 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~~!