Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Add New Custom Npc's

Master Summoner
Joined
Nov 18, 2011
Messages
529
Reaction score
345
My 1st guide so here is a guide so much users dont know "how to add a new npc" iam add 1 custom Smith at Jupiter Temple fallow the guide
1)_RefObjCommon
Code:
1	41848	NPC_STATIIC	xxx	xxx	SN_NPC_STATIIC	xxx	0	1	1	2	2	0	5000	3	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	-1	0	-1	0	-1	0	-1	0	-1	0	0	0	0	0	0	0	100	0	0	0	npc\npc\khotanshop_smith.bsr	xxx	xxx	xxx	xxx	[COLOR="red"]18891[/COLOR]
id of _RefObjChar.

1.1)_RefObjChar
Code:
[COLOR="Red"]18891[/COLOR]	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	336860180	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0
ok done with the npc. now the pos...

2)Tab_RefHive
Code:
2000	0	0	0	0	0	0	[COLOR="Lime"]90[/COLOR]	2	NPC ȣź
Code of the region in green Jupiter = 90 Jangan and others is = 1

2.1)Tab_RefTactics
Code:
46070	[COLOR="Red"]41848[/COLOR]	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	1	0	0	0	0	0	0	0	Npc_Test
_RefObjCommon ID

2.2)Tab_RefNest
Code:
36831	[COLOR="Lime"]2000[/COLOR]	[COLOR="Red"]46070[/COLOR]	[COLOR="Magenta"]22475	837	475,725952	22	-9832[/COLOR]	0	0	0	0	0	1	0	1	0
Tab_RefHive, Tab_RefTactics ID's. Npc POS (for get a pos go to where u wanna add the npc and relog. go to _Char and copy.)
done with pos. now the tabs...

3)_RefShop
Code:
1	15	2643	STORE_STATIIC	-1	xxx	-1	xxx	-1	xxx	-1	xxx

3.1)_RefShopGroup
Code:
1	15	2815	GROUP_STORE_STATIIC	[COLOR="Red"]NPC_STATIIC[/COLOR]	-1	xxx	-1	xxx	-1	xxx	-1	xxx
_RefObjCommon CodeName128

3.2)_RefShopItemGroup
Code:
1	82	STORE_STATIIC_GROUP1	SN_STORE_STATIIC_GROUP1

3.3)_RefShopTab
Code:
1	15	6417	STORE_STATIIC_TAB1	[COLOR="Red"]STORE_STATIIC_GROUP1[/COLOR]	[COLOR="Lime"]SN_TAB_WEAPON[/COLOR]
_RefShopTabGroup CodeName128, TAB Name

3.4)_RefShopTabGroup
Code:
1	15	2832	STORE_STATIIC_GROUP1	SN_STORE_STATIIC_GROUP1

3.5)_RefMappingShopGroup
Code:
1	15	[COLOR="Red"]GROUP_STORE_STATIIC[/COLOR]	[COLOR="Lime"]STORE_STATIIC[/COLOR]
_RefShopGroup CodeName128, _RefShop CodeName128.

3.6)_RefMappingShopWithTab
Code:
1	15	[COLOR="Red"]STORE_STATIIC[/COLOR]	[COLOR="Lime"]STORE_STATIIC_GROUP1[/COLOR]
_RefShop CodeName128, _RefShopTabGroup CodeName128.

3.7)_RefShopGoods
Code:
1	15	STORE_STATIIC_TAB1	PACKAGE_ITEM_CH_SWORD_01_A	0	-1	xxx	-1	xxx	-1	xxx	-1	xxx
this part u know select urs package items.
done with Database now the media side...
_RefShop, _RefShopGroup, _RefShopItemGroup, _RefShopTab, _RefShopTabGroup, _RefMappingShopGroup, _RefMappingShopWithTab, _RefShopGoods Copy of the database and paste in the respective .txt.
oh Statiic and characterdata?
now u add this to characterdata_45000.txt
Code:
1	41848	NPC_STATIIC	xxx	xxx	[COLOR="Red"]SN_NPC_STATIIC[/COLOR]	xxx	0	1	1	2	2	0	5000	3	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	-1	0	-1	0	-1	0	-1	0	-1	0	0	0	0	0	0	0	100	0	0	0	npc\npc\khotanshop_smith.bsr	xxx	xxx	xxx	xxx	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	336860180	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0
Need It for change the Npc Name "SN_NPC_STATIIC"for change the npc name for a of preffer add this to textdata_object.txt
Code:
1	SN_NPC_STATIIC								[COLOR="red"]Statiic	[/COLOR]
NPC Name...

Done u add a custom Npc Restart u Server and Check if Work...
Statiic - Add New Custom Npc's - RaGEZONE Forums



npc chat BY MR5 -- [Guide] Add New Custom Npc's Index 7
i will tell u
i try many thing but last thing try and the npc chat show in game

in server_dep\silkroad\textdata\
OPen the txt " npcchat.txt "

