Jump to content

Recommended Posts

Hello i;m trying to create a new questing profile. But i dont know how to code this to work. I need to talk whit 5 dudes and choose option 1, 4 times each time when talk to them quest is  https://www.wowhead.com/quest=11983/blood-oath-of-the-horde .  If someone knowes pls help me.

Link to comment
https://wrobot.eu/forums/topic/12564-gossip-4-times-whit-one-person/
Share on other sites

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);
 

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

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.

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