Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Fast Query to Add Drops in Mob , Unique bla bla bla ^^

Joined
Aug 18, 2012
Messages
511
Reaction score
174
USE SRO_VT_SHARD -----> ( MaDenGo ) <-----
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 us this Query
Use Sro_vt_shard select ID from _RefObjCommon where CodeName128 like 'MOB_RM_ROC'
Change MOB_RM_ROC With your Monster or Unique Code


To get ITEM ID us this Query
Use SRO_VT_SHARD select ID from _RefObjCommon where CodeName128 like 'ITEM_CH_TBLADE_11_SET_A_RARE'

Change ITEM_CH_TBLADE_11_SET_A_RARE to Any item you want

Hope Be Helpfull Thanks..
 
Newbie Spellweaver
Joined
Aug 23, 2012
Messages
79
Reaction score
21
Re: [Realease] Fast Query to Add Drops in Mob , Unique bla bla bla ^^

Thanks but already many thread talk about it.
 
Junior Spellweaver
Joined
Mar 5, 2012
Messages
190
Reaction score
14
Re: [Realease] Fast Query to Add Drops in Mob , Unique bla bla bla ^^

Woow very userfull Thanks i'll try it later :D
 
Experienced Elementalist
Joined
Jul 1, 2012
Messages
215
Reaction score
83
Re: [Realease] Fast Query to Add Drops in Mob , Unique bla bla bla ^^

LOLLLLLLLLLLLLLLLLLLLLLLLLLLLLL
HAHAHAH
I BEAT YOUU

SEE MY QUERY

I DONT COPY AND PAST NEWBIE

PHP:
USE/**/[SRO_VT_SHARD]/**/
--Credits to Hean
/*Edited By nukertube*/
GO
DECLARE @Mob VarChar(MAX),@Item VarChar(MAX),@MonsterID iNt,@ItemID iNt,@DropRatio ReaL, @DropAmountMin INT, @DropAmountMax INT
--------------------------------------------------------------------------
SET @Mob			=	'MOB_SD_ANUBIS'/*Monster Code*/
SET @Item			=	'ITEM_EVENT_GLOBAL_CHATTING'/*Item Code*/
SET @DropAmountMin	=	1 /*Drop Min*/
SET @DropAmountMax	=	2 /*Drop Max*/
SET @DropRatio		=	0.5 /*0.5 = '50%' */
--------------------------------------------------------------------------
SET @MonsterID	=	(SELECT ID FROM [dbo].[_RefObjCommon] WHERE CodeName128 = @Mob)/**/
SET @ItemID		=	(SELECT ID FROM [dbo].[_RefObjCommon] WHERE CodeName128 = @Item)/**/
INSERT [dbo].[_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')/**/
 
Joined
Aug 18, 2012
Messages
511
Reaction score
174
Re: [Realease] Fast Query to Add Drops in Mob , Unique bla bla bla ^^

LOLLLLLLLLLLLLLLLLLLLLLLLLLLLLL
HAHAHAH
I BEAT YOUU

SEE MY QUERY

I DONT COPY AND PAST NEWBIE

PHP:
USE/**/[SRO_VT_SHARD]/**/
--Credits to Hean
/*Edited By nukertube*/
GO
DECLARE @Mob VarChar(MAX),@Item VarChar(MAX),@MonsterID iNt,@ItemID iNt,@DropRatio ReaL, @DropAmountMin INT, @DropAmountMax INT
--------------------------------------------------------------------------
SET @Mob			=	'MOB_SD_ANUBIS'/*Monster Code*/
SET @Item			=	'ITEM_EVENT_GLOBAL_CHATTING'/*Item Code*/
SET @DropAmountMin	=	1 /*Drop Min*/
SET @DropAmountMax	=	2 /*Drop Max*/
SET @DropRatio		=	0.5 /*0.5 = '50%' */
--------------------------------------------------------------------------
SET @MonsterID	=	(SELECT ID FROM [dbo].[_RefObjCommon] WHERE CodeName128 = @Mob)/**/
SET @ItemID		=	(SELECT ID FROM [dbo].[_RefObjCommon] WHERE CodeName128 = @Item)/**/
INSERT [dbo].[_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')/**/

hehe so you say i copy it from you :) awesome xD
Check My Querry ^^
Have Fun All Zoners -.-
 
Experienced Elementalist
Joined
Jul 1, 2012
Messages
215
Reaction score
83
Re: [Realease] Fast Query to Add Drops in Mob , Unique bla bla bla ^^

My Query is Complete -.-
sorry copier
 

F50

Newbie Spellweaver
Joined
Feb 8, 2012
Messages
24
Reaction score
1
Re: [Realease] Fast Query to Add Drops in Mob , Unique bla bla bla ^^

working ?
 
Junior Spellweaver
Joined
Sep 13, 2011
Messages
100
Reaction score
110
Re: [Realease] Fast Query to Add Drops in Mob , Unique bla bla bla ^^

But you need to add the Data(Durability) from RefObjItem Table ;) This is importand for some Items.
 
Initiate Mage
Joined
Jul 12, 2012
Messages
1
Reaction score
0
Re: [Realease] Fast Query to Add Drops in Mob , Unique bla bla bla ^^

ok how i can Delete an item like a weapon ??
 
Skilled Illusionist
Joined
Sep 7, 2012
Messages
390
Reaction score
35
Re: [Realease] Fast Query to Add Drops in Mob , Unique bla bla bla ^^

lol this query not work although it added to table but nothing drop drop mobs G.L
 
Banned
Banned
Joined
Nov 2, 2011
Messages
158
Reaction score
33
Re: [Realease] Fast Query to Add Drops in Mob , Unique bla bla bla ^^

Grr
arabianfox already made this one stop spam theards
 
Back
Top