R8Sentinel

AutoPickUp_EN

Nov 13th, 2017
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. ##AutoPickUp##R8Sentinel##
  2. 1.1 Search in game.py (root):
  3. def OnUpdate(self):
  4. Add bellow:
  5. if 1 == constInfo.ENABLE_PICKUP:
  6. self.PickUpItem()
  7. 1.2 Search:
  8. testAlignment = 0
  9. Add bellow:
  10. CHECK_ACTIVE_PICKUP = 0
  11. 1.3 Search:
  12. app.DIK_F4
  13. Add bellow:
  14. onPressKeyDict[app.DIK_F5] = lambda : self.__EnablePickUpItem()
  15. !Info: F5: is the key that starts/stops the system.
  16. 1.4 Search:
  17. def __PressNumKey(self,num):
  18. Add above:
  19. def __EnablePickUpItem(self):
  20. global CHECK_ACTIVE_PICKUP
  21. if CHECK_ACTIVE_PICKUP == 0:
  22. CHECK_ACTIVE_PICKUP = 1
  23. constInfo.ENABLE_PICKUP = 1
  24. chat.AppendChat(chat.CHAT_TYPE_NOTICE, "|cFF00ff33Auto-Pickup este pornit.|h|cFFFFFFFF|h")
  25. else:
  26. CHECK_ACTIVE_PICKUP = 0
  27. constInfo.ENABLE_PICKUP = 0
  28. chat.AppendChat(chat.CHAT_TYPE_NOTICE, "|cFFDC143CAuto-Pickup este oprit.|h|cFFFFFFFF|h")
  29. !Info: |cFF00ff33 =the color of the chat message
  30. 2. Enter in constInfo.py (root)
  31. Add bellow (above import)
  32. ENABLE_PICKUP = 0
Advertisement
Add Comment
Please, Sign In to add comment