dexolus 12 Posted February 21, 2022 Share Posted February 21, 2022 Hi i found here new login interface which i really like - interface its working when i put it in my client. But channel switcher is not working. At the old interface it works. It only need to change intrologin.py, so i guess there is the problem. This is my old intrologin.py -- https://pastebin.com/jgti94rY This is new intrologin.py https://pastebin.com/PFqNtwT9 How can i make it work? When i paste to the new intrologin the Spoiler def __LoadChannelInfo(self): try: file=old_open("channel.inf") lines=file.readlines() if len(lines)>0: tokens=lines[0].split() selServerID=int(tokens[0]) if app.ENABLE_CHANNEL_SWITCHER: if(int(tokens[1]) <= constInfo.CHANNELS): selChannelID=int(tokens[1]) else: selChannelID=1 else: selChannelID=int(tokens[1]) if len(tokens) == 3: regionID = int(tokens[2]) return regionID, selServerID, selChannelID except: print "LoginWindow.__LoadChannelInfo - OpenError" return -1, -1, -1 to class LoginWindow(ui.ScriptWindow): its not working. When i add new class like the old one class ConnectingDialog(ui.ScriptWindow): its not working too. Can anybody help me please? Link to comment Share on other sites More sharing options...
dexolus 12 Posted February 21, 2022 Author Share Posted February 21, 2022 Repaired there was problem in another file. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now