الموضوع: عاوز طلب واحد
عرض مشاركة واحدة
قديم 21-03-2013, 08:21 PM   #4

2HiT
عضو مجتهد





• الانـتـسـاب » Jun 2011
• رقـم العـضـويـة » 88213
• المشـــاركـات » 195
• الـدولـة »
• الـهـوايـة »
• اسـم الـسـيـرفـر »
• الـجـنـس »
• نقـاط التقييم » 10
2HiT صـاعـد

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 دا أكبر عدد ممكن يقع من الايتم.
عملتها و مافيش حاجة بتنزل من اليونيكس اية الحل ؟




رد مع اقتباس