Jump to content

Gossip 4 times whit one person


misth

Recommended Posts

I tried out to fix it but my code dont work. Can someone help below i post my code.

 

 

var position = new Vector3(33742,93 ; 2834,23 ; 90,82549 ; "None");
int npcEntryId = 26184;


wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(33742,93 ; 2834,23 ; 90,82549 ; "None", 26184);
System.Threading.Thread.Sleep(1000 * 2);

System.Threading.Thread.Sleep(1000 * 2);

Usefuls.SelectGossipOption(1);
System.Threading.Thread.Sleep(1000 * 2);

Usefuls.SelectGossipOption(1);
System.Threading.Thread.Sleep(1000 * 2);

Usefuls.SelectGossipOption(1);
System.Threading.Thread.Sleep(1000 * 2);

Usefuls.SelectGossipOption(1);
System.Threading.Thread.Sleep(1000 * 2);

wManager.Wow.Helpers.Move.Forward(Move.MoveAction.PressKey, 3000);
 

Link to comment
Share on other sites

1 hour ago, misth said:

I tried out to fix it but my code dont work. Can someone help below i post my code.

 

 

var position = new Vector3(33742,93 ; 2834,23 ; 90,82549 ; "None");
int npcEntryId = 26184;


wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(33742,93 ; 2834,23 ; 90,82549 ; "None", 26184);
System.Threading.Thread.Sleep(1000 * 2);

System.Threading.Thread.Sleep(1000 * 2);

Usefuls.SelectGossipOption(1);
System.Threading.Thread.Sleep(1000 * 2);

Usefuls.SelectGossipOption(1);
System.Threading.Thread.Sleep(1000 * 2);

Usefuls.SelectGossipOption(1);
System.Threading.Thread.Sleep(1000 * 2);

Usefuls.SelectGossipOption(1);
System.Threading.Thread.Sleep(1000 * 2);

wManager.Wow.Helpers.Move.Forward(Move.MoveAction.PressKey, 3000);
 

That code makes no sense at all. ?

You are making two variables one called position and one that is called npcEntryID, then you don't use them? ?
Also why do you have two Thread.Sleeps after eachother?

 

if (wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(33742,93 ; 2834,23 ; 90,82549 ; "None", 26184))
{
  Usefuls.SelectGossipOption(1);
  System.Threading.Thread.Sleep(1000 * 2);
  Usefuls.SelectGossipOption(1);
  System.Threading.Thread.Sleep(1000 * 2);
  Usefuls.SelectGossipOption(1);
  System.Threading.Thread.Sleep(1000 * 2);
  Usefuls.SelectGossipOption(1);
  System.Threading.Thread.Sleep(1000 * 2);
}

You are close though.
This will tell the bot to move to the npc, and if it is by the npc and has i activated it will click the gossip options.
You will have to do some prework to this, and make sure it ends up the right place.
This code will tell your char to move to the NPC and right click it.
It will then Select the first option

Link to comment
Share on other sites

i never coded anything so im dumb as hell in this topic

 

shoud i use this code of yours in quest order whit option "if" or should i paste it after diffrent option ?

1 hour ago, Ordush said:

Also why do you have two Thread.Sleeps after eachother?

That was just copied form other code to test. i final i will change it.

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
×
×
  • Create New...