how can i make silk drop from mops

06/21/2018 23:42 ahmed metwali#1
hello my friends
i want a small help
i need to make silk like as item drop from mobs
i want to put it in big unique i nee to make the party share the silk
06/22/2018 03:25 loader8#2
create a new item
like this
Refobjcommon
Quote:
1 36790 ITEM_SILK_SCROLL_1000 ????? xxx SN_ITEM_SILK_SCROLL_1000 SN_ITEM_SILK_SCROLL_1000_TT_DESC 1 0 3 3 3 1 180000 3 0 1 1 1 255 0 1 0 0 1 0 100 0 0 0 0 0 -1 0 -1 0 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 xxx item\etc\drop_mall_scroll.bsr item\etc\silk_scroll.ddj xxx xxx 26713
refObjitem
Quote:
26713 1 2 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1000 ???? 1 ?????? -1 RESURRECT 1000 COOLTIME:0x00000000 -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx 0 0 0
add this in AddLogItem
Quote:
IF (@Operation = 41 AND @ItemRefID = 36790)
BEGIN
DECLARE @JID int,
@Silk int;

SET @Silk = 1000
SELECT @JID = UserJID from SRO_VT_SHARD.._User where CharID = @CharID

IF EXISTS (Select * from SRO_VT_ACCOUNT..SK_Silk where JID = @JID)
UPDATE SRO_VT_ACCOUNT..SK_Silk set silk_own = silk_own + @Silk where JID = @JID
ELSE
INSERT INTO SRO_VT_ACCOUNT..SK_Silk
SELECT @JID, @Silk, 0, 0
END
and done
remember to add lines in Media.pk to
06/22/2018 11:16 #HB#3
It can be done easily with a filter, but what about making a new item that gives you silk, and making that monster drop this item!
06/22/2018 13:08 medo abdo#4
i know but this is a scroll i need when i pick it increase in silk or silk gift
06/22/2018 19:18 loader8#5
Quote:
Originally Posted by medo abdo View Post
i know but this is a scroll i need when i pick it increase in silk or silk gift
you can make drop the scroll from the mob ... HB say you how is easy bro
you can make 1 silk scroll or 10 -20-50,etc and drop it with uniques or mobs...
when they active the scroll will rewards the silk
06/25/2018 15:30 medo abdo#6
any one have a good icon like golden coin
06/26/2018 01:18 HECKT0R#7
Quote:
Originally Posted by medo abdo View Post
i know but this is a scroll i need when i pick it increase in silk or silk gift
there's only one way to achieve such thing , you have to create silk scrolls with whatever the silk quantity you want and let it drop from mobs .
06/26/2018 13:41 B1Q#8
Quote:
Originally Posted by #HB View Post
It can be done easily with a filter, but what about making a new item that gives you silk, and making that monster drop this item!
i would like to understand how are you going to "easily" make "silks" drop from monsters using a filter?
06/26/2018 19:33 #HB#9
Quote:
Originally Posted by B1Q View Post
i would like to understand how are you going to "easily" make "silks" drop from monsters using a filter?
Well, actually it won't drop.. it will be given immediately to his character after killing that monster. Doesn't matter if it will drop, he just wants to give it the character immediately!

You will need those things:
06/27/2018 01:03 B1Q#10
Quote:
Originally Posted by #HB View Post
Well, actually it won't drop.. it will be given immediately to his character after killing that monster. Doesn't matter if it will drop, he just wants to give it the character immediately!

You will need those things:
figured that much but that is not "drop"

btw the packet i posted was not complete and some datatypes are wrong