Select Interface - WoM2

Totalitatea subiectelor care nu respectă regulamentul vor fi stocate aici.
Avatar utilizator
AndyOpris
Nivel 4

Nivel 4
Mesaje: 500
Membru din: 09 Iun 2015, 15:12
Server: -
Regat: Jinno
Aprecieri: 1  
Mulţumiri: 226  
Medalii

Metin2Bull 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!!!!


:-??
Probabil ai scos class Gauge din ui.py
Avatar utilizator
kieranFMT2
Nou Venit

Nou Venit
Mesaje: 26
Membru din: 04 Aug 2014, 15:21
Server: DreamMt2
Regat: Shinsoo
Aprecieri: 118  
Mulţumiri: 1  
Medalii

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 ::
Avatar utilizator
WinrraR
Nivel 5

Nivel 5
Mesaje: 799
Membru din: 14 Mai 2017, 14:50
Server: Metin2BW
Regat: Chunjo
Aprecieri: 377  
Mulţumiri: 84  
Medalii

opa ai ascultat sfatul meu =)) cu link-ul alternativ dar totusi , ai psd-ul de la el? Mie mai usor sa-l codez eu =))
Afișează semnătura
Avatar utilizator
Bgd
Nivel 2

Nivel 2
Mesaje: 269
Membru din: 13 Sep 2013, 11:52
Aprecieri: 170  
Mulţumiri: 160  
Discord: Copiază ID
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
multumim, dar cred ca lipsesc niste butoane, cel de log out respectiv item mall, si la login si la select
Avatar utilizator
AndyOpris
Nivel 4

Nivel 4
Mesaje: 500
Membru din: 09 Iun 2015, 15:12
Server: -
Regat: Jinno
Aprecieri: 1  
Mulţumiri: 226  
Medalii

denyxp31 scrie:
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
multumim, dar cred ca lipsesc niste butoane, cel de log out respectiv item mall, si la login si la select

Pune rezolutia 1920x1080
Avatar utilizator
kieranFMT2
Nou Venit

Nou Venit
Mesaje: 26
Membru din: 04 Aug 2014, 15:21
Server: DreamMt2
Regat: Shinsoo
Aprecieri: 118  
Mulţumiri: 1  
Medalii

AndyOpris scrie:
denyxp31 scrie:
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
multumim, dar cred ca lipsesc niste butoane, cel de log out respectiv item mall, si la login si la select

Pune rezolutia 1920x1080
Do you have images for select that shows character race image?
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

Dupa ce o bagati , sa va uitati si in syserr. :)
Imagine
Afișează semnătura
Avatar utilizator
4Ever
Utilizator interzis !

Utilizator interzis !
Mesaje: 4
Membru din: 25 Apr 2018, 13:40
Server: Metin2Origins
Regat: Jinno
Aprecieri: 0
Mulţumiri: 0
 Contact:
Medalii

Frumos! :D
Afișează semnătura
Avatar utilizator
AndyOpris
Nivel 4

Nivel 4
Mesaje: 500
Membru din: 09 Iun 2015, 15:12
Server: -
Regat: Jinno
Aprecieri: 1  
Mulţumiri: 226  
Medalii

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)
Avatar utilizator
Bgd
Nivel 2

Nivel 2
Mesaje: 269
Membru din: 13 Sep 2013, 11:52
Aprecieri: 170  
Mulţumiri: 160  
Discord: Copiază ID
Medalii

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?
Închis
Răspunsuri
2
Vizualizări
3284
Răspunsuri
33
Vizualizări
11343
Răspunsuri
5
Vizualizări
3097
Răspunsuri
2
Vizualizări
471

Înapoi la “Arhivă”

  • Informaţie