Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server > SRO PServer Guides & Releases
You last visited: Today at 01:25

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release]Simple Query How to add Drops in Mobs,Uniques

Discussion on [Release]Simple Query How to add Drops in Mobs,Uniques within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1
Trade Restricted
 
Tommy.'s Avatar
 
elite*gold: 86
Join Date: Jan 2012
Posts: 335
Received Thanks: 133
Post [Release]Simple Query How to add Drops in Mobs,Uniques

Hello guys iam here to show you how to add new item to drops with Vsro Server files
Use This Query
PHP Code:
 USE SRO_VT_SHARD -----> By-Flowushy <-----
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'
To find item ID in RefObjCommon
Use this Query
[php] Use SRO_VT_SHARD select ID from _RefObjCommon where CodeName128 like 'ITEM_CH_SWORD_10_C_RARE'
To find Monster ID in Ref Obj Common
Use This Query
PHP Code:
 Use SRO_VT_SHARD select ID from _RefObjCommon where CodeName128 like 'MOB_SD_ANUBIS' 
Tommy. is offline  
Thanks
17 Users
Old 09/08/2012, 00:51   #2
 
elite*gold: 0
Join Date: May 2008
Posts: 21
Received Thanks: 0
fix

Msg 102, Level 15, State 1, Line 8
Incorrect syntax near '<'.
Msg 102, Level 15, State 1, Line 9
Incorrect syntax near '<'.
Msg 102, Level 15, State 1, Line 10
Incorrect syntax near '<'.
ahmedelbeah is offline  
Old 12/21/2012, 12:20   #3
 
luuk's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 138
Received Thanks: 14
nice query ty =)
luuk is offline  
Old 12/22/2012, 15:30   #4
 
ahmed4ever2u's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 1,510
Received Thanks: 886
atleast say who made it ?!
ahmed4ever2u is offline  
Old 12/23/2012, 07:10   #5
 
luuk's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 138
Received Thanks: 14
This query is fully workin =)

its really very nice..

@ ahmed: simply delete < before the -------

then it willw ork =)
luuk is offline  
Old 12/26/2012, 21:35   #6
 
elite*gold: 0
Join Date: Apr 2010
Posts: 223
Received Thanks: 6
Some1 know how to remove Drop ?
terra006 is offline  
Old 01/01/2013, 13:58   #7
 
bestprem's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 353
Received Thanks: 199
Nice keep it up
bestprem is offline  
Old 01/03/2013, 15:08   #8
 
luuk's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 138
Received Thanks: 14
Very very nice query.
Checkout, i needed to edit the amount, too.
So i updated it a little bit =)
Directly removed < from description for retards who cant read posts =)

I don`t give for sure that is working by all ppl.
In SQL 2005/2008r2 it is working for sure =)

PHP Code:
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 , @ItemID00, @DropAmountMin, @DropAmountMax, @DropRatio00000000
00000000'xxx'
I ONLY EDITED CREDITS GO TO >>>> Flowushy <<<<
luuk is offline  
Thanks
3 Users
Old 01/03/2013, 16:02   #9

 
InZiDeR's Avatar
 
elite*gold: 64
Join Date: Nov 2007
Posts: 1,167
Received Thanks: 1,005
Quote:
Originally Posted by Flowushy View Post
Hello guys iam here to show you how to add new item to drops with Vsro Server files
Use This Query
PHP Code:
 USE SRO_VT_SHARD -----> By-Flowushy <-----
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'
To find item ID in RefObjCommon
Use this Query
[php] Use SRO_VT_SHARD select ID from _RefObjCommon where CodeName128 like 'ITEM_CH_SWORD_10_C_RARE'
To find Monster ID in Ref Obj Common
Use This Query
PHP Code:
 Use SRO_VT_SHARD select ID from _RefObjCommon where CodeName128 like 'MOB_SD_ANUBIS' 
i hoppe it works for all Elitepvpers Members, and sry for the bad english =)


Nice, you can steal a simple query under your name.
InZiDeR is offline  
Thanks
1 User
Old 02/07/2013, 23:18   #10
 
elite*gold: 0
Join Date: May 2010
Posts: 96
Received Thanks: 5
One question is it possible to add more then one item?? maybe 5-10 items in one querry to one monster...
TurboLiKe is offline  
Old 02/08/2013, 13:55   #11
 
elite*gold: 41
Join Date: Oct 2012
Posts: 2,216
Received Thanks: 1,195
just give credits
Crue* is offline  
Old 03/14/2013, 21:17   #12
 
EscapeYunea's Avatar
 
elite*gold: 250
Join Date: Jan 2011
Posts: 389
Received Thanks: 182
Quote:
Originally Posted by terra006 View Post
Some1 know how to remove Drop ?


DELETE FROM _RefMonster_AssignedItemDrop
WHERE REFMONSTERID='MOBID' AND REFITEMID='ITEMID'




Enjoy and Use ur Thanks :P
EscapeYunea is offline  
Thanks
6 Users
Old 04/01/2013, 09:19   #13
 
elite*gold: 0
Join Date: Feb 2008
Posts: 225
Received Thanks: 22
does not work. I get dc right away after login. I used the arean coin to penon and muji.
yangc10 is offline  
Old 05/21/2013, 08:56   #14
 
elite*gold: 0
Join Date: Dec 2009
Posts: 9
Received Thanks: 1
querry works nice on all mobs but not on new added mobs...exemple deathbone
totfliega2007 is offline  
Old 06/11/2013, 18:01   #15
 
elite*gold: 0
Join Date: Aug 2006
Posts: 8
Received Thanks: 0
working 100% ty
egkung is offline  
Reply


Similar Threads Similar Threads
Neue Mobs Query
08/21/2013 - Metin2 Private Server - 2 Replies
Hey, ich habe seit kurzem neue Serverfiles und dort sind die neuen monster leider nicht enthalten... Ähm kann mir eventuell jemand die Querys Posten oder mir per PN schicken? Mfg Langeweile2011
Uniques Drops
05/09/2012 - SRO Private Server - 10 Replies
Ive added some drops to uniques but if a lvl 120 kills tiger girl the item wont drop is this cause level to high or how would i set so will drop
Transfering EU mobs drops to China mobs
04/27/2012 - SRO Private Server - 2 Replies
Hello, maybe there is people who successfully made chinese mobs to drop europe items? I have no idea how it is possible to make it, because every weapon/armor part have different tiers (A, B, C) and so on. Doing this only mobs in CH, WC and OA needs to be edited, because from hotan (KT) region mobs starting to drop both, CH and EU items. I think adding it to the _RefMonster_AssignedItemDrop table is not the way, because for weapons/equipment server randomly generates blues, whole item stats,...
[Release] VSRO Jupter + all mobs + drops itens D12
04/08/2012 - SRO Private Server - 15 Replies
CLOSED
[Release] Simple Auto CPs from Killing Mobs (LOFT)
08/28/2010 - CO2 PServer Guides & Releases - 37 Replies
By the way...this is first post about Auto CPs for LOFT OK? Press Thanks Instead of Flame..:D Here we go: In Character.cs Search for public void BlueNameGone() under it, add public void DirectCPs()//by UnoAmigos {



All times are GMT +2. The time now is 01:25.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.