Re: ElfDaily simplyfied
Posted: Mon Aug 27, 2012 3:56 pm
Thanks Rock! i figured it out. your Fast login works like a charm!
How about Lisas description?harbifm wrote:what I need to do first (modify the Loginxml??how, where..did not understand the guide in its thread )
did these two stepsrock5 wrote:How about Lisas description?harbifm wrote:what I need to do first (modify the Loginxml??how, where..did not understand the guide in its thread )
http://www.solarstrike.net/phpBB3/viewt ... 974#p39974
And Lisa also gives an example of how to edit the waypoint file.
http://www.solarstrike.net/phpBB3/viewt ... 989#p39989
No. If you don't specify a profile, eg. "Rom/bot profile:profilename" then it will look for a profile with the same name as the character. If no such file exists then it will look for a profile called "userdefault.xml". So if you want to use a general purpose profile when no named profile is available, copy the default.xml profile to userdefault.xml and edit it to suite your needs. I use specific profiles for my main characters and userdefault for my alts.harbifm wrote:second question, do I have to make profiles or all charectures
That might happen if you didn't setup the charlist properly or if you logged in by typing an account and password instead of clicking one of the buttons.harbifm wrote:after I put the userfunction correctly in its place, this what I got
thanks it worked @@rock5 wrote:No. If you don't specify a profile, eg. "Rom/bot profile:profilename" then it will look for a profile with the same name as the character. If no such file exists then it will look for a profile called "userdefault.xml". So if you want to use a general purpose profile when no named profile is available, copy the default.xml profile to userdefault.xml and edit it to suite your needs. I use specific profiles for my main characters and userdefault for my alts.harbifm wrote:second question, do I have to make profiles or all charectures
That might happen if you didn't setup the charlist properly or if you logged in by typing an account and password instead of clicking one of the buttons.harbifm wrote:after I put the userfunction correctly in its place, this what I got
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<waypoints type="RUN">
<!-- # 1 --><waypoint x="31954" z="3278" y="38">
player:target_NPC("Gamunhan");
AcceptQuestByName("Getting to Know Yourself"); yrest(waitTime);
CompleteQuestByName("Getting to Know Yourself"); yrest(waitTime);
AcceptQuestByName("Elven Academy"); yrest(waitTime);
</waypoint>
<!-- # 2 --><waypoint x="32123" z="3440" y="4"> </waypoint>
<!-- # 3 --><waypoint x="32297" z="3266" y="28"> </waypoint>
<!-- # 4 --><waypoint x="32313" z="3356" y="28">
player:target_NPC("Daily Quest Manager");
AcceptQuestByName("Helping Others"); yrest(waitTime);
CompleteQuestByName("Helping Others"); yrest(waitTime);
</waypoint>
<!-- # 5 --><waypoint x="32297" z="3266" y="28"> </waypoint>
<!-- # 6 --><waypoint x="32123" z="3440" y="4"> </waypoint>
<!-- # 7 --><waypoint x="31944" z="3674" y="-8"> </waypoint>
<!-- # 8 --><waypoint x="31839" z="4193" y="36"> </waypoint>
<!-- # 9 --><waypoint x="31921" z="4543" y="5"> </waypoint>
<!-- # 10 --><waypoint x="31847" z="4586" y="9"> </waypoint>
<!-- # 11 --><waypoint x="31857" z="4577" y="25">
player:target_NPC("Blinsik"); yrest(waitTime);
CompleteQuestByName("Elven Academy"); yrest(waitTime);
AcceptQuestByName("Preparations"); yrest(waitTime);
CompleteQuestByName("Preparations"); yrest(waitTime);
AcceptQuestByName("The Basics of Attack"); yrest(waitTime);
player:target_NPC("Blinsik");
AcceptQuestByName("The Basics of Defense"); yrest(waitTime);
player:target_NPC("Blinsik");
AcceptQuestByName("Basics of Recovery"); yrest(waitTime);
loadPaths("ElfDaily");
</waypoint>
<onLoad>
waitTime = 300;
</onLoad>
</waypoints>
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<!-- # 1 --><waypoint x="31847" z="4592" tag ='Main'>
local dqCount, dqPerDay = RoMScript("Daily_count()");
if 10 > dqCount then
queststate = getQuestStatus("Helping Them Grow");
if queststate == "complete" then
-- Complete quest
player:target_NPC("Blinsik");
sendMacro("CompleteQuest()"); yrest(2000);
-- Accept quest
player:target_NPC("Blinsik");
sendMacro("AcceptQuest()"); yrest(2000);
--__WPL:setWaypointIndex(__WPL:findWaypointTag("Main"));
else
-- Accept quest
player:target_NPC("Blinsik");
sendMacro("AcceptQuest()"); yrest(2000);
end
else
player:logout();
end
</waypoint>
<!-- # 2 --><waypoint x="31812" z="4849"> </waypoint>
<!-- # 3 --><waypoint x="31415" z="5720" tag = "Item">
queststate = getQuestStatus("Helping Them Grow")
if queststate == "incomplete" then
player:target_NPC("Cleansing Crystal");
yrest(3000);
__WPL:setWaypointIndex(__WPL:findWaypointTag("Item"));
end
</waypoint>
<!-- # 4 --><waypoint x="31878" z="4692"> </waypoint>
<!-- # 5 --><waypoint x="31843" z="4593"> </waypoint>
</waypoints>
Code: Select all
ChangeChar()
waitForLoadingScreen()
yrest(3000)
loadProfile()
loadPaths("whicheveryouwanttoload")
Code: Select all
loadPaths(__WPL.FileName)
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onLoad>
questEndNpcID1 = 112794
questName1 = "Helping Them Grow"
function relog()
SetCharList({
{account=1 , chars= {}},
{account=2 , chars= {}},
{account=3 , chars= {}},
})
LoginNextChar()
loadProfile()
loadPaths("ElfDaily");
end
</onLoad>
<!-- # 1 --><waypoint x="31847" z="4592" tag ="Main">
local dqCount, dqPerDay = RoMScript("Daily_count()");
if dqPerDay > dqCount then
queststate = getQuestStatus(questName1);
if queststate == "complete" then
player:target_NPC(questEndNpcID1);
CompleteQuestByName(questName1);
yrest(300);
__WPL:setWaypointIndex(__WPL:findWaypointTag("Main"));
else
player:target_NPC(questEndNpcID1);
AcceptQuestByName(questName1,questEndNpcID1);
yrest(300);
end
else
relog()
end
</waypoint>
<!-- # 4 --><waypoint x="31847" z="4583" y="9">
queststate = getQuestStatus(questName1);
if queststate == "not accepted" then
__WPL:setWaypointIndex(1);
end
</waypoint>
<!-- # 3 --><waypoint x="31860" z="4646" y="9"> </waypoint>
<!-- # 2 --><waypoint x="31742" z="5070" y="-11"> </waypoint>
<!-- # 1 --><waypoint x="31416" z="5715" y="-33" tag = "Item1">
queststate = getQuestStatus(questName1)
if queststate == "incomplete" then
player:target_Object(112976,300);
yrest(2500);
__WPL:setWaypointIndex(__WPL:findWaypointTag("Item1"));
end
</waypoint>
<!-- # 1 --><waypoint x="31416" z="5715" y="-33"> </waypoint>
<!-- # 2 --><waypoint x="31742" z="5070" y="-11"> </waypoint>
<!-- # 3 --><waypoint x="31860" z="4646" y="9"> </waypoint>
<!-- # 4 --><waypoint x="31847" z="4583" y="9"> </waypoint>
</waypoints>
Code: Select all
Chagement du trajet ElfDaily.xml
No return path with default naming ElfDaily_return.xml found.
We use the normal waypoint path ElfDaily.xml now.
Deplacement au chemin #1, (31847, 4592)
Changing to character 2 account 1.
l adresse du joueur a changÚe: 0x5144A000
Ranged skill found: MAGE_FLAME
We read the hotkey settings from your bindings.txt file C:\Users\xxxxx\Mes Doc
uments\Runes of Magic\bindings.txt instead of using the settings.xml file.
Loading profile xxxxxxx.xml
Testing 'ingamefunctions' macro. If it gets stuck here, please update the 'ingam
efunctions' by copying the 'ingamefunctions' folder from 'rom/devtools' to the g
ames 'interface/addons' folder.
MACRO Test: ok
Ranged skill found: MAGE_FLAME
Chagement du trajet ElfDaily.xml
No return path with default naming ElfDaily_return.xml found.
We use the normal waypoint path ElfDaily.xml now.
Deplacement au chemin #1, (31847, 4592)
Changing to character 3 account 1.
l adresse du joueur a changÚe: 0x51AF1400
Ranged skill found: DRUID_EARTH_ARROW
We read the hotkey settings from your bindings.txt file C:\Users\xxxxx\Mes Doc
uments\Runes of Magic\bindings.txt instead of using the settings.xml file.
Loading profile xxxxxxx.xml
Testing 'ingamefunctions' macro. If it gets stuck here, please update the 'ingam
efunctions' by copying the 'ingamefunctions' folder from 'rom/devtools' to the g
ames 'interface/addons' folder.
MACRO Test: ok
Ranged skill found: DRUID_EARTH_ARROW
Chagement du trajet ElfDaily.xml
No return path with default naming ElfDaily_return.xml found.
We use the normal waypoint path ElfDaily.xml now.
Deplacement au chemin #1, (31847, 4592)
Changing to character 3 account 1.
Code: Select all
yrest(3000)
player:update()
Code: Select all
<!-- # 3 --><waypoint x="31412" z="5714" y="-33" tag ="Item">
queststate = getQuestStatus("Helping Them Grow")
if queststate == "incomplete" then
yrest(1000);player:target_Object("Cleansing Crystal");yrest(1000);
__WPL:setWaypointIndex(__WPL:findWaypointTag("Item"));
end
</waypoint>