المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Query add item to mob


KingDraGonS
25-09-2012, 11:46 AM
بسم الله الرحمن الرحيم
نتوكل على الله
SET @MonsterID = 24082 -- You can find Monster ID's at RefObjCommon
SET @DropRatio = 0.00004 -- 100% = 1 / 50% = 0.5 / 0% = 0 of course
SET @ItemID = 3851 -- You can find Item ID's at RefObjCommon


INSERT _RefMonster_AssignedItemDrop
(
RefMonsterID,
RefItemID,
DropGroupType,
OptLevel,
DropAmountMin,
DropAmountMax,
DropRatio,
RefMagicOptionID1,
CustomValue1,
RefMagicOptionID2,
CustomValue2,
RefMagicOptionID3,
CustomValue3,
RefMagicOptionID4,
CustomValue4,
RefMagicOptionID5,
CustomValue5,
RefMagicOptionID6,
CustomValue6,
RefMagicOptionID7,
CustomValue7,
RefMagicOptionID8,
CustomValue8,
RefMagicOptionID9,
CustomValue9,
RentCode****
)
VALUES(@MonsterID , @ItemID, 0, 0, 1, 1, @DropRatio, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 , 0 , 'xxx')

غير منقول من مجهودى الشخصى

●♥ Marwan1337 ♥●
25-09-2012, 12:14 PM
Thanks ...

KingDraGonS
25-09-2012, 12:23 PM
np يا باشا

darkman_1
25-09-2012, 02:10 PM
مجهود رائع

darkman_1
25-09-2012, 02:10 PM
بس ازاى احدد الايتم

Tigger
14-05-2014, 09:36 AM
Good jop

™MaR™
04-12-2014, 12:22 AM
about item ID u should but query to Find item id
Anyway Thanks

Hero
04-12-2014, 06:41 PM
انت بتتكلم على الموضوع و هوا من 2012 ساعتها مكنش حد يعرف يعنى اية Query اصلا

mohammedelefret
26-12-2014, 12:35 PM
انا مش فاهم يا ريت توضيح اكتر عشان انا لسا عامل سيرفر جديد و كدا

awful1337
26-12-2014, 10:05 PM
USE SRO_VT_SHARD -----> ( Awful) <-----
GO

DECLARE @MonsterID int
DECLARE @ItemID int
DECLARE @DropRatio real



SET @MonsterID = 3810 <-------- Mob,Unique ID you want Add Drop in
SET @DropRatio = 1 <-------- Drop Ration 1=100% , 0.5 = 50%
SET @ItemID = 24165 <-------- ITEM ID You want Add in Drop


INSERT _RefMonster_AssignedItemDrop
(
RefMonsterID,
RefItemID,
DropGroupType,
OptLevel,
DropAmountMin,
DropAmountMax,
DropRatio,
RefMagicOptionID1,
CustomValue1,
RefMagicOptionID2,
CustomValue2,
RefMagicOptionID3,
CustomValue3,
RefMagicOptionID4,
CustomValue4,
RefMagicOptionID5,
CustomValue5,
RefMagicOptionID6,
CustomValue6,
RefMagicOptionID7,
CustomValue7,
RefMagicOptionID8,
CustomValue8,
RefMagicOptionID9,
CustomValue9,
RentCodeName
)
VALUES(@MonsterID , @ItemID, 0, 0, 1, 1, @DropRatio, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0 , 0 , 'xxx')






to get mob ID
Use Sro_vt_shard select ID from _RefObjCommon where CodeName128 like 'MOB_RM_ROC'




to get item ID

Use SRO_VT_SHARD select ID from _RefObjCommon where CodeName128 like 'ITEM_CH_TBLADE_11_SET_A_RARE'

bybest
14-07-2015, 01:33 AM
Thx :):thumbsup:

bybest
15-07-2015, 12:27 AM
Thx