Register for your free account! | Forgot your password?

You last visited: Today at 20:11

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

Advertisement



Query to remove drop !!

Discussion on Query to remove drop !! within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1


 
Dracula Untold's Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 1,866
Received Thanks: 517
Query to remove drop !!

i have used this query

USE SRO_VT_SHARD
DELETE _RefDropItemAssign
FROM _RefDropItemAssign Drops
LEFT join _RefObjCommon Objects
ON (Drops.RefItemID = Objects.ID)
WHERE CodeName128 like '%ITEM_CH_%_10_%'


To remove 10 full DG from drop ..
but this one it removes only the normal items ..

can someone fix it to remove Sox as well ? or to create a query ?

Thanks in advance
Dracula Untold is offline  
Thanks
1 User
Old 11/21/2015, 20:39   #2
 
Midnight ™'s Avatar
 
elite*gold: 212
Join Date: Jul 2014
Posts: 782
Received Thanks: 538
You can setup the sox droprate in the table [dbo].[_RefDropClassSel_RareEquip]
Midnight ™ is offline  
Old 11/22/2015, 08:05   #3


 
Dracula Untold's Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 1,866
Received Thanks: 517
not to set it up ...
i need full removed all sox drop 10 DG ... u know to make a query?


or removed from all drop unique ...
because on my server all unique drop 10 DG sox
Dracula Untold is offline  
Old 11/22/2015, 18:34   #4
 
Midnight ™'s Avatar
 
elite*gold: 212
Join Date: Jul 2014
Posts: 782
Received Thanks: 538
Ok here you are

Midnight ™ is offline  
Old 11/23/2015, 13:32   #5
 
TakeshiVongola's Avatar
 
elite*gold: 0
Join Date: Mar 2012
Posts: 137
Received Thanks: 29
Also, if you want to still use your query, you could change the line:
WHERE CodeName128 like '%ITEM_CH_%_10_%'
to have it delete the RARE items.
TakeshiVongola is offline  
Old 11/23/2015, 14:26   #6
 
WickedNite.'s Avatar
 
elite*gold: 15
Join Date: Jul 2014
Posts: 1,617
Received Thanks: 1,381
Quote:
Originally Posted by TakeshiVongola View Post
Also, if you want to still use your query, you could change the line:
WHERE CodeName128 like '%ITEM_CH_%_10_%'
to have it delete the RARE items.
That's if his tiny brain understands where to use '%'.
WickedNite. is offline  
Old 11/23/2015, 14:49   #7


 
Dracula Untold's Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 1,866
Received Thanks: 517
delete from _RefDropItemAssign where RefItemID in (select ID from _RefObjCommon where codename128 like '%item%_10_%')

Fixed by my self.
Dracula Untold is offline  
Old 12/12/2015, 14:26   #8
 
Pavo xD's Avatar
 
elite*gold: 0
Join Date: Jul 2015
Posts: 33
Received Thanks: 15
ty bro
Pavo xD is offline  
Old 12/13/2015, 12:58   #9
 
elite*gold: 20
Join Date: Dec 2015
Posts: 182
Received Thanks: 82
Quote:
Originally Posted by SensationSro View Post
delete from _RefDropItemAssign where RefItemID in (select ID from _RefObjCommon where codename128 like '%item%_10_%')

Fixed by my self.
Thanks you for this query.

This query delete all sox ? or only Seal Of Sun / Moon / Star ?

I wait your answer.
BadSorrow is offline  
Old 12/14/2015, 02:51   #10
 
spinal2's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 242
Received Thanks: 16
Quote:
Originally Posted by BadSorrow View Post
Thanks you for this query.

This query delete all sox ? or only Seal Of Sun / Moon / Star ?

I wait your answer.
Code:
delete from _RefDropItemAssign where RefItemID in (select ID from _RefObjCommon where codename128 like '%item%_10_%')

Its for all SOX and all Normals 10D itens .. and ALots of others Scrools Used _10_ in name like 'ITEM_MALL_RESURRECTION_100P_SCROLL' or 'ITEM_MALL_MP_INC_4100_POTION'



For a Sox type he need put a class Like ' A= Star . B = Moon , C = Sun'

EXemple

FOR WEAPONS SUNS and ACCESSORY

delete from _RefDropItemAssign where RefItemID in (select ID from _RefObjCommon where codename128 like '%item%_10_%_C_%')


FOR SETS SUNS


delete from _RefDropItemAssign where RefItemID in (select ID from _RefObjCommon where codename128 like '%item%_10_%_C_%')
spinal2 is offline  
Old 12/29/2015, 09:05   #11
 
