Advertisement
Guest User

tibia cooldowns 10.81

a guest
Sep 14th, 2015
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. Addresses:
  2. public readonly static int Cooldown = 0x804854 + baseAdress;
  3. public readonly static int CoolDownCategoryStart = Cooldown;
  4. public readonly static int CoolDownItemsStart = Cooldown + 0xC;
  5. public readonly static int CoolDownItems = Cooldown + 0x10;
  6.  
  7. Getting values:
  8. int pointer_main = Memory.ReadInt32(Addresses.Client.CoolDownCategoryStart);
  9. int pointer_atk = Memory.ReadInt32(pointer_main);
  10. int pointer_hea = Memory.ReadInt32(pointer_atk);
  11. int pointer_sup = Memory.ReadInt32(pointer_hea);
  12.  
  13. CategoryAttackTimeStart = Memory.ReadInt32(pointer_atk + 12);
  14. CategoryAttackTimeEnd = Memory.ReadInt32(pointer_atk + 16);
  15. CategoryHealingTimeStart = Memory.ReadInt32(pointer_hea + 12);
  16. CategoryHealingTimeEnd = Memory.ReadInt32(pointer_hea + 16);
  17. this.CategorySupportTimeStart = Memory.ReadInt32(pointer_sup + 12);
  18. this.CategorySupportTimeEnd = Memory.ReadInt32(pointer_sup + 16);
  19. this.CategorySpecialTimeStart = Memory.ReadInt32(pointer_main + 12);
  20. this.CategorySpecialTimeEnd = Memory.ReadInt32(pointer_main + 16);
  21.  
  22. int int5 = Memory.ReadInt32(Addresses.Client.CoolDownItems);
  23. int int6 = Memory.ReadInt32(Addresses.Client.CoolDownItemsStart);
  24. int Ptr = Memory.ReadInt32(int6);
  25. for (int index = 0; index < int5; ++index)
  26. {
  27. int int7 = Memory.ReadInt32(Ptr);
  28. int CoolDownID = Memory.ReadInt32(Ptr + 8);
  29. int CoolDownStart = Memory.ReadInt32(Ptr + 12);
  30. int CoolDownEnd = Memory.ReadInt32(Ptr + 16);
  31. int6 = int7;
  32. }
  33.  
  34. Taken from https://code.google.com/p/extibiabot/source/browse/exTibia/Objects
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement