HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!
[CODE title="Syserr"]1219 21:39:24837 :: Traceback (most recent call last):
1219 21:39:24837 :: File "game.py", line 1149, in OnChangePKMode
1219 21:39:24837 :: File "interfaceModule.py", line 1083, in OnChangePKMode
1219 21:39:24837 :: File "uiCharacter.py", line 729, in RefreshAlignment
1219 21:39:24838 :: TypeError
1219 21:39:24838 :: :
1219 21:39:24838 :: __pack_import() takes at most 4 arguments (5 given)
1219 21:39:24838 :: [/CODE]
[CODE lang="python" title="Game.py"] def OnChangePKMode(self):1219 21:39:24837 :: File "game.py", line 1149, in OnChangePKMode
1219 21:39:24837 :: File "interfaceModule.py", line 1083, in OnChangePKMode
1219 21:39:24837 :: File "uiCharacter.py", line 729, in RefreshAlignment
1219 21:39:24838 :: TypeError
1219 21:39:24838 :: :
1219 21:39:24838 :: __pack_import() takes at most 4 arguments (5 given)
1219 21:39:24838 :: [/CODE]
self.interface.OnChangePKMode()
try:
self.__NotifyError(localeInf
PTION_PVPMODE_MESSAGE_DICT[player.GetPKMode()])except KeyError:
print "UNKNOWN PVPMode[%d]" % (player.GetPKMode())[/CODE]
[CODE lang="python" title="interfacemodule.py"] def OnChangePKMode(self):
self.wndCharacter.RefreshAlignment()
self.dlgSystem.OnChangePKMode()[/CODE]
[CODE lang="python" title="uicharacter.py"] def RefreshAlignment(self):
point, grade = player.GetAlignmentData()
import colorInfo
COLOR_DICT = { 0 : colorInfo.TITLE_RGB_GOOD_4,
1 : colorInfo.TITLE_RGB_GOOD_3,
2 : colorInfo.TITLE_RGB_GOOD_2,
3 : colorInfo.TITLE_RGB_GOOD_1,
4 : colorInfo.TITLE_RGB_NORMAL,
5 : colorInfo.TITLE_RGB_EVIL_1,
6 : colorInfo.TITLE_RGB_EVIL_2,
7 : colorInfo.TITLE_RGB_EVIL_3,
8 : colorInfo.TITLE_RGB_EVIL_4, }
colorList = COLOR_DICT.get(grade, colorInfo.TITLE_RGB_NORMAL)
gradeColor = ui.GenerateColor(colorList[0], colorList[1], colorList[2])
self.toolTipAlignment.ClearToolTip()
self.toolTipAlignment.AutoAppendTextLine(localeInfo.TITLE_NAME_LIST[grade], gradeColor)
self.toolTipAlignment.AutoAppendTextLine(localeInfo.ALIGNMENT_NAME + str(point))
self.toolTipAlignment.AlignHorizonalCenter()[/CODE]
Game.py line : self.interface.OnChangePKMode()
interfacemodule.py line : self.wndCharacter.RefreshAlignment()
UiCharacter.py line : import colorInfo
Son düzenleme:
En Çok Reaksiyon Alan Mesajlar
__pack_import fonksiyonunu dökümandaki gibi; Öğeyi görmek için üye olmalısınız.
Python:def __pack_import(name,globals=None,locals=None,fromlist=None, level=-1):
şeklinde düzelttikten sonra asıl sorunu syserr den görebilirsin

