[Caali][db]How to make you own npc shop

Status
Not open for further replies.
Newbie Spellweaver
Joined
Mar 30, 2009
Messages
99
Reaction score
2
tool you need
- Flyff Resource Manager
- Brain
- Effort
- NCDG tool
make sure you have 4 thing of this


Step one CFS File
1.go to you NPCShops folder than open NPCShopEditor
2.put npc name what you want mine is pimme and select you npc place
commonlaw - [Caali][db]How to make you own npc shop - RaGEZONE Forums

3.now save

4.ok now in you folder have 2 new file (mine is MaSa_pimme) cfs file and sql file
5.open npcshops.full insert new line and put you npc name in like this MaSa_pimme.cfs
5.open npcshops.idx and make same

STEP 2 Database
1.open you spawns_npc table scroll down to make new line make it same another npc but change spawn_id to 700 (when you do another npc put 701 702 703 . . .) chage Model id up to you and put you npc name to name here is picture
commonlaw - [Caali][db]How to make you own npc shop - RaGEZONE Forums


2.insert map id to PosworldID and X Y Z you know that

STEP 3 DATASUB 1
1.open datasub1 with FRM extract character.inc and character.txt
2.open character.txt scrool down than put
IDS_CHARACTER_INC_000829 Pimme love you ( change to you npc name what you want it )
IDS_CHARACTER_INC_000830 Slot 1
IDS_CHARACTER_INC_000831 Slot 2
IDS_CHARACTER_INC_000832 Slot 3
IDS_CHARACTER_INC_000833 Slot 4
save and close

3.open character.inc
4.scroll down add new line be fore // END ; copy this

Code:
[COLOR="green"]MaSa_pimme[/COLOR]
{
	Setting
	{
		AddMenu( MMI_DIALOG );
		AddMenu( MMI_TRADE  );
		AddVendorItem( 0, IK3_SWD, 1, 15, 27, 50 );
		SetImage
		(
		IDS_CHARACTER_INC_000739
		);
		m_szDialog= "[COLOR="Green"]MaSa_pimme.txt[/COLOR]";
	}

	SetName
	(
	IDS_CHARACTER_INC_[COLOR="DarkRed"]000829[/COLOR]
	);

	AddVendorSlot( 0,
	IDS_CHARACTER_INC_[COLOR="red"]000830[/COLOR]
	);

	AddVendorSlot( 1,
	IDS_CHARACTER_INC_[COLOR="red"]000831[/COLOR]
	);

	AddVendorSlot( 1,
	IDS_CHARACTER_INC_[COLOR="red"]000832[/COLOR]
	);

	AddVendorSlot( 1,
	IDS_CHARACTER_INC_[COLOR="red"]000833[/COLOR]
	);
}
Red is slot name id (833 slot name is "slot 4" same you insert in character.txt)
Dark Red is you npc name (829 will show you npc name what you insert in character.txt
Green change to you npc db name

5. save it

6. open datasub 1 again than replace all you done

STEP 3 INSERT ITEM
go back to NPCShops folder and open you new npc now you can insert item

Last step make you npc talk
1.open NCDG Tool this tool is easy to use so i'm don't tell any more about this tool
commonlaw - [Caali][db]How to make you own npc shop - RaGEZONE Forums


2.now you have you npc name.ncd go to NCDFiles in you server file than replace you new ncd file

now runserver and try

commonlaw - [Caali][db]How to make you own npc shop - RaGEZONE Forums
 
Last edited:
Re: How to make you own npc shop

You don't need but someone who doesn't know this so now stop...... now

i know you best
 
STEP 3 DATASUB 1
1.open datasub1 with FRM extract character.inc and character.txt
2.open character.txt scrool down than put
IDS_CHARACTER_INC_000829 Pimme love you ( change to you npc name what you want it )
IDS_CHARACTER_INC_000830 Slot 1
IDS_CHARACTER_INC_000831 Slot 2
IDS_CHARACTER_INC_000832 Slot 3
IDS_CHARACTER_INC_000833 Slot 4
save and close

ummm. i lose my self what program and stuff do i use there?:?:
 
Can someone please explain the DataSub1 part to me please? ><; I open it with FRM but nothing shows.. And I don't know this 'character.inc' file. :s
 
Code:
		SetImage
		(
		IDS_CHARACTER_INC_000739

This is the .tga file (The image of the person you see when you click "Dialog"
- Just thought i'd mention that, and nice guide Common ^.0
 
Status
Not open for further replies.
Back