First i like to Say thanks to Mr ( FallDown ) he helped a lot with his Release (http://forum.ragezone.com/f722/relea...rs-npc-796990/)
i tried them but i fined Some Errors to my files to i got the solution for them and here it is
Notes :
1- before you edit in any thing you have to make Some backup from your Database and your media.
2- when you edit in your media .dont make Spaces between your DATA . just hit ( tab ) from your Key board .. dont hit space
Adding Wolf to NPC ( we assume that your media have the correct .ddj file )
first we need to update your Data bass to make it Working .. we may use whose Quires ( from FallDown )
PHP Code:
Update _RefPackageItem
SET Service = 1
WHERE CodeName128 = 'PACKAGE_ITEM_COS_P_FLUTE'
Update _RefPricePolicyOfItem
SET Service = 1
WHERE RefPackageItemCodeName = 'PACKAGE_ITEM_COS_P_FLUTE'
Update _RefScrapOfPackageItem
SET Service = 1
WHERE RefPackageItemCodeName = 'PACKAGE_ITEM_COS_P_FLUTE'
Update _RefShopGoods
SET Service = 1
WHERE RefPackageItemCodeName = 'PACKAGE_ITEM_COS_P_FLUTE'
that is with SQL
second we need to add the correct code to your media
from refpackageitem.txt :
PHP Code:
1 15 24822 PACKAGE_ITEM_COS_P_FLUTE 0 EXPAND_TERM_ALL SN_ITEM_COS_P_FLUTE SN_ITEM_COS_P_FLUTE_TT_DESC cos\item_cos_p_flute.ddj -1 xxx -1 xxx -1 xxx -1 xxx
from RefPricePolicyOfItem.txt
PHP Code:
1 15 PACKAGE_ITEM_COS_P_FLUTE 1 0 2000000 0 xxx 0 xxx 0 xxx 0 xxx
from RefScrapOfPackageItem.txt
PHP Code:
1 15 PACKAGE_ITEM_COS_P_FLUTE ITEM_COS_P_FLUTE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 xxx -1 xxx -1 xxx -1 xxx 29952
from Refshopgoods.txt
PHP Code:
1 15 STORE_CA_STABLE_TAB3 PACKAGE_ITEM_COS_P_FLUTE 0 -1 xxx -1 xxx -1 xxx -1 xxx
1 15 STORE_CH_STABLE_TAB3 PACKAGE_ITEM_COS_P_FLUTE 0 -1 xxx -1 xxx -1 xxx -1 xxx
1 15 STORE_EU_STABLE_TAB3 PACKAGE_ITEM_COS_P_FLUTE 0 -1 xxx -1 xxx -1 xxx -1 xxx
1 15 STORE_KT_STABLE_TAB3 PACKAGE_ITEM_COS_P_FLUTE 0 -1 xxx -1 xxx -1 xxx -1 xxx
1 15 STORE_WC_STABLE_TAB3 PACKAGE_ITEM_COS_P_FLUTE 0 -1 xxx -1 xxx -1 xxx -1 xxx
this Txt files from my working media so plzz dont say it dose not Working . if it is that meas you did some thing Wrong.
Adding Vigor
from your Data base you may inter this data bu your hand into your Data base
from table name _RefPackageItem inter this
PHP Code:
1 15 84038 PACKAGE_ITEM_ETC_ALL_SPOTION_01 0 EXPAND_TERM_ALL SN_ITEM_ETC_ALL_SPOTION_01 SN_ITEM_ETC_ALL_SPOTION_01_TT_DESC item\etc\all_spotion_01.ddj -1 xxx -1 xxx -1 xxx -1 xxx
from table name _RefPricePolicyOfItem
PHP Code:
1 15 PACKAGE_ITEM_ETC_ALL_SPOTION_01 1 0 5000 0 xxx 0 xxx 0 xxx 0 xxx
from table name _RefScrapOfPackageItem
PHP Code:
1 15 PACKAGE_ITEM_ETC_ALL_SPOTION_01 ITEM_ETC_ALL_SPOTION_01 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 xxx -1 xxx -1 xxx -1 xxx 86685
from table name _RefShopGoods
PHP Code:
1 15 STORE_CA_POTION_TAB1 PACKAGE_ITEM_ETC_ALL_SPOTION_01 25 -1 xxx -1 xxx -1 xxx -1 xxx
1 15 STORE_CH_POTION_TAB1 PACKAGE_ITEM_ETC_ALL_SPOTION_01 27 -1 xxx -1 xxx -1 xxx -1 xxx
1 15 STORE_EU_POTION_TAB1 PACKAGE_ITEM_ETC_ALL_SPOTION_01 27 -1 xxx -1 xxx -1 xxx -1 xxx
1 15 STORE_KT_POTION_TAB1 PACKAGE_ITEM_ETC_ALL_SPOTION_01 23 -1 xxx -1 xxx -1 xxx -1 xxx
1 15 STORE_WC_POTION_TAB1 PACKAGE_ITEM_ETC_ALL_SPOTION_01 26 -1 xxx -1 xxx -1 xxx -1 xxx
now with Media PK
from RefPackageItem.txt
PHP Code:
1 15 84037 PACKAGE_ITEM_ETC_ALL_SPOTION_01 0 EXPAND_TERM_ALL SN_ITEM_ETC_ALL_SPOTION_01 SN_ITEM_ETC_ALL_SPOTION_01_TT_DESC item\etc\all_spotion_01.ddj -1 xxx -1 xxx -1 xxx -1 xxx
from RefPricePolicyOfItem.txt
PHP Code:
1 15 PACKAGE_ITEM_ETC_ALL_SPOTION_01 1 0 5000 0 xxx -1 xxx -1 xxx -1 xxx
from RefScrapOfPackageItem.txt
PHP Code:
1 15 PACKAGE_ITEM_ETC_ALL_SPOTION_01 ITEM_ETC_ALL_SPOTION_01 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 xxx -1 xxx -1 xxx -1 xxx 86767
form Refshopgoods.txt
PHP Code:
1 15 STORE_WC_POTION_TAB1 PACKAGE_ITEM_ETC_ALL_SPOTION_01 26 -1 xxx -1 xxx -1 xxx -1 xxx
1 15 STORE_KT_POTION_TAB1 PACKAGE_ITEM_ETC_ALL_SPOTION_01 23 -1 xxx -1 xxx -1 xxx -1 xxx
1 15 STORE_EU_POTION_TAB1 PACKAGE_ITEM_ETC_ALL_SPOTION_01 27 -1 xxx -1 xxx -1 xxx -1 xxx
1 15 STORE_CH_POTION_TAB1 PACKAGE_ITEM_ETC_ALL_SPOTION_01 27 -1 xxx -1 xxx -1 xxx -1 xxx
1 15 STORE_CA_POTION_TAB1 PACKAGE_ITEM_ETC_ALL_SPOTION_01 25 -1 xxx -1 xxx -1 xxx -1 xxx
now it is Done
Note:
read well guyz and make it Write with out any spacing or any wrong letters
ddj File location in worng because PHP Code removes \ So Change it to item\etc\all_spotion_01.ddj . this is must be Done
in this Release i solved the problem when buying 50 unite Vigor you got DC or the game got Crashed
if you got any Problems plss say it :))
good luck guyz :D
((thanks so much RageZone you helped me a lot :D
thanks mr Mohamed Mossa ))