Jump to content

Nyxo

Inactive Member
  • Posts

    2
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Nyxo

  1. Problem solved, i missed that part from ui.py:

     

    class RenderTarget(Window):
    
    	def __init__(self, layer = "UI"):
    		Window.__init__(self, layer)
    		
    		self.number = -1
    
    	def __del__(self):
    		Window.__del__(self)
    
    	def RegisterWindow(self, layer):
    		self.hWnd = wndMgr.RegisterRenderTarget(self, layer)
    		
    	def SetRenderTarget(self, number):
    		self.number = number
    		wndMgr.SetRenderTarget(self.hWnd, self.number)

    Everything is working :)

    • Love 1
  2. Hey @V0lvox could You help me with this or anyone else? (Syserr.txt from client)
     

    0815 17:18:24597 :: Traceback (most recent call last):
    
    0815 17:18:24597 ::   File "ui.py", line 1589, in OnOverInItem
    
    0815 17:18:24597 ::   File "ui.py", line 87, in __call__
    
    0815 17:18:24597 ::   File "ui.py", line 78, in __call__
    
    0815 17:18:24598 ::   File "uiInventory.py", line 1199, in OverInItem
    
    0815 17:18:24598 ::   File "uiInventory.py", line 1375, in ShowToolTip
    
    0815 17:18:24598 ::   File "uiToolTip.py", line 590, in SetInventoryItem
    
    0815 17:18:24598 ::   File "uiToolTip.py", line 1011, in AddItemData
    
    0815 17:18:24598 ::   File "uiToolTip.py", line 1538, in __ModelPreview
    
    0815 17:18:24598 :: AttributeError
    0815 17:18:24598 :: : 
    0815 17:18:24598 :: 'module' object has no attribute 'RenderTarget'
    0815 17:18:24598 :: 
    
    0815 17:18:24793 :: Traceback (most recent call last):
    
    0815 17:18:24793 ::   File "ui.py", line 1589, in OnOverInItem
    
    0815 17:18:24793 ::   File "ui.py", line 87, in __call__
    
    0815 17:18:24793 ::   File "ui.py", line 78, in __call__
    
    0815 17:18:24793 ::   File "uiInventory.py", line 1199, in OverInItem
    
    0815 17:18:24794 ::   File "uiInventory.py", line 1375, in ShowToolTip
    
    0815 17:18:24794 ::   File "uiToolTip.py", line 590, in SetInventoryItem
    
    0815 17:18:24794 ::   File "uiToolTip.py", line 976, in AddItemData
    
    0815 17:18:24794 ::   File "uiToolTip.py", line 1574, in __ModelPreviewClose
    
    0815 17:18:24794 :: AttributeError
    0815 17:18:24794 :: : 
    0815 17:18:24794 :: 'NoneType' object has no attribute 'Hide'
    0815 17:18:24794 :: 

     

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