[Request]vSRO Server Item mall editing

09/21/2011 23:19 ✗EpicSoul✗#1
hello... is there anyway that you could replace or edit the item mall items with the vsro files... I don't need a big guide i just want a good clue where I could start...
09/22/2011 00:01 naty48#2
database 4 tables and then edit in media.pk2 is that count a clue ?
09/22/2011 00:19 ✗EpicSoul✗#3
Quote:
Originally Posted by naty48 View Post
database 4 tables and then edit in media.pk2 is that count a clue ?
could you give me more info maybe which specified tab ??
09/22/2011 01:23 [Wicked]#4
Code:
In SRO_VT_SHARD:
_RefShopGoods, _RefPackageItem, _RefScrapOfPackageItem and _RefPricePolicyOfItem.
next time try to find it urself.
09/22/2011 10:28 eLO21#5
Quote:
Originally Posted by ✗EpicSoul✗ View Post
could you give me more info maybe which specified tab ??
If you don't want add new stuff that aren't in database, just edit IM in .pk2
09/23/2011 14:20 Hellmakers#6
I would like to have an explanation, if anyone is kind enough to make one ^^

Where in the media.pk2 do i have to add the Mall items
09/23/2011 15:00 s2k#7
Quote:
Originally Posted by Cha0sBG® View Post
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 :)
09/23/2011 15:16 Hellmakers#8
Could u please tell me, where and what i have to edit in the Media.pk2 would be awesome !


I want to add all dresses,hats and attachments to Item Mall
09/23/2011 15:30 s2k#9
In SRO_VT_SHARD:
_RefShopGoods, _RefPackageItem, _RefScrapOfPackageItem and _RefPricePolicyOfItem.

In Media.pk2 (Media\server_dep\silkroad\textdata):
RefShopGoods.txt, RefPackageItem.txt, RefScrapOfPackageItem.txt and RefPricePolicyOfItem.txt
09/23/2011 15:33 Hellmakers#10
Ok, so now i have for example the code for Halloween

PACKAGE_ITEM_MALL_AVATAR_M_HALLOWEEN

but they are not listed in the txt. How do i add them without making the game crash <.<
09/23/2011 15:55 s2k#11
basicly you would do this:

in
_RefPackageItem: add a new row

Service = 1
Country = 15
ID = will be auto assigned
CodeName128 = PACKAGE_ITEM_MALL_AVATAR_M_HALLOWEEN
SaleTag = 0
ExpandTerm = EXPAND_TERM_ALL
NameStrID = SN_ITEM_MALL_AVATAR_M_HALLOWEEN
DescStrID = SN_ITEM_MALL_AVATAR_M_HALLOWEEN_TT_DESC
AssocFileIcon = ddj file in media.pk2

do the same in RefPackageItem.txt

_RefScrapOfPackageItem: add a new row

RefPackageItemCodeName: PACKAGE_ITEM_MALL_AVATAR_M_HALLOWEEN
RefItemCodeName: ITEM_MALL_AVATAR_M_HALLOWEEN
leave Index empty (will be auto filled)

_RefPricePolicyOfItem: add a new row
RefPackageItemCodeName: PACKAGE_ITEM_MALL_AVATAR_M_HALLOWEEN
PaymentDevice: not sure about this look other mall items

_RefShopGoods: add a new row
RefTabCodeName: MALL_AVATAR_DRESS (not sure)
PackageCodeName...
Slot: look for last item and add 1


thats it. of course you have to add everything clientside too.
09/23/2011 16:36 Hellmakers#12
refpackageitem.txt :
1 15 48623 PACKAGE_ITEM_MALL_AVATAR_W_HALLOWEEN 32 EXPAND_TERM_ALL SN_ITEM_MALL_AVATAR_W_HALLOWEEN SN_ITEM_MALL_AVATAR_W_HALLOWEEN_TT_DESC item\Avatar\mall_avatar_w_halloween.ddj -1 XXX -1 xxx -1 xxx -1 xxx

refpricepolicyofitem.txt:
1 15 PACKAGE_ITEM_MALL_AVATAR_W_HALLOWEEN 2 0 130 -1 xxx -1 xxx -1 xxx -1 xxx


refscrapofpackageitem.txt:
1 15 PACKAGE_ITEM_MALL_AVATAR_W_HALLOWEEN ITEM_MALL_AVATAR_W_HALLOWEEN 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 xxx -1 xxx -1 xxx -1 xxx 51671

refshopgoods.txt:
1 15 MALL_AVATAR_DRESS PACKAGE_ITEM_EVENT_AVATAR_W_HALLOWEEN 32 -1 xxx -1 xxx -1 xxx -1 xxx


Like this ???
09/23/2011 16:46 s2k#13
yeah, i think this should work. if everything is right.
09/23/2011 17:01 Hellmakers#14
ok, so and in the database i have to add the same thing ??
09/25/2011 13:06 bibi_fr#15
They still don't works !

Im currently check for add arabia dress clown dress etc etc !
All data are rigth and actived by service 1 but still not on item mall list !

someone have best luck ?