[HowTo] Get remaining breath/exhaustion/feign death time menu

User Tag List

Results 1 to 6 of 6
  1. #1
    xalcon's Avatar Contributor ふたなり
    Authenticator enabled
    Reputation
    198
    Join Date
    Oct 2008
    Posts
    291
    Thanks G/R
    20/58
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    [HowTo] Get remaining breath/exhaustion/feign death time

    Hello everyone.
    Time to contribute something
    My bot died sometimes due to a calculation error... he tried to fly over the great sea :x I was able to fix this error, but in the same time I asked myself how to add an additional security layer to prevent those things in the future. So I decided to reverse the lua_GetMirrorTimerProgress() function and this is the outcome:

    Code:
    // Static Offsets
    static uint currentTime_dword = 0xAC7318;
    static uint mtpOffset = 0xAD76F8; // Mirror Timer Progress
    // Types:
    // 0 = Exhaustion
    // 1 = Breath
    // 2 = Feign Death
    public static double getTimeRemaining(int type)
    {
        int currentTime = Memory.ReadInt((uint)Memory.MainModule.BaseAddress + currentTime_dword);
        uint pMtpArray = (uint)Core.Memory.MainModule.BaseAddress + mtpOffset + (uint)(7 * type * 4); // 7 = ArraySize, 4 = Integer Size :>
        int maxTime = Core.Memory.ReadInt(pMtpArray  + (uint)4 * 1);
        int modifier = Core.Memory.ReadInt(pMtpArray   + (uint)4 * 3); // Seems always to be -1
        int timerStarted = Core.Memory.ReadInt(pMtpArray    + (uint)4 * 6);
        return maxTime + modifier * (currentTime - timerStarted);
    }
    I hope this is helpful for someone

    v(o.o)

    [HowTo] Get remaining breath/exhaustion/feign death time
  2. #2
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1584
    Join Date
    May 2010
    Posts
    1,828
    Thanks G/R
    188/531
    Trade Feedback
    16 (100%)
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Is that server side?... never really looked at that...

  3. #3
    xalcon's Avatar Contributor ふたなり
    Authenticator enabled
    Reputation
    198
    Join Date
    Oct 2008
    Posts
    291
    Thanks G/R
    20/58
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    well, I'm not sure... I think it is client side, but I don't have checked what happens when I modify the timerStarted or the maxTime value. I'm not interested in such haxx :>

  4. #4
    namreeb's Avatar Legendary

    Reputation
    658
    Join Date
    Sep 2008
    Posts
    1,023
    Thanks G/R
    7/215
    Trade Feedback
    0 (0%)
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    It used to be server side. If you look at the GetTickCount() speed hacks, the breath bar would be long gone well before you started taking damage. In other words, you would not take damage more quickly, despite the speed hack. Note that this is different than, for example, fall damage, which (last time I did WoW stuff) was entirely tracked and reported client side.

  5. #5
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1356
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by namreeb View Post
    It used to be server side. If you look at the GetTickCount() speed hacks, the breath bar would be long gone well before you started taking damage. In other words, you would not take damage more quickly, despite the speed hack. Note that this is different than, for example, fall damage, which (last time I did WoW stuff) was entirely tracked and reported client side.

    I have not looked in a long time either, but afaik they started sanity checking some of the data you send back to stop some of the no-fall-damage hacks. Easy to bypass though...

  6. #6
    lunitune's Avatar Member
    Reputation
    3
    Join Date
    Apr 2008
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks xalcon, had looked at timers a bit and could not work them out. Mainly because I was thinking that there would be a counter that counted down.

    For 4.3.2 offsets - done slightly differently to your array method.

    http://www.ownedcore.com/forums/worl...ml#post2186381 ([WoW][4.3.2.15211] Info Dump Thread)

Similar Threads

  1. [Big Guide] Howto get a legit account using no money
    By Chenquie in forum World of Warcraft Guides
    Replies: 31
    Last Post: 08-12-2008, 08:12 AM
  2. [HowTo] Get rid of your xfer time
    By cooper101 in forum World of Warcraft Exploits
    Replies: 17
    Last Post: 03-26-2008, 10:42 AM
  3. [Howto] Get to the L70ETC!
    By nabi in forum World of Warcraft Exploration
    Replies: 15
    Last Post: 01-07-2008, 12:03 PM
  4. [HOWTO] Get a pet with all the abilities you want[HUNTER]
    By JoeBiden in forum World of Warcraft Guides
    Replies: 13
    Last Post: 12-31-2007, 08:20 AM
  5. [HOWTO] Get in The Black Temple (all classes)
    By Vladinator in forum World of Warcraft Exploits
    Replies: 27
    Last Post: 03-22-2007, 03:05 AM
All times are GMT -5. The time now is 11:55 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search