Fara fixul de la andy pe care l-a postat dupa ce am rezolvat (ms andy) , aveai niste erori.denyxp31 scrie:eu nu am nici o problema, desi a trebuit sa adaptez unele chestii, care e faza?Ley scrie:Dupa ce o bagati , sa va uitati si in syserr.
Select Interface - WoM2
- MariusExygo
-

- Mesaje: 2063
- Membru din: 09 Mar 2014, 15:47
- Server: WildFantasy
- Regat: Jinno
- Aprecieri: 156
- Mulţumiri: 226
- Rezolvări prob.: 4
- Discord: Copiază ID
- Contact:

cum rezolv eroarea asta?AndyOpris scrie:Salut, astazi o sa va ofer aceasta interfata, care este foarte asemanataore cu cea de la WoM2.
btw.. e codata de mine
Interfata originala(WoM2):Interfata mea:
Photo1:Photo2:
Download:
https://1drv.ms/u/s!AhOzstvwiFbCbOvOhJG_R8ohLeg
Link alternativ: https://www118.zippyshare.com/v/FxNbjoDa/file.html
VirusTotal: https://www.virustotal.com/#/file/67d95 ... /detection
Rezolvare eroare sysser:
class NewGauge(Window): SLOT_WIDTH = 16 SLOT_HEIGHT = 7 GAUGE_TEMPORARY_PLACE = 12 GAUGE_WIDTH = 16 def __init__(self): Window.__init__(self) self.width = 0 def __del__(self): Window.__del__(self) def MakeGauge(self, width, color): self.width = max(48, width) imgSlotLeft = ImageBox() imgSlotLeft.SetParent(self) imgSlotLeft.LoadImage("d:/ymir work/ui/pattern/new_gauge/gauge_slot_left.tga") imgSlotLeft.Show() imgSlotRight = ImageBox() imgSlotRight.SetParent(self) imgSlotRight.LoadImage("d:/ymir work/ui/pattern/new_gauge/gauge_slot_right.tga") imgSlotRight.Show() imgSlotRight.SetPosition(width - self.SLOT_WIDTH, 0) imgSlotCenter = ExpandedImageBox() imgSlotCenter.SetParent(self) imgSlotCenter.LoadImage("d:/ymir work/ui/pattern/new_gauge/gauge_slot_center.tga") imgSlotCenter.Show() imgSlotCenter.SetRenderingRect(0.0, 0.0, float((width - self.SLOT_WIDTH*2) - self.SLOT_WIDTH) / self.SLOT_WIDTH, 0.0) imgSlotCenter.SetPosition(self.SLOT_WIDTH, 0) imgGauge = ExpandedImageBox() imgGauge.SetParent(self) imgGauge.LoadImage("d:/ymir work/ui/pattern/new_gauge/gauge_" + color + ".tga") imgGauge.Show() imgGauge.SetRenderingRect(0.0, 0.0, 0.0, 0.0) imgGauge.SetPosition(self.GAUGE_TEMPORARY_PLACE, 0) imgSlotLeft.AddFlag("attach") imgSlotCenter.AddFlag("attach") imgSlotRight.AddFlag("attach") self.imgLeft = imgSlotLeft self.imgCenter = imgSlotCenter self.imgRight = imgSlotRight self.imgGauge = imgGauge self.SetSize(width, self.SLOT_HEIGHT) def SetPercentage(self, curValue, maxValue): # PERCENTAGE_MAX_VALUE_ZERO_DIVISION_ERROR if maxValue > 0.0: percentage = min(1.0, float(curValue)/float(maxValue)) else: percentage = 0.0 # END_OF_PERCENTAGE_MAX_VALUE_ZERO_DIVISION_ERROR gaugeSize = -1.0 + float(self.width - self.GAUGE_TEMPORARY_PLACE*2) * percentage / self.GAUGE_WIDTH self.imgGauge.SetRenderingRect(0.0, 0.0, gaugeSize, 0.0)
0419 17:54:09960 ::
networkModule.py(line:209) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:2) <module>
system.py(line:130) __pack_import
system.py(line:110) _process_result
uiPlayerGauge.py(line:6) <module>
networkModule.SetSelectCharacterPhase - <type 'exceptions.AttributeError'>:'module' object has no attribute 'Gauge'
0419 17:54:09960 :: ============================================================================================================
0419 17:54:09960 :: Abort!!!!
nice 
Hello guys. Please help me... Syserr:
1224 22:28:09289 ::
networkModule.py(line:208) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:2) <module>
system.py(line:137) __pack_import
L:\work\Python-2.7.3\lib\locale.py(line:15) <module>
system.py(line:137) __pack_import
C:\Users\YMIR\Downloads\Python-2.7.3\Python-2.7.3\lib\encodings\__init__.py(line:32) <module>
networkModule.SetSelectCharacterPhase - <type 'exceptions.ImportError'>:cannot import name aliases
1224 22:28:09289 :: ============================================================================================================
1224 22:28:09289 :: Abort!!!!
1224 22:28:09289 ::
networkModule.py(line:208) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:2) <module>
system.py(line:137) __pack_import
L:\work\Python-2.7.3\lib\locale.py(line:15) <module>
system.py(line:137) __pack_import
C:\Users\YMIR\Downloads\Python-2.7.3\Python-2.7.3\lib\encodings\__init__.py(line:32) <module>
networkModule.SetSelectCharacterPhase - <type 'exceptions.ImportError'>:cannot import name aliases
1224 22:28:09289 :: ============================================================================================================
1224 22:28:09289 :: Abort!!!!
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 83 vizitatori




Interfata mea:
Photo2:
Download:
de