Olimpion2 0 Posted December 4, 2022 Share Posted December 4, 2022 Could someone tell me if it is possible to put the client to close immediately on the F10 key?, if anyone knows and can help me, I really appreciate it! Link to comment Share on other sites More sharing options...
Pseudabo 32 Posted December 4, 2022 Share Posted December 4, 2022 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) 1 Link to comment Share on other sites More sharing options...
Olimpion2 0 Posted December 5, 2022 Author Share Posted December 5, 2022 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. Link to comment Share on other sites More sharing options...
Contributor Amun 1899 Posted December 7, 2022 Contributor Share Posted December 7, 2022 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 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now