Delete Temple Unique Drop

01/24/2015 20:54 !Ego#1
Hello guy's ,,
as u know temple uniques (Anubis & Neith etc...)
drops a random numbers of token coins (Gold - Silver - Iron - Copper)
how can i disable that ,, i tried to use the Query to delete drop but nothing happened !
01/24/2015 21:05 Aaron*#2
Quote:
USE SRO_VT_SHARD
GO
Declare @ItemCode VarChar(Max) = '%TOKEN%'
DELETE _RefDropItemAssign
FROM _RefDropItemAssign Drops
LEFT JOIN _RefObjCommon Objects
ON (Drops.RefitemID = Objects.ID)
WHERE codename128 like @ItemCode
this will delete gold - silver- iron - copper coins drop from all uniques.
01/24/2015 21:38 !Ego#3
bro (0 row(s) affected)
it's not working
the temple uniques aren't on this table !
01/24/2015 22:52 Aaron*#4
try this query then.
Quote:
USE SRO_VT_SHARD
GO
Declare @ItemCode varchar(max) = '%TOKEN%'
DELETE _RefMonster_AssignedItemDrop
FROM _RefMonster_AssignedItemDrop Drops
LEFT JOIN _RefObjCommon Objects
ON (Drops.RefItemID = Objects.ID)
WHERE CodeName128 like @ItemCode
01/24/2015 23:06 !Ego#5
Again (0 rows(s) affected)

and Congratulations for Premium :*
01/24/2015 23:15 Aaron*#6
Quote:
Originally Posted by BuiLt4KiLl View Post
Again (0 rows(s) affected)

and Congratulations for Premium :*
try this.
Quote:
use sro_vt_shard
go
Delete from _RefMonster_AssignedItemDrop
where MonsterID in (select ID from _refobjcommon where codename128 like '%MOB%SD%'
delete from _RefDropItemAssign where RefItemID in (select id from _refobjcommon where codename128 like '%TOKEN%')
This should delete all of their drops except stones/tablets/normal items.
//

oh, thanks :cool:
01/24/2015 23:32 !Ego#7
Query Num.1 give error !
Query Num.2 0 row(s) affected

Done thx 230 rows(s) affected

I managed to Fix query error

will bro i used add new drop query and no thing happened ! why ?!
E-Silkroad DB
01/24/2015 23:40 Aaron*#8
Quote:
Originally Posted by BuiLt4KiLl View Post
Query Num.1 give error !
Query Num.2 0 row(s) affected

Done thx 230 rows(s) affected

I managed to Fix query error

will bro i used add new drop query and no thing happened ! why ?!
E-Silkroad DB
add new drop query :
Quote:
USE/**/[SRO_VT_SHARD]/**/

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,Dro pAmountMin,DropAmountMax,DropRatio,RefMagicOptionI D1,CustomValue1,RefMagicOptionID2,CustomValue2,Ref MagicOptionID3,CustomValue3,RefMagicOptionID4,Cust omValue4,RefMagicOptionID5,CustomValue5,RefMagicOp tionID6,CustomValue6,RefMagicOptionID7,CustomValue 7,RefMagicOptionID8,CustomValue8,RefMagicOptionID9 ,CustomValue9,RentCodeName)/**/
VALUES(@MonsterID,@ItemID,0,0,@DropAmountMin,@Drop AmountMax,@DropRatio,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ,0,0,0,'xxx')/**/
restart server after using it and it will work.
01/24/2015 23:43 !Ego#9
That's the query i used !
I restarted the server but it doesn't work !
I Edit it to make Tiger Girl drop 2 Iron Coin
but nothing happened
01/24/2015 23:47 Aaron*#10
Quote:
Originally Posted by BuiLt4KiLl View Post
That's the query i used !
I restarted the server but it doesn't work !
I Edit it to make Tiger Girl drop 2 Iron Coin
but nothing happened
to make the normal uniques drop items,
you have to make the normal uniques level = 110 or 140 (in db only not in media)
I didn't try this but that's what i think ppl do to get it working.

use this query to change level
Quote:
use sro_vt_Shard
go
declare @MCode varchar(max) = 'Unique_CODE'
declare @MID int = (select link from _Refobjcommon where codename128 like @MCode)
Declare @MLevel int = 'UNIQUE LEVEL' /* example : 110*/
update _RefObjItem
Set Lvl = @MLevel
where id like @MID
01/24/2015 23:51 !Ego#11
Will i loaded alot of server have the same system (Normal unqis drop coins) ?

so if i used it for 109 original mobs it will work ?
If it (If i wanna to make the player kill 100~150 to get a rare item)
which DropRate i use) ?

Bro the drop is still working :(
04/01/2017 13:26 Anonymous-SRO#12
Quote:
Originally Posted by Craine- View Post
try this.

delete from _RefDropItemAssign where RefItemID in (select id from _refobjcommon where codename128 like '%TOKEN%')
This should delete all of their drops except stones/tablets/normal items.
//

oh, thanks :cool:
hello don`t work this query ...i want to delete token drop from unique
04/01/2017 23:02 guckguck#13
Hello Gravedigger, this thread is 2 years old :)

However:
Coins are located within dropgroups linked in _RefMonster_AssignedItemRndDrop.
Thus your "removing" queries will fail.
To get rid of any coin drop please delete every row related to "ITEM_SD_TOKEN1_DROPGROUP" etc., there are 4 types of them.

[Only registered and activated users can see links. Click Here To Register...]
04/03/2017 15:39 blapanda#14
Hahahaha ... sorry, but reading this thread ... kinda is silly.

Question A1
Solution A1
Question A1
Solution A1a
Q A1
S A1b
Q A1
S A1c
...

Why don't you even try to comprehend his queries and try it on your own? :D