Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/10/17 in all areas

  1. 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 Search: def OnConnectFailure(self): Search for: if self.isNowCountDown: return Add under: if self.isLoginCanceled: self.isLoginCanceled = False return Search: 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 self.stream.popupWindow.Close() 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, Frozen
    1 point
×
×
  • 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.