Change Opt Level for Destroy Item

Results 1 to 5 of 5
  1. #1
    Pure Nightmare Jason1990 is offline
    MemberRank
    Jul 2012 Join Date
    GermanyLocation
    311Posts

    Change Opt Level for Destroy Item

    Hello,

    maybe any1 can help me.
    How can I change the Opt level when a Item Destroy if I plus it


  2. #2
    Moderator Blacksheep25 is offline
    ModeratorRank
    Jan 2009 Join Date
    AustraliaLocation
    715Posts

    Re: Change Opt Level for Destroy Item

    It's hardcoded, and noone is yet to find it. I haven't seen any server's with that modified and haven't seen a release for it either.

  3. #3
    Apprentice candybay is offline
    MemberRank
    Jun 2017 Join Date
    10Posts

    Re: Change Opt Level for Destroy Item

    USe SRO_VT_SHARD UPDATE _Items SET OptLevel=10 WHERE ID64=1167870
    10: Plus+ u need
    1167870: Item serri in SMC


  4. #4
    Moderator Blacksheep25 is offline
    ModeratorRank
    Jan 2009 Join Date
    AustraliaLocation
    715Posts

    Re: Change Opt Level for Destroy Item

    Quote Originally Posted by candybay View Post
    10: Plus+ u need
    1167870: Item serri in SMC

    he's not talking about max plus, he wants to stop items destroying +5 > +6 or more. or change what plus it can destroy at

  5. #5
    Apprentice candybay is offline
    MemberRank
    Jun 2017 Join Date
    10Posts

    Re: Change Opt Level for Destroy Item

    set CashItem to 1~3 (from 1 to 3 try it yourself)
    as far as i remember setting it to 1 makes the item undestroyable.

    the rest is done by _AddLogItem eventid 91 = plus failed / destroyed (not sure)

    IF(@Operation='91')

    BEGIN

    declare @itemID int = (select ItemID from SRO_VT_SHARD.._Inventory where Slot=@Slot_From and CharID=@CharID)

    update SRO_VT_SHARD.._Items set Optlevel=12 where ID64 @itemID
    END

    item destroyed eventid is 41 Slot_From = item slot, Slot_To = 255 (DESTROYED)
    , strDesc is emptyi don't think you can undo this operation.
    tested.



Advertisement