مشاهدة النسخة كاملة : عاوز كيور يحدد نسبة الحاجات اللي ينزلها الUinq
MR.KaBO
29-06-2015, 01:42 PM
انا كنت عاوز كيور يحدد نسبت الحاجات اللي ينزلها الوحش ازاي انا عاوزه ينزل gold coin و silver coin بس ممكن تقولولي ازاي
Msh Mohm
29-06-2015, 02:03 PM
استخدم ال Query ده
DECLARE @MonsterID int
DECLARE @ItemID int
DECLARE @DropRatio real
SET @MonsterID = 38212 -------- Mob,Unique ID you want Add Drop in
SET @DropRatio = 1 -------- Item drop rate 1=100% , 0.3 = 30%
SET @ItemID = 25834 -------- ITEM ID You want Add in Drops
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')
اول واحده اللى هى monster id هتحط ال id بتاع ال unique
تانى واحده نسبه ال drop .. و هى مثلاً 0.1 = 10% >> 0.5 = 50%
تالت حاجه item id شوف بقى عايز ال drop يبقى ايه و حط الكود بتاعه
MR.KaBO
29-06-2015, 11:37 PM
ممكن توضح انا عاوز الكود كامل يكون متعدل
علشان اعرف اغير الحاجات بنفسي مش يكون بدون تعديل طيب انا مش فاهم حاجة :hmmsmiley02:
وعاوز اعرف كمان يتحط فين بظبط
MR.KaBO
29-06-2015, 11:48 PM
USE SRO_VT_SHARD
GO
DECLARE @MonsterID int
DECLARE @ItemID int
DECLARE @DropRatio real
SET @MonsterID = 38212 -------- Mob,Unique ID you want Add Drop in
SET @DropRatio = 1 -------- Item drop rate 1=100% , 0.3 = 30%
SET @ItemID = 25834 -------- ITEM ID You want Add in Drops
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')
MR.KaBO
29-06-2015, 11:50 PM
USE SRO_VT_SHARD
GO
DECLARE @MonsterID int
DECLARE @ItemID int
DECLARE @DropRatio real
SET @MonsterID = 99999 -------- Mob,Unique ID you want Add Drop in
SET @DropRatio = 1 -------- Item drop rate 1=100% , 0.3 = 30%
SET @ItemID = 99999 -------- ITEM ID You want Add in Drops
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')
بالنسبة لل 99999 و رقم 1
رقم 1 ده الكمية بتاعت الجولد كوين ولا رقم اية ولاي دي اجبها منين بظبط
Hamza FiGo
30-06-2015, 05:48 AM
حضرتك لو تعبت شوية وقريت هتعرف. الزميل مشكور مديلك الكيوري وشرحة جنبة
SET @MonsterID = 99999 -------- Mob,Unique ID you want Add Drop in
SET @DropRatio = 1 -------- Item drop rate 1=100% , 0.3 = 30%
SET @ItemID = 99999 -------- ITEM ID You want Add in Drops
MonsterID = 99999 -------- Mob,Unique ID you want Add Drop in
DropRatio = 1 -------- Item drop rate 1=100% , 0.3 = 30%
ItemID = 99999 -------- ITEM ID You want Add in Drops
صعبة ؟
Hamza FiGo
30-06-2015, 05:48 AM
حضرتك لو تعبت شوية وقريت هتعرف. الزميل مشكور مديلك الكيوري وشرحة جنبة
SET @MonsterID = 99999 -------- Mob,Unique ID you want Add Drop in
SET @DropRatio = 1 -------- Item drop rate 1=100% , 0.3 = 30%
SET @ItemID = 99999 -------- ITEM ID You want Add in Drops
MonsterID = 99999 -------- Mob,Unique ID you want Add Drop in
DropRatio = 1 -------- Item drop rate 1=100% , 0.3 = 30%
ItemID = 99999 -------- ITEM ID You want Add in Drops
صعبة ؟
MR.KaBO
30-06-2015, 06:42 AM
انا قصدي علي الكمية عاوز اعرف ازاي اعمل تحديد للكمية :brucelee: في اي رقم من دول
medo159357
30-06-2015, 10:58 AM
USE SRO_VT_SHARD
GO
DECLARE @MonsterID int
DECLARE @ItemID int
DECLARE @DropRatio real
DECLARE @DropAmountMin int
DECLARE @DropAmountMax int
SET @MonsterID = 46755
SET @DropRatio = 1
SET @ItemID = 24670
SET @DropAmountMin = 100
SET @DropAmountMax = 150
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, @DropAmountMin, @DropAmountMax, @DropRatio, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0 , 0 , 'xxx')
SET @MONSTERID =دا تكتب فيه كود اليونك الي انت عايزه ينزل حجات
SET @DROPRATIO = دي تكتل فيها نسبه نزول الحجاه يعني لو عملتها 1% كل اما يموت تنزل منو اليتمز الي انت عايزه لو .5% كل اما تموتو مرتين ينزل منو
SET @ITEMID = دي تكتب فيها كود الايتم الي انت عايزها تنزل من اليونك
SET @DROPAMOUNTMIN = دي تحدد بيها ف اقل وقت ينزل من الايتم دا كام واحده
SET @DROPAMOUNTMAX = دي تحدد بيها ف اكتر وقت ينزل من الايتم دا كام واحده
يعني لو عملتها مثلا زي الي عندك 100 ~ 150 هينزل ف الحدود دي
Msh Mohm
30-06-2015, 12:37 PM
USE SRO_VT_SHARD
GO
DECLARE @MonsterID int
DECLARE @ItemID int
DECLARE @DropRatio real
SET @MonsterID = 99999 -------- Mob,Unique ID you want Add Drop in
SET @DropRatio = 1 -------- Item drop rate 1=100% , 0.3 = 30%
SET @ItemID = 99999 -------- ITEM ID You want Add in Drops
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')
بالنسبة لل 99999 و رقم 1
رقم 1 ده الكمية بتاعت الجولد كوين ولا رقم اية ولاي دي اجبها منين بظبط
بص .. انا هشرحلك لأن انا ياما ناس ساعدتنى هنا ف الموقع بدون ذكر اسماء.
اول واحده : SET @MonsterID = 38212 -------- Mob,Unique ID you want Add Drop in
هتكتب مكان الكود اللى هو 38212 هتكتب مكانه كود ال unique اللى عايز تحطله drop
تانى واحده : SET @DropRatio = 1 -------- Item drop rate 1=100% , 0.3 = 30%
مكان رقم 1 دى هتشوف عايز ال drop يبقى نسبته ايه و مثال ..
لو كتبت 1 يبقى كده 100% لو عملتها مثلاً 0.5 يبقى كده النسبه هتبقى 50%
تالت حاجه : SET @ItemID = 25834 -------- ITEM ID You want Add in Drops
مكان رقم 25834 هتحط كود ال item او ال coin اللى عايز تحطه يبقى drop من اليونيك
و لو مثلاً عايز ال drop يبقى بدال 1 coin بس عايزه يبقى 2 coin او 3
هتاخد نفس ال query بعد ما تعدل عليه و تحطه تانى و تعمل Execute كده انت عملته مرتين
يبقى الموب او اليونيك هيوقع 2 coin لأنك عملت ال query مرتين
Hamza FiGo
01-07-2015, 02:24 AM
##
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions, Inc