Page 1 of 1

Logar Daily quest (mailbox) ;d

Posted: Fri Jul 19, 2013 9:43 am
by wiedzmin97
Hi, i have question related with daily quests in Logar.:
What do I need to do, to bot received from the Mailbox items only once and then continue doing daily quests? (I have addon from this forum and installed userfunction)
Waypoint working good only i want to bot received items from mailbox only one time.
This is my waypoint:



Code:
<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
function relog()
SetCharList({
-- enter account number and char numbers that you like to run this script
{account=1 , chars= {1}},
{account=2 , chars= {1}},
{account=3 , chars= {1}},
})
LoginNextChar()
loadProfile()
loadPaths("hehe 3");
end
</onLoad>
<!-- # 1 --><waypoint x="-524" z="-5966" y="23"> </waypoint>
<!-- # 2 --><waypoint x="-603" z="-5834" y="24">
player:target_Object("Logar Bulletin Board")
player:target_Object("Logar Bulletin Board")
</waypoint>
<!-- # 3 --><waypoint x="-654" z="-6017" y="28">
player:target_NPC("Dell")
</waypoint>
<!-- # 4 --><waypoint x="-668" z="-6061" y="25"> </waypoint>
<!-- # 5 --><waypoint x="-579" z="-6109" y="19">
player:target_NPC("Cid")
</waypoint>
<!-- # 6 --><waypoint x="-505" z="-6035" y="22"> </waypoint>
<!-- # 7 --><waypoint x="-431" z="-5991" y="21">
player:target_Object("Mailbox")
UMM_TakeMail()
</waypoint>
</waypoints>

Re: Logar Daily quest (mailbox) ;d

Posted: Fri Jul 19, 2013 10:54 am
by rock5
So you want it to get the mail once then go back and forth between the bulletinboard and npcs until the dailies are finished? Assuming you start at the mailbox you can put a __WPL:setWaypointIndex() somehere to make it skip the mail box. Probably after speaking to Cid

Code: Select all

<!-- # 5 --><waypoint x="-579" z="-6109" y="19">
player:target_NPC("Cid")
 __WPL:setWaypointIndex(1)
</waypoint>
What this will do is, if you start at the mailbox, it will first get the mail then repeat waypoints 1 to 5 .

You have a relog function but you don't use it anywhere. You will probably have to check the status of your dailies and use the relog function if you finish your dailies. Although you will probably need code to take you back to the mailbox first before reloging so it will be ready for the next day.

Also, when posting code, please don't forget to put it in 'code' tags by using the 'Code' button at the top of the edit window.