Jump to content

Sobolanescu

Member
  • Posts

    7
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Sobolanescu

  1.  

     

     You cand use a client side + server side(like the one mentioned above) combination to be sure this is not working.

    clientside:

    Open uiinventory.py and search:

    Spoiler

        def __init__(self):

    Add:

    Spoiler

            self.lastArmorEquiped = 0

    Search:

    Spoiler

        def __UseItem(self, slotIndex):
            ItemVNum = player.GetItemIndex(slotIndex)
            item.SelectItem(ItemVNum)

    Add under:

    Spoiler

            if item.GetItemType() == item.ITEM_TYPE_ARMOR and item.GetItemSubType() == item.ARMOR_BODY:
                if app.GetTime() < self.lastArmorEquiped + 5:
                    chat.AppendChat(chat.CHAT_TYPE_INFO, "Poti schimba armura doar peste 5 secunde.")
                    return
                else:
                    self.lastArmorEquiped = app.GetTime()

    • Metin2 Dev 2
    • Love 2
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.