It's logged. And one of the way to make the effect occurs instantly is to set the item as "
Return scroll", watch my video post, it works perfectly. I also mentioned that if you use
Evangelion SR_GameServer, you should set "
disableLog = 0" in
misc.ini and restart the gameserver.
Good luck, and if you done with it, let us discuss about how to make the item type
OTHER THAN return scroll, because I tried to make it as "reset item", and even "expendables", and I always have to teleport the char after using the scroll. (Kinda annoying)
FYI, these are my settings: (
Return scroll type like in the video)
_RefObjCommon
Code:
1 46012 ITEM_MALL_ADV_REMOVAL ???? ???? ??? (???) xxx SN_ITEM_MALL_ADV_REMOVAL SN_ITEM_MALL_ADV_REMOVAL_TT_DESC 1 0 3 3 3 1 180000 3 0 1 1 1 3 0 1 0 0 129 0 0 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\advdown.ddj xxx xxx 46012
_RefObjItem
Code:
46012 1 2 0 0 3 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 1500 ???? 1 ?????? -1 RESURRECT -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 -1 xxx 0 0 0
Stored Procedure:
[SRO_VT_LOG].[dbo].[_AddLogItem]
Code:
IF (@Operation = 41) -- scroll is used
BEGIN
IF (@ItemRefID = 46012) -- Adv removal
BEGIN
DELETE FROM [SRO_VT_SHARD].[dbo].[_BindingOptionWithItem] where nItemDBID IN (SELECT ItemID FROM [SRO_VT_SHARD].[dbo].[_Inventory] WHERE Slot BETWEEN 0 AND 12 AND CharID = @CharID) and bOptType = 2
END
END
itemdata_45000.txt
Code:
1 46012 ITEM_MALL_ADV_REMOVAL ???? ???? ??? (???) xxx SN_ITEM_MALL_ADV_REMOVAL SN_ITEM_MALL_ADV_REMOVAL_TT_DESC 1 0 3 3 3 1 180000 3 0 1 1 1 0 3 1 0 0 129 0 0 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\advdown.ddj xxx xxx 1 2 0 0 3 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 1500 ???? 1 ?????? -1 RESURRECT -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 -1 xxx 0 0
textdata_object.txt
Code:
1 SN_ITEM_MALL_ADV_REMOVAL Adv removal scroll
1 SN_ITEM_MALL_ADV_REMOVAL_TT_DESC <sml2>Remove Adv effect on items.<br><br><strong><font color="255,236,219,156">WARNING!</font></strong><br>This will remove Adv effects from ALL equipped items and teleports you back to town.<br><br></sml2>
cheers ;)