Quote:
Originally Posted by Cha0sBG®
Code:
In SRO_VT_SHARD:
_RefShopGoods, _RefPackageItem, _RefScrapOfPackageItem and _RefPricePolicyOfItem.
|
you edit this files in database (add, edit items) then you have to export those tables in txt format (tab delimiter) (Media\server_dep\silkroad\textdata). but only export those with service 1. else the client will crash.
here is what i got so far:
(still not complete, but the importent stuff is described)
Quote:
NPC - Shops / Items / Item Mall
_RefAccessPermissionOfShop //??
_RefConditionToBuyScrapItem //??
_RefConditionToSellPackageItem //??
_RefConditionToSellScrapItem //??
_RefRewardPolicyToBuyScrapItem //??
_RefRewardPolicyToSellPackageItem //??
_RefRewardPolicyToSellScrapItem //??
_RefSetItemGroup //??
_RefTreatItemOfShop //??
_RefObjItem //All known Items
_RefObjCommon //All known Items
_RefMappingShopGroup //importent for NPC Menu
_RefMappingShopWithTab //importent for NPC Menu
_RefShop //NPC Shop Management i.e.: (Hotan Smith)
_RefShopGroup //NPC Shop Groups i.e.: (EU Weapons and CH Weapons selection Menus, those are 1 Group. Also NPC Codename here: NPC_KT_SMITH = KT=HOTAN)
_RefShopItemGroup //NPC Shop Menu Names in Media.pk2? (SN_ Codename)
_RefShopItemStockPeriod //Item Mall sell period
_RefShopObject //Locale and global CountryID
_RefShopTab //NPC Shop Tab define (Weapons, Shield, Ammo) and Codename for Media.pk2 Names
_RefShopTabGroup //NPC Shop Menu define (Chinese Weapons or European Weapons)
//ONLY THESE ARE NEEDED FOR ADDING EXISTING ITEMS TO SHOP
//ALSO: make sure the clientside export of this tables only have services with 1 (else client will crash) (Export only service 1 items, ignore other)
_RefPackageItem //NPC Shop Items define (default icon, default name and description (point to media.pk2))
_RefPricePolicyOfItem //Price of Package Items
_RefScrapOfPackageItem //NPC Shop Item-Pointer: Package points to Real Items
_RefShopGoods //NPC Shop Items i.e.: (ItemType: Bow, TabGroup: Weapons, Shield, Ammo etc. and Slot)
|
[Only registered and activated users can see links. Click Here To Register...]
same for item mall items :)