Eggs

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
somberland
Posts: 18
Joined: Sat Jul 03, 2010 3:11 pm

Re: Eggs

#41 Post by somberland » Sun Jul 04, 2010 9:03 am

So I'm (for) now happy with the player.lua fix + wizzyslo's waypoint-file

WhiteTiger
Posts: 84
Joined: Tue Jun 22, 2010 8:06 am

Re: Eggs

#42 Post by WhiteTiger » Sun Jul 04, 2010 10:16 am

rock5 wrote:That is because you are using an older bot. Update to the latest SVN revision. It doesn't use the mouse to harvest.
what do you mean it doesnt use the mouse?:O Ive updated mine and it still uses the mouse. How do i make it work without?

wizzyslo
Posts: 119
Joined: Sun Nov 01, 2009 6:09 pm

Re: Eggs

#43 Post by wizzyslo » Sun Jul 04, 2010 10:54 am

somberland wrote:So I'm (for) now happy with the player.lua fix + wizzyslo's waypoint-file
Sorry but that waypoint is to much failing working on new one allmost done. Testing it but allmost never fail.

wizzyslo
Posts: 119
Joined: Sun Nov 01, 2009 6:09 pm

Re: Eggs

#44 Post by wizzyslo » Sun Jul 04, 2010 11:17 am

I think it's done but i think i don't give out for public becouse that waypoint rly never fail.
I give waypoint wich I take time and rapair it. Bot found all chieckens, have enought feedbags, pick 2 eggs,.. Working allmost prfect but samethimes it's run wrong. You can see that problem when you are boting.
Have fun ;)

Code: Select all

<waypoints>
   <!-- #  1 --><waypoint x="4029" z="3168">   </waypoint>
   <!-- #  2 --><waypoint x="4079" z="3172">   </waypoint>
   <!-- #  3 --><waypoint x="4110" z="3121">   </waypoint>
   <!-- #  4 --><waypoint x="4114" z="3113">
	player:harvest(112956)
	            while player:harvest(112956) do
                yrest(8000);
            end

   </waypoint>
   <!-- #  5 --><waypoint x="4079" z="3170">   </waypoint>
   <!-- #  6 --><waypoint x="4040" z="3162">   </waypoint>
   <!-- #  7 --><waypoint x="3950" z="3004">   </waypoint>
   <!-- #  9 --><waypoint x="3936" z="2968">
	player:harvest(112956)
	            while player:harvest(112956) do
                yrest(8000);
            end
 
   </waypoint>



<waypoint x="3935" z="3039">
		player:harvest(112955)
		while player:harvest(112955) do
               yrest(6000)
            end
		
		</waypoint>
<waypoint x="3947" z="3107">
		player:harvest(112955)
		while player:harvest(112955) do
               yrest(6000)
            end
</waypoint>
<waypoint x="3958" z="3136">
		player:harvest(112955)
		while player:harvest(112955) do
               yrest(6000)
            end
</waypoint>


<!-- #  1 --><waypoint x="3946" z="3264">
		yrest(1000)
	player:harvest(112955)
		   yrest(500)
			if player:harvest(112955) then
               yrest(5000)
            end
	
	player:harvest(112958)
	     while player:harvest(112958) do
          yrest(50)
            end

	player:harvest(114931)
		  while player:harvest(114931) do
            yrest(50)
            end
		</waypoint>
	<!-- #  2 --><waypoint x="3929" z="3265">	
		yrest(1000)
	player:harvest(112955)
		   yrest(500)
			if player:harvest(112955) then
               yrest(5000)
            end
	
	player:harvest(112958)
	     while player:harvest(112958) do
          yrest(50)
            end

	player:harvest(114931)
		  while player:harvest(114931) do
            yrest(50)
            end
		
		</waypoint>	
	<!-- #  2 --><waypoint x="3920" z="3265">	
	yrest(1000)
	player:harvest(112955)
		   yrest(500)
			if player:harvest(112955) then
               yrest(5000)
            end
			
	player:harvest(112955)
		   yrest(500)
			if player:harvest(112955) then
               yrest(5000)
            end
	
	player:harvest(112958)
	     while player:harvest(112958) do
          yrest(50)
            end
			
	player:harvest(114931)
		  while player:harvest(114931) do
            yrest(50)
            end
				</waypoint>
	<!-- #  4 --><waypoint x="3912" z="3199">	</waypoint>
