Death Knights runes menu

User Tag List

Results 1 to 4 of 4
  1. #1
    kisjaksi's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Death Knights runes

    I can read the rune states from the memory, but I only get one byte value.
    If all my runes are ready, it's value is 255. If my first blood rune is on cooldown, it's 254 (255-1). If my first blood rune is ready, but my second is on cooldown, it's 253 (255-2). If both of them are on cooldown, it's 252 (255-1-2). And so on with the other runes. How can I figure out, if my n. rune is ready?

    Death Knights runes
  2. #2
    suicidity's Avatar Contributor
    Reputation
    207
    Join Date
    Oct 2006
    Posts
    1,439
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's a flag.

    255 -> 1111 1111
    254 -> 1111 1110
    253 -> 1111 1101
    252 -> 1111 1100
    etc.

    Now I don't code for WoW, so this is a guess; But lets do some Pseudo-code! The enum is an example, fix it to what you need(?).
    Code:
    enum DeathKnightRunes : int
    {
    	DK_RUNE1 = 0x1,
    	DK_RUNE2 = 0x2,
    	DK_RUNE3 = 0x4,
    	DK_RUNE4 = 0x8,
    }
    
    // Note RuneFlag is what you describe as "rune states"
    bool IsRuneReady(int n)
    {
    	return ((RuneFlag & n) == n);
    }


  3. #3
    kisjaksi's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, you helped a lot!

  4. #4
    suicidity's Avatar Contributor
    Reputation
    207
    Join Date
    Oct 2006
    Posts
    1,439
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No problem.


Similar Threads

  1. Death Knight Runes
    By turtlemans in forum PE Support forum
    Replies: 2
    Last Post: 11-30-2016, 12:56 AM
  2. Reading Death Knight rune states from memory
    By ~Unknown~ in forum WoW Memory Editing
    Replies: 9
    Last Post: 06-09-2010, 11:15 AM
  3. Death Knight Runes
    By mordok in forum WoW Memory Editing
    Replies: 15
    Last Post: 01-07-2010, 03:30 PM
  4. [Death Knight] Use Dancing Rune Blade ALL THE TIME
    By neax1337 in forum World of Warcraft Exploits
    Replies: 16
    Last Post: 11-18-2008, 02:21 PM
All times are GMT -5. The time now is 08:57 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