Jump to content
This site uses cookies! Learn More

This site uses cookies!

By continuing to use this site, you agree to allow us to store cookies on your computer. :)

  • NoMemoryEdit shortcut


    Matenia
    • Version: All Product: WRobot General Type: Bug Status: Not a Bug

    Hey Droidz,

    for my framework, I set focus and mouseover units to make casting on off targets more easily possible. 
    Can you add the option to still write mouseover guid via wRobot API? I think ObjectManager.Me.FocusGuid Setter still works just fine. 

    Or is there at least a check like Usefuls.CanWriteToMemory?
    Then MAYBE I can think of a workaround. But currently it breaks some of my stuff.

    For Mouseover via ObjectManager.Me.MouseoverGuid, if you want:
     

    private static void SetMouseoverGuid(ulong guid)
        {
            switch (Usefuls.WowVersion)
            {
                case 5875:
                    Memory.WowMemory.Memory.WriteUInt64((uint)Memory.WowMemory.Memory.MainModuleAddress + 0x74E2C8, guid);
                    break;
                case 8606:
                    Memory.WowMemory.Memory.WriteUInt64((uint)Memory.WowMemory.Memory.MainModuleAddress + 0x86E950, guid);
                    break;
                case 12340:
                    Memory.WowMemory.Memory.WriteUInt64( 0x00BD07A0, guid);
                    break;
                default:
                    throw new Exception("Wow version is not supported!");
            }
        }



     




    User Feedback

    Recommended Comments

    Update: It seems this actually works... It's weird, sometimes it seemed to break. 
    I'd write the mouseover guid, call Lua.LuaDoString($"CastSpellByName('{name}', 'mouseover')") and nothing happens. It seems almost like the WoW client breaks for a bit. Happens on Warmane only I guess and I can't really reproduce it.

    Share this comment


    Link to comment
    Share on other sites

    Yes, thank you. I noticed this is a different issue that seems to taint some Lua functions on Warmane somehow. I cannot reproduce it reliably, so for now it's okay.

    Share this comment


    Link to comment
    Share on other sites


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...