now my 2nd question is this. Im sometimes having this error:
Code: Select all
Did not find any crashed game clients.
C:/micromacro/scripts/rom/functions.lua:674: bad argument #1 to 'memory ReadByte' <<null>>
Code: Select all
Did not find any crashed game clients.
C:/micromacro/scripts/rom/functions.lua:674: bad argument #1 to 'memory ReadByte' <<null>>
it crashed..then comes the errorBillDoorNZ wrote:is the game still running when you get this error? or has it crashed?
BillDoorNZ wrote:line 674 is trying to read some data from the game process...which - because the game has crashed - fails miserably!
something else caused the game to crash, and the error you are getting results from the game crashing, not incorrect code.
that line is basically waiting for the in-game macro to run and put its result data into the result macro location. You'll notice that before it reads, it writes the value 6 into it and then tells RoM to execute the macro. It then keeps reading that same location until it is no longer equal to 6 (which it won't be when the macro has run and overwritten it).
The timer only appears on ch 1. On Ch1 it disappears after ~2 min of inactivity if you are waiting in the zones where the quest npc is.Due to this, my bot just stands there as if waiting for the timer countdown? is this some kind of a bug? the timer is not showing on my screen..
Jandrana wrote:The timer only appears on ch 1. On Ch1 it disappears after ~2 min of inactivity if you are waiting in the zones where the quest npc is.Due to this, my bot just stands there as if waiting for the timer countdown? is this some kind of a bug? the timer is not showing on my screen..
If you walk a bit further into the area where the militant fire elements are, the timer reappears.
I think it is a bug, but maybe runewalker did this to force ppl walking around. Maybe to make botting a bit harder. Who knows.
Hi! i think it was on the first page..Trollencio wrote:Excuse my ignorance xD
But what is the final version to make the event as arranged?
What is the daily missions bugs?
Thank you very much
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onload>
YourTargetScore = 3100
function waitForEventStart()
repeat
yrest(1000) -- check every second
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
if Count == 2 and YourTargetScore > ScorePE then break end
until false
end
function isEventFinished()
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
if Count ~= 2 or ScorePE >= YourTargetScore then
__WPL:setForcedWaypointType("RUN")
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end
end
</onload>
<!-- # 1 --><waypoint x="-21559" z="-22931" y="588">
player:target_NPC("Diandon");
yrest(100);
player:target_NPC("Diandon");
yrest(100);
</waypoint>
<!-- # 2 --><waypoint x="-21636" z="-22916" y="592"> </waypoint>
<!-- # 3 --><waypoint x="-21742" z="-23032" y="588">
queststate = getQuestStatus("Extinguish More Flames");
while queststate == "incomplete" do
yrest(100);player:target_Object("Strange Flame Seedling");yrest(100);
queststate = getQuestStatus("Extinguish More Flames");
end
if (isEventFinished()) then
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end
end
</waypoint>
<!-- # 4 --><waypoint x="-21642" z="-22920" y="592" tag="Home Base">
waitForEventStart()
__WPL:setForcedWaypointType("NORMAL")
end
</waypoint>
</waypoints>
where does this start at so i know where to stand? pleaseHidden wrote:Ok so time to share I take no credit for any of this Waypoints are from top1 event timers is rock5's and the mod to make it work came from the mind of BilldooorNZ all i did was mash it together.
Target score at the top will stop the bot when score is reached otherwise bot will stop when event finished. Will also have 1 to cash in at the check happens before the quest is handed in.
I have the dailynotes addon from curse so i dont have the acceptquestbyname or completetquestbyname functions either add them (can be found in earlier posts) or d/l the dailynotes addon
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL"> <onload> YourTargetScore = 3100 function waitForEventStart() repeat yrest(1000) -- check every second local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)") if Count == 2 and YourTargetScore > ScorePE then break end until false end function isEventFinished() local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)") if Count ~= 2 or ScorePE >= YourTargetScore then __WPL:setForcedWaypointType("RUN") __WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base")); end end </onload> <!-- # 1 --><waypoint x="-21559" z="-22931" y="588"> player:target_NPC("Diandon"); yrest(100); player:target_NPC("Diandon"); yrest(100); </waypoint> <!-- # 2 --><waypoint x="-21636" z="-22916" y="592"> </waypoint> <!-- # 3 --><waypoint x="-21742" z="-23032" y="588"> queststate = getQuestStatus("Extinguish More Flames"); while queststate == "incomplete" do yrest(100);player:target_Object("Strange Flame Seedling");yrest(100); queststate = getQuestStatus("Extinguish More Flames"); end if (isEventFinished()) then __WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base")); end end </waypoint> <!-- # 4 --><waypoint x="-21642" z="-22920" y="592" tag="Home Base"> waitForEventStart() __WPL:setForcedWaypointType("NORMAL") end </waypoint> </waypoints>
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="-21533" z="-22929" y="597" type="TRAVEL">
player:target_NPC("Diandon");
CompleteQuestByName("Extinguish More Flames");
yrest(500);
player:target_NPC("Diandon");
AcceptQuestByName("Extinguish More Flames");
yrest(500);
__WPL:setDirection(WPT_FORWARD);
</waypoint>
<!-- # 2 --><waypoint x="-21680" z="-23204" y="594" type="TRAVEL">
queststate = getQuestStatus("Extinguish More Flames");
if queststate == "incomplete" then
yrest(500);player:target_Object("Strange Flame Seedling");yrest(1000);
queststate = getQuestStatus("Extinguish More Flames");
if queststate == "incomplete" then
__WPL:setDirection(WPT_FORWARD);
else
__WPL:setDirection(WPT_BACKWARD);
end
else
__WPL:setDirection(WPT_BACKWARD);
end
</waypoint>
<!-- # 3 --><waypoint x="-21739" z="-23072" y="597" type="TRAVEL">
yrest(500);player:target_Object("Strange Flame Seedling");yrest(1000);
__WPL:setDirection(WPT_BACKWARD);
</waypoint>
</waypoints>
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onload>
YourTargetScore = 3100
function waitForEventStart()
repeat
yrest(1000) -- check every second
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
if Count == 2 and YourTargetScore > ScorePE then break end
until false
end
function isEventFinished()
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
if Count ~= 2 or ScorePE >= YourTargetScore then
__WPL:setForcedWaypointType("RUN")
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end
end
</onload>
<!-- # 1 --><waypoint x="-21559" z="-22931" y="588">
player:target_NPC("Diandon");
yrest(100);
player:target_NPC("Diandon");
yrest(100);
</waypoint>
<!-- # 2 --><waypoint x="-21636" z="-22916" y="592"> </waypoint>
<!-- # 3 --><waypoint x="-21742" z="-23032" y="588">
queststate = getQuestStatus("Extinguish More Flames");
while queststate == "incomplete" do
yrest(100);player:target_Object("Strange Flame Seedling");yrest(100);
queststate = getQuestStatus("Extinguish More Flames");
end
</waypoint>
<!-- # 4 --><waypoint x="-21642" z="-22920" y="592" tag="Home Base">
waitForEventStart()
__WPL:setForcedWaypointType("NORMAL")
if (isEventFinished()) then
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end
</waypoint>
</waypoints>
Code: Select all
CompleteQuestByName("Extinguish More Flames");
Code: Select all
AcceptQuestByName("Extinguish More Flames","public");
CompleteQuestByName("Extinguish More Flames","public");
Code: Select all
We found Strange Flame Seedling and will harvest it.
We found Strange Flame Seedling and will harvest it.
Did not find any crashed game clients. (<--- client crashed)
4:19am - C:/micromacro/scripts/rom/functions.lua:674: bad argument #1 to 'memory
ReadByte' ((null))
Look at my post about 3 posts up from here.kuripot wrote:Extinguish More Flames has daily quest and public event... with same quest name...
how to choose only daily quest??not the public event???
It happens also to me, when running a single client. When this happened to me, another player was also trying to harvest the flame seedling. I think this is a timing issue, that the bot is trying to harvest a seedling, that has been harvested by another player already. Maybe the data in memory did change in a way that is not expected.It only happens when im running on dual client. I'm occupying both the flames (right and left) near the Flame NPC. This error usuall occurs on the left flames where there are mobs fighting.. i'm not sure if it's my computer that is failing me or the codes im using. However, i am quite sure that the code works fine.
Users browsing this forum: Ahrefs [Bot] and 1 guest