-
newton666
- Posts: 81
- Joined: Fri Oct 22, 2010 3:16 pm
#1
Post
by newton666 » Sat Sep 22, 2012 3:34 pm
i'm sick and tired of the timer disappearing after 2mins of event so i've came up with this:-
Code: Select all
<onload>
temp = 0
questname_1 = "Continue to Clean up the Threats to the Fishing Village";
questname_2 = "Immediate Relief";
changeProfileOption("WAYPOINT_DEVIATION", 30);
YourTargetScore = 6000
function waitForEventStart()
EventMonitorStart("eojstart", "CHAT_MSG_SYSTEM")
local EventStarted = false
repeat
yrest(200) -- check every 10 seconds
repeat
local time, moreToCome, msg = EventMonitorCheck("eojstart", "1")
if msg and string.find(msg,"Regional event now restarting!") then
EventStarted = true
break
end
until moreToCome == false
if EventStarted then break end
until false
end
function isEventFinished()
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
return (Count ~= 2 or ScorePE >= YourTargetScore);
end;
changeOptionFriendMob("mob", "Ankes", "Add")
if (not player:hasBuff("506684")) then
inventory:useItem(207200);
end
if (not player:hasBuff("506686")) then
inventory:useItem(207202);
end
function EventTimer()
repeat
TBES = RoMScript('getevmessage()')
until (TBES == "|cffffff80Regional event now restarting!|r")
printf("Am inceput !");
end
function Chek_Quest()
queststate = getQuestStatus(questname_1);
if queststate == "complete" then
player:update()
temp = 0
__WPL:setWaypointIndex(__WPL:findWaypointTag("rerun"))
else temp = 1
end
end
</onload>
<!-- # 1 --><waypoint x="-27527" z="24360" y="-83">
waitForEventStart()
isEventFinished()
player:target_NPC("John Carter")
RoMScript("OnClick_QuestListButton(3, 1)")
RoMScript("CompleteQuest()")
repeat
player:target_NPC("John Carter")
RoMScript("OnClick_QuestListButton(1, 1)")
RoMScript("AcceptQuest()")
cprintf(cli.white, questname_1.."\n")
until getQuestStatus(questname_1) ~= "not accepted"
</waypoint>
<!-- # 2 --><waypoint x="-27576" z="24330" y="-80" type="RUN"> </waypoint>
<!-- # 3 --><waypoint x="-27636" z="24298" y="-66" type="RUN"> </waypoint>
<!-- # 4 --><waypoint x="-27649" z="24236" y="-21" type="RUN"> </waypoint>
<!-- # 5 --><waypoint x="-27699" z="24144" y="17" type="RUN"> </waypoint>
<!-- # 6 --><waypoint x="-27757" z="24072" y="1" type="TRAVEL"> </waypoint>
<!-- # 7 --><waypoint x="-27803" z="24013" y="0" type="TRAVEL"> </waypoint>
<!-- # 8 --><waypoint x="-27839" z="23973" y="0" type="TRAVEL"> </waypoint>
<!-- # 9 --><waypoint x="-27866" z="23941" y="2"> </waypoint>
<!-- # 10 --><waypoint x="-27907" z="23903" y="2"> </waypoint>
<!-- # 11 --><waypoint x="-27986" z="23883" y="2"> </waypoint>
<!-- # 12 --><waypoint x="-28033" z="23897" y="8"> </waypoint>
<!-- # 13 --><waypoint x="-28005" z="23935" y="0">Chek_Quest(); </waypoint>
<!-- # 14 --><waypoint x="-27973" z="23978" y="2" tag="reQ1"> Chek_Quest(); </waypoint>
<!-- # 15 --><waypoint x="-28089" z="23960" y="8">Chek_Quest(); </waypoint>
<!-- # 16 --><waypoint x="-28211" z="23866" y="6">Chek_Quest(); </waypoint>
<!-- # 17 --><waypoint x="-28316" z="23934" y="5">Chek_Quest(); </waypoint>
<!-- # 18 --><waypoint x="-28517" z="24020" y="0">Chek_Quest(); </waypoint>
<!-- # 19 --><waypoint x="-28488" z="24126" y="0">Chek_Quest(); </waypoint>
<!-- # 20 --><waypoint x="-28328" z="24187" y="0">Chek_Quest(); </waypoint>
<!-- # 21 --><waypoint x="-28319" z="24177" y="0">Chek_Quest(); </waypoint>
<!-- # 22 --><waypoint x="-28219" z="24083" y="0">Chek_Quest(); </waypoint>
<!-- # 23 --><waypoint x="-28105" z="24078" y="6">Chek_Quest(); </waypoint>
<!-- # 24 --><waypoint x="-27939" z="24050" y="4">Chek_Quest(); </waypoint>
<!-- # 25 --><waypoint x="-27992" z="23893" y="2">Chek_Quest(); </waypoint>
<!-- # 26 --><waypoint x="-28082" z="23928" y="7">Chek_Quest(); </waypoint>
<!-- # 27 --><waypoint x="-28136" z="24099" y="5"> Chek_Quest(); </waypoint>
<!-- # 28 --><waypoint x="-28040" z="24095" y="-4">
Chek_Quest();
if temp == 1 then
__WPL:setWaypointIndex(__WPL:findWaypointTag("reQ1"))
end
</waypoint>
<!-- # 29 --><waypoint x="-27948" z="24092" y="-3"> Chek_Quest(); </waypoint>
<!-- # 30 --><waypoint x="-27862" z="24089" y="-2"> Chek_Quest(); </waypoint>
<!-- # 31 --><waypoint x="-27789" z="24106" y="2"> Chek_Quest(); </waypoint>
<!-- # 32 --><waypoint x="-27726" z="24145" y="13"> </waypoint>
<!-- # 33 --><waypoint x="-27655" z="24213" y="-8"> </waypoint>
<!-- # 34 --><waypoint x="-27597" z="24273" y="-70"> </waypoint>
<!-- # 35 --><waypoint x="-27555" z="24323" y="-82"> </waypoint>
<!-- # 36 --><waypoint x="-27540" z="24340" y="-83" type="TRAVEL" tag="rerun">
player:target_NPC("John Carter")
RoMScript("OnClick_QuestListButton(3, 1)")
RoMScript("CompleteQuest()")
--yrest(200)
repeat
--quest2 = RoMScript("CheckQuest(424624)");
player:target_NPC("John Carter")
RoMScript("OnClick_QuestListButton(1, 1)")
RoMScript("AcceptQuest()")
cprintf(cli.white, questname_2.."\n")
until getQuestStatus(questname_2) ~= "not accepted"
</waypoint>
<!-- # 37 --><waypoint x="-27563" z="24326" y="-81" type="RUN"> </waypoint>
<!-- # 38 --><waypoint x="-27618" z="24300" y="-71" type="RUN"> </waypoint>
<!-- # 39 --><waypoint x="-27635" z="24293" y="-65" type="RUN"> </waypoint>
<!-- # 40 --><waypoint x="-27649" z="24237" y="-22" type="RUN"> </waypoint>
<!-- # 41 --><waypoint x="-27673" z="24187" y="4" type="RUN"> </waypoint>
<!-- # 42 --><waypoint x="-27712" z="24137" y="16" type="RUN"> </waypoint>
<!-- # 43 --><waypoint x="-27761" z="24081" y="1" type="RUN"> </waypoint>
<!-- # 44 --><waypoint x="-27799" z="24022" y="0" type="RUN"> </waypoint>
<!-- # 45 --><waypoint x="-27817" z="24014" y="0" type="RUN" tag="reQ2">player:target_Object("Thieves' Prisoner");player:harvest();</waypoint>
<!-- # 46 --><waypoint x="-27855" z="23964" y="1" type="RUN"> </waypoint>
<!-- # 47 --><waypoint x="-27875" z="23944" y="4" type="RUN"> </waypoint>
<!-- # 48 --><waypoint x="-27889" z="23930" y="5" type="RUN">
player:target_Object("Thieves' Prisoner");
player:harvest();
if getQuestStatus(questname_2) ~= "complete" then
__WPL:setWaypointIndex(__WPL:findWaypointTag("reQ2"))
-- else cprintf(cli.green, questname_2.."\n")
end
</waypoint>
<!-- # 49 --><waypoint x="-27866" z="23952" y="3" type="TRAVEL"> </waypoint>
<!-- # 50 --><waypoint x="-27808" z="24010" y="0" type="TRAVEL"> </waypoint>
<!-- # 51 --><waypoint x="-27749" z="24069" y="1" type="TRAVEL"> </waypoint>
<!-- # 52 --><waypoint x="-27687" z="24146" y="14" type="TRAVEL"> </waypoint>
<!-- # 53 --><waypoint x="-27627" z="24216" y="-15" type="TRAVEL"> </waypoint>
<!-- # 54 --><waypoint x="-27572" z="24286" y="-73" type="TRAVEL"> </waypoint>
<!-- # 55 --><waypoint x="-27534" z="24337" y="-84" type="TRAVEL"> </waypoint>
</waypoints>
this works great apart from after doing 2 quest it will just stop and wait at the npc till next event ??? can anyone help
-
newton666
- Posts: 81
- Joined: Fri Oct 22, 2010 3:16 pm
#2
Post
by newton666 » Sat Sep 22, 2012 7:02 pm
or just say i want my alt to got this location if the timer diasappers:-
Code: Select all
<!-- # 1 --><waypoint x="-26822" z="25483" y="-96"></waypoint>
then run back to the npc postion when the timer show back up
Code: Select all
<!-- # 2 --><waypoint x="-27527" z="24360" y="-83"> </waypoint>
and keep doing this till the event starts.
im not really good at progrmaing but ive been reading alot on your forum about this and have been taken bits from here and there and putting them all together to make it work so all help would be greatfull thx.
Last edited by
newton666 on Sun Sep 23, 2012 10:55 am, edited 3 times in total.
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#3
Post
by rock5 » Sun Sep 23, 2012 7:55 am
I changed your [ quote] tags to [ code] tags. quote tags remove the tab indents which makes it hard to follow.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:
- “They say hard work never hurt anybody, but I figure, why take the chance.”
-
newton666
- Posts: 81
- Joined: Fri Oct 22, 2010 3:16 pm
#4
Post
by newton666 » Sun Sep 23, 2012 10:50 am
Code: Select all
<onload>
temp = 0
questname_1 = "Continue to Clean up the Threats to the Fishing Village";
questname_2 = "Immediate Relief";
changeProfileOption("WAYPOINT_DEVIATION", 30);
YourTargetScore = 6000
function waitForEventStart()
EventMonitorStart("eojstart", "CHAT_MSG_SYSTEM")
local EventStarted = false
repeat
yrest(200) -- check every 10 seconds
repeat
local time, moreToCome, msg = EventMonitorCheck("eojstart", "1")
if msg and string.find(msg,"Regional event now restarting!") then
EventStarted = true
break
end
until moreToCome == false
if EventStarted then break end
until false
end
function isEventFinished()
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
return (Count ~= 2 or ScorePE >= YourTargetScore);
end;
changeOptionFriendMob("mob", "Ankes", "Add")
if (not player:hasBuff("506684")) then
inventory:useItem(207200);
end
if (not player:hasBuff("506686")) then
inventory:useItem(207202);
end
function EventTimer()
repeat
TBES = RoMScript('getevmessage()')
until (TBES == "|cffffff80Regional event now restarting!|r")
printf("Am inceput !");
end
function Chek_Quest()
queststate = getQuestStatus(questname_1);
if queststate == "complete" then
player:update()
temp = 0
__WPL:setWaypointIndex(__WPL:findWaypointTag("rerun"))
else temp = 1
end
end
</onload>
<!-- # 1 --><waypoint x="-27527" z="24360" y="-83">
waitForEventStart()
isEventFinished()
player:target_NPC("John Carter")
RoMScript("OnClick_QuestListButton(3, 1)")
RoMScript("CompleteQuest()")
repeat
player:target_NPC("John Carter")
RoMScript("OnClick_QuestListButton(1, 1)")
RoMScript("AcceptQuest()")
cprintf(cli.white, questname_1.."\n")
until getQuestStatus(questname_1) ~= "not accepted"
</waypoint>
<!-- # 2 --><waypoint x="-27576" z="24330" y="-80" type="RUN"> </waypoint>
<!-- # 3 --><waypoint x="-27636" z="24298" y="-66" type="RUN"> </waypoint>
<!-- # 4 --><waypoint x="-27649" z="24236" y="-21" type="RUN"> </waypoint>
<!-- # 5 --><waypoint x="-27699" z="24144" y="17" type="RUN"> </waypoint>
<!-- # 6 --><waypoint x="-27757" z="24072" y="1" type="TRAVEL"> </waypoint>
<!-- # 7 --><waypoint x="-27803" z="24013" y="0" type="TRAVEL"> </waypoint>
<!-- # 8 --><waypoint x="-27839" z="23973" y="0" type="TRAVEL"> </waypoint>
<!-- # 9 --><waypoint x="-27866" z="23941" y="2"> </waypoint>
<!-- # 10 --><waypoint x="-27907" z="23903" y="2"> </waypoint>
<!-- # 11 --><waypoint x="-27986" z="23883" y="2"> </waypoint>
<!-- # 12 --><waypoint x="-28033" z="23897" y="8"> </waypoint>
<!-- # 13 --><waypoint x="-28005" z="23935" y="0">Chek_Quest(); </waypoint>
<!-- # 14 --><waypoint x="-27973" z="23978" y="2" tag="reQ1"> Chek_Quest(); </waypoint>
<!-- # 15 --><waypoint x="-28089" z="23960" y="8">Chek_Quest(); </waypoint>
<!-- # 16 --><waypoint x="-28211" z="23866" y="6">Chek_Quest(); </waypoint>
<!-- # 17 --><waypoint x="-28316" z="23934" y="5">Chek_Quest(); </waypoint>
<!-- # 18 --><waypoint x="-28517" z="24020" y="0">Chek_Quest(); </waypoint>
<!-- # 19 --><waypoint x="-28488" z="24126" y="0">Chek_Quest(); </waypoint>
<!-- # 20 --><waypoint x="-28328" z="24187" y="0">Chek_Quest(); </waypoint>
<!-- # 21 --><waypoint x="-28319" z="24177" y="0">Chek_Quest(); </waypoint>
<!-- # 22 --><waypoint x="-28219" z="24083" y="0">Chek_Quest(); </waypoint>
<!-- # 23 --><waypoint x="-28105" z="24078" y="6">Chek_Quest(); </waypoint>
<!-- # 24 --><waypoint x="-27939" z="24050" y="4">Chek_Quest(); </waypoint>
<!-- # 25 --><waypoint x="-27992" z="23893" y="2">Chek_Quest(); </waypoint>
<!-- # 26 --><waypoint x="-28082" z="23928" y="7">Chek_Quest(); </waypoint>
<!-- # 27 --><waypoint x="-28136" z="24099" y="5"> Chek_Quest(); </waypoint>
<!-- # 28 --><waypoint x="-28040" z="24095" y="-4">
Chek_Quest();
if temp == 1 then
__WPL:setWaypointIndex(__WPL:findWaypointTag("reQ1"))
end
</waypoint>
<!-- # 29 --><waypoint x="-27948" z="24092" y="-3"> Chek_Quest(); </waypoint>
<!-- # 30 --><waypoint x="-27862" z="24089" y="-2"> Chek_Quest(); </waypoint>
<!-- # 31 --><waypoint x="-27789" z="24106" y="2"> Chek_Quest(); </waypoint>
<!-- # 32 --><waypoint x="-27726" z="24145" y="13"> </waypoint>
<!-- # 33 --><waypoint x="-27655" z="24213" y="-8"> </waypoint>
<!-- # 34 --><waypoint x="-27597" z="24273" y="-70"> </waypoint>
<!-- # 35 --><waypoint x="-27555" z="24323" y="-82"> </waypoint>
<!-- # 36 --><waypoint x="-27540" z="24340" y="-83" type="TRAVEL" tag="rerun">
player:target_NPC("John Carter")
RoMScript("OnClick_QuestListButton(3, 1)")
RoMScript("CompleteQuest()")
--yrest(200)
repeat
--quest2 = RoMScript("CheckQuest(424624)");
player:target_NPC("John Carter")
RoMScript("OnClick_QuestListButton(1, 1)")
RoMScript("AcceptQuest()")
cprintf(cli.white, questname_2.."\n")
until getQuestStatus(questname_2) ~= "not accepted"
</waypoint>
<!-- # 37 --><waypoint x="-27563" z="24326" y="-81" type="RUN"> </waypoint>
<!-- # 38 --><waypoint x="-27618" z="24300" y="-71" type="RUN"> </waypoint>
<!-- # 39 --><waypoint x="-27635" z="24293" y="-65" type="RUN"> </waypoint>
<!-- # 40 --><waypoint x="-27649" z="24237" y="-22" type="RUN"> </waypoint>
<!-- # 41 --><waypoint x="-27673" z="24187" y="4" type="RUN"> </waypoint>
<!-- # 42 --><waypoint x="-27712" z="24137" y="16" type="RUN"> </waypoint>
<!-- # 43 --><waypoint x="-27761" z="24081" y="1" type="RUN"> </waypoint>
<!-- # 44 --><waypoint x="-27799" z="24022" y="0" type="RUN"> </waypoint>
<!-- # 45 --><waypoint x="-27817" z="24014" y="0" type="RUN" tag="reQ2">player:target_Object("Thieves' Prisoner");player:harvest();</waypoint>
<!-- # 46 --><waypoint x="-27855" z="23964" y="1" type="RUN"> </waypoint>
<!-- # 47 --><waypoint x="-27875" z="23944" y="4" type="RUN"> </waypoint>
<!-- # 48 --><waypoint x="-27889" z="23930" y="5" type="RUN">
player:target_Object("Thieves' Prisoner");
player:harvest();
if getQuestStatus(questname_2) ~= "complete" then
__WPL:setWaypointIndex(__WPL:findWaypointTag("reQ2"))
-- else cprintf(cli.green, questname_2.."\n")
end
</waypoint>
<!-- # 49 --><waypoint x="-27866" z="23952" y="3" type="TRAVEL"> </waypoint>
<!-- # 50 --><waypoint x="-27808" z="24010" y="0" type="TRAVEL"> </waypoint>
<!-- # 51 --><waypoint x="-27749" z="24069" y="1" type="TRAVEL"> </waypoint>
<!-- # 52 --><waypoint x="-27687" z="24146" y="14" type="TRAVEL"> </waypoint>
<!-- # 53 --><waypoint x="-27627" z="24216" y="-15" type="TRAVEL"> </waypoint>
<!-- # 54 --><waypoint x="-27572" z="24286" y="-73" type="TRAVEL"> </waypoint>
<!-- # 55 --><waypoint x="-27534" z="24337" y="-84" type="TRAVEL"> </waypoint>
</waypoints>
sorry didn't know you had to do that but done .
-
rido_knight
- Posts: 102
- Joined: Wed May 29, 2013 6:50 am
- Location: Turkey
#5
Post
by rido_knight » Mon Dec 02, 2013 5:42 am
newton666 wrote:Code: Select all
<onload>
temp = 0
questname_1 = "Continue to Clean up the Threats to the Fishing Village";
questname_2 = "Immediate Relief";
changeProfileOption("WAYPOINT_DEVIATION", 30);
YourTargetScore = 6000
function waitForEventStart()
EventMonitorStart("eojstart", "CHAT_MSG_SYSTEM")
local EventStarted = false
repeat
yrest(200) -- check every 10 seconds
repeat
local time, moreToCome, msg = EventMonitorCheck("eojstart", "1")
if msg and string.find(msg,"Regional event now restarting!") then
EventStarted = true
break
end
until moreToCome == false
if EventStarted then break end
until false
end
function isEventFinished()
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
return (Count ~= 2 or ScorePE >= YourTargetScore);
end;
changeOptionFriendMob("mob", "Ankes", "Add")
if (not player:hasBuff("506684")) then
inventory:useItem(207200);
end
if (not player:hasBuff("506686")) then
inventory:useItem(207202);
end
function EventTimer()
repeat
TBES = RoMScript('getevmessage()')
until (TBES == "|cffffff80Regional event now restarting!|r")
printf("Am inceput !");
end
function Chek_Quest()
queststate = getQuestStatus(questname_1);
if queststate == "complete" then
player:update()
temp = 0
__WPL:setWaypointIndex(__WPL:findWaypointTag("rerun"))
else temp = 1
end
end
</onload>
<!-- # 1 --><waypoint x="-27527" z="24360" y="-83">
waitForEventStart()
isEventFinished()
player:target_NPC("John Carter")
RoMScript("OnClick_QuestListButton(3, 1)")
RoMScript("CompleteQuest()")
repeat
player:target_NPC("John Carter")
RoMScript("OnClick_QuestListButton(1, 1)")
RoMScript("AcceptQuest()")
cprintf(cli.white, questname_1.."\n")
until getQuestStatus(questname_1) ~= "not accepted"
</waypoint>
<!-- # 2 --><waypoint x="-27576" z="24330" y="-80" type="RUN"> </waypoint>
<!-- # 3 --><waypoint x="-27636" z="24298" y="-66" type="RUN"> </waypoint>
<!-- # 4 --><waypoint x="-27649" z="24236" y="-21" type="RUN"> </waypoint>
<!-- # 5 --><waypoint x="-27699" z="24144" y="17" type="RUN"> </waypoint>
<!-- # 6 --><waypoint x="-27757" z="24072" y="1" type="TRAVEL"> </waypoint>
<!-- # 7 --><waypoint x="-27803" z="24013" y="0" type="TRAVEL"> </waypoint>
<!-- # 8 --><waypoint x="-27839" z="23973" y="0" type="TRAVEL"> </waypoint>
<!-- # 9 --><waypoint x="-27866" z="23941" y="2"> </waypoint>
<!-- # 10 --><waypoint x="-27907" z="23903" y="2"> </waypoint>
<!-- # 11 --><waypoint x="-27986" z="23883" y="2"> </waypoint>
<!-- # 12 --><waypoint x="-28033" z="23897" y="8"> </waypoint>
<!-- # 13 --><waypoint x="-28005" z="23935" y="0">Chek_Quest(); </waypoint>
<!-- # 14 --><waypoint x="-27973" z="23978" y="2" tag="reQ1"> Chek_Quest(); </waypoint>
<!-- # 15 --><waypoint x="-28089" z="23960" y="8">Chek_Quest(); </waypoint>
<!-- # 16 --><waypoint x="-28211" z="23866" y="6">Chek_Quest(); </waypoint>
<!-- # 17 --><waypoint x="-28316" z="23934" y="5">Chek_Quest(); </waypoint>
<!-- # 18 --><waypoint x="-28517" z="24020" y="0">Chek_Quest(); </waypoint>
<!-- # 19 --><waypoint x="-28488" z="24126" y="0">Chek_Quest(); </waypoint>
<!-- # 20 --><waypoint x="-28328" z="24187" y="0">Chek_Quest(); </waypoint>
<!-- # 21 --><waypoint x="-28319" z="24177" y="0">Chek_Quest(); </waypoint>
<!-- # 22 --><waypoint x="-28219" z="24083" y="0">Chek_Quest(); </waypoint>
<!-- # 23 --><waypoint x="-28105" z="24078" y="6">Chek_Quest(); </waypoint>
<!-- # 24 --><waypoint x="-27939" z="24050" y="4">Chek_Quest(); </waypoint>
<!-- # 25 --><waypoint x="-27992" z="23893" y="2">Chek_Quest(); </waypoint>
<!-- # 26 --><waypoint x="-28082" z="23928" y="7">Chek_Quest(); </waypoint>
<!-- # 27 --><waypoint x="-28136" z="24099" y="5"> Chek_Quest(); </waypoint>
<!-- # 28 --><waypoint x="-28040" z="24095" y="-4">
Chek_Quest();
if temp == 1 then
__WPL:setWaypointIndex(__WPL:findWaypointTag("reQ1"))
end
</waypoint>
<!-- # 29 --><waypoint x="-27948" z="24092" y="-3"> Chek_Quest(); </waypoint>
<!-- # 30 --><waypoint x="-27862" z="24089" y="-2"> Chek_Quest(); </waypoint>
<!-- # 31 --><waypoint x="-27789" z="24106" y="2"> Chek_Quest(); </waypoint>
<!-- # 32 --><waypoint x="-27726" z="24145" y="13"> </waypoint>
<!-- # 33 --><waypoint x="-27655" z="24213" y="-8"> </waypoint>
<!-- # 34 --><waypoint x="-27597" z="24273" y="-70"> </waypoint>
<!-- # 35 --><waypoint x="-27555" z="24323" y="-82"> </waypoint>
<!-- # 36 --><waypoint x="-27540" z="24340" y="-83" type="TRAVEL" tag="rerun">
player:target_NPC("John Carter")
RoMScript("OnClick_QuestListButton(3, 1)")
RoMScript("CompleteQuest()")
--yrest(200)
repeat
--quest2 = RoMScript("CheckQuest(424624)");
player:target_NPC("John Carter")
RoMScript("OnClick_QuestListButton(1, 1)")
RoMScript("AcceptQuest()")
cprintf(cli.white, questname_2.."\n")
until getQuestStatus(questname_2) ~= "not accepted"
</waypoint>
<!-- # 37 --><waypoint x="-27563" z="24326" y="-81" type="RUN"> </waypoint>
<!-- # 38 --><waypoint x="-27618" z="24300" y="-71" type="RUN"> </waypoint>
<!-- # 39 --><waypoint x="-27635" z="24293" y="-65" type="RUN"> </waypoint>
<!-- # 40 --><waypoint x="-27649" z="24237" y="-22" type="RUN"> </waypoint>
<!-- # 41 --><waypoint x="-27673" z="24187" y="4" type="RUN"> </waypoint>
<!-- # 42 --><waypoint x="-27712" z="24137" y="16" type="RUN"> </waypoint>
<!-- # 43 --><waypoint x="-27761" z="24081" y="1" type="RUN"> </waypoint>
<!-- # 44 --><waypoint x="-27799" z="24022" y="0" type="RUN"> </waypoint>
<!-- # 45 --><waypoint x="-27817" z="24014" y="0" type="RUN" tag="reQ2">player:target_Object("Thieves' Prisoner");player:harvest();</waypoint>
<!-- # 46 --><waypoint x="-27855" z="23964" y="1" type="RUN"> </waypoint>
<!-- # 47 --><waypoint x="-27875" z="23944" y="4" type="RUN"> </waypoint>
<!-- # 48 --><waypoint x="-27889" z="23930" y="5" type="RUN">
player:target_Object("Thieves' Prisoner");
player:harvest();
if getQuestStatus(questname_2) ~= "complete" then
__WPL:setWaypointIndex(__WPL:findWaypointTag("reQ2"))
-- else cprintf(cli.green, questname_2.."\n")
end
</waypoint>
<!-- # 49 --><waypoint x="-27866" z="23952" y="3" type="TRAVEL"> </waypoint>
<!-- # 50 --><waypoint x="-27808" z="24010" y="0" type="TRAVEL"> </waypoint>
<!-- # 51 --><waypoint x="-27749" z="24069" y="1" type="TRAVEL"> </waypoint>
<!-- # 52 --><waypoint x="-27687" z="24146" y="14" type="TRAVEL"> </waypoint>
<!-- # 53 --><waypoint x="-27627" z="24216" y="-15" type="TRAVEL"> </waypoint>
<!-- # 54 --><waypoint x="-27572" z="24286" y="-73" type="TRAVEL"> </waypoint>
<!-- # 55 --><waypoint x="-27534" z="24337" y="-84" type="TRAVEL"> </waypoint>
</waypoints>
sorry didn't know you had to do that but done .
didnt work give line 64 error :/
Who is online
Users browsing this forum: No registered users and 1 guest