Dynamic Things Posted July 30, 2015 at 10:15 AM Share Posted July 30, 2015 at 10:15 AM Ativar alt + F4 para fechar o cliente. Descompactamos o root. Abrimos game.py E procuramos por: def __PressQuickSlot(self, localSlotIndex): Será algo mais ou menos assim: def __PressQuickSlot(self, localSlotIndex): if localeInfo.IsARABIC(): if 0 <= localSlotIndex and localSlotIndex < 4: player.RequestUseLocalQuickSlot(3-localSlotIndex) else: player.RequestUseLocalQuickSlot(11-localSlotIndex) else: player.RequestUseLocalQuickSlot(localSlotIndex) Adicionamos estas seguintes linhas: if app.IsPressed(app.DIK_LALT): app.Exit() else: e o nosso resultado final será este: def __PressQuickSlot(self, localSlotIndex): if app.IsPressed(app.DIK_LALT): app.Exit() else: if localeInfo.IsARABIC(): if 0 <= localSlotIndex and localSlotIndex < 4: player.RequestUseLocalQuickSlot(3-localSlotIndex) else: player.RequestUseLocalQuickSlot(11-localSlotIndex) else: player.RequestUseLocalQuickSlot(localSlotIndex) Atenção, não aconselho o uso deste tutorial, pois os segundos a qual tem que se aguardar, antes de terminar a sua sessão, têm um porquê. Cumprimentos DynamicThings Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now