Jump to content

alexander113147

Member
  • Posts

    12
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by alexander113147

  1. 1116 12:40:26484 :: Traceback (most recent call last):

    1116 12:40:26485 ::   File "uiInventory.py", line 1716, in OnUpdate

    1116 12:40:26485 :: AttributeError
    1116 12:40:26485 :: : 
    1116 12:40:26485 :: 'int' object has no attribute 'SetText'
    1116 12:40:26485 :: 

    1116 12:40:26486 :: Traceback (most recent call last):

     

    Please can someone help me, I get this in uiinventory.py

     

     

            if money <= 100000000:
                self.wndMoney.SetFontColor(1.0, 0.2, 0.2)
            elif money >= 100000001 and money <= 1000000000:
                self.wndMoney.SetFontColor(1.0, 0.6, 0.2)
            elif money >= 1000000001 and money <= 1500000000:
                self.wndMoney.SetFontColor(1.0, 1.0, 0.2)
            elif money >= 1500000001:
                self.wndMoney.SetFontColor(0.6, 1.0, 0.2)
            self.wndMoney.SetText(localeInfo.NumberToMoneyString(money))
            
          import constInfo
        self.wndMds.SetText(str(constInfo.mds) + "|cffffcc00 Md's")

                           def OnUpdate(self):
                             import constInfo
     line 1716           self.wndMds.SetText(str(constInfo.mds) + "|cffffcc00 Md's")

            if app.ENABLE_SORT_INVEN and self.tooltipInfo:
                for i in xrange(len(self.tooltipInfo)):
                    if self.yenilebutton.IsIn():
                        self.tooltipInfo[i].Show()
                    else:
                        self.tooltipInfo[i].Hide()

        def SetItemToolTip(self, tooltipItem):
            self.tooltipItem = tooltipItem

     

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