elite*gold: 0
Join Date: Nov 2015
Posts: 29
Received Thanks: 3
Quote:
Originally Posted by spinal2 View Post
Code:
delete from _RefDropItemAssign where RefItemID in (select ID from _RefObjCommon where codename128 like '%item%_10_%')

Its for all SOX and all Normals 10D itens .. and ALots of others Scrools Used _10_ in name like 'ITEM_MALL_RESURRECTION_100P_SCROLL' or 'ITEM_MALL_MP_INC_4100_POTION'



For a Sox type he need put a class Like ' A= Star . B = Moon , C = Sun'

EXemple

FOR WEAPONS SUNS and ACCESSORY

delete from _RefDropItemAssign where RefItemID in (select ID from _RefObjCommon where codename128 like '%item%_10_%_C_%')


FOR SETS SUNS


delete from _RefDropItemAssign where RefItemID in (select ID from _RefObjCommon where codename128 like '%item%_10_%_C_%')
And only for WEAPON => SUN => D8 ?

Thanks you for your answer.. I wait it :/
hysteria34 is offline  
Old 01/01/2016, 11:45   #12
 
Apollo*'s Avatar
 
elite*gold: 0
Join Date: Dec 2014
Posts: 371
Received Thanks: 538
Code:
UPDATE _RefDropItemAssign
SET Prob_Relative=0,Prob_Absolute=0
FROM
    _RefDropItemAssign Drops
    JOIN
    _RefObjCommon Obj ON Drops.RefItemID = Obj.ID
WHERE
Obj.CodeName128 like '%ITEM_ETC_ARCHEMY_%_%_09%'
Apollo* is offline  
Thanks
4 Users
Old 05/22/2016, 15:50   #13
 
elite*gold: 0
Join Date: May 2014
Posts: 14
Received Thanks: 3
Apollo* Thanks for the idea


Remove all Tablets Magic, Attribute, Sapphire and Alchemy Materials

Code:
UPDATE _RefDropItemAssign
SET Prob_Relative=0,Prob_Absolute=0
FROM
    _RefDropItemAssign Drops
    JOIN
    _RefObjCommon Obj ON Drops.RefItemID = Obj.ID
WHERE
Obj.CodeName128 like '%ITEM_ETC_ARCHEMY_MAGICTABLE%'
Code:
UPDATE _RefDropItemAssign
SET Prob_Relative=0,Prob_Absolute=0
FROM
    _RefDropItemAssign Drops
    JOIN
    _RefObjCommon Obj ON Drops.RefItemID = Obj.ID
WHERE
Obj.CodeName128 like '%ITEM_ETC_ARCHEMY_ATTRTABLE%'
Code:
UPDATE _RefDropItemAssign
SET Prob_Relative=0,Prob_Absolute=0
FROM
    _RefDropItemAssign Drops
    JOIN
    _RefObjCommon Obj ON Drops.RefItemID = Obj.ID
WHERE
Obj.CodeName128 like '%ITEM_ETC_ARCHEMY_SPEEDTABLE%'
Code:
UPDATE _RefMonster_AssignedItemDrop
SET DropRatio=0
FROM
    _RefMonster_AssignedItemDrop Drops
    JOIN
    _RefObjCommon Obj ON Drops.RefItemID = Obj.ID
WHERE
Obj.CodeName128 like '%ITEM_ETC_ARCHEMY_MATERIAL_%'
omG86 is offline  
Thanks
2 Users
Old 05/22/2016, 18:31   #14
 
elite*gold: 0
Join Date: May 2012
Posts: 179
Received Thanks: 56
omg..............simplest way ....lol
Quote:
use SRO_VT_SHARD
update _RefObjCommon set CanDrop = 0 where CodeName128 like '%item name%'
mtnman33 is offline  
Thanks
3 Users
Reply


Similar Threads Similar Threads
[Query]Disable Drop Tablets, And Add Drop Stones
10/27/2016 - SRO PServer Guides & Releases - 10 Replies
This query disable all tablet from mobs: Update _RefDropItemAssign set service = 0 where RefItemID between 6295 and 6678 and add stones to drop:
[Release]QUERY-How To REMOVE a Completly Race Drop Degree
10/12/2016 - SRO PServer Guides & Releases - 10 Replies
Hi Elitepvpers. Im here to day to give you a query that can remove a completely race degree drop. For Example, Removing a Degree 10 Euro USE SRO_VT_SHARD DELETE _RefDropItemAssign FROM _RefDropItemAssign Drops LEFT join _RefObjCommon Objects ON (Drops.RefItemID = Objects.ID)
Need Query remove drop arena coin from mob Akrue
04/20/2015 - SRO Private Server - 11 Replies
Need Query remove drop arena coin from mob Akrue Arena ID:25834 MonsterID: 38253 & 38229



All times are GMT +1. The time now is 20:11.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

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