Reversing the DB2 struct in memory menu

User Tag List

Results 1 to 5 of 5
  1. #1
    JuJuBoSc's Avatar Banned for scamming CoreCoins Purchaser
    Reputation
    1019
    Join Date
    May 2007
    Posts
    922
    Thanks G/R
    1/3
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Reversing the DB2 struct in memory

    Hello,

    I wanted to make a struct for the DB2 struct as I already use it mainly for item-sparse.db2 in memory.

    So I reversed .text:0008CDB0 WowClientDB2_Base__Load (rebased) and I came with this :

    Code:
            public struct DB2
            {
                public uint vTable; // 0x4
                public uint Unknown2; // 0x8
                public uint Unknown3; // 0xC
                public uint MinIndex; // 0x10
                public uint MaxIndex; // 0x14
                public uint NumRows; // 0x18
                public uint Unknown7; // 0x1C
                public uint Unknown8; // 0x20
                public uint Unknown9; // 0x24
                public uint Rows; // 0x28
                public uint Unknown11; // 0x2C
                public uint Unknown12; // 0x30
                public uint Unknown13; // 0x34
                public uint Unknown14; // 0x38
                public uint Unknown15; // 0x3C
                public uint Unknown16; // 0x40
                public uint Unknown17; // 0x44
                public uint Unknown18; // 0x48
                public uint Unknown19; // 0x4C
                public uint Unknown20; // 0x50
                public uint Unknown21; // 0x54
                public uint Unknown22; // 0x58
                public uint Unknown23; // 0x5C
                public uint Unknown24; // 0x60
                public uint Unknown25; // 0x64
                public uint Unknown26; // 0x68
                public uint Unknown27; // 0x6C
                public uint Unknown28; // 0x70
                public uint Unknown29; // 0x74
                public uint Unknown30; // 0x78
                public uint Unknown31; // 0x7C
                public uint Unknown32; // 0x80
                public uint Unknown33; // 0x84
                public uint Unknown34; // 0x88
                public uint Unknown35; // 0x8C
                public uint Unknown36; // 0x90
                public uint Unknown37; // 0x94
                public uint Unknown38; // 0x98
                public uint Unknown39; // 0x9C
                public uint Unknown40; // 0xA0
            }
    So basically I have everything needed but I was just curious if someone else has more informations
    Last edited by JuJuBoSc; 04-06-2012 at 08:19 AM.

    Reversing the DB2 struct in memory
  2. #2
    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)
    Does it include data from item-sparse.adb (cache) as well? Because last time I looked into it, db2 (static) and adb (cache) data were separate and game somehow does lookup through both db's.

  3. #3
    JuJuBoSc's Avatar Banned for scamming CoreCoins Purchaser
    Reputation
    1019
    Join Date
    May 2007
    Posts
    922
    Thanks G/R
    1/3
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think as I use this struct almost like I do for get DBC row and gather item information such as name rarity etc.

  4. #4
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry for bumping a very old thread, but was just curious. Is it possible to read the DB2 from memory WITHOUT having to traverse the entire list?

    Was just curious if there was a way to just find the row from the item id, from reversing

    Code:
    WowClientDB2::ItemRec_C::GetRow(int db2_ptr, int index, int a3, int a4, int a5, char a6)
    It doesn't seem that way, but was curious if anyone else figured this out.

    Thanks!
    ~ Tanaris
    https://tanaris4.com

  5. #5
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    208
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/8
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Tanaris4 View Post
    Sorry for bumping a very old thread, but was just curious. Is it possible to read the DB2 from memory WITHOUT having to traverse the entire list?

    Was just curious if there was a way to just find the row from the item id, from reversing

    Code:
    WowClientDB2::ItemRec_C::GetRow(int db2_ptr, int index, int a3, int a4, int a5, char a6)
    It doesn't seem that way, but was curious if anyone else figured this out.

    Thanks!
    ~ Tanaris
    Did you find anything on this matter?

Similar Threads

  1. How to extract and read DB2 WDB5 in memory ?
    By Sundark in forum WoW Memory Editing
    Replies: 12
    Last Post: 08-15-2016, 11:00 AM
  2. [Tool] Is the use of Ovale memory values with button spamming against the eula?
    By cassrgs in forum World of Warcraft Bots and Programs
    Replies: 4
    Last Post: 01-31-2014, 01:12 AM
  3. Reversing the User Interface
    By miceiken in forum WoW Memory Editing
    Replies: 7
    Last Post: 08-10-2010, 09:41 PM
  4. Cruising the spell cache from memory
    By amadmonk in forum WoW Memory Editing
    Replies: 5
    Last Post: 12-08-2009, 08:38 PM
  5. Reversing the Paypal Disbute - never fails
    By Weazel in forum WoW Scam Prevention
    Replies: 15
    Last Post: 04-12-2008, 07:06 AM
All times are GMT -5. The time now is 04:32 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