Adding an item to a mob as a drop - why doesn't work to me ?

03/09/2016 18:56 NagySandor96#1
Hello,

I was wondering how I can add any items to any mob as a drop,
after a quick searching I have found a query.
It's OK - I thought.
PHP Code:
  USE SRO_VT_SHARD -----> By-Flowushy <-----
GO

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



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

I have set @ MonsterID to 9383 - it's > Strong Mangnyang
@ DropRatio to 1 - it has to be correct (at least)
@ ItemID to 4042 - it's > ITEM_CH_SWORD_10_B_RARE

It had been successfully sent ( the command ), and I was happy cuz' of being a pro. Setting the server > Logging in > Spawning Strong Mangnyang and killing it by /mobkill 0 GM command, haven't got that certain D10 SOX drop. I have repeated its spawn 10x,but still there isn't any drop.

Guys, could any of you help me to solve out this problem ?

Thanks, NS

P.s.: there isn't any space between '@' and MonsterID, DropRatio, ItemID.
03/10/2016 01:39 TakeshiVongola#2
Your level is too high. Change Strong Mangyang level in database.

Also, don't call yourself 'a pro' because you sucessfully ran a query lol.
03/10/2016 03:09 blapanda#3
Quote:
Originally Posted by TakeshiVongola View Post
Also, don't call yourself 'a pro' because you sucessfully ran a query lol.
This is like this:

[Only registered and activated users can see links. Click Here To Register...]

It is a disease.
03/10/2016 12:55 NagySandor96#4
Thx for the answer. Btw have you really believed that I keep myself a pro ?! Omg, I could express my problem and also myself) on that way...
-NS

EDIT:The prob has just been solved
03/11/2016 01:05 TakeshiVongola#5
You said it yourself lol. I just quoted you. Anyways, good that your problem was fixed, could you tell what you did, so if anyone else has the problem, they could fix it?
03/11/2016 10:42 vietnguyen09#6
I guess he just want to say "like a boss" but he was chose another word for fun.
03/11/2016 23:29 NagySandor96#7
Quote:
Originally Posted by TakeshiVongola View Post
You said it yourself lol. I just quoted you. Anyways, good that your problem was fixed, could you tell what you did, so if anyone else has the problem, they could fix it?
In response to your request: Simply, I have restarted my whole system, so the query works well.

-NS