[Rezolvat]Eroare syserr client .

Înainte de a posta o problemă, caută în acest forum și poate găsești rezolvare.
Închis
Avatar utilizator
georgian69
Nivel 3

Nivel 3
Mesaje: 327
Membru din: 09 Mar 2015, 18:01
Server: _My Pc_
Regat: Jinno
Aprecieri: 0
Mulţumiri: 0
 Contact:
Medalii

Salut .
Am încercat să bag un system de hp ( Să vezi hp-ul oponentului în duel )
Şi îmi dă eroarea asta în syserr client .

Cod: Selectaţi tot

0709 19:23:59839 :: Traceback (most recent call last):

0709 19:23:59840 ::   File "uiTarget.py", line 483, in OnUpdate

0709 19:23:59840 :: AttributeError
0709 19:23:59840 :: : 
0709 19:23:59849 :: 'TargetBoard' object has no attribute 'healthBoard'
0709 19:23:59849 :: 

Ţin să specific , că am făcut exact lafel ca în tutorial .

Aici este uiTarget.py :

Cod: Selectaţi tot

	def OnUpdate(self):
		if self.isShowButton:

			exchangeButton = self.buttonDict[locale.TARGET_BUTTON_EXCHANGE]
			distance = player.GetCharacterDistance(self.vid)

			if distance < 0:
				return

			if exchangeButton.IsShow():
				if distance > self.EXCHANGE_LIMIT_RANGE:
					self.RefreshButton()

			else:
				if distance < self.EXCHANGE_LIMIT_RANGE:
					self.RefreshButton()
			if exchangeButton.IsShow():
				if distance > self.EXCHANGE_LIMIT_RANGE:
					self.RefreshButton()
		import event
		import constinfo
		if player.IsPVPInstance(self.vid):
			constInfo.VID = self.vid
			event.QuestButtonClick(constInfo.STHX)
483			if not self.healthBoard.IsShow() and self.vid != 0:
				self.healthBoard.Show()
			else:
				self.healthBoard.Hide()
			if self.IsShowButton:
				exchangeButton = self.buttonDict(locale.TARGET_BUTTON_EXCHANGE)
				distance = player.GetCharacterDistance(self.vid)
				if distance < 0:
					return
Imagine
Afișează semnătura
Avatar utilizator
georgian69
Nivel 3

Nivel 3
Mesaje: 327
Membru din: 09 Mar 2015, 18:01
Server: _My Pc_
Regat: Jinno
Aprecieri: 0
Mulţumiri: 0
 Contact:
Medalii

Rezolvat , se poate da T/C
Imagine
Afișează semnătura
Avatar utilizator
Disclourse.
Nivel 3

Nivel 3
Mesaje: 473
Membru din: 01 Iun 2015, 09:54
Server: GoodTime.
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 4  
Medalii

Rezolvat . Imagine
Disclourse. √ιק™ [***Elite Games Coders©***]

Imagine
Afișează semnătura
Închis
Răspunsuri
6
Vizualizări
333
Răspunsuri
6
Vizualizări
572
Răspunsuri
7
Vizualizări
458

Înapoi la “Probleme rezolvate”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 14 vizitatori