• 🎉 Hey there! I've just launched my brand new server voting platform — Metin2 P Servers 🚀

WebHost - Phase-7.com
Member
Apr
Threads
25
112
1
477
63

AD: Mt2009 - Mobile & PC - 30 January 2026 CHECK THE PRESENTATION!

Synchronizes the character's position with the server and can be used to free them if they get stuck.
If there is no available position within the available distance, the character will be warped to the village.
1705852725537.png


Hidden content
You need to reply to this thread in order to see this content.
Credits; Owsap



i put here some fix for differents versions:



edit1: if someone don't have
Python:
    def __del__(self):
        ui.ScriptWindow.__del__(self)
        if app.OWSAP_ESCAPE:
            del self.tooltip

you cand add on def Destroy:
Python:
    def Destroy(self):
        self.ClearDictionary()
     
        if self.gameOptionDlg:
            self.gameOptionDlg.Destroy()
         
        if self.systemOptionDlg:
            self.systemOptionDlg.Destroy()
       if app.OWSAP_ESCAPE:  
             del self.tooltip
        self.__Initialize()

edit2: MIssing some functions that are used by uiEscapePopup.py
uicommon.py:
Python:
class QuestionDialog(ui.ScriptWindow):
    def GetTextSize(self):
        if self.textLine:
            return self.textLine.GetTextSize()
        return (0,0)
           
    def SetLineHeight(self, Height):
        self.textLine.SetLineHeight(Height)

also player.SHOW_UI_WINDOW_LIMIT_RANGE is missing
Python:
    def __EscapePopupRangeCheck(self):
        SHOW_UI_WINDOW_LIMIT_RANGE = 1000
        (x, y, z) = player.GetMainCharacterPosition()
        # if abs(x - self.escape_window_open_x) > player.SHOW_UI_WINDOW_LIMIT_RANGE or abs(y - self.escape_window_open_y) > player.SHOW_UI_WINDOW_LIMIT_RANGE:
        if abs(x - self.escape_window_open_x) > SHOW_UI_WINDOW_LIMIT_RANGE or abs(y - self.escape_window_open_y) > SHOW_UI_WINDOW_LIMIT_RANGE:
            chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.OPTION_ESCAPE_FAR_DISTANCE)
            self.Close()


But maybe some people have a few problems, because don't have functions or like that.
The first, you need to change certain functions in Uicommon.py:
Python:
class QuestionDialog(ui.ScriptWindow): def GetTextSize(self): if self.textLine: return self.textLine.GetTextSize() return (0,0) def SetLineHeight(self, Height): self.textLine.SetLineHeight(Height)

and uiEscapePopoup.py:
Python:
def __EscapePopupRangeCheck(self): SHOW_UI_WINDOW_LIMIT_RANGE = 1000 (x, y, z) = player.GetMainCharacterPosition() # if abs(x - self.escape_window_open_x) > player.SHOW_UI_WINDOW_LIMIT_RANGE or abs(y - self.escape_window_open_y) > player.SHOW_UI_WINDOW_LIMIT_RANGE: if abs(x - self.escape_window_open_x) > SHOW_UI_WINDOW_LIMIT_RANGE or abs(y - self.escape_window_open_y) > SHOW_UI_WINDOW_LIMIT_RANGE: chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.OPTION_ESCAPE_FAR_DISTANCE) self.Close()

If you have the problem with;
Python:
net.SendCommandPacket("/escape")

You must change it with:
Python:
net.SendChatPacket("/escape")
 
Last edited by a moderator:
Discord Banner

🔥 Join us on Discord! - Active chat & direct support

We invite you to join the largest Metin2 community on Discord!

Join Now!
Member Count: 
Discord Robot
HUB Bot
Announcement
Metin2Hub Bot
M2Hub Bot
Feb
Threads
66
2,381
2
1,308
113
Synchronizes the character's position with the server and can be used to free them if they get stuck.
If there is no available position within the available distance, the character will be warped to the village.
View attachment 1994



Credits; Owsap


Hello dear user,

Your post will be under surveillance by bots for the next few hours.

