Problema mob target information Eroare Client
1102 21:18:11340 :: Unknown Server Command xmas_boom 1 | xmas_boom
1102 21:18:21587 :: Traceback (most recent call last):
1102 21:18:21587 :: File "game.py", line 1083, in SetHPTargetBoard
1102 21:18:21587 :: TypeError
1102 21:18:21587 :: :
1102 21:18:21587 :: SetHP() takes exactly 2 arguments (4 given)
1102 21:18:21587 ::
Va multumesc!
Problema mob target information
daca ai arata si linia aceea...
incearca sa o inlocuiesti cu asta:
incearca sa o inlocuiesti cu asta:
Cod: Selectaţi tot
def SetHPTargetBoard(self, vid, hpPercentage):
if vid != self.targetBoard.GetTargetVID():
self.targetBoard.ResetTargetBoard()
self.targetBoard.SetEnemyVID(vid)
self.targetBoard.SetHP(hpPercentage)
self.targetBoard.Show()C-Stroia scrie:daca ai arata si linia aceea...
incearca sa o inlocuiesti cu asta:Cod: Selectaţi tot
def SetHPTargetBoard(self, vid, hpPercentage): if vid != self.targetBoard.GetTargetVID(): self.targetBoard.ResetTargetBoard() self.targetBoard.SetEnemyVID(vid) self.targetBoard.SetHP(hpPercentage) self.targetBoard.Show()
am modificat akm am alta eroare
1102 22:09:12360 :: Unknown Server Command xmas_boom 1 | xmas_boom
1102 22:09:24276 :: TypeError
1102 22:09:24276 :: :
1102 22:09:24276 :: SetHPTargetBoard() takes exactly 3 arguments (5 given)
1102 22:09:24276 ::
1102 22:09:25979 :: CRaceManager::RegisterRacePath : RACE[60003] LOAD MSMFILE[d:/ymir work/npc2/scholar_beige_M/scholar_beige_M.msm] ERROR. Will Find Another Path.
1102 22:09:25979 :: CRaceManager::RegisterRacePath : RACE[60003] LOAD MSMFILE[d:/ymir work/npc_pet/scholar_beige_M/scholar_beige_M.msm] ERROR. Will Find Another Path.
- -DND-
-

- Mesaje: 1464
- Membru din: 22 Ian 2017, 16:40
- Server: Serverfiles By DnD
- Regat: Jinno
- Aprecieri: 116
- Mulţumiri: 2249
- Discord: Copiază ID
- Contact:
Cod: Selectaţi tot
def SetHP(self, hpPercentage):
if not self.hpGauge.IsShow():
self.SetSize(200 + 7*self.nameLength, self.GetHeight())
self.name.SetPosition(23, 16)
self.name.SetWindowHorizontalAlignLeft()
self.name.SetHorizontalAlignLeft()
self.hpGauge.Show()
self.hpText.Show()
self.UpdatePosition()
self.hpGauge.SetPercentage(hpPercentage, 100)
self.hpText.SetText(str(int(float(hpPercentage)/100.00*float(nonplayer.GetMonsterMaxHp(self.vid)))) + "/" + str(nonplayer.GetMonsterMaxHp(self.vid)) + " (" + str(hpPercentage) + "%)")
chr.SelectInstance(self.vid)-DND- scrie:daca este vorba de uitarget.pyCod: Selectaţi tot
def SetHP(self, hpPercentage): if not self.hpGauge.IsShow(): self.SetSize(200 + 7*self.nameLength, self.GetHeight()) self.name.SetPosition(23, 16) self.name.SetWindowHorizontalAlignLeft() self.name.SetHorizontalAlignLeft() self.hpGauge.Show() self.hpText.Show() self.UpdatePosition() self.hpGauge.SetPercentage(hpPercentage, 100) self.hpText.SetText(str(int(float(hpPercentage)/100.00*float(nonplayer.GetMonsterMaxHp(self.vid)))) + "/" + str(nonplayer.GetMonsterMaxHp(self.vid)) + " (" + str(hpPercentage) + "%)") chr.SelectInstance(self.vid)
acum am alta eroare
1102 22:38:15146 :: Unknown Server Command xmas_boom 1 | xmas_boom
1102 22:39:45342 :: TypeError
1102 22:39:45342 :: :
1102 22:39:45342 :: SetHPTargetBoard() takes exactly 3 arguments (5 given)
1102 22:39:45342 ::
1102 22:39:48148 :: TypeError
1102 22:39:48148 :: :
1102 22:39:48148 :: SetHPTargetBoard() takes exactly 3 arguments (5 given)
1102 22:39:48148 ::
1102 22:39:49782 :: TypeError
1102 22:39:49782 :: :
1102 22:39:49782 :: SetHPTargetBoard() takes exactly 3 arguments (5 given)
1102 22:39:49782 ::
- -DND-
-

- Mesaje: 1464
- Membru din: 22 Ian 2017, 16:40
- Server: Serverfiles By DnD
- Regat: Jinno
- Aprecieri: 116
- Mulţumiri: 2249
- Discord: Copiază ID
- Contact:
dami add pe skype sa-ti dau un target gata facut !
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Baidu [Spider], Google [Bot] și 38 vizitatori




