question about GetBuffAura menu

User Tag List

Results 1 to 6 of 6
  1. #1
    VesperCore's Avatar Contributor
    Reputation
    127
    Join Date
    Feb 2012
    Posts
    392
    Thanks G/R
    2/17
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    question about GetBuffAura

    I would like to know 3 things:
    1: What is this "AuraStructUnk: 7", it's a byte that have value like 0-3-7-11 and maybe more.
    2: How do you read AuraStructSpellEndTime ?
    3: Do I miss any more data in this structure ?

    AuraStructCreatorGuid: 1090FFFFFFFFFFFFFFFFFFFFFFFF033297 (128 bits GUID on PTR, this one if obviously edited)
    AuraStructSpellId: 324
    Name: Lightning Shield
    AuraStructUnk: 7
    AuraStructCount:5 (I had 5 stacks)
    AuraStructCasterLevel: 90
    AuraStructDuration: 3600000 (miliseconds = 1hour)

    AuraStructSpellEndTime: 923749061
    AuraStructSpellEndTime as double: 6.82238004931403E-314
    AuraStructSpellEndTime as float: 8.540873E-06


    for instance, this are the offsets I'm using for the structure :

    Code:
        
                AuraStructCreatorGuid = 0x20, // read 16 bytes (GUID)
                AuraStructSpellId = AuraStructCreatorGuid + 16, // read 4 bytes (UINT)
                AuraStructUnk = AuraStructSpellId + 4, // read 1 byte, what is this ?
                AuraStructCount = AuraStructUnk + 1, // read 1 byte
                AuraStructCasterLevel = AuraStructCount + 1, // read 1 byte
                AuraStructDuration = AuraStructCasterLevel + 1,  // read 4 bytes
                AuraStructSpellEndTime = AuraStructDuration + 4, // read 4 bytes

    About this unknown value (to me), here some samples:

    AuraStructSpellId: 48266
    Unk: 11

    AuraStructSpellId: 122026
    Unk: 3

    AuraStructSpellId: 51915
    Unk: 3
    Last edited by VesperCore; 10-01-2014 at 12:32 AM.

    question about GetBuffAura
  2. #2
    Mr.Sergey's Avatar Contributor
    Reputation
    113
    Join Date
    Apr 2009
    Posts
    195
    Thanks G/R
    5/21
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You must subtract the ReadUint(Timestamp) from ReadUint(AuraStructSpellEndTime) to get aura expires in miliseconds.

  3. #3
    VesperCore's Avatar Contributor
    Reputation
    127
    Join Date
    Feb 2012
    Posts
    392
    Thanks G/R
    2/17
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you, do you know what are those unknowns 1byte? it seems to be one between casterLevel and duration too and one after SpellEndTime



    Code:
                AuraStructCreatorGuid = 0x20, // read 16 bytes (GUID)
                AuraStructSpellId = AuraStructCreatorGuid + 16, // read 4 bytes (UINT)
                AuraStructUnk1 = AuraStructSpellId + 4, // read 1 byte, what is this ?
                AuraStructCount = AuraStructUnk1 + 1, // read 1 byte
                AuraStructCasterLevel = AuraStructCount + 1, // read 1 byte
                AuraStructUnk2 = AuraStructCasterLevel + 1, // read 1 byte, what is this ?
                AuraStructDuration = AuraStructUnk2 + 1,  // read 4 bytes
                AuraStructSpellEndTime = AuraStructDuration + 4, // read 4 bytes
                AuraStructUnk3 = AuraStructSpellEndTime + 4, // read 1 byte, what is this ?
    These are the complete bytes for the "Lighning Shield" aura from +0 to +0x48

    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 209 187 152 0 0 0 0 0 0 0 0 0 0 140 51 8 68 1 0 0 7 1 90 0 128 238 54 0 75 235 89 55 3 0 0 0 0 0 0 0

    0x0 to 0x20: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (????)
    0x20 to 0x30: 209 187 152 0 0 0 0 0 0 0 0 0 0 140 51 8 (GUID)
    0x30 to 0x34: 68 1 0 0 (SpellID)
    0x34 to 0x35: 7 (Unk1) ?
    0x35 to 0x36: 1 (stacks)
    0x36 to 0x37: 90 (CasterLevel)
    0x37 to 0x38: 0 (Unk2) ?
    0x38 to 0x3C: 128 238 54 0
    0x3D to 0x40: 75 235 89 55
    0x40 to 0x41: 3 (Unk3) ?
    0x41 to 0x48: 0 0 0 0 0 0 0


    Here my latest output:

    Code:
    [D] 08:29:52 - AuraCreatorGuid: 10901470643409114426144864410223033297
    AuraSpellId: 324
    AuraName: Lightning Shield
    AuraUnk1: 7
    AuraCount: 1
    AuraCasterLevel: 90
    AuraUnk2: 0
    AuraDuration: 3600000
    AuraSpellEndTime: 928639819
    GetTime: 928189415
    AuraTimeLeftInMs: 450404
    AuraStructUnk3: 3
    Last edited by VesperCore; 10-01-2014 at 01:42 AM.

  4. #4
    Mr.Sergey's Avatar Contributor
    Reputation
    113
    Join Date
    Apr 2009
    Posts
    195
    Thanks G/R
    5/21
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use the only data I need. Why should you know these bytes meaning if all the data already known?

  5. #5
    VesperCore's Avatar Contributor
    Reputation
    127
    Join Date
    Feb 2012
    Posts
    392
    Thanks G/R
    2/17
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Mr.Sergey View Post
    I use the only data I need. Why should you know these bytes meaning if all the data already known?
    Well, those bytes are data and are not knows;

  6. #6
    Sacred's Avatar Contributor
    Reputation
    207
    Join Date
    Dec 2007
    Posts
    152
    Thanks G/R
    3/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0x34 is aura flags.

Similar Threads

  1. A question about converting
    By krazy12766 in forum World of Warcraft General
    Replies: 2
    Last Post: 08-22-2006, 08:02 PM
  2. question about model editing
    By Zanatons in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 08-17-2006, 09:21 PM
  3. questions about model editing
    By Zanatons in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 08-17-2006, 05:32 PM
  4. Question about MCing - Frostwolf
    By Hydrox in forum World of Warcraft General
    Replies: 0
    Last Post: 07-21-2006, 02:53 AM
  5. questions about model editing
    By Avianar47 in forum World of Warcraft General
    Replies: 2
    Last Post: 07-08-2006, 09:41 PM
All times are GMT -5. The time now is 02:15 PM. 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