Jump to content
×
×
  • Create New...
  • 0

Python issue - script meant for loginscreen also gets loaded ingame


covfefe

Question

Hi,

I'm running into a small issue lately, I've got a .py script where multilang system is written and I've created a function to call the system in my intrologin.py so as to show it in login screen, all works good except that it also shows in game screen when I login which is not what I want. I'm trying to prevent it from showing ingame ... can someone give me tips as to why an intrologin function gets called ingame and how to prevent it? Maybe just the logic behind it?

code snippet

self.loadmultipleLangs()
        
    def loadmultipleLangs(self):
        import multiplelangs
        multilang = multiplelangs.Langs()
        multilang.Show()
        self.Close()

would appreciate any help!

Edited by covfefe
Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 14

      CRK - Cronikal [Play now][Official start on April 24, 2022 at 16:00][11 languages available]

    2. 57

      Forever Metin2

    3. 1

      NPC direct item enchant

    4. 37

      Official Mailbox

    5. 0

      [Request] Underground-MT2 Serverfiles, Database , Homepage & Client

    6. 0

      3 countries 3 phrases

    7. 1

      NPC direct item enchant

    8. 0

      Origins2 Global | International | A new concept - 10.06.2022

  • Recently Browsing

    • No registered users viewing this page.

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.