Asdria 1 Posted July 5, 2020 Share Posted July 5, 2020 (edited) 'OnlinePopup' object has no attribute 'eventFunc' Problem still persists. Code is missing Edited July 5, 2020 by Asdria Link to comment Share on other sites More sharing options...
Ciucciamelo 0 Posted July 22, 2020 Share Posted July 22, 2020 Excuse me, it works. The only thing is that when I login, I get notifications of players that are online. how do I fix this thing? thx Link to comment Share on other sites More sharing options...
d1s0rd3rx123 2 Posted September 3, 2020 Share Posted September 3, 2020 (edited) i have 1 problem : system.py(line:273) RunMainScript system.py(line:192) execfile system.py(line:163) Run prototype.py(line:61)? prototyple.py(line:47) RunApp networkModule.py(line:122) Create networkModule.py(line:34) LoadDialog ui.py (line:2870) LoadScriptFile ui.py (line:2979 LoadChildren ui.py (line:1726) _init_ Run - exceptions.NameError:global name 'False' is not defined Print: https://metin2.download/picture/OONeQil4k5BF6S6zE2A2p544zhZn142R/.png help plz Edited September 4, 2022 by Metin2 Dev Core X - External 2 Internal 2 Link to comment Share on other sites More sharing options...
Cunoo 210 Posted September 3, 2020 Share Posted September 3, 2020 (edited) 2 hours ago, d1s0rd3rx123 said: i have 1 problem : system.py(line:273) RunMainScript system.py(line:192) execfile system.py(line:163) Run prototype.py(line:61)? prototyple.py(line:47) RunApp networkModule.py(line:122) Create networkModule.py(line:34) LoadDialog ui.py (line:2870) LoadScriptFile ui.py (line:2979 LoadChildren ui.py (line:1726) _init_ Run - exceptions.NameError:global name 'False' is not defined Print: https://metin2.download/picture/OONeQil4k5BF6S6zE2A2p544zhZn142R/.png help plz Run - exceptions.NameError:global name 'False' is not defined Edited September 4, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Ciucciamelo 0 Posted September 4, 2020 Share Posted September 4, 2020 work perfect brò ;) Link to comment Share on other sites More sharing options...
d1s0rd3rx123 2 Posted September 4, 2020 Share Posted September 4, 2020 i'm still learning ,i don't understand much ... what i have to do to disappear this error? Link to comment Share on other sites More sharing options...
BaalaaN 1 Posted December 19, 2020 Share Posted December 19, 2020 On 9/4/2020 at 11:09 AM, d1s0rd3rx123 said: i'm still learning ,i don't understand much ... what i have to do to disappear this error? Replace: "False" to "FALSE" Link to comment Share on other sites More sharing options...
ByLost 145 Posted May 16, 2021 Share Posted May 16, 2021 (edited) On 7/22/2020 at 6:13 AM, Ciucciamelo said: Excuse me, it works. The only thing is that when I login, I get notifications of players that are online. how do I fix this thing? thx fix? Edited May 16, 2021 by ByLost Link to comment Share on other sites More sharing options...
tomika1997 2 Posted December 3, 2022 Share Posted December 3, 2022 (edited) 1203 08:59:00971 :: Traceback (most recent call last): 1203 08:59:00971 :: File "introLogo.py", line 60, in OnUpdate 1203 08:59:00971 :: File "networkModule.py", line 177, in SetLoginPhase 1203 08:59:00972 :: File "system.py", line 130, in __pack_import 1203 08:59:00972 :: File "system.py", line 110, in _process_result 1203 08:59:00972 :: File "introLogin.py", line 14, in <module> 1203 08:59:00973 :: File "system.py", line 130, in __pack_import 1203 08:59:00973 :: File "system.py", line 110, in _process_result 1203 08:59:00973 :: File "uiCommon.py", line 422, in <module> 1203 08:59:00974 :: AttributeError 1203 08:59:00974 :: : 1203 08:59:00974 :: 'module' object has no attribute 'BorderB' i add end of file this class OnlinePopup(ui.BorderB): def __init__(self): ui.BorderB.__init__(self) self.isActiveSlide = False self.isActiveSlideOut = False self.endTime = 0 self.wndWidth = 0 self.textLine = ui.TextLine() self.textLine.SetParent(self) self.textLine.SetWindowHorizontalAlignCenter() self.textLine.SetWindowVerticalAlignCenter() self.textLine.SetHorizontalAlignCenter() self.textLine.SetVerticalAlignCenter() self.textLine.SetPosition(13, 0) self.textLine.Show() self.onlineImage = ui.ImageBox() self.onlineImage.SetParent(self) self.onlineImage.SetPosition(8, self.onlineImage.LoadImage("d:/ymir work/ui/game/windows/messenger_list_online.sub") self.onlineImage.Show() def __del__(self): ui.BorderB.__del__(self) def SlideIn(self): self.SetTop() self.Show() self.isActiveSlide = True self.endTime = app.GetGlobalTimeStamp() + 5 def Close(self): self.Hide() def Destroy(self): self.Close() def SetUserName(self, name): self.textLine.SetText("Player %s is online." % str(name)) self.wndWidth = self.textLine.GetTextSize()[0] + 40 self.SetSize(self.wndWidth, 25) self.SetPosition(-self.wndWidth, wndMgr.GetScreenHeight() - 200) def OnUpdate(self): if self.isActiveSlide and self.isActiveSlide == True: x, y = self.GetLocalPosition() if x < 0: self.SetPosition(x + 4, y) if self.endTime - app.GetGlobalTimeStamp() <= 0 and self.isActiveSlideOut == False and self.isActiveSlide == True: self.isActiveSlide = False self.isActiveSlideOut = True if self.isActiveSlideOut and self.isActiveSlideOut == True: x, y = self.GetLocalPosition() if x > -(self.wndWidth): self.SetPosition(x - 4, y) if x <= -(self.wndWidth): self.isActiveSlideOut = False self.Close() IMAGE: https://metin2.download/picture/5sJ2GR90PoJQXjxQfulR6X0O0xu1q7R9/.png Edited December 3, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Debloat 88 Posted June 3, 2023 Share Posted June 3, 2023 It is working perfectly. I used border a instead of border b and it looks even better. I also used locale text to make it multi language compatible. This is the hidden content, please Sign In or Sign Up 23 1 10 Link to comment Share on other sites More sharing options...
Recommended Posts