Jump to content

Gossip 4 times whit one person


misth
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...