Popular Content

Showing content with the highest reputation on 10/24/2016 in all areas

  1. 1 point
    Ai prima versiune a lui Ken de shop offline, in versiuni ceva mai superioare, o să ai funția de "GetBack", după ce expiră timp-ul, se bagă intr-un slot special în shop-ul offline.
  2. 1 point
    Change your HideAllQuestWindow function to this: def HideAllQuestWindow(self): [obj.OnCancel() for obj in self.wndQuestWindow] This is need in that case if your self.wndQuestWindow variable is a list( [] ) what hasn't attribute "iteritems" as the errorlog said also. That one-line command will iterate each items in the list, and that will call the "OnClose" method on every object in the list. Same as this: def HideAllQuestWindow(self): for obj in self.wndQuestWindow: obj.OnClose() or this: def HideAllQuestWindow(self): for i in xrange(len(self.wndQuestWindow)): self.wndQuestWindow[i].OnClose() or... def HideAllQuestWindow(self): map(lambda x:x.OnClose(), self.wndQuestWindow) and many more opportunities...
  3. 1 point
    Please edit your post instead of doing a double post next time.
  4. 1 point
  5. 1 point