Select Interface - WoM2

Totalitatea subiectelor care nu respectă regulamentul vor fi stocate aici.
Avatar utilizator
Ley
Nivel 9

Nivel 9
Mesaje: 1934
Membru din: 09 Feb 2017, 22:30
Server: Colossus2
Regat: Jinno
Aprecieri: 221  
Mulţumiri: 1338  
Medalii

denyxp31 scrie:
Ley scrie:Dupa ce o bagati , sa va uitati si in syserr. :)
eu nu am nici o problema, desi a trebuit sa adaptez unele chestii, care e faza?
Fara fixul de la andy pe care l-a postat dupa ce am rezolvat (ms andy) , aveai niste erori.
Imagine
Afișează semnătura
Avatar utilizator
MariusExygo
Fost Helper

Fost Helper
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:
Medalii

Imagine
Afișează semnătura
Avatar utilizator
RMB
Nivel 3

Nivel 3
Mesaje: 381
Membru din: 05 Feb 2017, 20:11
Regat: Jinno
Aprecieri: 304  
Mulţumiri: 28  
Medalii

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): Imagine Interfata mea:
Photo1: Imagine Photo2: Imagine 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)
cum rezolv eroarea asta?

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!!!!
Avatar utilizator
3Dmetin.ro
Nou Venit

Nou Venit
Mesaje: 12
Membru din: 01 Oct 2014, 00:24
Server: Rivality2
Regat: Jinno
Aprecieri: 6  
Mulţumiri: 4  
 Contact:
Medalii

nice ;)
Avatar utilizator
fantasy123
Nou Venit

Nou Venit
Mesaje: 27
Membru din: 01 Aug 2017, 07:44
Server: DSPVP2
Regat: Jinno
Aprecieri: 73  
Mulţumiri: 0
Medalii

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!!!!
Închis
Răspunsuri
2
Vizualizări
3276
Răspunsuri
33
Vizualizări
11306
Răspunsuri
5
Vizualizări
3078
Răspunsuri
2
Vizualizări
465

Înapoi la “Arhivă”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Baidu [Spider] și 15 vizitatori