Jump to content

Character nickname in title of wow window


bio33

Recommended Posts

Hello,

Use this plugin: Change Wow Window Title.cs

using System;
using System.Runtime.InteropServices;

public class Main : wManager.Plugin.IPlugin
{
    [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
    public static extern bool SetWindowText(IntPtr hwnd, String lpString);

    public void Initialize()
    {
        try
        {
            SetWindowText(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, wManager.Wow.ObjectManager.ObjectManager.Me.Name);
        }
        catch {}
    }

    public void Dispose()
    {
    }

    public void Settings()
    {
    }
}

 

Link to comment
Share on other sites

  • 3 weeks later...
On 8/26/2018 at 4:04 AM, bio33 said:

I found a problem in this plugin, if the bot's window closes, the bot can not connect to the warcraft again

To search Wow window, WRobot use process name (Wow.exe) or window name (World of Warcraft)

Link to comment
Share on other sites

  • 1 year later...

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...