Jump to content

tomika1997

Member
  • Posts

    20
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by tomika1997

  1. 0206 10:47:17406 ::
    networkModule.py(line:208) SetSelectCharacterPhase
    system.py(line:130) __pack_import
    system.py(line:110) _process_result
    introSelect.py(line:23) <module>
    system.py(line:130) __pack_import
    system.py(line:110) _process_result
    uiAffectShower.py(line:8) <module>
    system.py(line:130) __pack_import

    networkModule.SetSelectCharacterPhase - <type 'exceptions.SyntaxError'>:invalid syntax (uiToolTip.py, line 574)

    0206 10:47:17406 :: ============================================================================================================
    0206 10:47:17406 :: Abort!!!!

    My 574, line

    What is wrong?

            item.APPLY_CON : localeInfo.TOOLTIP_CON, 15,

    • Love 1
  2. Is it supposed to look like this?

     

    void CPythonApplication::RenderGame()
    {    
        if (!PERF_CHECKER_RENDER_GAME)
        {
            m_kRenderTargetManager.RenderBackgrounds();
            float fAspect=m_kWndMgr.GetAspect();
            float fFarClip=m_pyBackground.GetFarClip();

    [...]
            }

    Sloved is working tank you very much ❤️

    • Good 1
  3. 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

  4. 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()

    a8ea1355ac1653ab47cdca4427f0754b.png

×
×
  • 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.