PDA

View Full Version : Cách Add NPC - Trong Sro - By Edit TS2GVN



TS2GVN
04-04-15, 05:14 PM
Sau đây mình sẽ add một con npc đứng ở thành Jupiter nếu bạn thích nó đứng ở đâu thì lấy tọa độ ở trong _Char chổ bạn đừng là y z x gì đó vv..
1)_RefObjCommon

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 18891
id of _RefObjChar.

1.1)_RefObjChar

18891 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

2000 0 0 0 0 0 0 90 2 NPC ȣź
Code of the region in green Jupiter = 90 Jangan and others is = 1

2.1)Tab_RefTactics

46070 41848 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

36831 2000 46070 22475 837 475,725952 22 -9832 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

1 15 2643 STORE_STATIIC -1 xxx -1 xxx -1 xxx -1 xxx

3.1)_RefShopGroup

1 15 2815 GROUP_STORE_STATIIC NPC_STATIIC -1 xxx -1 xxx -1 xxx -1 xxx
_RefObjCommon CodeName128

3.2)_RefShopItemGroup

1 82 STORE_STATIIC_GROUP1 SN_STORE_STATIIC_GROUP1

3.3)_RefShopTab

1 15 6417 STORE_STATIIC_TAB1 STORE_STATIIC_GROUP1 SN_TAB_WEAPON
_RefShopTabGroup CodeName128, TAB Name

3.4)_RefShopTabGroup

1 15 2832 STORE_STATIIC_GROUP1 SN_STORE_STATIIC_GROUP1

3.5)_RefMappingShopGroup

1 15 GROUP_STORE_STATIIC STORE_STATIIC
_RefShopGroup CodeName128, _RefShop CodeName128.

3.6)_RefMappingShopWithTab

1 15 STORE_STATIIC STORE_STATIIC_GROUP1
_RefShop CodeName128, _RefShopTabGroup CodeName128.

3.7)_RefShopGoods

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

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 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

1 SN_NPC_STATIIC Statiic
NPC Name...

Done u add a custom Npc Restart u Server and Check if Work...
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>

trangham1
02-08-15, 09:38 PM
cho mình yahoo mình hỏi bạn chút được không . thank !

nguyentao301
13-10-15, 12:14 PM
bạn ơi. ban temwer..làm giúp mình được k. mình làm nhiều lần mà k được. hoac ban cho minh YH minh pm. YH cua minh la: nguyenviettien2406