</waypoints>

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: Eggs

#45 Post by Administrator » Sun Jul 04, 2010 5:48 pm

WhiteTiger wrote:
rock5 wrote:That is because you are using an older bot. Update to the latest SVN revision. It doesn't use the mouse to harvest.
what do you mean it doesnt use the mouse?:O Ive updated mine and it still uses the mouse. How do i make it work without?
If you are using the latest revision off of SVN, it will harvest without the need of having window focus.

shavas
Posts: 28
Joined: Wed Apr 22, 2009 3:21 pm

Re: Eggs

#46 Post by shavas » Sun Jul 04, 2010 9:17 pm

some suggestions and additons

1) update to the very latest version of the bot.
2) set harvest distance at 70 (too much more and it will jump to other nodes)
3) do not use a loop on the chickens. It can get stuck in a permanent loop if you run out of feed.


Anyways fixed my copy up (based on VoidMain's work).
Cheers

jason404
Posts: 29
Joined: Fri Feb 19, 2010 10:11 am

Re: Eggs

#47 Post by jason404 » Mon Jul 05, 2010 6:27 am

wizzyslo wrote:I think it's done but i think i don't give out for public becouse that waypoint rly never fail.
I give waypoint wich I take time and rapair it. Bot found all chieckens, have enought feedbags, pick 2 eggs,.. Working allmost prfect but samethimes it's run wrong. You can see that problem when you are boting.
Have fun ;)

Code: Select all

<waypoints>
   <!-- #  1 --><waypoint x="4029" z="3168">   </waypoint>
   <!-- #  2 --><waypoint x="4079" z="3172">   </waypoint>
   <!-- #  3 --><waypoint x="4110" z="3121">   </waypoint>
   <!-- #  4 --><waypoint x="4114" z="3113">
	player:harvest(112956)
	            while player:harvest(112956) do
                yrest(8000);
            end

   </waypoint>
   <!-- #  5 --><waypoint x="4079" z="3170">   </waypoint>
   <!-- #  6 --><waypoint x="4040" z="3162">   </waypoint>
   <!-- #  7 --><waypoint x="3950" z="3004">   </waypoint>
   <!-- #  9 --><waypoint x="3936" z="2968">
	player:harvest(112956)
	            while player:harvest(112956) do
                yrest(8000);
            end
 
   </waypoint>



<waypoint x="3935" z="3039">
		player:harvest(112955)
		while player:harvest(112955) do
               yrest(6000)
            end
		
		</waypoint>
<waypoint x="3947" z="3107">
		player:harvest(112955)
		while player:harvest(112955) do
               yrest(6000)
            end
</waypoint>
<waypoint x="3958" z="3136">
		player:harvest(112955)
		while player:harvest(112955) do
               yrest(6000)
            end
</waypoint>


<!-- #  1 --><waypoint x="3946" z="3264">
		yrest(1000)
	player:harvest(112955)
		   yrest(500)
			if player:harvest(112955) then
               yrest(5000)
            end
	
	player:harvest(112958)
	     while player:harvest(112958) do
          yrest(50)
            end

	player:harvest(114931)
		  while player:harvest(114931) do
            yrest(50)
            end
		</waypoint>
	<!-- #  2 --><waypoint x="3929" z="3265">	
		yrest(1000)
	player:harvest(112955)
		   yrest(500)
			if player:harvest(112955) then
               yrest(5000)
            end
	
	player:harvest(112958)
	     while player:harvest(112958) do
          yrest(50)
            end

	player:harvest(114931)
		  while player:harvest(114931) do
            yrest(50)
            end
		
		</waypoint>	
	<!-- #  2 --><waypoint x="3920" z="3265">	
	yrest(1000)
	player:harvest(112955)
		   yrest(500)
			if player:harvest(112955) then
               yrest(5000)
            end
			
	player:harvest(112955)
		   yrest(500)
			if player:harvest(112955) then
               yrest(5000)
            end
	
	player:harvest(112958)
	     while player:harvest(112958) do
          yrest(50)
            end
			
	player:harvest(114931)
		  while player:harvest(114931) do
            yrest(50)
            end
				</waypoint>
	<!-- #  4 --><waypoint x="3912" z="3199">	</waypoint>
