Jump to content

How to open "Big-mouth Clam" while fishing?


Recommended Posts

  • 2 months later...
On 20. 8. 2017 at 9:54 PM, eniac86 said:

How to open "Big-mouth Clam" while fishing?
I tried the combine - vanilla plugin but it does not open clams.
(I have all addons turned off, latency settings are OK aswell)

Pretty ghetto, but works:

robotManager.Helpful.Keyboard.DownKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.ShiftKey);
Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
ItemsManager.UseItem(1234); // item ID of the clam
Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
robotManager.Helpful.Keyboard.UpKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.ShiftKey);
Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));

 

Link to comment
Share on other sites

On 2017/11/19 at 3:59 AM, Seminko said:

Pretty ghetto, but works:

robotManager.Helpful.Keyboard.DownKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.ShiftKey);
Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
ItemsManager.UseItem(1234); // item ID of the clam
Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
robotManager.Helpful.Keyboard.UpKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.ShiftKey);
Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));

 

If you have time, whether it can be made into a plug-in, so more user-friendly.

Link to comment
Share on other sites

I do use it in a plugin.

Spoiler
using System;
using System.Collections.Generic;
using System.Threading;
using System.Windows.Forms;
using robotManager.Helpful;
using robotManager.Products;
using wManager.Plugin;
using wManager.Wow.Helpers;
using wManager.Wow.ObjectManager;

public class Main : IPlugin
{
    private bool isLaunched;


    public void Initialize()
    {
        isLaunched = true;
		
        while (isLaunched && Products.IsStarted)
        {
            try
            {
                foreach (WoWItem item in Bag.GetBagItem())
				{
					if (item.GetItemInfo.ItemName == "Big-mouth Clam")
					{
						robotManager.Helpful.Keyboard.DownKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.ShiftKey);
						Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
						ItemsManager.UseItem(7973);
						Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
						robotManager.Helpful.Keyboard.UpKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.ShiftKey);
						Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
					}
					else if (item.GetItemInfo.ItemName == "Sealed Crate")
					{
						robotManager.Helpful.Keyboard.DownKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.ShiftKey);
						Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
						ItemsManager.UseItem(6357);
						Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
						robotManager.Helpful.Keyboard.UpKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.ShiftKey);
						Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
					}
				}
			}

            catch { }

            Thread.Sleep(1000 * 3); // Wait 3 sec
		}
	}

    public void Dispose()
    {
        isLaunched = false;
    }

    public void Settings()
    {
        MessageBox.Show("No settings for this plugin.");
    }
}

 

 

Link to comment
Share on other sites

7 minutes ago, Seminko said:

I do use it in a plugin.

  Reveal hidden contents

using System;
using System.Collections.Generic;
using System.Threading;
using System.Windows.Forms;
using robotManager.Helpful;
using robotManager.Products;
using wManager.Plugin;
using wManager.Wow.Helpers;
using wManager.Wow.ObjectManager;

public class Main : IPlugin
{
    private bool isLaunched;


    public void Initialize()
    {
        isLaunched = true;
		
        while (isLaunched && Products.IsStarted)
        {
            try
            {
                foreach (WoWItem item in Bag.GetBagItem())
				{
					if (item.GetItemInfo.ItemName == "Big-mouth Clam")
					{
						robotManager.Helpful.Keyboard.DownKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.ShiftKey);
						Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
						ItemsManager.UseItem(7973);
						Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
						robotManager.Helpful.Keyboard.UpKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.ShiftKey);
						Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
					}
					else if (item.GetItemInfo.ItemName == "Sealed Crate")
					{
						robotManager.Helpful.Keyboard.DownKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.ShiftKey);
						Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
						ItemsManager.UseItem(6357);
						Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
						robotManager.Helpful.Keyboard.UpKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.ShiftKey);
						Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
					}
				}
			}

            catch { }

            Thread.Sleep(1000 * 3); // Wait 3 sec
		}
	}

    public void Dispose()
    {
        isLaunched = false;
    }

    public void Settings()
    {
        MessageBox.Show("No settings for this plugin.");
    }
}

 

 

Thank you very much, you have helped me many times!

Link to comment
Share on other sites

  • 2 weeks later...
On 24/11/2017 at 1:48 AM, Seminko said:

I do use it in a plugin.

  Hide contents

using System;
using System.Collections.Generic;
using System.Threading;
using System.Windows.Forms;
using robotManager.Helpful;
using robotManager.Products;
using wManager.Plugin;
using wManager.Wow.Helpers;
using wManager.Wow.ObjectManager;

public class Main : IPlugin
{
    private bool isLaunched;


    public void Initialize()
    {
        isLaunched = true;
		
        while (isLaunched && Products.IsStarted)
        {
            try
            {
                foreach (WoWItem item in Bag.GetBagItem())
				{
					if (item.GetItemInfo.ItemName == "Big-mouth Clam")
					{
						robotManager.Helpful.Keyboard.DownKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.ShiftKey);
						Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
						ItemsManager.UseItem(7973);
						Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
						robotManager.Helpful.Keyboard.UpKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.ShiftKey);
						Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
					}
					else if (item.GetItemInfo.ItemName == "Sealed Crate")
					{
						robotManager.Helpful.Keyboard.DownKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.ShiftKey);
						Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
						ItemsManager.UseItem(6357);
						Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
						robotManager.Helpful.Keyboard.UpKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.ShiftKey);
						Thread.Sleep(robotManager.Helpful.Others.Random(50, 150));
					}
				}
			}

            catch { }

            Thread.Sleep(1000 * 3); // Wait 3 sec
		}
	}

    public void Dispose()
    {
        isLaunched = false;
    }

    public void Settings()
    {
        MessageBox.Show("No settings for this plugin.");
    }
}

 

 

Absolute champion!

Compile it and put it in the plugin section!

Link to comment
Share on other sites

39 minutes ago, eeny said:

Absolute champion!

Compile it and put it in the plugin section!

For some reason I cannot determine if you're being sarcastic or not :-P

But I have a new plugin in the works and opening and looting items will be a part of it.

Link to comment
Share on other sites

Just now, Seminko said:

For some reason I cannot determine if you're being sarcastic or not :-P

But I have a new plugin in the works and opening and looting items will be a part of it.

Was being 100% legitimate- this helped me a ton

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...