Jump to content
  • Create New...

Fix Login Cancel Button

Recommended Posts

Hey guys, so there is a thing that really annoys when loggin in to a closed server.. whenever i try to cancel loggin in, the Processing Popup closes, but the popup with the error still appears after a few seconds...

So here is how you stop it from appearing:

Open intrologin.py

Add somewhere in __init__ function:

self.isLoginCanceled = False

Add somewhere in Close function:

self.isLoginCanceled = None


def OnConnectFailure(self):

Search for:

if self.isNowCountDown:

Add under:

if self.isLoginCanceled:
            self.isLoginCanceled = False


def Connect(self, id, pwd):

Search this:

self.stream.popupWindow.Open(localeInfo.LOGIN_CONNETING, localeInfo.UI_CANCEL)

Replace with:

self.stream.popupWindow.Open(localeInfo.LOGIN_CONNETING, self.OnProcessingCancel, localeInfo.UI_CANCEL)

Add under the Connect function this:

def OnProcessingCancel(self):
        self.isLoginCanceled = True


Save, and its done.

I know this is useless and easy to make but its meant to the people who find it anoying and dont know how to solve.

Kind Regards,


  • Love 4
Link to comment
  • 11 months later...
  • 1 month later...
  • 6 months later...
  • 11 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021

  • Read our Rules
  • Activity

    1. 3

      Quest Craft

    2. 3

      Quest Craft

    3. 414

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    4. 11

      Metin2 Patcher with Electron

    5. 17

      I Want Find freebsd 11.4 with remove unnecessary codes

    6. 17

      I Want Find freebsd 11.4 with remove unnecessary codes

    7. 3

      Quest Craft

  • Recently Browsing

    • No registered users viewing this page.

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.