Probabil ai scos class Gauge din ui.pyMetin2Bull scrie: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!!!!
Select Interface - WoM2
I have an error
ABBC3_OFFTOPIC
0420 11:53:07920 :: Traceback (most recent call last):
0420 11:53:07920 :: File "introSelect.py", line 780, in OnUpdate
0420 11:53:07921 :: AttributeError
0420 11:53:07921 :: :
0420 11:53:07921 :: 'NewGauge' object has no attribute 'SetPercentage'
0420 11:53:07921 ::
0420 11:53:07920 :: File "introSelect.py", line 780, in OnUpdate
0420 11:53:07921 :: AttributeError
0420 11:53:07921 :: :
0420 11:53:07921 :: 'NewGauge' object has no attribute 'SetPercentage'
0420 11:53:07921 ::
- Bgd
-

- Mesaje: 269
- Membru din: 13 Sep 2013, 11:52
- Aprecieri: 170
- Mulţumiri: 160
- Discord: Copiază ID
multumim, dar cred ca lipsesc niste butoane, cel de log out respectiv item mall, si la login si la selectAndyOpris 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
denyxp31 scrie:multumim, dar cred ca lipsesc niste butoane, cel de log out respectiv item mall, si la login si la selectAndyOpris 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
Pune rezolutia 1920x1080
Do you have images for select that shows character race image?AndyOpris scrie:denyxp31 scrie:multumim, dar cred ca lipsesc niste butoane, cel de log out respectiv item mall, si la login si la selectAndyOpris 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
Pune rezolutia 1920x1080
Ley scrie:Dupa ce o bagati , sa va uitati si in syserr.
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)-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 298 vizitatori





Interfata mea:
Photo2:
Download:


de