Jump to content
×
×
  • Create New...
  • 0

bug client


WarNight

Question

bonjours je bute sur un petit bug ^^^ il parle de syntax je mi connait pas tros comment résoudre le problème 

 

0404 14:40:13411 :: 

networkModule.py(line:208) SetSelectCharacterPhase

system.py(line:130) __pack_import

system.py(line:110) _process_result

introSelect.py(line:14)

system.py(line:130) __pack_import

system.py(line:110) _process_result

uiTaskBar.py(line:17)

system.py(line:130) __pack_import

system.py(line:110) _process_result

interfaceModule.py(line:9)

system.py(line:130) __pack_import

 

networkModule.SetSelectCharacterPhase - :invalid syntax (uiInventory.py, line 110)

 

0404 14:40:13411 :: ============================================================================================================

0404 14:40:13411 :: Abort!!!!

 

voici la parti concerné 

 

 

	def RefreshCostumeSlot(self):
	getItemVNum=player.GetItemIndex
	race = net.GetMainActorRace()
	## BackgroundImage
try:
	BackGroundImageName = ROBERT_WORK_BG_IMG_COSTUME[race]

try:
	self.BackGroundImage.LoadImage(BackGroundImageName)
except:
	self.BackGroundImage.Hide()

except KeyError:
	self.BackGroundImage.Hide()

	for i in xrange(item.COSTUME_SLOT_COUNT):
		slotNumber = item.COSTUME_SLOT_START + i
		self.wndEquip.SetItemSlot(slotNumber, getItemVNum(slotNumber), 0)

	self.wndEquip.RefreshSlot()

Link to comment
  • Answers 7
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

7 answers to this question

Recommended Posts

  • 0
  • Administrateur

Vérifie qu'il n'y est pas d'espace mais que des TABS sur le code ou tu as apporté des modifications.

 

Exemple :

 

[TAB]def RefreshCostumeSlot(self):

[TAB][TAB]getItemVNum=player.GetItemIndex

[TAB][TAB]race = net.GetMainActorRace()

Link to comment
  • 0
  • Funkiest

Salut,

 

Essaie ça:

 

Remplace ceci:

[TAB][TAB]try:

[TAB][TAB][TAB]BackGroundImageName = ROBERT_WORK_BG_IMG_COSTUME[race]

 

[TAB][TAB]try:

[TAB][TAB][TAB]self.BackGroundImage.LoadImage(BackGroundImageName)

 

par ça:

 

[TAB][TAB]try:

[TAB][TAB][TAB]BackGroundImageName = ROBERT_WORK_BG_IMG_COSTUME[race]

[TAB][TAB][TAB]self.BackGroundImage.LoadImage(BackGroundImageName)

Link to comment
  • 0

non plus ^^ :/

 

0404 15:32:11068 ::

networkModule.py(line:208) SetSelectCharacterPhase

system.py(line:130) __pack_import

system.py(line:110) _process_result

introSelect.py(line:14)

system.py(line:130) __pack_import

system.py(line:110) _process_result

uiTaskBar.py(line:17)

system.py(line:130) __pack_import

system.py(line:110) _process_result

interfaceModule.py(line:9)

system.py(line:130) __pack_import

 

networkModule.SetSelectCharacterPhase - :default 'except:' must be last (uiInventory.py, line 109)

 

0404 15:32:11068 :: ============================================================================================================

0404 15:32:11069 :: Abort!!!!

Link to comment
Guest
This topic is now closed to further replies.


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.