Jump to content

Recommended Posts

Hello,

today, i noticed a weird way the bot pickup daily quest.

Some npc let the player choose between 3 or 4 daily quest, only one can be pick up. 

The thing is, whenever the bot have to choose a specific quest (with id) on thoses npcs, he don't always take the good one.

 

The quest i tried to pick:

2.png    The id's are correct (14074)

The quest the bot pick:

1.jpg This is not the id i choose (14152)

I don't know if it's a bug or if i miss something.

Link to comment
https://wrobot.eu/forums/topic/3734-wrong-daily-quest-pickup/
Share on other sites

the problem is bot can't tell which one of the pickup quests is right one so it tries to pickup first quest on first try. If it fails it trys to pick the 2nd one and so on

Link to comment
https://wrobot.eu/forums/topic/3734-wrong-daily-quest-pickup/#findComment-17423
Share on other sites

1 minute ago, BetterSister said:

the problem is bot can't tell which one of the pickup quests is right one so it tries to pickup first quest on first try. If it fails it trys to pick the 2nd one and so on

Yea but, if he pick the wrong quest, the other quest (and the good one) will not be possible for pickup while the wrong quest is pick.

Is there a way to tell the bot "Choose the 3rd quest" or something like that ?

Link to comment
https://wrobot.eu/forums/topic/3734-wrong-daily-quest-pickup/#findComment-17424
Share on other sites

1 minute ago, BetterSister said:

if there is even little bit randomness on each NPC it is hard to script but it is possible. It is easy to tell the bot to interact with NPC and take the X option

Do you know if it's possible to interact with npc and choose a specific options with a RunCode step ?

Link to comment
https://wrobot.eu/forums/topic/3734-wrong-daily-quest-pickup/#findComment-17431
Share on other sites

yes as long as it is always the same option on same npc. I'll look into it in a moment i'm currently trying to script a quest that Droidz just uploaded compatibility update for

Link to comment
https://wrobot.eu/forums/topic/3734-wrong-daily-quest-pickup/#findComment-17432
Share on other sites

Well, i have some good news if that interest you !

It's possible to select daily quest with macro, so in my case i use:

RunMacroText("/script SelectGossipAvailableQuest(1)")
RunMacroText("/run AcceptQuest()")

The last thing i need to find, is a way to make the bot click on a specific npc with a RunCode step !

the interactWithNpc quest type does not work without quest id and it cannot use "/run" macro. 

Link to comment
https://wrobot.eu/forums/topic/3734-wrong-daily-quest-pickup/#findComment-17435
Share on other sites

Okay lets try this:

Add quest order action type While with code

!Quest.HasQuest(14074)

then add under it RunCode with this in it:

Vector3 narasiloc = new Vector3(32.222, 33.2225, -5.22244f);
wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(narasiloc, 4561, 3, false);
Lua.RunMacroText("/run AcceptQuest()");

(Change the coordinates to correct one otherwise it should be correct. You can get NPC coords from helper tools -> Target NPC info)

after this all add EndWhile

it should look like this:

4iJdUqk.png

Link to comment
https://wrobot.eu/forums/topic/3734-wrong-daily-quest-pickup/#findComment-17436
Share on other sites

Okay, it work !

i just add a macro line because it seems to not work without.

Here is the full working code for the futurs 

Vector3 narasiloc = new Vector3(8606.03f, 661.006f, 550.327f);
wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(narasiloc, 34880, 3, false);
Lua.RunMacroText("/script SelectGossipAvailableQuest(1)");
Lua.RunMacroText("/run AcceptQuest()");

can you just tell me what is the "3" between the id and "false" ? i thought it was the same thing has "SelectGossip" but it wasn't doing anything so i'm intrigue

working test file: test.xml

Link to comment
https://wrobot.eu/forums/topic/3734-wrong-daily-quest-pickup/#findComment-17443
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...