jrouten 1 Posted May 24, 2017 Share Posted May 24, 2017 @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). Link to comment https://wrobot.eu/forums/topic/5621-castspell-improvement/?page=2#findComment-27027 Share on other sites More sharing options...
Droidz 2738 Posted May 25, 2017 Share Posted May 25, 2017 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) Link to comment https://wrobot.eu/forums/topic/5621-castspell-improvement/?page=2#findComment-27039 Share on other sites More sharing options...
jrouten 1 Posted May 25, 2017 Share Posted May 25, 2017 @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... Link to comment https://wrobot.eu/forums/topic/5621-castspell-improvement/?page=2#findComment-27054 Share on other sites More sharing options...
jrouten 1 Posted May 29, 2017 Share Posted May 29, 2017 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. Link to comment https://wrobot.eu/forums/topic/5621-castspell-improvement/?page=2#findComment-27142 Share on other sites More sharing options...
reapler 154 Posted May 31, 2017 Share Posted May 31, 2017 @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: Link to comment https://wrobot.eu/forums/topic/5621-castspell-improvement/?page=2#findComment-27206 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now