[3.0.9] Descriptors dumper by Kynox [Help] menu

User Tag List

Results 1 to 11 of 11
  1. #1
    naa's Avatar Contributor
    Reputation
    100
    Join Date
    Oct 2006
    Posts
    63
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [3.0.9] Descriptors dumper by Kynox [Help]

    I found Kynox descriptor dumper on gamedeception that bobbysing rewrote to use IDA:
    NoMorePasting.com

    When i ran it in IDA it at first glance gave some odd offsets compared to the ones posted by Cypher:
    http://www.mmowned.com/forums/wow-me...scriptors.html

    I realised that they where already multiplied by 4 when writen to the file so i edited the script to not multiply by 4 and then i almost got the right result but it seem like the offsets are "a littel to late" i don't know how to explain it so here is some of the dump:

    Script dump:
    Code:
        UNIT_FIELD_CHARM = 0x0,
        UNIT_FIELD_SUMMON = 0x2,
        UNIT_FIELD_CRITTER = 0x4,
        UNIT_FIELD_CHARMEDBY = 0x6,
        UNIT_FIELD_SUMMONEDBY = 0x8,
        UNIT_FIELD_CREATEDBY = 0xA,
        UNIT_FIELD_TARGET = 0xC,
        UNIT_FIELD_CHANNEL_OBJECT = 0xE,
        UNIT_FIELD_BYTES_0 = 0x10,
        UNIT_FIELD_HEALTH = 0x11,
        UNIT_FIELD_POWER1 = 0x12,
        UNIT_FIELD_POWER2 = 0x13,
        UNIT_FIELD_POWER3 = 0x14,
        UNIT_FIELD_POWER4 = 0x15,
        UNIT_FIELD_POWER5 = 0x16,
        UNIT_FIELD_POWER6 = 0x17,
        UNIT_FIELD_POWER7 = 0x18,
        UNIT_FIELD_MAXHEALTH = 0x19,
        UNIT_FIELD_MAXPOWER1 = 0x1A,
        UNIT_FIELD_MAXPOWER2 = 0x1B,
    Cypher dump:
    Code:
    enum WoWUnitFields 
    {
        UNIT_FIELD_CHARM=0x6,
        UNIT_FIELD_SUMMON=0x8,
        UNIT_FIELD_CRITTER=0xA,
        UNIT_FIELD_CHARMEDBY=0xC,
        UNIT_FIELD_SUMMONEDBY=0xE,
        UNIT_FIELD_CREATEDBY=0x10,
        UNIT_FIELD_TARGET=0x12,
        UNIT_FIELD_CHANNEL_OBJECT=0x14,
        UNIT_FIELD_BYTES_0=0x16,
        UNIT_FIELD_HEALTH=0x17,
        UNIT_FIELD_POWER1=0x18,
        UNIT_FIELD_POWER2=0x19,
        UNIT_FIELD_POWER3=0x1A,
        UNIT_FIELD_POWER4=0x1B,
        UNIT_FIELD_POWER5=0x1C,
        UNIT_FIELD_POWER6=0x1D,
        UNIT_FIELD_POWER7=0x1E,
        UNIT_FIELD_MAXHEALTH=0x1F,
        UNIT_FIELD_MAXPOWER1=0x20,
        UNIT_FIELD_MAXPOWER2=0x21,
    As you can see the offsets made by the script are correct the are just not assosiated with the right text.
    Anyone know whey?
    +Rep if you can help me

    Thanks.
    Last edited by naa; 04-14-2009 at 01:26 AM.

    [3.0.9] Descriptors dumper by Kynox [Help]
  2. #2
    peterwurst's Avatar Member
    Reputation
    11
    Join Date
    Jul 2006
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's because the wowunit object inherits from the wowobject which's descriptor array has the total length of 0x5 bytes.

    So the wowunit specific fields will start at 0x6.

    /*Credits to Cypher*/
    public enum ObjectFields
    {
    OBJECT_FIELD_GUID = 0x0,
    OBJECT_FIELD_TYPE = 0x2,
    OBJECT_FIELD_ENTRY = 0x3,
    OBJECT_FIELD_SCALE_X = 0x4,
    OBJECT_FIELD_PADDING = 0x5,
    TOTAL_OBJECT_FIELDS = 0x5
    };

  3. #3
    naa's Avatar Contributor
    Reputation
    100
    Join Date
    Oct 2006
    Posts
    63
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That makes sense, thanks
    Hmm i guess i will just have to find another way to dump offsets then, as i do not have any experience with IDC scripts so I can’t edit the dumper to start at 0x6 for the specific fields.
    +Rep to you.

  4. #4
    wraithZX's Avatar Active Member
    Reputation
    43
    Join Date
    May 2007
    Posts
    122
    Thanks G/R
    0/1
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    They aren't bytes, they're DWORDs.

  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 wraithZX View Post
    They aren't bytes, they're DWORDs.

    Actually they're neither. They're array indexes.

    EDIT: Well, technically its not an array its a structure but treating it as an array is simpler.

  6. #6
    mordok's Avatar Member
    Reputation
    11
    Join Date
    Oct 2007
    Posts
    103
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could modify the script like this
    Code:
     fprintf( hFile, "\t%s = 0x%X,\n", pszName, dwIndex + 0x6);
    that should do the trick. Although is a very lame solution because it will fix the WoWUnitFields and many others but will mess enum ObjectFields that still starts at 0x0 and the WoWPlayerFields that starts at 0x94. Note that you could still do for enum ObjectFields
    Code:
     fprintf( hFile, "\t%s = 0x%X,\n", pszName, dwIndex + 0x0);
    and for WoWPlayerFields
    Code:
     fprintf( hFile, "\t%s = 0x%X,\n", pszName, dwIndex + 0x94);
    to get the correct descriptors . Still lame but better than nothing ; ).

    NO CREDIT FOR THIS, ALL CREDIT GOES TO KYNOX & CYPHER
    thanku 4 making this possible ; )
    Last edited by mordok; 04-12-2009 at 12:19 PM.

  7. #7
    mordok's Avatar Member
    Reputation
    11
    Join Date
    Oct 2007
    Posts
    103
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well I finally managed to work a bit on this script to make a neat solution and also modify it in order to work with my bot ini parser class. This might help you more ; )

    NoMorePasting.com

    Once again THANXXXXXXX KYNOX ur the Nº1 and also bobbysing, Patrick, Dominik, Azorbix.
    Last edited by mordok; 04-13-2009 at 03:13 PM. Reason: Edit to respect CREDITS

  8. #8
    kynox's Avatar Account not activated by Email
    Reputation
    830
    Join Date
    Dec 2006
    Posts
    888
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey, just wanted to point out that bobbysing wrote the IDA version of this tool (quoted in the OP's post).

  9. #9
    mordok's Avatar Member
    Reputation
    11
    Join Date
    Oct 2007
    Posts
    103
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Kynox I edited my post from before to give also credit to bobbysing and others ; )

    Also I paste here the ini parser class I use with my bot, just in case someone wants to use it with the script that I posted before. Its nice to read the descriptors form a file and update them just by updating the file, rather than having to recompile things ^^

    Note Im not the author of it - Ini c# parser - Copy Paste Code.com

  10. #10
    naa's Avatar Contributor
    Reputation
    100
    Join Date
    Oct 2006
    Posts
    63
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you +Rep

  11. #11
    mordok's Avatar Member
    Reputation
    11
    Join Date
    Oct 2007
    Posts
    103
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Fixed a small thing and checked the 3.1.0 values were correct ; ) here is the fixed version NoMorePasting.com

Similar Threads

  1. Confused - Descriptor help
    By Steveiwonder in forum WoW Memory Editing
    Replies: 6
    Last Post: 09-07-2010, 11:47 PM
  2. Kynox Object Dumper
    By divmaster in forum WoW Memory Editing
    Replies: 12
    Last Post: 03-08-2009, 07:14 PM
  3. Help w/ Obj Dumper (3.0.3)
    By luciferc in forum WoW Memory Editing
    Replies: 6
    Last Post: 11-17-2008, 12:08 PM
  4. Kynox's ME Fix - Problems with Vista, please help!
    By guitargod218 in forum WoW ME Questions and Requests
    Replies: 5
    Last Post: 05-25-2008, 05:52 PM
  5. Need Help with Kynox MEF
    By majstor in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 05-14-2008, 04:09 PM
All times are GMT -5. The time now is 11:00 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