Daily quests
Daily quests
Hi again
I would like to know if its possible to take a daily from bulletin with bot
I mean 100% bot and no manual work.
And if it work how?
I have look wiki but did not find any thing
Regards
Putte
I would like to know if its possible to take a daily from bulletin with bot
I mean 100% bot and no manual work.
And if it work how?
I have look wiki but did not find any thing
Regards
Putte
Re: Daily quests
this is 100% auto but the only way to interact with the Bulletin board is with mouseclicks, so the window will always have to be in the foreground.
this is my code for a daily quest in dragonfang
this is my code for a daily quest in dragonfang
Code: Select all
<waypoints>
<!-- # 1 --><waypoint x="-19263" z="-11470"> </waypoint>
<!-- # 2 --><waypoint x="-19238" z="-11403">
player:rest(1.2)
keyboardHold(key.VK_SHIFT); --hold shift to target through people
player:mouseclickL(640, 450, 1280, 972); --mouse click bulletin
player:mouseclickL(640, 450, 1280, 972); --mouse click bulletin
keyboardRelease(key.VK_SHIFT);
player:rest(.8)
sendMacro("OnClick_QuestListButton(1,4);"); --4 is the quest # on the bulletins list
player:rest(.5)
sendMacro("AcceptQuest();");
player:rest(.2);
</waypoint>
<!-- # 6 --><waypoint x="-19207" z="-11464"> </waypoint>
<!-- # 7 --><waypoint x="-19205" z="-11652"> </waypoint>
<!-- # 8 --><waypoint x="-19196" z="-11856"> </waypoint>
<!-- # 9 --><waypoint x="-19165" z="-11901"> </waypoint>
<!-- # 10 --><waypoint x="-19117" z="-11882">
player:rest(1.2)
player:target_NPC("Sheor");
player:rest(1)
sendMacro("CompleteQuest();");
player:rest(.2)
player.free_counter1 = player.free_counter1 + 1;
if(player.free_counter1 == 10) then
player:sleep();
end;
</waypoint>
<!-- # 12 --><waypoint x="-19157" z="-11893"> </waypoint>
<!-- # 13 --><waypoint x="-19185" z="-11859"> </waypoint>
<!-- # 14 --><waypoint x="-19232" z="-11636"> </waypoint>
</waypoints>
Re: Daily quests
Thanks!
I will try tomorrow!
/Putte
I will try tomorrow!
/Putte
Re: Daily quests
Hi i have now test your script,
I can take daily but not hand it in
It open the chat dialog with Leighton
Did work once but thats was all ;P
/Putte
I can take daily but not hand it in
Code: Select all
<!-- # 5 --><waypoint x="-3696" z="-8629">
player:rest(1.2)
player:target_NPC("Leighton");
player:rest(1)
sendMacro("CompleteQuest();");
player:rest(.2)
player.free_counter1 = player.free_counter1 + 1;
if(player.free_counter1 == 10) then
player:sleep();
end;
</waypoint>
<!-- # 6 --><waypoint x="-3696" z="-8640"> </waypoint>
<!-- # 7 --><waypoint x="-3730" z="-8493"> </waypoint>
</waypoints>
Did work once but thats was all ;P
/Putte
Re: Daily quests
when you open leightons chat, does it go right into the quest panel, or does it go to a list that you have to click on to go into the specific quest
if it goes to a list that you have to click on to get to the complete quest page youll need to add another command in there
if it goes to a list that you have to click on to get to the complete quest page youll need to add another command in there
Re: Daily quests
Hi and thanks,
You need to click 2 times to complete daily,
(He say some thing)
[Press to come to daily]
[Press to Complete]
You need to click 2 times to complete daily,
(He say some thing)
[Press to come to daily]
[Press to Complete]
Re: Daily quests
try adding this:
so it looks like this:sendMacro("OnClick_QuestListButton(3,1);");
player:rest(.7)
<!-- # 5 --><waypoint x="-3696" z="-8629">
player:rest(1.2)
player:target_NPC("Leighton");
player:rest(1);
sendMacro("OnClick_QuestListButton(3,1);");
player:rest(.7)
sendMacro("CompleteQuest();");
player:rest(.2)
Re: Daily quests
Hi guys, I tried to create my own automated daily quest script but it does not apper to work, when I run it it give me this error:
...micromacro/lib/mods/xml.lua:316: error closing parser: no element found
I am no programmer so I probably messed up something with the script, is there somabody who could help me?
This is the script, based on j_schlott post:
<waypoints>
<!-- # 1 --><waypoint x="-32468" z="6523"> </waypoint> **Bullettin
player:rest(1.2)
keyboardHold(key.VK_SHIFT); --hold shift to target through people
player:mouseclickL(640, 450, 1280, 972); --mouse click bulletin
player:mouseclickL(640, 450, 1280, 972); --mouse click bulletin
keyboardRelease(key.VK_SHIFT);
player:rest(.8)
sendMacro("OnClick_QuestListButton(2);"); --4 is the quest # on the bulletins list
player:rest(.5)
sendMacro("AcceptQuest();");
player:rest(.2);
<waypoints>
<!-- # 2 --><waypoint x="-32567" z="6452"> </waypoint> **NPC
player:rest(1.2)
player:target_NPC("Craftsman_Nicks");
player:rest(1)
sendMacro("CompleteQuest();");
player:rest(.2)
player.free_counter1 = player.free_counter1 + 1;
if(player.free_counter1 == 10) then
player:sleep();
end;
<waypoints>
<!-- # 1 --><waypoint x="-32468" z="6523"> </waypoint>
</waypoints>
...micromacro/lib/mods/xml.lua:316: error closing parser: no element found
I am no programmer so I probably messed up something with the script, is there somabody who could help me?
This is the script, based on j_schlott post:
<waypoints>
<!-- # 1 --><waypoint x="-32468" z="6523"> </waypoint> **Bullettin
player:rest(1.2)
keyboardHold(key.VK_SHIFT); --hold shift to target through people
player:mouseclickL(640, 450, 1280, 972); --mouse click bulletin
player:mouseclickL(640, 450, 1280, 972); --mouse click bulletin
keyboardRelease(key.VK_SHIFT);
player:rest(.8)
sendMacro("OnClick_QuestListButton(2);"); --4 is the quest # on the bulletins list
player:rest(.5)
sendMacro("AcceptQuest();");
player:rest(.2);
<waypoints>
<!-- # 2 --><waypoint x="-32567" z="6452"> </waypoint> **NPC
player:rest(1.2)
player:target_NPC("Craftsman_Nicks");
player:rest(1)
sendMacro("CompleteQuest();");
player:rest(.2)
player.free_counter1 = player.free_counter1 + 1;
if(player.free_counter1 == 10) then
player:sleep();
end;
<waypoints>
<!-- # 1 --><waypoint x="-32468" z="6523"> </waypoint>
</waypoints>
- Administrator
- Site Admin
- Posts: 5313
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Daily quests
You don't see a problem with closing 'waypoints' twice? You also didn't put that Lua code inside the waypoint tag, so it's not going to do anything.<!-- # 2 --><waypoint x="-32567" z="6452"> </waypoint> **NPC
player:rest(1.2)
player:target_NPC("Craftsman_Nicks");
player:rest(1)
sendMacro("CompleteQuest();");
player:rest(.2)
player.free_counter1 = player.free_counter1 + 1;
if(player.free_counter1 == 10) then
player:sleep();
end;
<waypoints>
<!-- # 1 --><waypoint x="-32468" z="6523"> </waypoint>
</waypoints>
Re: Daily quests
I put the Lua code in the right position (I think...), now the bot starts his work but after reaching the waypoint #1 it stops, saying it can't load the Lua code... does this mean I screwed it up again?!?You don't see a problem with closing 'waypoints' twice? You also didn't put that Lua code inside the waypoint tag, so it's not going to do anything.
This is the "correct" script:
Code: Select all
<waypoints>
<!-- # 1 --><waypoint x="-32468" z="6523"> **Bullettin
player:rest(1.2)
keyboardHold(key.VK_SHIFT); --hold shift to target through people
player:mouseclickL(640, 450, 1280, 972); --mouse click bulletin
player:mouseclickL(640, 450, 1280, 972); --mouse click bulletin
keyboardRelease(key.VK_SHIFT);
player:rest(.8)
sendMacro("OnClick_QuestListButton(2);"); --4 is the quest # on the bulletins list
player:rest(.5)
sendMacro("AcceptQuest();");
player:rest(.2);
</waypoint>
<!-- # 2 --><waypoint x="-32567" z="6452"> **NPC
player:rest(1.2)
player:target_NPC("Craftsman_Nicks");
player:rest(1)
sendMacro("CompleteQuest();");
player:rest(.2)
player.free_counter1 = player.free_counter1 + 1;
if(player.free_counter1 == 10) then
player:sleep();
end;
</waypoint>
<!-- # 1 --><waypoint x="-32468" z="6523"> </waypoint>
</waypoints>
- Administrator
- Site Admin
- Posts: 5313
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Daily quests
The bold is not proper Lua code, and therefor generates an error.<!-- # 2 --><waypoint x="-32567" z="6452"> **NPC
Re: Daily quests
yes it should be --bulletin/ --npc not **bulletin/ **npc or jus take it out its not needed, -- means anythin after that isnt a part of the code, its just a description or a note
also im not sure if this will work
it should be
and finally you dont need waypoint #1 repeated at the end, since the code is looping, it will run to waypoint#1 twice in a row,
possibly making you face a different direction which is bad since you need to be facing the bulletin
also im not sure if this will work
Code: Select all
sendMacro("OnClick_QuestListButton(2);");
Code: Select all
sendMacro("OnClick_QuestListButton(1,2);");
possibly making you face a different direction which is bad since you need to be facing the bulletin
Re: Daily quests
Thanks guys you have been of great help, now everything works!
Who is online
Users browsing this forum: Bing [Bot] and 1 guest