
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
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>
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>
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)
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>
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.
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>
The bold is not proper Lua code, and therefor generates an error.<!-- # 2 --><waypoint x="-32567" z="6452"> **NPC
Code: Select all
sendMacro("OnClick_QuestListButton(2);");
Code: Select all
sendMacro("OnClick_QuestListButton(1,2);");
Users browsing this forum: Bing [Bot] and 1 guest