4 mesaje
Membru Începător Membru Începător
  • Mesaje: 9
  • Reacții: 756
  • Mesaje utile: 0
  • Status: vibing
  • Regat: Shinsoo
  • [ID Discord]
  • Contact:

    Medalii

    Avatar utilizator
    Membru Începător
    Membru Începător
    *Descriere:

    - Este un system care arata o fereastra cu update-urile de pe server. Aici puteti scrie patch note-urile de la fiecare update.
    - Fereastra contine versiunea (vX.X.X) si data actualizarii
    - Se deschide din OptionDialog, dar poate fi modificat sa fie deschis pe buton/tasta. (F5/F6/etc)


    *Poze / Video (obligatoriu):
    [C++/Py] Ingame Patchnote Window - Mesaj 1 - Imagine 1
    [C++/Py] Ingame Patchnote Window - Mesaj 1 - Imagine 1
    *Link download:

    Conținut: Ascuns
    Reacționează ❤️ la acest mesaj și conținutul se va afișa automat.

    Nou Cum descarc de pe TeraBox?

    Afișează detalii Ascunde detalii
    • Este asemănător cu Mega.nz
    • Instalați-vă clientul lor de Download de aici
    • Faceți-vă un cont (vă puteți loga cu Facebook / Google / etc)
    • Nou Dacă nu vreți să descărcați clientul de Download, folosiți acest site
    • Gata! Acum puteți descărca resursele rapid & simplu.

    De ce folosim TeraBox?

    • Este gratuit
    • Primești 1TB de spațiu gratuit la orice cont creat!
    • Este ușor de folosit și varianta premium este foarte ieftină
    • Fișierele nu sunt șterse niciodată
    TeraBox logo
    Avatar utilizator
    Ene
    Membru Expert Membru Expert
  • Mesaje: 183
  • Reacții: 4933
  • Mesaje utile: 0
  • Status: (^.^)
  • Regat: Shinsoo
  • [ID Discord]
  • Contact:

    Medalii

    Avatar utilizator
    Membru Expert
    Membru Expert

    Mesaj de Ene »

    Frumos

    See full signature
    Membru Începător Membru Începător
  • Mesaje: 4
  • Reacții: 11
  • Mesaje utile: 0
  • Status: Pierd vremea ^.^
  • Regat: Chunjo
  • Medalii

    Avatar utilizator
    Membru Începător
    Membru Începător

    Mesaj de Eclipse Shade »

    there in resources are missing, if this error occur just follow this:

    1.
    Code:
    PatchNoteWindow.LoadWindow.BindObject - <type 'exceptions.NameError'>:global name 'pack_open' is not defined
    
    uipatchnotes.py
    Code:
    	def BuildPatchnotes(self):
    		try:
    			patchnotes = pack_open("%s/patchnotes.txt" % app.GetLocalePath(), "r")
    		except:
    			patchnotes = pack_open("locale/en/patchnotes.txt", "r")
    
    change to this:
    Code:
    
    	def BuildPatchnotes(self):
    		try:
    			patchnotes = open("%s/patchnotes.txt" % app.GetLocalePath(), "r")
    		except:
    			patchnotes = open("locale/en/patchnotes.txt", "r")
    
    2. PatchNoteWindow.LoadWindow.BindObject - <type 'exceptions.AttributeError'>:'module' object has no attribute 'UI_DEF_FONT_SLARGE'

    * add in locale_game.txt
    Code:
    UI_DEF_FONT_SLARGE    Patchnotes
    
    Membru Începător Membru Începător
  • Mesaje: 4
  • Reacții: 2
  • Mesaje utile: 1
  • Status: Pierd vremea ^.^
  • Regat: Jinno
  • Medalii

    Avatar utilizator
    Membru Începător
    Membru Începător

    Mesaj de kiro8890 »

    Multumesc de resursa! Este perfect functional.
    In caz ca aveti eroarea:
    Code:
    uiPatchnotes.py(line:42) LoadWindow
    ui.py(line:3219) GetChild
    
    PatchNoteWindow.LoadWindow.BindObject - <type 'exceptions.KeyError'>:'patch_notes_area'

    rezolvare:
    Code:
    ## cauta in uiscript/patchnotes.py  si modifica :
     border_b
     ## cu:
     thinboard
    ## sa arate asa :
     				{
    					"name" : "container", "type" : "thinboard", "x" : 15, "y" : 35, "width" : WINDOW_WIDTH - 30, "height" : WINDOW_HEIGHT - 35 - 15,
    					"children" :
    					(
    						{ "name" : "line", "type" : "line", "x" : 636, "y" : 0, "color" : 0xff232323,"width" : 0, "height" : 498, },
    						{ "name" : "patch_scrollbar_area", "type" : "window", "x" : 639, "y" : 4, "width" : 7, "height" : 493, },
    						{ "name" : "patch_notes_area", "type" : "window", "x" : 6, "y" : 6, "width" : 627, "height" : 489, },
    					),
    				},
    

    Inca ceva. verificati daca va citeste systemdialog.py din locale sau uiscript si asa scapati de batai de cap.
    Scrie răspuns

    Înapoi la “Sisteme Metin2”

    Informații

    Utilizatori ce navighează pe acest forum: flexthedork, salexandru9982, ualleson bruno și 3 vizitatori

    Discord ID copiat: