05-02-2015, 07:28 PM
|
#1
|
|
• الانـتـسـاب » Dec 2012
|
• رقـم العـضـويـة » 108516
|
• المشـــاركـات » 42
|
• الـدولـة »
|
• الـهـوايـة »
|
• اسـم الـسـيـرفـر »
|
• الـجـنـس »
|
• نقـاط التقييم » 10
|
|
|
لو سمحتو حل مشكلة تتعلق بال-NPC
السلام عليكم ورحمة الله
أنا لسة مبتدئ و جبت ميديا و كلينت كلين و أول حاجة أفكر اعملها هي اني أحط NPC
و مشيت على الموضوع دة عفوا ,,, لايمكنك مشاهده الروابط لانك غير مسجل لدينا [ للتسجيل اضغط هنا ]
و خلصت لغايت ال-_RefShopGoods
و جربت أفتح اللعبة بقرب من مكان ال-NPC تروح اللعبة قافلة و دة عرفت إنو من الميديا عشان محتتش ال-npc فيها
دخلت في الكلام دة
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...
إلي أنا عملتو اني غيرت كلمة STATIIC ل-Donations عشان سمعت إن ده إسم ال-NPC
و دة إلي أنا كتبتو في ميديا في الأماكن الصح المفروض [/CENTER]
اقتباس:
CENTER] 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
2)_RefObjCommon
1 41798 NPC_Donations xxx xxx SN_NPC_Donations 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\chinawoman_Noblegirl_event.bsr xxx xxx xxx xxx 18891
2)Tab_RefHive
Code:
2000 0 0 0 0 0 0 1 2 NPC ȣź
Code of the region in green Jupiter = 90 Jangan and others is = 1
2.1)Tab_RefTactics
Code:
46070 41798 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 1574 43870 25000 1007 -32.61 977 -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
Code:
1 15 2643 STORE_Donations -1 xxx -1 xxx -1 xxx -1 xxx
3.1)_RefShopGroup
Code:
1 15 2815 GROUP_STORE_Donations NPC_Donations -1 xxx -1 xxx -1 xxx -1 xxx
_RefObjCommon CodeName128
3.2)_RefShopItemGroup
Code:
1 82 STORE_Donations_GROUP1 SN_STORE_Donations_GROUP1
3.3)_RefShopTab
Code:
1 15 6417 STORE_Donations_TAB1 STORE_Donations_GROUP1 SN_TAB_WEAPON
_RefShopTabGroup CodeName128, TAB Name
3.4)_RefShopTabGroup
Code:
1 15 2832 STORE_Donations_GROUP1 SN_STORE_Donations_GROUP1
3.5)_RefMappingShopGroup
Code:
1 15 GROUP_STORE_Donations STORE_Donations
_RefShopGroup CodeName128, _RefShop CodeName128.
3.6)_RefMappingShopWithTab
Code:
1 15 STORE_Donations STORE_Donations_GROUP1
_RefShop CodeName128, _RefShopTabGroup CodeName128.
3.7)_RefShopGoods
Code:
1 15 STORE_Donations_TAB1 PACKAGE_ITEM_CH_SWORD_01_A 0 -1 xxx -1 xxx -1 xxx -1 xxx
|
و كمان أنا ازاي أخلي الناس تعمل update و اه الحاجات إلي المفروض أتعلمها الأول أول ما أبدأ أتعلم SQL ، أنا عايز أفتح سرفير إن شاء الله بس على أخر السنة ف-لسة قدامي وقت كتير
بس عايز أبدأ على نضافة عشان الموضوع ميبظش مني و ازهق
و ازاي أعمل Backup لل-database
|
|
|