عرض مشاركة واحدة
قديم 19-02-2017, 12:46 PM   #2

Dev.Klito
عضو لامع



الصورة الرمزية Dev.Klito


• الانـتـسـاب » Dec 2015
• رقـم العـضـويـة » 128556
• المشـــاركـات » 1,336
• الـدولـة » 3mrany
• الـهـوايـة » Design-MySQL-C#-HTML-CSS3-WinServer-More
• اسـم الـسـيـرفـر » Aquarius
• الـجـنـس » Male
• نقـاط التقييم » 47
Dev.Klito صـاعـد

Dev.Klito غير متواجد حالياً



افتراضي رد: بخصوص مسح الـNPC بالأيتيمز بتاعته بكل حاجة تخصه والـDrops



عشان تمسح NPC امسح سطوره من الداتا في
_RefObjCommon
_RefObjChar
_RefShop
_RefShopGroup
_RefShopItemGroup
_RefShopTab
_RefShopTabGroup
_RefMappingShopGroup
_RefMappingShopWithTab
Tab_RefHive
Tab_RefTactics
Tab_RefNest
في الميديا في
characterdata_xxx.txt
refshop.txt
refshpgroup.txt
shopgroupdata.txt
reshoptab.txt
refshoptabgroup.txt
refmappingshopgroup.txt
refmappingshopwithtab.txt
text_objectdata.txt
textquest_speechname.txt
npcchat.txt
textuisystem.txt

عشان تشيل drop من كل ال mobs اعمل دى

كود PHP:
update _RefDropItemAssign SET Service 0 from _RefDropItemAssign p inner join _RefObjCommon a on a.ID p.RefItemID where a.CodeName128 like 'code el item hna' and p.Service 
عشان تحط drop

كود PHP:
USE SRO_VT_SHARD 
GO

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



SET 
@MonsterID 3810 -------- Mob,Unique ID you want Add Drop in
SET 
@DropRatio -------- Item drop rate 1=100% , 0.3 30
SET @ItemID 24165 -------- 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 , @ItemID0011, @DropRatio00000000,
00000000'xxx'


توقيع Dev.Klito :
I don't care who took my place after me because the remains of the wolves are taken only by dogs