Active Member Koray 1998 Posted October 13, 2015 Active Member Share Posted October 13, 2015 Hello, Have a bug in much published channel switcher due from DirectConnect function here is unbugged switcher https://www.youtube.com/watch?v=cJ45_H32lCY *Move: uichangechannel and ui_wrapper in root pack *networkmodule.pySearch: self.isAutoLogin=0 Add it under: self.channel = 0 *locale/xx/ui/systemdialog.py Search: { "name" : "game_option_button", "type" : "button", "x" : 10, "y" : 117, "text" : uiScriptLocale.GAMEOPTION_TITLE, "default_image" : ROOT + "XLarge_Button_01.sub", "over_image" : ROOT + "XLarge_Button_02.sub", "down_image" : ROOT + "XLarge_Button_03.sub", }, Add it under: { "name" : "change_ch_button", "type" : "button", "x" : 10, "y" : 147, "text" : "CH Switcher", "default_image" : ROOT + "XLarge_Button_01.sub", "over_image" : ROOT + "XLarge_Button_02.sub", "down_image" : ROOT + "XLarge_Button_03.sub", "disable_image" : ROOT + "XLarge_Button_03.sub", }, *game.py Search: self.interface.ShowDefaultWindows() Add it under: self.stream.isAutoSelect = 0 Search: self.interface = interfaceModule.Interface() Add it under: self.interface.SetStream(self.stream) *intrologin.pySearch: if constInfo.SEQUENCE_PACKET_ENABLE: net.SetPacketSequenceMode() Add it upper: net.ACC_ID = id net.ACC_PWD = pwd *interfacemodule.py Search: def __del__(self): systemSetting.DestroyInterfaceHandler() event.SetInterfaceWindow(None) Add it under: def SetStream(self, stream): self.stream = stream Search: self.dlgSystem = uiSystem.SystemDialog() Change: self.dlgSystem = uiSystem.SystemDialog(self.stream) *uisystem.py Add in imports import uiChangeChannel Search: def __init__(self): Change: def __init__(self, stream): Search: def __init__(self, stream): Find: self.__Initialize() Add it under: self.stream = stream Search: self.GetChild("system_option_button").SAFE_SetEvent(self.__ClickSystemOptionButton) Add it upper: self.GetChild("change_ch_button").SAFE_SetEvent(self.__ClickChangeChannelButton) Search: def __OnClosePopupDialog(self): Add it upper: def __ClickChangeChannelButton(self): self.Close() if not self.changeChDlg: self.changeChDlg = uiChangeChannel.uiChangeChannel(self.stream) self.changeChDlg.Show() Search: self.gameOptionDlg = None Add it under: self.changeChDlg = None Search: if self.systemOptionDlg: self.systemOptionDlg.Destroy() Add it under: if self.changeChDlg: self.changeChDlg.Destroy() This is the hidden content, please Sign In or Sign Up 2 15 Link to comment Share on other sites More sharing options...
PeaceMaker 121 Posted October 14, 2015 Share Posted October 14, 2015 1014 10:50:09073 :: networkModule.py(line:208) SetSelectCharacterPhasesystem.py(line:130) __pack_importsystem.py(line:110) _process_resultintroSelect.py(line:30) <module>system.py(line:130) __pack_importsystem.py(line:110) _process_resultinterfaceModule.py(line:22) <module> - import uiWhispersystem.py(line:130) __pack_importsystem.py(line:110) _process_resultuiWhisper.py(line:10) <module>system.py(line:130) __pack_importsystem.py(line:110) _process_resultuiGroup.py(line:6) <module>system.py(line:130) __pack_importsystem.py(line:110) _process_resultinterfacemodule.py(line:26) <module> - import uiSystemsystem.py(line:130) __pack_importsystem.py(line:110) _process_resultuiSystem.py(line:17) <module>uiSystem.py(line:99) SystemDialog networkModule.SetSelectCharacterPhase - <type 'exceptions.NameError'>:name 'self' is not defined 1014 10:50:09073 :: ============================================================================================================1014 10:50:09073 :: Abort!!!! Link to comment Share on other sites More sharing options...
morion 59 Posted October 14, 2015 Share Posted October 14, 2015 1014 19:00:19251 :: File "networkModule.py", line 241, in SetGamePhase 1014 19:00:19251 :: File "game.py", line 120, in __init__ 1014 19:00:19251 :: File "interfaceModule.py", line 338, in MakeInterface 1014 19:00:19251 :: File "interfaceModule.py", line 271, in __MakeDialogs 1014 19:00:19251 :: File "uiSystem.py", line 26, in __init__ 1014 19:00:19251 :: File "uiSystem.py", line 30, in __Initialize 1014 19:00:19251 :: NameError 1014 19:00:19251 :: : 1014 19:00:19251 :: global name 'stream' is not defined 1014 19:00:19251 :: Link to comment Share on other sites More sharing options...
ImBacK 8 Posted October 20, 2015 Share Posted October 20, 2015 1020 19:35:37464 :: File "ui.py", line 1016, in CallEvent 1020 19:35:37464 :: File "ui.py", line 87, in __call__ 1020 19:35:37464 :: File "ui.py", line 69, in __call__ 1020 19:35:37464 :: File "uiSystem.py", line 99, in __ClickChangeChannelButton 1020 19:35:37464 :: File "uiChangeChannel.py", line 16, in __init__ 1020 19:35:37464 :: File "uiChangeChannel.py", line 23, in __LoadWindow 1020 19:35:37464 :: File "system.py", line 87, in open 1020 19:35:37464 :: File "system.py", line 61, in __init__ 1020 19:35:37465 :: AttributeError 1020 19:35:37465 :: : 1020 19:35:37465 :: 'NoneType' object has no attribute 'split' 1020 19:35:37465 :: Link to comment Share on other sites More sharing options...
Achilleee 1 Posted October 20, 2015 Share Posted October 20, 2015 There's a bug. NoneType' object has no attribute 'split' Link to comment Share on other sites More sharing options...
ImBacK 8 Posted October 20, 2015 Share Posted October 20, 2015 There's a bug. NoneType' object has no attribute 'split' yes i know but how i can solve it @ Link to comment Share on other sites More sharing options...
tmoitoi 26 Posted October 20, 2015 Share Posted October 20, 2015 Work well, thanks Link to comment Share on other sites More sharing options...
Traktorzysta 17 Posted November 23, 2015 Share Posted November 23, 2015 give serverinfo my dont work with this py Link to comment Share on other sites More sharing options...
knothox 0 Posted December 6, 2015 Share Posted December 6, 2015 Doesn't work, I can start metin2, but I doesn't have the Switch CH, in my options... why? Link to comment Share on other sites More sharing options...
AndrewSkc 3 Posted December 7, 2015 Share Posted December 7, 2015 Work well, thanks Link to comment Share on other sites More sharing options...
Eigenartig 7 Posted December 15, 2015 Share Posted December 15, 2015 works good thanks Link to comment Share on other sites More sharing options...
Kriege119 2 Posted January 2, 2016 Share Posted January 2, 2016 Quote 0102 14:56:05736 :: networkModule.py(line:209) SetSelectCharacterPhase system.py(line:130) __pack_import system.py(line:110) _process_result introSelect.py(line:30) ? system.py(line:130) __pack_import system.py(line:110) _process_result interfaceModule.py(line:24) ? system.py(line:130) __pack_import networkModule.SetSelectCharacterPhase - exceptions.SyntaxError:invalid syntax (line 101) 0102 14:56:05736 :: ============================================================================================================ 0102 14:56:05736 :: Abort!!!! how can i fix it? Link to comment Share on other sites More sharing options...
loyein 18 Posted January 2, 2016 Share Posted January 2, 2016 Work, thanks. Link to comment Share on other sites More sharing options...
bluedrago 28 Posted February 24, 2016 Share Posted February 24, 2016 networkModule.SetSelectCharacterPhase - <type 'exceptions.IndentationError'>:unindent does not match any outer indentation level (interfaceModule.py, line 98) --- this is ok? def Connect(self, id, pwd): net.ACC_ID = id net.ACC_PWD = pwd if constInfo.SEQUENCE_PACKET_ENABLE: net.SetPacketSequenceMode() if IsLoginDelay(): loginDelay = GetLoginDelay() self.connectingDialog = ConnectingDialog() self.connectingDialog.Open(loginDelay) self.connectingDialog.SAFE_SetTimeOverEvent(self.OnEndCountDown) self.connectingDialog.SAFE_SetExitEvent(self.OnPressExitKey) self.isNowCountDown = TRUE else: self.stream.popupWindow.Close() self.stream.popupWindow.Open(localeInfo.LOGIN_CONNETING, self.SetPasswordEditLineFocus, localeInfo.UI_CANCEL) self.stream.SetLoginInfo(id, pwd) self.stream.Connect() Link to comment Share on other sites More sharing options...
Steffan95 0 Posted March 9, 2016 Share Posted March 9, 2016 system doesn't work same problem like u. anybody? Link to comment Share on other sites More sharing options...
gummyantifi 2 Posted March 30, 2016 Share Posted March 30, 2016 Bug Fix (y) Spoiler serverInfo.py (:state_none rename :0 SERVER01_CHANNEL_DICT = { 1:{"key":11,"name":"CH1","ip":"xxx.xx.xx.xxx","tcp_port":xxxxx,"udp_port":xxxxx,"state":0,}, 2:{"key":12,"name":"CH2","ip":"xxx.xx.xx.xxx","tcp_port":xxxxx,"udp_port":xxxxx,"state":0,}, 3:{"key":13,"name":"CH3","ip":"xxx.xx.xx.xxx","tcp_port":xxxxx,"udp_port":xxxxx,"state":0,}, 4:{"key":14,"name":"CH4","ip":"xxx.xx.xx.xxx","tcp_port":xxxxx,"udp_port":xxxxx,"state":0,}, } and uichangechannel.py ("false/true rename FALSE/TRUE") if str(background.GetCurrentMapName()) in bad_maps: return TRUE return FALSE Good Job Koray (y) Link to comment Share on other sites More sharing options...
Yasin Sarıoğlu 0 Posted April 5, 2016 Share Posted April 5, 2016 Work, Thanks. Link to comment Share on other sites More sharing options...
Tallywa 35 Posted July 7, 2016 Share Posted July 7, 2016 i click in ch switcher but i have not fenetre open for switch why? Link to comment Share on other sites More sharing options...
xOjciec 0 Posted July 31, 2016 Share Posted July 31, 2016 i have problem when i try to change channel information show "unable to connect in this channel" Link to comment Share on other sites More sharing options...
[007]DawisHU 278 Posted April 10, 2017 Share Posted April 10, 2017 On 2015. 10. 14. at 9:51 AM, PeaceMaker said: 1014 10:50:09073 :: networkModule.py(line:208) SetSelectCharacterPhase system.py(line:130) __pack_import system.py(line:110) _process_result introSelect.py(line:30) <module> system.py(line:130) __pack_import system.py(line:110) _process_result interfaceModule.py(line:22) <module> - import uiWhisper system.py(line:130) __pack_import system.py(line:110) _process_result uiWhisper.py(line:10) <module> system.py(line:130) __pack_import system.py(line:110) _process_result uiGroup.py(line:6) <module> system.py(line:130) __pack_import system.py(line:110) _process_result interfacemodule.py(line:26) <module> - import uiSystem system.py(line:130) __pack_import system.py(line:110) _process_result uiSystem.py(line:17) <module> uiSystem.py(line:99) SystemDialog networkModule.SetSelectCharacterPhase - <type 'exceptions.NameError'>:name 'self' is not defined 1014 10:50:09073 :: ============================================================================================================ 1014 10:50:09073 :: Abort!!!! Simple import locale in ui_wrapper.py or uichangechannel.py Link to comment Share on other sites More sharing options...
[007]DawisHU 278 Posted April 10, 2017 Share Posted April 10, 2017 Hello, In -> uichangechannel.py search this Spoiler if str(background.GetCurrentMapName()) in bad_maps: return True return False Edit to Spoiler if str(background.GetCurrentMapName()) in bad_maps: return True #return False and enjoy Link to comment Share on other sites More sharing options...
Premium Syreldar 1875 Posted April 10, 2017 Premium Share Posted April 10, 2017 43 minutes ago, [007]DawisHU said: Hello, In -> uichangechannel.py search this Hide contents if str(background.GetCurrentMapName()) in bad_maps: return True return False Edit to Hide contents if str(background.GetCurrentMapName()) in bad_maps: return True #return False and enjoy ????????????????????????????????????????????????????????????????????? "Nothing's free in this life. Ignorant people have an obligation to make up for their ignorance by paying those who help them. Either you got the brains or cash, if you lack both you're useless." Syreldar Link to comment Share on other sites More sharing options...
[007]DawisHU 278 Posted April 10, 2017 Share Posted April 10, 2017 7 minutes ago, Syreldar said: ????????????????????????????????????????????????????????????????????? Original file syserr Spoiler 0410 22:04:30510 :: Traceback (most recent call last): 0410 22:04:30510 :: File "ui.py", line 1011, in CallEvent 0410 22:04:30510 :: File "uiChangeChannel.py", line 42, in <lambda> 0410 22:04:30510 :: File "uiChangeChannel.py", line 73, in __ChangeChannel 0410 22:04:30510 :: File "uiChangeChannel.py", line 107, in IsInSpecialMap 0410 22:04:30510 :: NameError 0410 22:04:30510 :: : 0410 22:04:30510 :: global name 'False' is not defined 0410 22:04:30510 :: Link to comment Share on other sites More sharing options...
Premium Syreldar 1875 Posted April 10, 2017 Premium Share Posted April 10, 2017 Just now, [007]DawisHU said: Original file syserr Hide contents 0410 22:04:30510 :: Traceback (most recent call last): 0410 22:04:30510 :: File "ui.py", line 1011, in CallEvent 0410 22:04:30510 :: File "uiChangeChannel.py", line 42, in <lambda> 0410 22:04:30510 :: File "uiChangeChannel.py", line 73, in __ChangeChannel 0410 22:04:30510 :: File "uiChangeChannel.py", line 107, in IsInSpecialMap 0410 22:04:30510 :: NameError 0410 22:04:30510 :: : 0410 22:04:30510 :: global name 'False' is not defined 0410 22:04:30510 :: False -> FALSE ?????????????????????????????????? 1 "Nothing's free in this life. Ignorant people have an obligation to make up for their ignorance by paying those who help them. Either you got the brains or cash, if you lack both you're useless." Syreldar Link to comment Share on other sites More sharing options...
[007]DawisHU 278 Posted April 10, 2017 Share Posted April 10, 2017 1 minute ago, Syreldar said: False -> FALSE ?????????????????????????????????? Yeah work with "FALSE i no need "Specialmap" Free version's have only special map Premium user's no have special map 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