with :
Code:
def ShowDefaultButton(self):
self.isShowButton = TRUE
self.showingButtonList.append(self.buttonDict[locale.TARGET_BUTTON_WHISPER])
self.showingButtonList.append(self.buttonDict[locale.TARGET_BUTTON_EXCHANGE])
self.showingButtonList.append(self.buttonDict[locale.TARGET_BUTTON_FIGHT])
self.showingButtonList.append(self.buttonDict[locale.TARGET_BUTTON_EMOTION_ALLOW])
if name.find("[")!=-1 or name.find("]")!=-1:
self.showingButtonList.append(self.buttonDict[locale.TARGET_BUTTON_VIEW_EQUIPMENT])
for button in self.showingButtonList:
button.Show()
sysser :
Code:
0803 16:21:12853 ::
networkModule.py(line:194) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:26) ?
system.py(line:130) __pack_import
networkModule.SetSelectCharacterPhase - exceptions.IndentationError:unindent does not match any outer indentation level (line 296)
0803 16:21:12853 :: ============================================================================================================
0803 16:21:12853 :: Abort!!!!
---------------------------------------------------------------------
with :
Code:
def ShowDefaultButton(self):
import player
name = player.GetName()
self.isShowButton = TRUE
self.showingButtonList.append(self.buttonDict[locale.TARGET_BUTTON_WHISPER])
self.showingButtonList.append(self.buttonDict[locale.TARGET_BUTTON_EXCHANGE])
self.showingButtonList.append(self.buttonDict[locale.TARGET_BUTTON_FIGHT])
self.showingButtonList.append(self.buttonDict[locale.TARGET_BUTTON_EMOTION_ALLOW])
if "[" in name:
self.showingButtonList.append(self.buttonDict[locale.TARGET_BUTTON_VIEW_EQUIPMENT])
for button in self.showingButtonList:
button.Show()
sysser :
Code:
0803 16:24:20471 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
0803 16:24:47931 :: CreateFromMemoryFile: Cannot create texture
0803 16:24:48082 :: Traceback (most recent call last):
0803 16:24:48082 :: File "networkModule.py", line 233, in SetGamePhase
0803 16:24:48082 :: File "game.py", line 105, in __init__
0803 16:24:48082 :: File "uiTarget.py", line 99, in __init__
0803 16:24:48082 :: AttributeError
0803 16:24:48082 :: :
0803 16:24:48082 :: 'TargetBoard' object has no attribute 'OnWhisper'
0803 16:24:48082 ::
img :
my uitarget.py ( if you wanna make it for me ) :