Jump to content

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

open: game.py

search:  self.interface.BUILD_OnUpdate()

after add:

if int(int(self.interface.LastContactTimeStamp) + self.interface.WaitTime) < int(app.GetTime()) and self.interface.State == "Kapali":
            self.interface.State = "Acik"
    
        self.interface.BUILD_OnUpdate()

 

open: interfacemodule.py

search:  CHARACTER_SKILL_TAB = 2

after add:

LastContactTimeStamp = app.GetTime() - 5
    WaitTime = 12
    State = "Kapali"

 

search:  def ToggleInventoryWindow(self):

change with:

def ToggleInventoryWindow(self):
        if self.State == "Kapali":
            chat.AppendChat(chat.CHAT_TYPE_INFO, "Envanteri acabilmek icin " + str(int(int(self.LastContactTimeStamp) + self.WaitTime) - int(app.GetTime())) + " saniye beklemelisin.")
            return    
        else:
            if FALSE == player.IsObserverMode():
                if FALSE == self.wndInventory.IsShow():
                    self.wndInventory.Show()
                    self.wndInventory.SetTop()
                else:
                    self.wndInventory.OverOutItem()
                    self.wndInventory.Close()
Link to comment
https://metin2.dev/topic/13214-inventory-block-after-login/#findComment-75610
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.