[Daily & Public Event] Extinguish More Flames

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Message
Author
vo2male
Posts: 122
Joined: Mon Aug 27, 2012 6:41 am

Re: [Daily & Public Event] Extinguish More Flames

#41 Post by vo2male » Mon Sep 24, 2012 5:49 pm

Hello everyone, i got my answer on my previous post.. the level requirement is level 68.

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>>
i tried to chek it on line 674 of functions.lua but i couldn't understand it. :roll:

BillDoorNZ
Posts: 446
Joined: Wed Aug 03, 2011 7:37 pm

Re: [Daily & Public Event] Extinguish More Flames

#42 Post by BillDoorNZ » Mon Sep 24, 2012 6:09 pm

is the game still running when you get this error? or has it crashed?

vo2male
Posts: 122
Joined: Mon Aug 27, 2012 6:41 am

Re: [Daily & Public Event] Extinguish More Flames

#43 Post by vo2male » Mon Sep 24, 2012 6:28 pm

BillDoorNZ wrote:is the game still running when you get this error? or has it crashed?
it crashed..then comes the error


what does that line (674) really mean? what does it do?

BillDoorNZ
Posts: 446
Joined: Wed Aug 03, 2011 7:37 pm

Re: [Daily & Public Event] Extinguish More Flames

#44 Post by BillDoorNZ » Mon Sep 24, 2012 6:58 pm

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).

vo2male
Posts: 122
Joined: Mon Aug 27, 2012 6:41 am

Re: [Daily & Public Event] Extinguish More Flames

#45 Post by vo2male » Mon Sep 24, 2012 7:59 pm

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).

Thanks for the brief info.. well i thought it has something to do with my computer process running slow =)

vo2male
Posts: 122
Joined: Mon Aug 27, 2012 6:41 am

Re: [Daily & Public Event] Extinguish More Flames

#46 Post by vo2male » Tue Sep 25, 2012 3:21 am

Hello again! i just had a weird happening on my script.. my waypoint was working very well for a few days now.i didn't change anything.but this morning i don't know but the event timer is always missing. 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
Posts: 187
Joined: Thu Jul 05, 2012 5:53 am

Re: [Daily & Public Event] Extinguish More Flames

#47 Post by Jandrana » Tue Sep 25, 2012 3:49 am

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..
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.

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.

vo2male
Posts: 122
Joined: Mon Aug 27, 2012 6:41 am

Re: [Daily & Public Event] Extinguish More Flames

#48 Post by vo2male » Tue Sep 25, 2012 7:28 pm

Jandrana wrote:
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..
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.

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.

thanks! i read the same thing about that in this forum. The solution is just to have a waypoint tag that would bring you to snoop after each event. but i don't know how to incorporate it on my waypoint. im experimenting on it with no success yet.

Trollencio
Posts: 10
Joined: Wed Sep 26, 2012 1:37 pm

Re: [Daily & Public Event] Extinguish More Flames

#49 Post by Trollencio » Wed Sep 26, 2012 1:42 pm

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 :)

vo2male
Posts: 122
Joined: Mon Aug 27, 2012 6:41 am

Re: [Daily & Public Event] Extinguish More Flames

#50 Post by vo2male » Wed Sep 26, 2012 7:16 pm

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 :)
Hi! i think it was on the first page..


To everyone, i'd like to ask. If im going to use this wp, how can i add a waypoint that would bring me far from this are whenever i wanted to wait for the event?

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>
i wanted to change waypoint 4 (tagged Home Base) or add another WP to somewhere far so that my timer bug will just reappear. However, i also dont wanted to include that in the loop. I dont want traveling far just to gather and deliver the quest.

User avatar
nightclaw
Posts: 123
Joined: Sun Sep 02, 2012 4:39 am

Re: [Daily & Public Event] Extinguish More Flames

#51 Post by nightclaw » Thu Sep 27, 2012 5:18 am

Hidden 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>
where does this start at so i know where to stand? please

Trollencio
Posts: 10
Joined: Wed Sep 26, 2012 1:37 pm

Re: [Daily & Public Event] Extinguish More Flames

#52 Post by Trollencio » Thu Sep 27, 2012 8:53 am

Did not find any crashed game clients.
Faile to compile and run Lua code for waypoint #4

I don´t understand :o :o :o

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: [Daily & Public Event] Extinguish More Flames

#53 Post by rock5 » Thu Sep 27, 2012 9:06 am

Too many 'end's.

There is an 'end' that doesn't end anything in waypoint 4. Also waypoint 3 looks like it has an extra 'end'.
  • 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.”
          • Ronald Reagan

muratiks
Posts: 22
Joined: Mon Dec 14, 2009 8:23 am

Re: [Daily & Public Event] Extinguish More Flames

#54 Post by muratiks » Tue Oct 02, 2012 5:50 am

Hello, i have little question about to mix 2 waypoint code

1st code;

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>
this works great for dailys and public quest but i wat to add timer from another code

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>
2nd one waiting until public event start

i want 1st code also wait for event start

please help ty

CanceR
Posts: 33
Joined: Sun Jul 22, 2012 9:28 am

Re: [Daily & Public Event] Extinguish More Flames

#55 Post by CanceR » Sat Oct 06, 2012 4:39 am

hello all,
how to use this WP only for daily quest or for public one, when they both have same name, in case i did not do any daily quest, but want to do them elsewhere and accept only public one?

Code: Select all

CompleteQuestByName("Extinguish More Flames");
what should be changed in brackets for QuestID to make a difference which one i want to accept?
and is there any place where i can find all quest ID's for different quests?
thanks in advance

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: [Daily & Public Event] Extinguish More Flames

#56 Post by rock5 » Sat Oct 06, 2012 5:35 am

As of revision 736 you can use an extra argument with the QuestByName functions. Eg.

Code: Select all

AcceptQuestByName("Extinguish More Flames","public");
CompleteQuestByName("Extinguish More Flames","public");
Accepted values are "public", "daily" and "normal".
  • 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.”
          • Ronald Reagan

vo2male
Posts: 122
Joined: Mon Aug 27, 2012 6:41 am

Re: [Daily & Public Event] Extinguish More Flames

#57 Post by vo2male » Sat Oct 06, 2012 8:33 pm

I'm pretty tired of having this error :x

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))
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.
Anyone have any ideas aside from the post above?

kuripot
Posts: 493
Joined: Mon Nov 07, 2011 9:14 pm

Re: [Daily & Public Event] Extinguish More Flames

#58 Post by kuripot » Sun Oct 07, 2012 10:25 pm

i have 1 question.......
Extinguish More Flames has daily quest and public event... with same quest name...
how to choose only daily quest??not the public event???
because when i accept public event. it has problem in spawning of Strange Flame Seedling.
so i only want to accept the daily quest
and one more thing
how can i repeat harvest Strange Flame Seedling until the quest complete without using "tag"
i dont want to use tag because when using tag it we go back the waypoint that has tag.. and its look suspicious

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: [Daily & Public Event] Extinguish More Flames

#59 Post by rock5 » Sun Oct 07, 2012 10:37 pm

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???
Look at my post about 3 posts up from here.
  • 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.”
          • Ronald Reagan

Jandrana
Posts: 187
Joined: Thu Jul 05, 2012 5:53 am

Re: [Daily & Public Event] Extinguish More Flames

#60 Post by Jandrana » Mon Oct 08, 2012 4:53 am

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.
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.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 6 guests