Jump to content
  • 0

Press F10 to close the client immediately


Olimpion2

Question

3 answers to this question

Recommended Posts

  • 1

And where u wanna close game? Because is possible more ways.. For example in game.py

Search:

onPressKeyDict[app.DIK_F4]	= lambda : self.__PressQuickSlot(7)

Add under:

onPressKeyDict[app.DIK_F10]	= lambda : app.Exit()


After u press F10 client will close.. (ONLY INGAME not in login, introselect, createchar, introempire etc.. JUST ONLY IN GAME)

  • Love 1
Link to comment
Share on other sites

  • -1
  • Contributor
On 12/5/2022 at 10:28 AM, Olimpion2 said:

Thank you very much friend, it has already helped me 50%, I would like to put the option in the login and selection part too, if you can help me, I really appreciate it.

Don't push it, the dude already gave you everything you asked for/needed. Read the root files, use your brain(if you have any), and do it yourself.

 

If you can't read/write code at a basic level, you shouldn't be here, and that's a fact.

Start here: https://wiki.python.org/moin/BeginnersGuide/NonProgrammers

Link to comment
Share on other sites

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


×
×
  • 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.