21-03-2013 08:21 PM |
2HiT |
اقتباس:
المشاركة الأصلية كتبت بواسطة midget1337
أول حاجة تجيب الـ id بتاع الـ free silk و بتاع الـ unique بالكويري دا :
كود:
use sro_vt_shard select id from _refobjcommon where codename128 like 'mob_sd_anubis'
بعدين تعمل الكويري دا :
كود:
use sro_vt_shard_init -----> by-flowushy <----- ------> updated by luuk <------
go
declare @monsterid int
declare @itemid int
declare @dropratio real
declare @dropamountmin int
declare @dropamountmax int
set @monsterid = 24062 -------- mob,unique id you want add drop in
set @dropratio = 1 -------- item drop rate 1=100% , 0.3 = 30%
set @itemid = 24670 -------- item id you want add in drops
set @dropamountmin = 5 -------- amount of this item to drop min
set @dropamountmax = 8 -------- amount of this item to drop max
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')
اللي بالأزرقدا الـ id بتاع الـmonster
اللي بالأحمر دا الـ id بتاع الايتم
dropamountmin دا أقل عدد يقع من الايتم دي
dropamountmax دا أكبر عدد ممكن يقع من الايتم.
|
عملتها و مافيش حاجة بتنزل من اليونيكس اية الحل ؟
|
21-03-2013 01:41 PM |
2HiT |
اقتباس:
المشاركة الأصلية كتبت بواسطة Midget1337
أول حاجة تجيب الـ ID بتاع الـ Free silk و بتاع الـ Unique بالكويري دا :
كود:
Use SRO_VT_SHARD select ID from _RefObjCommon where CodeName128 like 'MOB_SD_ANUBIS'
بعدين تعمل الكويري دا :
كود:
USE SRO_VT_SHARD_INIT -----> By-Flowushy <----- ------> Updated by Luuk <------
GO
DECLARE @MonsterID int
DECLARE @ItemID int
DECLARE @DropRatio real
DECLARE @DropAmountMin int
DECLARE @DropAmountMax int
SET @MonsterID = 24062 -------- Mob,Unique ID you want Add Drop in
SET @DropRatio = 1 -------- Item drop rate 1=100% , 0.3 = 30%
SET @ItemID = 24670 -------- ITEM ID You want Add in Drops
SET @DropAmountMin = 5 -------- Amount of this item to Drop min
SET @DropAmountMax = 8 -------- Amount of this item to Drop max
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')
اللي بالأزرقدا الـ ID بتاع الـMonster
اللي بالأحمر دا الـ ID بتاع الايتم
DropAmountMin دا أقل عدد يقع من الايتم دي
DropAmountMax دا أكبر عدد ممكن يقع من الايتم.
|
THx
|
21-03-2013 09:56 AM |
Midget1337 |
أول حاجة تجيب الـ ID بتاع الـ Free silk و بتاع الـ Unique بالكويري دا :
كود:
Use SRO_VT_SHARD select ID from _RefObjCommon where CodeName128 like 'MOB_SD_ANUBIS'
بعدين تعمل الكويري دا :
كود:
USE SRO_VT_SHARD_INIT -----> By-Flowushy <----- ------> Updated by Luuk <------
GO
DECLARE @MonsterID int
DECLARE @ItemID int
DECLARE @DropRatio real
DECLARE @DropAmountMin int
DECLARE @DropAmountMax int
SET @MonsterID = 24062 -------- Mob,Unique ID you want Add Drop in
SET @DropRatio = 1 -------- Item drop rate 1=100% , 0.3 = 30%
SET @ItemID = 24670 -------- ITEM ID You want Add in Drops
SET @DropAmountMin = 5 -------- Amount of this item to Drop min
SET @DropAmountMax = 8 -------- Amount of this item to Drop max
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')
اللي بالأزرقدا الـ ID بتاع الـMonster
اللي بالأحمر دا الـ ID بتاع الايتم
DropAmountMin دا أقل عدد يقع من الايتم دي
DropAmountMax دا أكبر عدد ممكن يقع من الايتم.
|
21-03-2013 06:28 AM |
2HiT |
عاوز طلب واحد
عاوز اخلى كل اليونيكس فى الجيم تنزل free silk و عاوز احدد ينزل كام واحد لو سمحتوا اى مساعدة :P
|