Jump to content

Recommended Posts

Can someone provide a guide as to how to get quester to use a vehicle to kill mobs for a quest instead of running the normal fight class? 

 

I have some experience getting the bot to push certain buttons, but not while being in its own vehicle which can move and have several buttons to click.

Link to comment
https://wrobot.eu/forums/topic/7101-help-with-using-vehicle/
Share on other sites

Also have problem with it not wanting to target mobs I need to kill. It will black list them for 30 sec and then do circles on top of them. If i target manually it will kill though.

Link to comment
https://wrobot.eu/forums/topic/7101-help-with-using-vehicle/#findComment-32179
Share on other sites

  • 4 weeks later...
On 9/22/2017 at 5:41 AM, Droidz said:

Use 


wManager.Wow.Helpers.ClickOnTerrain.Spell(uint spellId, Vector3 vector3, bool waitCasting = true, bool stopMove = true);
wManager.Wow.Helpers.ClickOnTerrain.Pulse(Vector3 vector3);

 

Sorry for the long reply back, been busy on my end.

 

Thread t = new Thread(() =>
{
	uint spellId = 248292;
	int questId = 47992;
    while (robotManager.Products.Products.IsStarted)
    {
        if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause)
        {
            if (!Quest.HasQuest(questId))
                break;
            if (ObjectManager.Target.IsValid && ObjectManager.Target.IsAlive)
            {
wManager.Wow.Helpers.ClickOnTerrain.Spell(uint spellId, Vector3 vector3, bool waitCasting = true, bool stopMove = true);
wManager.Wow.Helpers.ClickOnTerrain.Pulse(Vector3 vector3);
            }
        }
        Thread.Sleep(700);
    }
});
t.Start();

Gives the error: 

Quote

[E] 12:09:26 - Compilator Error :
warning CS1685: The predefined type 'System.Runtime.CompilerServices.ExtensionAttribute' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
c:\Users\Michael\AppData\Local\Temp\lgfqpqo0.0.cs(39,48) : error CS1525: Invalid expression term 'uint'
c:\Users\Michael\AppData\Local\Temp\lgfqpqo0.0.cs(39,55) : error CS1002: ; expected
c:\Users\Michael\AppData\Local\Temp\lgfqpqo0.0.cs(39,55) : error CS1525: Invalid expression term ','
c:\Users\Michael\AppData\Local\Temp\lgfqpqo0.0.cs(39,57) : error CS1002: ; expected
c:\Users\Michael\AppData\Local\Temp\lgfqpqo0.0.cs(39,74) : error CS1041: Identifier expected; 'bool' is a keyword
c:\Users\Michael\AppData\Local\Temp\lgfqpqo0.0.cs(39,99) : error CS1041: Identifier expected; 'bool' is a keyword
c:\Users\Michael\AppData\Local\Temp\lgfqpqo0.0.cs(39,119) : error CS1002: ; expected
c:\Users\Michael\AppData\Local\Temp\lgfqpqo0.0.cs(39,119) : error CS1525: Invalid expression term ')'
c:\Users\Michael\AppData\Local\Temp\lgfqpqo0.0.cs(40,51) : error CS1026: ) expected
c:\Users\Michael\AppData\Local\Temp\lgfqpqo0.0.cs(40,58) : error CS1002: ; expected
c:\Users\Michael\AppData\Local\Temp\lgfqpqo0.0.cs(40,58) : error CS1525: Invalid expression term ')'

Needless to say, I think I'm using it wrong?

 

Thread t = new Thread(() =>
{
    int questId = 47992;
    while (robotManager.Products.Products.IsStarted)
    {
        if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause)
        {
            if (!Quest.HasQuest(questId))
                break;
            if (ObjectManager.Target.IsValid && ObjectManager.Target.IsAlive)
            {
   Lua.LuaDoString("OverrideActionBarButton1:Click()");
            }
        }
        Thread.Sleep(1600);
    }
});
t.Start();

The above code does get it to work, but only when it targets an enemy or itself. It does not auto target demons that it comes in combat with, and so will still do circles.

Link to comment
https://wrobot.eu/forums/topic/7101-help-with-using-vehicle/#findComment-33659
Share on other sites

  • 1 month later...
Thread t = new Thread(() =>
{
    uint spellId = 248292;
    int questId = 47992;
    while (robotManager.Products.Products.IsStarted)
    {
        if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause)
        {
            if (!Quest.HasQuest(questId))
                break;
            if (ObjectManager.Target.IsValid && ObjectManager.Target.IsAlive)
            {
                wManager.Wow.Helpers.ClickOnTerrain.Spell(spellId, ObjectManager.Target.Position, true, false);
                wManager.Wow.Helpers.ClickOnTerrain.Pulse(ObjectManager.Target.Position);
            }
        }
        Thread.Sleep(700);
    }
});
t.Start();

 

Link to comment
https://wrobot.eu/forums/topic/7101-help-with-using-vehicle/#findComment-36150
Share on other sites

That makes it worse. It still only targets itself (no clearing target), does not target mob in combat with it, consistently runs to the mob, making it run in tiny circles, but now it no longer uses the abilities when I manually target mobs.

Link to comment
https://wrobot.eu/forums/topic/7101-help-with-using-vehicle/#findComment-36259
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
×
×
  • Create New...