A Project for Chronicle 4 based on L2JServer.


    ListOfProtectedItems DONT WORK

    Share
    avatar
    dandiarena

    Posts : 95
    Join date : 2013-06-20
    Age : 26
    Location : Argentina

    ListOfProtectedItems DONT WORK

    Post  dandiarena on 30th July 2013, 08:24

    well this in options.prop DONT WORK

    # List of items that will not be destroyed (seperated by ",")
    # NOTE: Make sure the lists do NOT CONTAIN trailing spaces or spaces between the numbers!
    # items on this list will be protected regardless below options
    ListOfProtectedItems = 57,5575,6673,3435

    i add last id toom for test to a npc stucksub, but i can delete it. the same with others id like 57 adena 5575 ancient.

    why?

    roko91

    Posts : 238
    Join date : 2013-01-30
    Age : 26
    Location : Bulgaria

    Re: ListOfProtectedItems DONT WORK

    Post  roko91 on 30th July 2013, 18:27

    Read carefully the description: items on this list will be protected regardless below options
    It's not made to protect from players but from this option:
    Code:
    # delete from world dropped reward items after n seconds. 0 - disabled
    AutoDestroyDroppedItemAfter = 0
    If you set "AutoDestroyDroppedItemAfter " to 60 for example everything dropped by mobs will be destroyed except the items specified in that list as well as equipable items (armor, weapon, jewelry) and items dropped by players. For example if you want everything on the ground to be destroyed after 1 min you should use the following settings:
    Code:
    # delete from world dropped reward items after n seconds. 0 - disabled
    AutoDestroyDroppedItemAfter = 60
    # List of items that will not be destroyed (seperated by ",")
    # NOTE: Make sure the lists do NOT CONTAIN trailing spaces or spaces between the numbers!
    # items on this list will be protected regardless below options
    ListOfProtectedItems =

    # This enables the server to only update itens when saving the character
    # Enabling this greatly reduces DB usage and improves performance.
    # WARNING: This option causes item loss during crashes
    LazyItemsUpdate = false

    # This forces(even if using lazy item updates) the items owned by the character to be updated into DB when saving its character
    # Increases DB usage
    UpdateItemsOnCharStore = false

    # also delete from world misc. items dropped by players (all except equipable items)
    # NOTE: work only if AutoDestroyDroppedItemAfter >0
    DestroyPlayerDroppedItem = true
    # Destroy also equipable items (armor, weapon, jewelry)
    # NOTE: Work only if DestroyPlayerDroppedItem = true
    DestroyEquipableItem = true
    avatar
    dandiarena

    Posts : 95
    Join date : 2013-06-20
    Age : 26
    Location : Argentina

    Re: ListOfProtectedItems DONT WORK

    Post  dandiarena on 30th July 2013, 19:56

    well, but i need this to cant delete specific item, that option dont have this server. like other in datatables like sellable, destroyable, tradeablle, etc. only sellable its on. but you can delete all items, and quest item too.

    how i can make a item that dont be delete.

    roko91

    Posts : 238
    Join date : 2013-01-30
    Age : 26
    Location : Bulgaria

    Re: ListOfProtectedItems DONT WORK

    Post  roko91 on 31st July 2013, 00:37

    Why do you add them in this list? Just made them undestroyable in DB.
    avatar
    DnR
    Admin
    Admin

    Posts : 1027
    Join date : 2012-12-03

    Re: ListOfProtectedItems DONT WORK

    Post  DnR on 15th August 2013, 17:15

    roko91 wrote:Why do you add them in this list? Just made them undestroyable in DB.
    That wasn't possible until now.
    Added new options to database. Smile

    Sponsored content

    Re: ListOfProtectedItems DONT WORK

    Post  Sponsored content


      Current date/time is 18th December 2017, 05:19