Jump to content

Recommended Posts

Hey i was wondering if some1 cud help me with this.

34e952c67b2e40819acfb3afb2f9aa91.png

As you can see in the picture when i click on the left the system loads fully but when i click on the right it does not.

left gui = game.py
and right gui = uiinventory.py

Here is the uiinventory.py part of the interface

Spoiler

self.titrepvp = self.GetChild2("Titre")

        ## Systeme de titre  
        if self.titrepvp:
            self.titrepvp.SetEvent(ui.__mem_func__(self.ClickTitrePvP))        
            
self.dlgtitrepvp = uititre.TitreGui()

    def ClickTitrePvP(self):
        import uititre
        self.dlgtitrepvp.Show()
        self.dlgtitrepvp.OnOpen()
        
    def __TitrePVP(self, titre):
        titre = titre.replace("-", " "); ## Remplace tout les tiret recu par un espace.
        self.titrepvp.ReceptionTitre(titre) ## Ajoute le titre recus sur la GUI
        
    def __TitrePVPDescription(self, description):
        TitreDescriptionPhrase = description
        TitreDescriptionPhrase = TitreDescriptionPhrase.replace("-", " ")
        TitreDescriptionPhrase = TitreDescriptionPhrase.replace(".", ".[SAUT]")
        TitreDescriptionPhrase = TitreDescriptionPhrase.replace("!", "![SAUT]")
        TitreDescriptionPhrase = TitreDescriptionPhrase.replace(",", ",[SAUT]")
        self.titrepvp.ReceptionDescription(TitreDescriptionPhrase)

Any help would be gladly appreciated

Thanks.

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.