[help] NPC Shop

Newbie Spellweaver
Joined
Oct 8, 2008
Messages
24
Reaction score
0
I successfully filled up my [Public Office] Juria with CS, cloaks (love the Dragon Cloak 4), and Hair Styles. Now it is full, and I want to add another tab to Juria.

My understanding of 'tab' would be like the first tab 'Perin' in Juria, or 'Brooms' and 'Boards' in [Statior Dior]. There's the white tab 'Perin' and then two blue tabs that you can't click on. How would you make the blue tabs white so you could add more items? Also, can you change the name of the tabs (like for me, I want Upgrading/CS/Hair/Cloaks or something like that instead of just Perin)? Any help appreciated.
 
Re: NPC Shop Help [Tabs]

You have to edit the character in character.inc which is located in dataSub1.res.
For example Juria:
Code:
MaFl_Juria
{
	setting
	{
		AddMenu( MMI_DIALOG );
		AddMenu( MMI_BANKING );
		AddMenu( MMI_GUILDBANKING );
		AddMenu( MMI_RANK_GUILD ); // 길드랭킹1
		AddMenu( MMI_RANK_WAR ); // 길드랭킹2
		AddMenu( MMI_RANK_INFO ); // 길드랭킹3
		AddMenu( MMI_TRADE  );
 		AddVendorItem( 0, IK3_SCROLL, -1, 150, 150, 1 );
		m_nStructure= SRT_PUBLICOFFICE;
		SetImage
		(
		IDS_CHARACTER_INC_000056
		);
		m_szDialog= "MaFl_Juria.txt";
	}
	SetName
	(
	IDS_CHARACTER_INC_000057
	);
	AddVendorSlot( 0,
        IDS_CHARACTER_INC_000702
	);
}

Juria with multiple tabs:
Code:
MaFl_Juria
{
	setting
	{
		AddMenu( MMI_DIALOG );
		AddMenu( MMI_BANKING );
		AddMenu( MMI_GUILDBANKING );
		AddMenu( MMI_RANK_GUILD ); // 길드랭킹1
		AddMenu( MMI_RANK_WAR ); // 길드랭킹2
		AddMenu( MMI_RANK_INFO ); // 길드랭킹3
		AddMenu( MMI_TRADE  );
 		AddVendorItem( 0, IK3_SCROLL, -1, 150, 150, 1 );
		m_nStructure= SRT_PUBLICOFFICE;
		SetImage
		(
		IDS_CHARACTER_INC_000056
		);
		m_szDialog= "MaFl_Juria.txt";
	}
	SetName
	(
	IDS_CHARACTER_INC_000057
	);
	AddVendorSlot( 0,
        Tab1
	);
	AddVendorSlot( 1,
        Tab2
	);
	AddVendorSlot( 2,
        Tab3
	);
}

You can enter plain text for the tab text.
 
Re: NPC Shop Help [Tabs]

Sorry for double post, but, when I use FlyFF Resource Manager on dataSub1.res, this pops up:

Error: Unable to load DLL 'FlyFF Resource.dll': The specified module could not be found. (Exception from HRESULT 0x8007007E)

What am I doing wrong?
 
Re: NPC Shop Help [Tabs]

i can add items in first tab 'Weapons' with FlyFF Resource Manager

but i can't add items in other tabs

i can't see anything in addition to the the first tab

why?

please help me
 
Re: NPC Shop Help [Tabs]

Imortal, got any suggestions for me?

Edit: NEVER MIND. I DOWNLOADED ONLY PART OF IT. IT WORKS NOW. THANKS SO MUCH IMORTAL. I hate Caps Lock.
 
Re: NPC Shop Help [Tabs]

Can somebody tell me how i can put greens in weapon seller and stuff i saw a private server named Battle-cry selling lvl 15-60 green i geuss at Boboku,Boboko and Luda. somebody can telme how i can do those things?
 
Re: NPC Shop Help [Tabs]

You have to edit the character in character.inc which is located in dataSub1.res.
For example Juria:
Code:
MaFl_Juria
{
	setting
	{
		AddMenu( MMI_DIALOG );
		AddMenu( MMI_BANKING );
		AddMenu( MMI_GUILDBANKING );
		AddMenu( MMI_RANK_GUILD ); // 길드랭킹1
		AddMenu( MMI_RANK_WAR ); // 길드랭킹2
		AddMenu( MMI_RANK_INFO ); // 길드랭킹3
		AddMenu( MMI_TRADE  );
 		AddVendorItem( 0, IK3_SCROLL, -1, 150, 150, 1 );
		m_nStructure= SRT_PUBLICOFFICE;
		SetImage
		(
		IDS_CHARACTER_INC_000056
		);
		m_szDialog= "MaFl_Juria.txt";
	}
	SetName
	(
	IDS_CHARACTER_INC_000057
	);
	AddVendorSlot( 0,
        IDS_CHARACTER_INC_000702
	);
}

Juria with multiple tabs:
Code:
MaFl_Juria
{
	setting
	{
		AddMenu( MMI_DIALOG );
		AddMenu( MMI_BANKING );
		AddMenu( MMI_GUILDBANKING );
		AddMenu( MMI_RANK_GUILD ); // 길드랭킹1
		AddMenu( MMI_RANK_WAR ); // 길드랭킹2
		AddMenu( MMI_RANK_INFO ); // 길드랭킹3
		AddMenu( MMI_TRADE  );
 		AddVendorItem( 0, IK3_SCROLL, -1, 150, 150, 1 );
		m_nStructure= SRT_PUBLICOFFICE;
		SetImage
		(
		IDS_CHARACTER_INC_000056
		);
		m_szDialog= "MaFl_Juria.txt";
	}
	SetName
	(
	IDS_CHARACTER_INC_000057
	);
	AddVendorSlot( 0,
        Tab1
	);
	AddVendorSlot( 1,
        Tab2
	);
	AddVendorSlot( 2,
        Tab3
	);
}

You can enter plain text for the tab text.

Hi I did this, but when i try to start my flyff client it stop working and if i put the older res file back it's working again. :(
What do I do wrong?
And if i want to create a custom npc what files do i have to edit and how? I mean i have to edit character.txt in dataSub1.res and i have to create a new .ncd file. (but i don't know how)So is there any more file what i have to edit for new npc? And can you tell me how to edit those? Sorry my bad english. :S
 
Back