</waypoints>
Tried this script and it works perfectly fine until it rom crashs. Is that the problem you was talking about?

honda
Posts: 1
Joined: Mon Jul 05, 2010 6:56 am

Re: Eggs

#48 Post by honda » Mon Jul 05, 2010 7:02 am

jason404 wrote:
wizzyslo wrote:I think it's done but i think i don't give out for public becouse that waypoint rly never fail.
I give waypoint wich I take time and rapair it. Bot found all chieckens, have enought feedbags, pick 2 eggs,.. Working allmost prfect but samethimes it's run wrong. You can see that problem when you are boting.
Have fun ;)

Code: Select all

<waypoints>
   <!-- #  1 --><waypoint x="4029" z="3168">   </waypoint>
   <!-- #  2 --><waypoint x="4079" z="3172">   </waypoint>
   <!-- #  3 --><waypoint x="4110" z="3121">   </waypoint>
   <!-- #  4 --><waypoint x="4114" z="3113">
	player:harvest(112956)
	            while player:harvest(112956) do
                yrest(8000);
            end

   </waypoint>
   <!-- #  5 --><waypoint x="4079" z="3170">   </waypoint>
   <!-- #  6 --><waypoint x="4040" z="3162">   </waypoint>
   <!-- #  7 --><waypoint x="3950" z="3004">   </waypoint>
   <!-- #  9 --><waypoint x="3936" z="2968">
	player:harvest(112956)
	            while player:harvest(112956) do
                yrest(8000);
            end
 
   </waypoint>



<waypoint x="3935" z="3039">
		player:harvest(112955)
		while player:harvest(112955) do
               yrest(6000)
            end
		
		</waypoint>
<waypoint x="3947" z="3107">
		player:harvest(112955)
		while player:harvest(112955) do
               yrest(6000)
            end
</waypoint>
<waypoint x="3958" z="3136">
		player:harvest(112955)
		while player:harvest(112955) do
               yrest(6000)
            end
</waypoint>


<!-- #  1 --><waypoint x="3946" z="3264">
		yrest(1000)
	player:harvest(112955)
		   yrest(500)
			if player:harvest(112955) then
               yrest(5000)
            end
	
	player:harvest(112958)
	     while player:harvest(112958) do
          yrest(50)
            end

	player:harvest(114931)
		  while player:harvest(114931) do
            yrest(50)
            end
		</waypoint>
	<!-- #  2 --><waypoint x="3929" z="3265">	
		yrest(1000)
	player:harvest(112955)
		   yrest(500)
			if player:harvest(112955) then
               yrest(5000)
            end
	
	player:harvest(112958)
	     while player:harvest(112958) do
          yrest(50)
            end

	player:harvest(114931)
		  while player:harvest(114931) do
            yrest(50)
            end
		
		</waypoint>	
	<!-- #  2 --><waypoint x="3920" z="3265">	
	yrest(1000)
	player:harvest(112955)
		   yrest(500)
			if player:harvest(112955) then
               yrest(5000)
            end
			
	player:harvest(112955)
		   yrest(500)
			if player:harvest(112955) then
               yrest(5000)
            end
	
	player:harvest(112958)
	     while player:harvest(112958) do
          yrest(50)
            end
			
	player:harvest(114931)
		  while player:harvest(114931) do
            yrest(50)
            end
				</waypoint>
	<!-- #  4 --><waypoint x="3912" z="3199">	</waypoint>
</waypoints>
Tried this script and it works perfectly fine until it rom crashs. Is that the problem you was talking about?
I have the same problem ..... game crash after 5-10min. Can anyone help?

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

Re: Eggs

#49 Post by rock5 » Mon Jul 05, 2010 7:17 am

jason404 wrote:Tried this script and it works perfectly fine until it rom crashs. Is that the problem you was talking about?
honda wrote:I have the same problem ..... game crash after 5-10min. Can anyone help?
When I tried "while" loops with only 50 ms it became unstable for me too. I think you can''t communicate with the game 20 times a sec like that. This is the timing I use for picking up eggs. Replace all the yrest(50) to look like this. Never fails to get 2 eggs and I can leave it running for hours without any crashes.

Code: Select all

		while player:harvest(112958) do
			yrest(1850)
			sendMacro("UseSkill(1,1)") yrest(40)
			sendMacro("UseSkill(1,1)") yrest(40)
			sendMacro("UseSkill(1,1)") yrest(1000)
		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

jason404
Posts: 29
Joined: Fri Feb 19, 2010 10:11 am

Re: Eggs

#50 Post by jason404 » Mon Jul 05, 2010 7:43 am

Thanks alot, hopefully its solved the problem.

wizzyslo
Posts: 119
Joined: Sun Nov 01, 2009 6:09 pm

Re: Eggs

#51 Post by wizzyslo » Mon Jul 05, 2010 11:22 am

I'm working on new waypoint and i have problem to get ID. Old bot gave me all ID by function player:harvest("test") but new don't give nothing. Any way how to get IDs?

MrStraatsoldaat
Posts: 11
Joined: Mon Jul 05, 2010 10:34 am

Re: Eggs

#52 Post by MrStraatsoldaat » Mon Jul 05, 2010 11:28 am

wizzyslo wrote:I'm working on new waypoint and i have problem to get ID. Old bot gave me all ID by function player:harvest("test") but new don't give nothing. Any way how to get IDs?
Didnt you had a "perfect waypoint" that you didn;t share? :)

- blegh cant figure out my old login codes lol

MrStraatsoldaat
Posts: 11
Joined: Mon Jul 05, 2010 10:34 am

Re: Eggs

#53 Post by MrStraatsoldaat » Mon Jul 05, 2010 11:35 am

By the way... all the waypoints fail at 1 point: what if you get the error "you need to get some Sacks of Feed blablabla..." then it stays in a non-ending loop trying to harvest a chicken while it's impossible...
NVM, I dont have problems with this anymore, I begin with way more food then needed


Wizzy and Rock5 I have to say props, thanks :)

Rock5 thanks because of this topic I found out about the new harvesting thing. Now I can finally change my old waypoints.
Wizzy thanks for the waypoints I adjusted them a bit
Last edited by MrStraatsoldaat on Mon Jul 05, 2010 11:46 am, edited 2 times in total.

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

Re: Eggs

#54 Post by rock5 » Mon Jul 05, 2010 11:37 am

wizzyslo wrote:I'm working on new waypoint and i have problem to get ID. Old bot gave me all ID by function player:harvest("test") but new don't give nothing. Any way how to get IDs?
rom/getid.lua
  • 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

qcalex
Posts: 23
Joined: Mon Jul 05, 2010 6:20 pm

Re: Eggs

#55 Post by qcalex » Mon Jul 05, 2010 6:35 pm

thx alot wizzslo! im using your waypoint + all the recommandation of rock5 and it work great it doesnt crash at every 5 min now ans it has planty of sacks (to be sure im runing twice the first collect then i let it go :P )
but as you know the only bug is that some time he harvest the chicken direct after 9 and dont collect the eggs until he get to 12.
but with-out that thing this waypoint is great :P

(now i need one waypoint for the cow :P)

wizzyslo
Posts: 119
Joined: Sun Nov 01, 2009 6:09 pm

Re: Eggs

#56 Post by wizzyslo » Mon Jul 05, 2010 7:49 pm

qcalex wrote:thx alot wizzslo! im using your waypoint + all the recommandation of rock5 and it work great it doesnt crash at every 5 min now ans it has planty of sacks (to be sure im runing twice the first collect then i let it go :P )
but as you know the only bug is that some time he harvest the chicken direct after 9 and dont collect the eggs until he get to 12.
but with-out that thing this waypoint is great :P

(now i need one waypoint for the cow :P)
Ok i will help about this waypoint but you need to learn something how to do waypoint. Can't only copy waypoint.

Code: Select all

	
FINISH QUEST:

player:target_NPC("Jessica Miller"); yrest(2000);
	sendMacro("OnClick_QuestListButton(3,1)");   yrest(1000);
	sendMacro("CompleteQuest();")	 ; yrest(1000);

TAKE QUEST:
	
	player:target_NPC("Jessica Miller");	yrest(2000);
		sendMacro("OnClick_QuestListButton(1,1)");  	yrest(1000);
	sendMacro("AcceptQuest();")	 ; 	yrest(1000);



GRASS
player:harvest(112954)
		if player:harvest(112954) then
               yrest(7000)

OR


player:harvest(112954)
while player:harvest(112954) do
yrest(7000)
end



COW:

player:harvest(112954)
if player:harvest(112954) then
yrest(7000)
end


OR

player:
harvest(112954)
while player:harvest(112954) do
yrest(7000)
end
Now is your way how to make it.

Advance:
When you run waypoint is good that you accept and cancle quest to get buckets and bot works much better.

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

Re: Eggs

#57 Post by rock5 » Mon Jul 05, 2010 11:39 pm

wizzyslo wrote:

Code: Select all

player:harvest(112954)
if player:harvest(112954) then
yrest(7000)
end


OR

player:harvest(112954)
while player:harvest(112954) do
yrest(7000)
end
I told you, you are repeating yourself. "if player:harvest(112954) then" actually does the harvest, so

Code: Select all

player:harvest(112954)
if player:harvest(112954) then
is actually trying to harvest twice without any pause between them.

Your suggestions should be like this

Code: Select all

FINISH QUEST:

player:target_NPC("Jessica Miller"); yrest(2000);
   sendMacro("OnClick_QuestListButton(3,1)");   yrest(1000);
   sendMacro("CompleteQuest();")    ; yrest(1000);

TAKE QUEST:
   
   player:target_NPC("Jessica Miller");   yrest(2000);
      sendMacro("OnClick_QuestListButton(1,1)");     yrest(1000);
   sendMacro("AcceptQuest();")    ;    yrest(1000);



GRASS
if player:harvest(112954) then
yrest(7000)
end

OR


while player:harvest(112954) do
yrest(7000)
end



COW:

if player:harvest(112954) then
yrest(7000)
end


OR

while player:harvest(112954) do
yrest(7000)
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

nokirk
Posts: 73
Joined: Sat Jul 03, 2010 2:26 pm

Re: Eggs

#58 Post by nokirk » Tue Jul 06, 2010 8:32 am

WhiteTiger wrote: what do you mean it doesnt use the mouse?:O Ive updated mine and it still uses the mouse. How do i make it work without?

same here.

I read the whole topic and tried to understand the memory finding (which even to me as a beginner sounds great). Unfortunately in my updated version (468) it still tries to find the eggs via mousemovement and rom has to be in the foreground. I wasn't quit sure what to do with the userfunctions.lua and the object.lua posted in the other topic so I just put it in the micromacro/scripts/rom folder, unfortunately that didn't help much :D

So, how can I make the bot use addresses in the memory instead of searching for items with the mouse? Do I have to use player:harvestmem() now? How can I make it use the two new lua files? And finally, would one of you guys care to post a working waypoint file using those memory pointers`?

Thank you.

MrStraatsoldaat
Posts: 11
Joined: Mon Jul 05, 2010 10:34 am

Re: Eggs

#59 Post by MrStraatsoldaat » Tue Jul 06, 2010 8:37 am

nokirk wrote:
WhiteTiger wrote: what do you mean it doesnt use the mouse?:O Ive updated mine and it still uses the mouse. How do i make it work without?

same here.

I read the whole topic and tried to understand the memory finding (which even to me as a beginner sounds great). Unfortunately in my updated version (468) it still tries to find the eggs via mousemovement and rom has to be in the foreground. I wasn't quit sure what to do with the userfunctions.lua and the object.lua posted in the other topic so I just put it in the micromacro/scripts/rom folder, unfortunately that didn't help much :D

So, how can I make the bot use addresses in the memory instead of searching for items with the mouse? Do I have to use player:harvestmem() now? How can I make it use the two new lua files? And finally, would one of you guys care to post a working waypoint file using those memory pointers`?

Thank you.
All the answers are in this topic.. even about the updating

extremeuser
Posts: 57
Joined: Wed Jul 01, 2009 12:52 am

Re: Eggs

#60 Post by extremeuser » Tue Jul 06, 2010 11:34 am

Getting an error after 10 mins still.

player.lua:1713 bad argument #1 to 'memoryReadIntPtr' ((null))

line 1713 is

local tmpAddress = memoryReadIntPtr(getProc(), addresses.staticbase_char, addresses.charPtr_offset);

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 3 guests