Jump to content

Recommended Posts

@Droidz Should I be using the WriteInt128() method for writing a GUID with the Live client? I've tested trying to read several of the offsets at http://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-memory-editing/619264-wow-7-2-0-24015-offsets-post3731214.html#post3731214 and none of them seem to be returning what I expect (most are returning 0). 

14 hours ago, jrouten said:

@Droidz Should I be using the WriteInt128() method for writing a GUID with the Live client? I've tested trying to read several of the offsets at http://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-memory-editing/619264-wow-7-2-0-24015-offsets-post3731214.html#post3731214 and none of them seem to be returning what I expect (most are returning 0). 

UInt32 mouseOverGUID = 0x00F3EDC0; // http://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-memory-editing/619264-wow-7-2-0-24015-offsets.html#post3731214
Memory.WowMemory.Memory.WriteInt128(Memory.WowMemory.Memory.RebaseAddress(mouseOverGUID), target.Guid);

(offset not tested)

@Droidz Can you comment on my question though? Since this is an 16-byte Guid now on Live, is WriteInt128() the correct method to use for this?

And are you aware of any other place or resource I can use to get tested offsets for 24015?

PM me if you'd rather not reply publicly, or let me know if you'd rather I not be doing this...

For Live (7.2.0.24105), here is what I had to do to set MouseOverGUID:

            uint s_MouseOverGUID = 0x00F3EDC0;
            Memory.WowMemory.Memory.WriteInt128((uint)Memory.WowMemory.Memory.MainModuleAddress + s_MouseOverGUID, target.Guid);

Note that when I added this code to my fight class, the game consistently crashes after a few minutes of combat. As I understand it, the equivalent code on WotLK also consistently crashes the game after a few minutes of combat.

@jrouten maybe the focus guid can help:

    public void CastSpell(string spellName, WoWObject obj)
    {
        var tmp = Me.FocusGuid;
        Me.FocusGuid = obj.Guid;
        SpellManager.CastSpellByNameOn(spellName, "focus");
        Me.FocusGuid = tmp;
    }

 

Edit: 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...