Forum description : Metin2 private server, Metin2 download, Metin2 support, Metin2 Forum, Metin2 Pvp Servers, Errors, Bugs, Requests, Metin2 Pvp Forum, Everything About Metin2.
 
Last edited by a moderator:
Discord Banner

🔥 Join us on Discord! - Active chat & direct support

We invite you to join the largest Metin2 community on Discord!

Join Now!
Member Count: 
Discord Robot
HUB Bot
Announcement
Member
Sep
Threads
0
121
3
18
Synchronizes the character's position with the server and can be used to free them if they get stuck.
If there is no available position within the available distance, the character will be warped to the village.
View attachment 1994


[Hidden content]

Credits; Owsap



i put here some fix for differents versions:



edit1: if someone don't have
Python:
    def __del__(self):
        ui.ScriptWindow.__del__(self)
        if app.OWSAP_ESCAPE:
            del self.tooltip

you cand add on def Destroy:
Python:
    def Destroy(self):
        self.ClearDictionary()
     
        if self.gameOptionDlg:
            self.gameOptionDlg.Destroy()
         
        if self.systemOptionDlg:
            self.systemOptionDlg.Destroy()
       if app.OWSAP_ESCAPE:  
             del self.tooltip
        self.__Initialize()

edit2: MIssing some functions that are used by uiEscapePopup.py
uicommon.py:
Python:
class QuestionDialog(ui.ScriptWindow):
    def GetTextSize(self):
        if self.textLine:
            return self.textLine.GetTextSize()
        return (0,0)
           
    def SetLineHeight(self, Height):
        self.textLine.SetLineHeight(Height)

also player.SHOW_UI_WINDOW_LIMIT_RANGE is missing
Python:
    def __EscapePopupRangeCheck(self):
        SHOW_UI_WINDOW_LIMIT_RANGE = 1000
        (x, y, z) = player.GetMainCharacterPosition()
        # if abs(x - self.escape_window_open_x) > player.SHOW_UI_WINDOW_LIMIT_RANGE or abs(y - self.escape_window_open_y) > player.SHOW_UI_WINDOW_LIMIT_RANGE:
        if abs(x - self.escape_window_open_x) > SHOW_UI_WINDOW_LIMIT_RANGE or abs(y - self.escape_window_open_y) > SHOW_UI_WINDOW_LIMIT_RANGE:
            chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.OPTION_ESCAPE_FAR_DISTANCE)
            self.Close()


But maybe some people have a few problems, because don't have functions or like that.
The first, you need to change certain functions in Uicommon.py:
Python:
class QuestionDialog(ui.ScriptWindow): def GetTextSize(self): if self.textLine: return self.textLine.GetTextSize() return (0,0) def SetLineHeight(self, Height): self.textLine.SetLineHeight(Height)

and uiEscapePopoup.py:
Python:
def __EscapePopupRangeCheck(self): SHOW_UI_WINDOW_LIMIT_RANGE = 1000 (x, y, z) = player.GetMainCharacterPosition() # if abs(x - self.escape_window_open_x) > player.SHOW_UI_WINDOW_LIMIT_RANGE or abs(y - self.escape_window_open_y) > player.SHOW_UI_WINDOW_LIMIT_RANGE: if abs(x - self.escape_window_open_x) > SHOW_UI_WINDOW_LIMIT_RANGE or abs(y - self.escape_window_open_y) > SHOW_UI_WINDOW_LIMIT_RANGE: chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.OPTION_ESCAPE_FAR_DISTANCE) self.Close()

If you have the problem with;
Python:
net.SendCommandPacket("/escape")

You must change it with:
Python:
net.SendChatPacket("/escape")

thxx
 
Discord Banner

🔥 Join us on Discord! - Active chat & direct support

We invite you to join the largest Metin2 community on Discord!

Join Now!
Member Count: 
Discord Robot
HUB Bot
Announcement
Discord Banner

🔥 Join us on Discord! - Active chat & direct support

We invite you to join the largest Metin2 community on Discord!

Join Now!
Member Count: 
Discord Robot
HUB Bot
Announcement
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock