[C# 4.0.1] New spellbook informations menu

User Tag List

Results 1 to 7 of 7
  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)

    [C# 4.0.1] New spellbook informations

    As most of you has see, the spellbook changed a bit, so here is a way to get informations from it :

    Code:
                UInt32 nbSpells = MyWoW.Memory.ReadUInt(0x9DDD7C, "Wow.exe");
                UInt32 SpellBookInfoPtr = MyWoW.Memory.ReadUInt(0x9DDD80, "Wow.exe");
    
                for (UInt32 i = 0; i < nbSpells; i++)
                {
                    UInt32 Struct = MyWoW.Memory.ReadUInt(SpellBookInfoPtr + i * 4);
                    Int32 IsKnown = MyWoW.Memory.ReadInt(Struct);
                    Int32 SpellId = MyWoW.Memory.ReadInt(Struct + 0x4);
                    Console.WriteLine("Base : 0x" + Struct.ToString("X") + " Id : " + SpellId + " IsKnown : " + IsKnown);
                }
    IsKnown = 1 when spell is learn, 2 if not learn.

    All offset is relative to Wow.exe.

    [C# 4.0.1] New spellbook informations
  2. #2
    leather's Avatar Member
    Reputation
    1
    Join Date
    Jun 2007
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks +rep

  3. #3
    caytchen's Avatar Contributor
    Reputation
    138
    Join Date
    Apr 2007
    Posts
    162
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by JuJuBoSc View Post
    IsKnown = 1 when spell is learn, 2 if not learn.
    Also, 3 is PETACTION and 4 is FLYOUT (google research says this is some UI sugar, a spell that will expand on click and offer various options). This and the above can be reverse engineered from lua_GetSpellBookItemInfo.

  4. #4
    DrakeFish's Avatar Lazy Leecher

    Reputation
    634
    Join Date
    Nov 2008
    Posts
    569
    Thanks G/R
    0/14
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by caytchen View Post
    Also, 3 is PETACTION and 4 is FLYOUT (google research says this is some UI sugar, a spell that will expand on click and offer various options). This and the above can be reverse engineered from lua_GetSpellBookItemInfo.
    The id 0x4 is for spells like Mage Portals and Warlock Demons. Like you said, it just extends on click to let you select the specific spell that you want to cast.

  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 caytchen View Post
    Also, 3 is PETACTION and 4 is FLYOUT (google research says this is some UI sugar, a spell that will expand on click and offer various options). This and the above can be reverse engineered from lua_GetSpellBookItemInfo.
    FLYOUT is probably for example Teleport and Portals for mage, if you click the Teleport icon it will expand and show all Teleport spells you have learned.

  6. #6
    RivaLfr's Avatar Contributor CoreCoins Purchaser Authenticator enabled
    Reputation
    221
    Join Date
    Sep 2010
    Posts
    258
    Thanks G/R
    2/25
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Int32 SpellAvailable = MyWoW.Memory.ReadInt(Struct + 0x; // = 3 if Spell available in the spell trainer

  7. #7
    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)
    Originally Posted by RivaLfr View Post
    Int32 SpellAvailable = MyWoW.Memory.ReadInt(Struct + 0x; // = 3 if Spell available in the spell trainer
    This returns the required level for the spell



    @maclone: You've deleted this post and I wanted to speak with you, but your mailbox is full. The offsets in this thread are not up to date, but the way still works and IMO will it be useful for some people to read what I wrote...

Similar Threads

  1. [Guide] New patch! Information you should know about before it hits.
    By Disphotic in forum World of Warcraft Guides
    Replies: 8
    Last Post: 08-18-2012, 11:20 AM
  2. How to add new spellbook tab ?
    By Khira in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 04-25-2010, 07:29 AM
  3. ArcEmu new SVN information!
    By Hasbro in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 09-17-2008, 10:15 AM
All times are GMT -5. The time now is 10:52 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