[WoW][5.0.4.16016] x86 Info Dump Thread menu

Shout-Out

User Tag List

Page 7 of 9 FirstFirst ... 3456789 LastLast
Results 91 to 105 of 135
  1. #91
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Robske View Post
    Code:
            GetRawPosition = 35,
            GetRawFacing = 37,
            Interact = 65,
            GetObjectName = 73,
    .

    Not sure where you got those...

    But for me the following work

    Code:
              
     internal static uint GetObjectName = 0x124;           
    internal static uint GetObjectLocation = 0x88; 
    internal static uint Interact = 0x104;
    Last edited by -Ryuk-; 09-07-2012 at 03:00 PM. Reason: typo
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

    [WoW][5.0.4.16016] x86 Info Dump Thread
  2. #92
    _Mike's Avatar Contributor
    Reputation
    310
    Join Date
    Apr 2008
    Posts
    531
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by -Ryuk- View Post
    Not sure where you got those...
    Array indices vs byte offsets. Both are correct, but Robske's work for both x86 and x64 without modification.

  3. #93
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TOM_RUS View Post
    You can get RecordSize easily:
    Code:
    [StructLayout(LayoutKind.Sequential)]
    struct WoWClientDB
    {
        public IntPtr VTable;         // pointer to vtable
        public int NumRows;         // number of rows
        public int MaxIndex;        // maximal row index
        public int MinIndex;        // minimal row index
        public IntPtr Data;           // pointer to actual dbc file data
        public IntPtr FirstRow;       // pointer to first row
        public IntPtr Rows;           // pointer to rows array - not anymore?
        public IntPtr Unk1; // ptr
        public uint Unk2; // 1
        public IntPtr Unk3; // ptr
        public uint RowEntrySize; // 2 or 4
    };
    
    [StructLayout(LayoutKind.Sequential)]
    struct DBCFile
    {
        public uint Magic;
        public int RecordsCount;
        public int FieldsCount;
        public int RecordSize;
        public int StringTableSize;
    }
    
    dbInfo = WowMemory.Read<WoWClientDB>(dbc_ptr);
    fileHdr = WowMemory.Read<DBCFile>(dbInfo.Data);
    int RecordSize = fileHdr.RecordSize;
    My DBC class: Paste2 - Viewing Paste 2189163
    Usage: Paste2 - Viewing Paste 2189166

    Code:
        [StructLayout(LayoutKind.Sequential)]
        struct SpellRec
        {
            public uint Id;                                         // 0        m_ID
            uint _Name;                                             // 1        m_name
            uint _NameSubText;                                      // 2        m_nameSubtext
            uint _Description;                                      // 3        m_description
            uint _AuraDescription;                                  // 4        m_auraDescription
            public uint runeCostID;                                 // 5        SpellRuneCost.dbc
            public uint spellMissileID;                             // 6        SpellMissile.dbc
            public uint spellDescriptionVariableID;                 // 7        SpellDescriptionVariables.dbc
            float unk_f1;                                           // 8        some float value
            public uint SpellScalingId;                             // 9        SpellScaling.dbc
            public uint SpellAuraOptionsId;                         // 10       SpellAuraOptions.dbc
            public uint SpellAuraRestrictionsId;                    // 11       SpellAuraRestrictions.dbc
            public uint SpellCastingRequirementsId;                 // 12       SpellCastingRequirements.dbc
            public uint SpellCategoriesId;                          // 13       SpellCategories.dbc
            public uint SpellClassOptionsId;                        // 14       SpellClassOptions.dbc
            public uint SpellCooldownsId;                           // 15       SpellCooldowns.dbc
            public uint SpellEquippedItemsId;                       // 16       SpellEquippedItems.dbc
            public uint SpellInterruptsId;                          // 17       SpellInterrupts.dbc
            public uint SpellLevelsId;                              // 18       SpellLevels.dbc
            public uint SpellReagentsId;                            // 19       SpellReagents.dbc
            public uint SpellShapeshiftId;                          // 20       SpellShapeshift.dbc
            public uint SpellTargetRestrictionsId;                  // 21       SpellTargetRestrictions.dbc
            public uint SpellTotemsId;                              // 22       SpellTotems.dbc
            public uint ResearchProjectId;                          // 23       ResearchProject.dbc
            public uint SpellMiscId;                                // 24       SpellMisc.dbc
    
            // read area name using our static memory reading helper class
            public string Name { get { return WowMemory.ReadCString(_Name, 255); } }
        };

    I am unable to get any get your "usage example" to work. I end up with AreaName = null :P
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  4. #94
    TOM_RUS's Avatar Legendary
    Reputation
    914
    Join Date
    May 2008
    Posts
    699
    Thanks G/R
    0/52
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by -Ryuk- View Post
    I am unable to get any get your "usage example" to work. I end up with AreaName = null :P
    You must be doing something wrong. Try this.

  5. #95
    eracer's Avatar Contributor
    Reputation
    201
    Join Date
    Feb 2011
    Posts
    75
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
        [StructLayout(LayoutKind.Sequential)]
        struct MapDifficultyEntry // sizeof(0x18)
        {
            public uint m_ID; // +0x0, size 0x4, type 0
            public uint m_mapID; // +0x4, size 0x4, type 0
            public uint m_dificulty; // +0x8, size 0x4, type 0
            public IntPtr _m_difficultystring; // +0xC, size 0x4, type 2
            public uint m_raidDuration; // +0x10, size 0x4, type 0
            public uint m_maxPlayers; // +0x14, size 0x4, type 0
            // read area name using our static memory reading helper class
            public string m_difficultystring { get { return Memory.Read<string>(_m_difficultystring); } }
        };
    TOM_RUS, your examples are working great for me, thank you very much, that's what got me started on finding these structs. I'm sure there are better ways but I'm using cheat engine to help me find the basic layout of them. Do you or anyone here have any suggestions on better ways to get them? I would think IDA should be able to do this but I have never even used the debugger in IDA.

  6. #96
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TOM_RUS View Post
    You must be doing something wrong. Try this.

    This works fine. The only difference is I am injected :S

    Here is my very slightly modified code, so it would work with WhiteMagic: http://paste2.org/p/2202438

    However I fail, so it doesnt
    Last edited by -Ryuk-; 09-07-2012 at 05:00 PM.
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  7. #97
    TOM_RUS's Avatar Legendary
    Reputation
    914
    Join Date
    May 2008
    Posts
    699
    Thanks G/R
    0/52
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by -Ryuk- View Post
    This works fine. The only difference is I am injected :S

    Here is my very slightly modified code, so it would work with WhiteMagic: Paste2 - Viewing Paste 2202438

    However I fail, so it doesnt
    Have you tried to use proper AreaTableRec struct? The one in your paste is completely wrong.

  8. #98
    eracer's Avatar Contributor
    Reputation
    201
    Join Date
    Feb 2011
    Posts
    75
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TOM_RUS View Post
    Have you tried to use proper AreaTableRec struct? The one in your paste is completely wrong.
    I noticed the same thing, everything else looks good from what i see. here is the struct I'm using courtesy of TOM_RUS. should be a drop in replacement for you.

    Code:
        [StructLayout(LayoutKind.Sequential)]
        struct AreaTableRec
        {
            public uint m_ID;                           // 0
            public uint m_ContinentID;                  // 1
            public uint m_ParentAreaID;                 // 2
            public uint m_AreaBit;                      // 3
            public uint m_flags;                        // 4
            public uint m_unk1;                         // 5
            public uint m_SoundProviderPref;            // 6
            public uint m_SoundProviderPrefUnderwater;  // 7
            public uint m_AmbienceID;                   // 8
            public uint m_ZoneMusic;                    // 9
            public uint m_AreaNameInternal;             // 10
            public uint m_IntroSound;                   // 11
            public uint m_ExplorationLevel;             // 12
            public IntPtr m_AreaName_lang;              // 13
            public uint m_factionGroupMask;             // 14
            [MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
            public uint[] m_liquidTypeID;               // 15-18
            public float m_minElevation;                // 19
            public float m_ambient_multiplier;          // 20
            public uint m_lightid;                      // 21
            public uint m_field22;                      // 22
            public uint m_field23;                      // 23
            public uint m_field24;                      // 24
            public uint m_field25;                      // 25
            public uint m_field26;                      // 26
            public uint m_field27;                      // 27
    
            // read area name using our static memory reading helper class
            public string AreaName { get { return Memory.Read<string>(m_AreaName_lang); } }
        };

  9. #99
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TOM_RUS View Post
    Have you tried to use proper AreaTableRec struct? The one in your paste is completely wrong.

    -.- I should sleep, this is what you get for being awake for 36 hours -.- Thanks
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  10. #100
    NitroGlycerine's Avatar Member
    Reputation
    3
    Join Date
    May 2009
    Posts
    45
    Thanks G/R
    5/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Edit: disregard
    Last edited by NitroGlycerine; 09-08-2012 at 02:50 PM.

  11. #101
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The ClickToMove function is already posted on the first page. I'm insure about the others


    Sent from my iPhone using Tapatalk
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  12. #102
    Master674's Avatar Elite User
    Reputation
    487
    Join Date
    May 2008
    Posts
    578
    Thanks G/R
    2/23
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by hg1988 View Post
    AURA_COUNT_1 = ??
    AURA_COUNT_2 = ??
    AURA_TABLE_1 = ??
    AURA_TABLE_2 = ??
    AURA_SIZE = ??
    AURA_SPELL_ID = ??
    AURA_SPELL_DURATION = ??
    AURA_SPELL_START = ??
    AURA_STACK = ??

    Is not to be modified algorithm ?
    Help my friends, thank you !
    Why don't you find them yourself and post the result? lol.

  13. #103
    Frosttall's Avatar Active Member
    Reputation
    64
    Join Date
    Feb 2011
    Posts
    261
    Thanks G/R
    16/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or just open your eyes and stop using Google Translator...

    http://www.ownedcore.com/forums/worl...ml#post2472872 ([WoW][5.0.4.16016] x86 Info Dump Thread)

    I <3 spoonfeeding

  14. #104
    Apoc's Avatar Angry Penguin
    Reputation
    1387
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So, Blizzard, in their infinite wisdom, didn't properly check how the new spell "replacement" stuff would affect other things. They've broken quite a few Lua funcs (IsSpellKnown, GetSpellInfo, etc) by not including the spec specific spells (only a small handful), or the spell "transformations" in the known spell list. So you'll have to compile a list of replacements and "missing" spells for each class/spec to handle these properly.

    Do note that while the old version of "KnownSpells" included 3 different versions of "Mangle" for druids (one for cat, bear, and normal forms), it now only includes one, which can't actually be cast. There are many issues with funcs dealing with the spell book, known spells, etc, if the spell is missing from the known spell list. Hopefully Blizzard fixes this for the addon developers, and ourselves. In the meantime, there's a fairly big "list" of spells you need to keep overridden properly. (We're up to almost 40 now between completely missing spells, and replacements)

  15. #105
    guizmows's Avatar Banned
    Reputation
    57
    Join Date
    Feb 2008
    Posts
    414
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    there is a list in memory containing spellID/replacement SpellId, and it's complete so far.
    Last edited by guizmows; 09-09-2012 at 03:38 PM.

Page 7 of 9 FirstFirst ... 3456789 LastLast

Similar Threads

  1. [WoW][5.1.0.16357] x86 Info Dump Thread
    By TOM_RUS in forum WoW Memory Editing
    Replies: 46
    Last Post: 11-27-2013, 04:34 AM
  2. [WoW] [5.2.0 16650] x86 Info Dump Thread
    By noctural in forum WoW Memory Editing
    Replies: 39
    Last Post: 03-08-2013, 04:42 AM
  3. [WoW][5.1.0.16309] x86 Info Dump Thread
    By TOM_RUS in forum WoW Memory Editing
    Replies: 70
    Last Post: 02-02-2013, 09:13 AM
  4. [WoW][5.0.5.16048] x86 Info Dump Thread
    By eracer in forum WoW Memory Editing
    Replies: 81
    Last Post: 11-23-2012, 04:04 AM
  5. [WoW][5.0.5.16135] x86 Info Dump Thread
    By eracer in forum WoW Memory Editing
    Replies: 7
    Last Post: 10-11-2012, 10:58 PM
All times are GMT -5. The time now is 09:10 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