u will see in the txt
Code:
//Service	OwnerCodeName_128	msg1_strid_128	msg2_strid_128
//%d	%s	%s	%s
//xxx	xxx	xxx	xxx
[COLOR="Red"]1	STORE_PureShop	SN_NPC_CH_PureShop_BS	SN_NPC_PureShop_PS	
1	NPC_PureShop	SN_NPC_CH_PureShop_BS	SN_NPC_PureShop_PS[/COLOR]
[B]1	NPC_CH_SMITH	SN_NPC_CH_SMITH_BS	SN_NPC_CH_SMITH_PS
1	NPC_CH_SMITH	SN_NPC_CH_SMITH_BS	SN_NPC_CH_SMITH_PS[/B]

The Red = My Cods NPC
The Bold Black = The Code in txt
i mad Code in txt like the original in this txt and Import in media again
Mad the code in txt only don't worry about db

2nd OPen the
server_dep\silkroad\textdata\
textquest_speech&name.txt

In first Line in this txt u will found
Code:
[COLOR="Red"]// NPC speech 대사창[/COLOR]
2nd Line u will see 
1	SN_NPC_CH_SMITH_BS								Don't be hesitant to come here to get weapon in Jangan. There are various kinds of weapon other than what I have made myself. Well, if you are available, I am good to have a drink with you, Ah-ha-ha-ha.							



[B]Copy this Line and put it Up this  //NameString 
Like this [/B]
 
[COLOR="Red"]1	SN_NPC_PureShop_BS								Give you NPC CHAT Here :D, Ah-ha-ha-ha.[/COLOR]
 [B]//NameString[/B]


Don't Forget to Change the SN_CH_SMITH_BS " Not original Line " i mean the line u copied
FOr Ur Code SN_NPC_CH_PureShop_BS <<< This my code change for ur code

sorry for my English.

if u didn't understand what i said tell me and i will mad it in Video :blushing:
[RELEASE] NPC Query Add u own NPC in 3 Minutes + ADD New Tab and Group ^^
its so funny <3 :love:
 
Last edited:
Initiate Mage
Joined
Aug 5, 2011
Messages
34
Reaction score
3
Re: [Guide] Add New Custom Npc's

Perfect. This is what i searched and want to know <33

Realy good work.

Best Regards :thumbup1:

EDIT: Hmm how i can change the angel which the NPC is looking oO?
 
Last edited:
Initiate Mage
Joined
Dec 9, 2011
Messages
76
Reaction score
27
Re: [Guide] Add New Custom Npc's

That's my boy :) thank you mate nice sharing
 
Junior Spellweaver
Joined
Oct 18, 2011
Messages
141
Reaction score
7
Re: [Guide] Add New Custom Npc's

can i make char Eur wear Devil Npc?
 
Master Summoner
Joined
Nov 18, 2011
Messages
529
Reaction score
345
Re: [Guide] Add New Custom Npc's

can i make char Eur wear Devil Npc?

i think yes just change this
Code:
[COLOR="Red"]npc\npc\khotanshop_smith.bsr[/COLOR]	xxx	xxx	xxx	xxx	18891
_RefObjCommon Get .bsr of the char and paste here.
 
Initiate Mage
Joined
Jan 26, 2012
Messages
13
Reaction score
0
Re: [Guide] Add New Custom Npc's

Everytime I add or delete a line in refshopgoods, my client crashes at loading, could you help me please?

edit : fixed
 
Last edited:
Master Summoner
Joined
Nov 18, 2011
Messages
529
Reaction score
345
Re: [Guide] Add New Custom Npc's

show urs custum npcs *-* ^^
 
Initiate Mage
Joined
Feb 1, 2012
Messages
2
Reaction score
0
Re: [Guide] Add New Custom Npc's

Really usefull, thanks allot!
 
Initiate Mage
Joined
Jan 7, 2012
Messages
10
Reaction score
0
Re: [Guide] Add New Custom Npc's

Uh the WintialDir, cant find it in _Char
 
Last edited:
Initiate Mage
Joined
Jan 6, 2012
Messages
26
Reaction score
1
Re: [Guide] Add New Custom Npc's

nice one statiic xD yea it's so funny
do u think we can add a Nike shirt to this NPC ! haha :D
 
Junior Spellweaver
Joined
Jan 4, 2010
Messages
193
Reaction score
4
Re: [Guide] Add New Custom Npc's

How to fixx Tab and NPC name ??
 
Last edited:
Skilled Illusionist
Joined
Dec 3, 2011
Messages
318
Reaction score
23
Re: [Guide] Add New Custom Npc's

_RefShop, _RefShopGroup, _RefShopItemGroup, _RefShopTab, _RefShopTabGroup, _RefMappingShopGroup, _RefMappingShopWithTab, _RefShopGoods Copy of the database and paste in the respective .txt.



1 small correction. RefshopItemGroup doesn't exist in the pk2. You need to edit shopgroupdata Also there is no text when I talk to the npc and also the tab is blank. Tips for that?
 
Master Summoner
Joined
Nov 18, 2011
Messages
529
Reaction score
345
Re: [Guide] Add New Custom Npc's

1 small correction. RefshopItemGroup doesn't exist in the pk2. You need to edit shopgroupdata Also there is no text when I talk to the npc and also the tab is blank. Tips for that?

RefshopItemGroup just in database..
 
Back
Top