Drop / Silk Scroll

01/21/2018 20:57 devdash#1
hello everyone
1. i just added drop item to unique, and i wonder how can i remove it again or edit it, like changing the dropmin or dropmax etc..., the way that i added with was a Query.
..................
2. how can i add a simple silk scroll to my server with original silk scroll icon and when ur mouse on that icon the silk scroll name showup like any normal item, becausei had issues before with noname items
..............
THANKS FOR READING.
01/21/2018 23:34 heropt#2
just add this to refObjCommon
change 36790 to Last ID in RefObjCommon + 1
change 26713 to Last Link in RefObjCommon + 1
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
and this to refObjItem
change 26713 to Link in RefObjCommon
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
and this to AddLogItem
change 36790 to ID in RefObjCommon
change 1000 to number of silks you want give when use scroll
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
just add to media.pk2 client side
To give name to item textdata_object.txt

when use scroll will automatic respawn char.... Enjoy :P

about item drop just read the table in query u used
and search for item ID what u add
and u can delete that line or edit max and min drop
01/22/2018 08:01 devdash#3
Quote:
Originally Posted by heropt View Post
just add this to refObjCommon
change 36790 to Last ID in RefObjCommon + 1
change 26713 to Last Link in RefObjCommon + 1


and this to refObjItem
change 26713 to Link in RefObjCommon


and this to AddLogItem
change 36790 to ID in RefObjCommon
change 1000 to number of silks you want give when use scroll


just add to media.pk2 client side
To give name to item textdata_object.txt

when use scroll will automatic respawn char.... Enjoy :P

about item drop just read the table in query u used
and search for item ID what u add
and u can delete that line or edit max and min drop
about drop, how can i edit that i mean where should i search where can i find that so i can edit it please explain more its really important to me, and thanks again.
01/22/2018 10:44 blapanda#4
Quote:
Originally Posted by alydandy View Post
about drop, how can i edit that i mean where should i search where can i find that so i can edit it please explain more its really important to me, and thanks again.
If it's that important to you, you should start reading those queries and comprehending those what they are actually adding, adjusting or deleting at and from a table, and not just dully and meaninglessly executing them.

_RefMonster_AssignedItemDrop
01/22/2018 12:59 Spidy.#5
#Closed