مشاهدة النسخة كاملة : New group in Item Mall
™XerK™
15-09-2014, 05:36 AM
انا عاوز اعمل new group في الايتم mall انا عملت في RefShop و RefShop Group , RefShopGroubItem , RefShopTAP , RefMinTap , Group
بردو متعملش
Dangers SrO
15-09-2014, 01:21 PM
New Tab in Npc
DECLARE @CHARNAME VARCHAR (30)
DECLARE @NPCNAME VARCHAR (30)
DECLARE @ADDNEW VARCHAR (30)
DECLARE @TABNAME VARCHAR (30)
DECLARE @TABNUMBER VARCHAR (30)
DECLARE @TABNEW VARCHAR (30)
DECLARE @GROUPNUMBER VARCHAR (30)
DECLARE @GROUPNEW VARCHAR (30)
--
SET @ADDNEW = 'TAB' -- 'NPC' to add a new npc, 'TAB' for add a new Tab, 'GROUP' for add a new group!
SET @CHARNAME = '' --U Char Name
SET @NPCNAME = '' --U NPC NAME
SET @GROUPNUMBER = 1
SET @TABNUMBER = 2
SET @TABNAME = 'Euro'
--
IF @TABNUMBER = 2 SET @TABNEW = '_TAB2'
IF @TABNUMBER = 3 SET @TABNEW = '_TAB3'
IF @TABNUMBER = 4 SET @TABNEW = '_TAB4'
IF @GROUPNUMBER = 1 SET @GROUPNEW = '_GROUP1'
IF @GROUPNUMBER = 2 SET @GROUPNEW = '_GROUP2'
IF @GROUPNUMBER = 3 SET @GROUPNEW = '_GROUP3'
IF @GROUPNUMBER = 4 SET @GROUPNEW = '_GROUP4'
IF @GROUPNUMBER = 5 SET @GROUPNEW = '_GROUP5'
IF @GROUPNUMBER = 6 SET @GROUPNEW = '_GROUP6'
IF @ADDNEW = 'TAB' BEGIN
SET IDENTITY_INSERT _RefShopTab ON
DECLARE @ShopTabID VARCHAR (30) SET @ShopTabID = (SELECT MAX (ID) FROM _RefShopTab)+1
INSERT INTO _RefShopTab (Service,Country,ID,CodeName128,RefTabGroupCodeNam e,StrID128_Tab)
VALUES (1,15,@ShopTabID,'STORE_'+@NPCNAME+@TABNEW,'STORE_ '+@NPCNAME+@GROUPNEW,'SN_'+@TABNAME)
SET IDENTITY_INSERT _RefShopTab OFF
PRINT ''
PRINT 'New Tab added Sucessfully add this new line to refshoptab.txt @ server_dep\silkroad\textdata'
PRINT '1 15 '+@SHOPTABID+' STORE_'+@NPCNAME+@TABNEW+' STORE_'+@NPCNAME+@GROUPNEW+' SN_TAB_'+@TABNAME
END
™XerK™
15-09-2014, 04:48 PM
بوص انا عاوز اعمل Group زي premium كده او زي الافتار بس انا مش عاوز اعمل Tap انا عايز اعمل جروب في ال Item mall زي ال pet we premium we avatar
انا
دفتوا في
RefShop
RefShopGroup
RefShopTapGroup
RefMinShopTap
RefMinShopGroup
RefShopGroupItem
دفت الحجات كلها في ال media وملقتشي حاجه يريت حل
انا دلوقتي عامل جروب وتاب زي NPC العادي
™XerK™
16-09-2014, 01:20 AM
Hero انا وضحت علي فكره وانت مش معبرني
لو مش عارف اولي علشان انا كول شويه بفتح الصفحة
™Dev Microsoft™
16-09-2014, 03:44 AM
ده هايساعدك :)
_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)
و جرب ده برضو In SRO_VT_SHARD: _RefShopGoods, _RefPackageItem, _RefScrapOfPackageItem and _RefPricePolicyOfItem.
™XerK™
16-09-2014, 06:04 PM
انا دفت ده
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)
™XerK™
16-09-2014, 06:05 PM
علي ما ازن ان ده ملهوش لزمه علشان الجروبات التانية مش موجوده
_RefAccessPermissionOfShop //??
_RefConditionToBuyScrapItem //??
_RefConditionToSellPackageItem //??
_RefConditionToSellScrapItem //??
_RefRewardPolicyToBuyScrapItem //??
_RefRewardPolicyToSellPackageItem //??
_RefRewardPolicyToSellScrapItem //??
_RefSetItemGroup //??
_RefTreatItemOfShop //??
™XerK™
16-09-2014, 06:06 PM
وده بيديف الايتم في ال tap الفي Group
_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)
™XerK™
16-09-2014, 06:07 PM
بقولك ايه خلاص انا هضيف Tap في ال Alchemy وخلاص
™XerK™
16-09-2014, 06:07 PM
أقفل الموضوع
komnda
16-09-2014, 07:56 PM
تمام يغلق @@
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions, Inc