Jump to content
  • Register Now

    Sign up and take advantage of the features of our community! Some forums are only accessible to our members!

  • 0

Quest Category Levelup quest problem


monarchis2

Question

Hello. Recently i installed the Quest Category system and everything work just fine, except the hunting quest part. In levelup.quest goes to Main quest and gives this syserr.

0723 11:27:20057 ::   File "ui.py", line 1462, in CallEvent

0723 11:27:20057 ::   File "ui.py", line 88, in __call__

0723 11:27:20057 ::   File "ui.py", line 79, in __call__

0723 11:27:20057 ::   File "uiQuestCategory.py", line 238, in __OnClickQuestCategory

0723 11:27:20057 ::   File "uiQuestCategory.py", line 34, in Open

0723 11:27:20057 ::   File "uiQuestCategory.py", line 118, in RefreshQuest

0723 11:27:20057 :: TypeError
0723 11:27:20057 :: : 
0723 11:27:20057 :: 'NoneType' object is not iterable
0723 11:27:20057 :: 

0723 11:27:21690 :: Traceback (most recent call last):

 

// Line 34: self.RefreshQuest()

// Line 118: (questName, questIcon, questCounterName, questCounterValue) = quest.GetQuestData(i)
  
// Line 238: self.__questList[categoryIndex].Open()

 

Edited by monarchis2 (see edit history)
Link to post

3 answers to this question

Recommended Posts

  • 0
		def RefreshQuest(self):
			questCount = self.GetCount()

			for i in xrange(questCount):
				(questName, questIcon, questCounterName, questCounterValue) = quest.GetQuestData(i)

				if i >= questCount or i >= QuestCategoryWindow.MAX_QUEST:
					break

				if questCounterName != "":
					self.SetCounterText(i, "%s : %d" % (questCounterName, questCounterValue))
				else:
					self.SetCounterText(i, "")

				self.RefreshClock()

 

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


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