Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
cprintf(cli.lightgreen,"\n character-WP von ***** \n")
function checkDQCount()
local dailyQuestCount, dailyQuestsPerDay= RoMScript("Daily_count()")
cprintf(cli.lightblue,"%s quests completed.\n",tostring(dailyQuestCount));
if (dailyQuestCount == 10) then
cprintf(cli.lightblue,"Completed max number of daily quests, trying to log in next chara.\n");
SetCharList({
{account=21 , chars= {}},
{account=22 , chars= {}},
{account=23 , chars= {}},
{account=24 , chars= {}},
{account=25 , chars= {}},
{account=26 , chars= {}},
{account=27 , chars= {}},
)}
LoginNextChar()
end
end
function relog()
SetCharList({
{account=21 , chars= {}},
{account=22 , chars= {}},
{account=23 , chars= {}},
{account=24 , chars= {}},
{account=25 , chars= {}},
{account=26 , chars= {}},
{account=27 , chars= {}},
)}
if IsLastChar() then
player:logout();
else
LoginNextChar()
end
SetRestartClientSettings(7, "rom4u")
end
function checkCondition()
inventory:useItem(201488)
inventory:useItem(201489)
inventory:useItem(201482)
inventory:useItem(201490)
inventory:useItem(200876)
inventory:useItem(200877)
inventory:useItem(200878)
inventory:useItem(200879)
yrest(8000);
end;
</onLoad>
<!-- # 1 --><waypoint x="31853" z="4617" y="11"> player:target_NPC("Blinsik");
CompleteQuestByName("Wachstumshilfe");
AcceptQuestByName("Wachstumshilfe");
checkDQCount()
</waypoint>
<!-- # 2 --><waypoint x="31847" z="4661" y="9" type="RUN"> </waypoint>
<!-- # 3 --><waypoint x="31827" z="4792" y="0" type="RUN"> </waypoint>
<!-- # 4 --><waypoint x="31808" z="4907" y="-3" type="RUN"> </waypoint>
<!-- # 5 --><waypoint x="31783" z="4983" y="-12" type="RUN"> </waypoint>
<!-- # 6 --><waypoint x="31746" z="5097" y="-12" type="RUN"> </waypoint>
<!-- # 7 --><waypoint x="31684" z="5216" y="-24" type="RUN"> </waypoint>
<!-- # 8 --><waypoint x="31609" z="5356" y="-33" ttype="RUN">
<!-- # 9 --><waypoint x="31417" z="5714" tag = "Item">
queststate = getQuestStatus("Wachstumshilfe")
if queststate == "incomplete" then
player:target_Object(112976,500);
yrest(3000);
__WPL:setWaypointIndex(__WPL:findWaypointTag("Item"));
end
</waypoint>
<!-- # 10 --><waypoint x="31417" z="5714" y="-33" type="RUN"> </waypoint>
<!-- # 11 --><waypoint x="31455" z="5654" y="-33" type="RUN"> </waypoint>
<!-- # 12 --><waypoint x="31554" z="5496" y="-33" type="RUN"> </waypoint>
<!-- # 13 --><waypoint x="31744" z="5192" y="-16" type="RUN"> </waypoint>
<!-- # 14 --><waypoint x="31878" z="4979" y="-14" type="RUN"> </waypoint>
<!-- # 15 --><waypoint x="31875" z="4823" y="-5" type="RUN"> </waypoint>
<!-- # 16 --><waypoint x="31864" z="4685" y="0" type="RUN"> </waypoint>
player:target_NPC("Blinsik");</waypoint>
</waypoints>
Would be nice if someone can help me :/
Thanks!!!