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

#21 Post by somberland » Sat Jul 03, 2010 3:24 pm

Did I have to setup my camera to a specific type/angel? if he runs into the house for the chickens he can't see them and so can't click on them :(
same with the cornsack

Edit:// btw somewhere I read that I don't have the game to be open (windows-focus) to harvest, but it still say's that I can't harvest without window-focus (updatet to newest svn-version.

VoidMain
Posts: 187
Joined: Wed Apr 21, 2010 12:21 pm

Re: Eggs

#22 Post by VoidMain » Sat Jul 03, 2010 4:05 pm

wizzyslo wrote:ATM bot can easy miss egg and i wont to fix that. I wont to do bot that doing prfect never missed egg, get all chickens and now you are telling me that i doing bot that dont pick eggs are you stupid or what? And whay are you telling me that i'm doing bot that don't do anything sorry you are talking as idiot.
First of all, you don't need to insult, second, the idiot are you, i'm not using and old versión to harvest, that's just plain stupid, third, fuck off, asshole, i was trying to help you, a really difficult thing to do with the horrible english you use to write your sentences.

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

Re: Eggs

#23 Post by rock5 » Sat Jul 03, 2010 4:14 pm

Nebojsha wrote:another thing, each time chicken lays down egg, if u click it 2 times fast enough u get 2 eggs, is this possible with bot? :)
I don't believe you can get 2 eggs from a chicken laying once. I think what might have happened to you is you clicked the chicken once but failed to pick up the egg then you fed the chicken again and when you went and clicked it again in the chicken coop you ended up with 2 eggs.

If I'm wrong, please explain better how to get 2 eggs because I couldn't do it.
  • 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

Nebojsha
Posts: 25
Joined: Sun Nov 15, 2009 10:13 am

Re: Eggs

#24 Post by Nebojsha » Sat Jul 03, 2010 4:24 pm

so egg shows, u click it and as soon as you finish taking it u click again before it dissapears. Works 100% on all eggs, including golden

somberland
Posts: 18
Joined: Sat Jul 03, 2010 3:11 pm

Re: Eggs

#25 Post by somberland » Sat Jul 03, 2010 4:26 pm

after feeding the chicken and walk to it to cheer it, it puts down the egg, just klick as long as your coursor stays with that "u can use that shit"-style, so u get 1 normal and while it disapears the second one.

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

Re: Eggs

#26 Post by rock5 » Sat Jul 03, 2010 4:52 pm

Nebojsha wrote:so egg shows, u click it and as soon as you finish taking it u click again before it dissapears. Works 100% on all eggs, including golden
Hey yeh, you're right. Try this;
player:harvest(112958) yrest(1900) sendMacro("UseSkill(1,1)")
  • 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

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

Re: Eggs

#27 Post by wizzyslo » Sat Jul 03, 2010 6:42 pm

I done my waypoing but still not good. Need to rapair lot's of things.

Code: Select all

<?xml version="1.0" encoding="utf-8"?><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)
	            if player:harvest(112956) then
                yrest(8000);
            end
	player:harvest(112956)
	            if player:harvest(112956) then
                yrest(8000);
            end
	player:harvest(112956)
	    if player:harvest(112956) then
           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);
	            if player:harvest(112956) then
               yrest(8000)
            end
	player:harvest(112956);
	            if player:harvest(112956) then
                 yrest(8000)
            end
	player:harvest(112956);
	    if player:harvest(112956) then
            yrest(8000)
            end   
   </waypoint>



<waypoint x="3935" z="3039">
		player:harvest(112955)
		if player:harvest(112955) then
               yrest(6000)
            end
					player:harvest(112955)
		if player:harvest(112955) then
               yrest(6000)
            end
			
					player:harvest(112955)
		if player:harvest(112955) then
               yrest(6000)
            end
		
		</waypoint>
<waypoint x="3947" z="3107">
		player:harvest(112955)
		if player:harvest(112955) then
               yrest(6000)
            end
					player:harvest(112955)
		if player:harvest(112955) then
               yrest(6000)
            end
			
					player:harvest(112955)
		if player:harvest(112955) then
               yrest(6000)
            end
</waypoint>
<waypoint x="3958" z="3136">
		player:harvest(112955)
		if player:harvest(112955) then
               yrest(6000)
            end
					player:harvest(112955)
		if player:harvest(112955) then
               yrest(6000)
            end
			
					player:harvest(112955)
		if player:harvest(112955) then
               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)
	     if player:harvest(112958) then
          yrest(1200)
            end

	player:harvest(112958)  if player:harvest(112958) then  yrest(50) end
	player:harvest(112958)  if player:harvest(112958) then  yrest(50) end
	player:harvest(112958)  if player:harvest(112958) then  yrest(50) end
	player:harvest(112958)  if player:harvest(112958) then  yrest(50) end
	player:harvest(112958)  if player:harvest(112958) then  yrest(50) end
	player:harvest(112958)  if player:harvest(112958) then  yrest(2000) end

	player:harvest(114931)
		  if player:harvest(114931) then
            yrest(1200)
            end
		player:harvest(114931)  if player:harvest(114931) then  yrest(50) end
		player:harvest(114931)  if player:harvest(114931) then  yrest(50) end 
		player:harvest(114931)  if player:harvest(114931) then  yrest(50) end 
		player:harvest(114931)  if player:harvest(114931) then  yrest(50) end 
		player:harvest(114931)  if player:harvest(114931) then  yrest(50) end 
		player:harvest(114931)  if player:harvest(114931) then  yrest(2000) 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)
	     if player:harvest(112958) then
          yrest(1200)
            end

	player:harvest(112958)  if player:harvest(112958) then  yrest(50) end
	player:harvest(112958)  if player:harvest(112958) then  yrest(50) end
	player:harvest(112958)  if player:harvest(112958) then  yrest(50) end
	player:harvest(112958)  if player:harvest(112958) then  yrest(50) end
	player:harvest(112958)  if player:harvest(112958) then  yrest(50) end
	player:harvest(112958)  if player:harvest(112958) then  yrest(2000) end

	player:harvest(114931)
		  if player:harvest(114931) then
            yrest(1200)
            end
		player:harvest(114931)  if player:harvest(114931) then  yrest(50) end
		player:harvest(114931)  if player:harvest(114931) then  yrest(50) end 
		player:harvest(114931)  if player:harvest(114931) then  yrest(50) end 
		player:harvest(114931)  if player:harvest(114931) then  yrest(50) end 
		player:harvest(114931)  if player:harvest(114931) then  yrest(50) end 
		player:harvest(114931)  if player:harvest(114931) then  yrest(2000) 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)
	     if player:harvest(112958) then
          yrest(1200)
            end

	player:harvest(112958)  if player:harvest(112958) then  yrest(50) end
	player:harvest(112958)  if player:harvest(112958) then  yrest(50) end
	player:harvest(112958)  if player:harvest(112958) then  yrest(50) end
	player:harvest(112958)  if player:harvest(112958) then  yrest(50) end
	player:harvest(112958)  if player:harvest(112958) then  yrest(50) end
	player:harvest(112958)  if player:harvest(112958) then  yrest(2000) end

	player:harvest(114931)
		  if player:harvest(114931) then
            yrest(1200)
            end
		player:harvest(114931)  if player:harvest(114931) then  yrest(50) end
		player:harvest(114931)  if player:harvest(114931) then  yrest(50) end 
		player:harvest(114931)  if player:harvest(114931) then  yrest(50) end 
		player:harvest(114931)  if player:harvest(114931) then  yrest(50) end 
		player:harvest(114931)  if player:harvest(114931) then  yrest(50) end 
		player:harvest(114931)  if player:harvest(114931) then  yrest(2000) end 
		</waypoint>
	<!-- #  4 --><waypoint x="3912" z="3199">	</waypoint>
</waypoints>
If waypoing don't works do this:

rock5 wrote: Insert at line 95 of player.lua, just before "self:update();" the following;

Code: Select all

		if _id then -- The rest is not needed if not resource node
			lastHarvestedNodeAddr = closestHarvestable.Address;
			return true
		end

somberland
Posts: 18
Joined: Sat Jul 03, 2010 3:11 pm

Re: Eggs

#28 Post by somberland » Sat Jul 03, 2010 7:21 pm

The fist "self:update();" apears on my player.lua at line 139

Code: Select all

137 while( foundHarvestNode ~= 0 and nodeMouseX and nodeMouseY ) do
138                    ---maybe the right place???---
139			self:update();
140
141			if( self.Battling ) then	-- we get aggro, stop harvesting
142				keyboardRelease(key.VK_SHIFT);
143				if( self.Returning ) then	-- set wp one back to harverst wp
144					__RPL:backward();	-- again after the fight
145				else
146					__WPL:backward();
147				end;
148				break;
149			end;
Thanks for the Waypoints, I will try it :)
Edit:// I don't know why, but it looks like that the Cursor flows too fast over the screen so he can't catch the chicken (around 1/6 he get one).

Binafus
Posts: 23
Joined: Thu Jul 09, 2009 1:22 pm

Re: Eggs

#29 Post by Binafus » Sat Jul 03, 2010 9:02 pm

139 is my first player update as well.

Line 90 to 101 in my player.lua

Code: Select all

				if( mousePawn.Address ~= 0 
					and distance(self.X, self.Z, mousePawn.X, mousePawn.Z) < 150
					and _id == mousePawn.Id ) then
					return mousePawn.Address, mx, my, mousePawn.Id;
				end

				-- normal harvesting
				if( mousePawn.Address ~= 0 and mousePawn.Type == PT_NODE
					and distance(self.X, self.Z, mousePawn.X, mousePawn.Z) < 150
					and database.nodes[mousePawn.Id] ) then
					return mousePawn.Address, mx, my, mousePawn.Id;
				end
You can slow your Cursor down by adding the following line in your player config, the higher the number the slower it will move.

<option name="HARVEST_SCAN_YREST" value="8" />



4

VoidMain
Posts: 187
Joined: Wed Apr 21, 2010 12:21 pm

Re: Eggs

#30 Post by VoidMain » Sun Jul 04, 2010 12:12 am

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<waypoint x="3934" z="2995">while player:harvest(112956) do yrest(2000); end;</waypoint>
<waypoint x="3935" z="3039">while player:harvest(112955) do yrest(3500);player:clearTarget(); end;</waypoint>
<waypoint x="3947" z="3107">while player:harvest(112955) do yrest(3500);player:clearTarget(); end;</waypoint>
<waypoint x="3958" z="3136">while player:harvest(112955) do yrest(5000);player:clearTarget(); end;</waypoint>
<waypoint x="3924" z="3214">	</waypoint>
<waypoint x="3914" z="3257">
    while player:harvest(112955) do
        yrest(8000);
    end
	while (player:harvest(112958)) do
		yrest(1900);
		sendMacro("UseSkill(1,1)");
	end;
	while player:harvest(114931) do
        yrest(10);
    end
</waypoint>
<waypoint x="3951" z="3206">	</waypoint>
<waypoint x="3938" z="3066">	</waypoint>
<waypoint x="3936" z="3035">	</waypoint>
</waypoints>
This waypoint works great with the fix sugested by rock5, never misses a chicken or an egg and also harvests 2 eggs of each one...
The check for white eggs is not on a while because it hangs the client, but this way it works great, i got 700 white eggs and 56 golden eggs this way.

Note: This is made to work with the newest version of harvesting. I still don´t get why some ppl is using an old version...

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

Re: Eggs

#31 Post by rock5 » Sun Jul 04, 2010 12:44 am

wizzyslo wrote:I done my waypoing but still not good. Need to rapair lot's of things.
You misunderstood what it means when a function returns true. If a function returns true, it still executed. So this code;

Code: Select all

   player:harvest(112956)
       if player:harvest(112956) then
           yrest(8000);
       end
Does this;
Execute harvest; -- ignores returned value
if (execute harvest again) returns true then
yrest(8000)

So you see, this executes it twice which is not what you intended. You need to remove the first harvest.

So it should be;

Code: Select all

            if player:harvest(112956) then
                yrest(8000);
            end
            if player:harvest(112956) then
                yrest(8000);
            end
            if player:harvest(112956) then
                yrest(8000);
            end
Even better, try this;

Code: Select all

while player:harvest(112956) do
    yrest(8000);
end
This will just keep harvesting until there are non left.
  • 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

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

Re: Eggs

#32 Post by rock5 » Sun Jul 04, 2010 12:47 am

somberland wrote:The fist "self:update();" apears on my player.lua at line 139

Thanks for the Waypoints, I will try it :)
Edit:// I don't know why, but it looks like that the Cursor flows too fast over the screen so he can't catch the chicken (around 1/6 he get one).
That is because you are using an older bot. Update to the latest SVN revision. It doesn't use the mouse to harvest.
  • 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

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

Re: Eggs

#33 Post by rock5 » Sun Jul 04, 2010 12:57 am

Hope you all realize that the more people get this working the less Gold Eggs will be worth in AH.
  • 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

Deset
Posts: 7
Joined: Thu May 27, 2010 3:04 pm

Re: Eggs

#34 Post by Deset » Sun Jul 04, 2010 2:53 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.

where did I get it?

downloaded the bot new did rom\update.lua but it still use the mouse..
have i to use player:harvest or player:harvestmem ?

sry for my bad englisch... im german :(

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

Re: Eggs

#35 Post by wizzyslo » Sun Jul 04, 2010 4:52 am

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

where did I get it?

downloaded the bot new did rom\update.lua but it still use the mouse..
have i to use player:harvest or player:harvestmem ?

sry for my bad englisch... im german :(
Administrator wrote: SVN - Always have the newest version:
Advanced:

For those of you who already have some working knowledge of SVN, you can use this command to checkout:
svn checkout http://rom-bot.googlecode.com/svn/trunk/ rom-bot-read-only


Simple:

First, I suggest you install Tortoise SVN. Once installed, you may need to reboot your machine. Now, locate your 'rom' folder (should be inside micromacro/scripts/) and right-click it. Select 'SVN Checkout'.

Now, a window should open. Inside "URL of repository:", enter this url:
http://rom-bot.googlecode.com/svn/trunk/rom

Everything else can be left at default. Click OK and it should begin downloading and updating all of your files. Now that you've got it all setup, you can simply right click the 'rom' folder again and select SVN update. Typically, a red icon over the folder should indicate that there are updates to download.


Problems with file conflicts?

This typically happens if you've made any modifications to the scripts. To fix it, you should delete any files that have conflicts, and try to SVN update again.

somberland
Posts: 18
Joined: Sat Jul 03, 2010 3:11 pm

Re: Eggs

#36 Post by somberland » Sun Jul 04, 2010 5:39 am

I already made a SVN-Update to 467 so that's why I'm asking because the new function won't work :D

Edit:// So Made a fresh SVN-Installation, now my player.lua is up2date

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

Re: Eggs

#37 Post by wizzyslo » Sun Jul 04, 2010 5:49 am

I fix code and works better but for picking eggs I'm still useing my old script. It works much better.

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

Re: Eggs

#38 Post by rock5 » Sun Jul 04, 2010 6:18 am

somberland wrote:I already made a SVN-Update to 467 so that's why I'm asking because the new function won't work :D

Edit:// So Made a fresh SVN-Installation, now my player.lua is up2date
That is because everyone else here is using the modification I mentioned above to get it working. I've decided, even though I think it is only a temporary fix, to commit it to revision 468.

So update to 468. it should be a fully working for opening objects.
  • 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

somberland
Posts: 18
Joined: Sat Jul 03, 2010 3:11 pm

Re: Eggs

#39 Post by somberland » Sun Jul 04, 2010 6:52 am

hmm ok looks like I killed the "eggloot"-loop :lol: the feed and food-take function works good with the new bot-version.

Edit:// Ok same problem with the waypoints from VoidMain.

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

Re: Eggs

#40 Post by jason404 » Sun Jul 04, 2010 8:57 am

tried to make my own waypoint but still cant manage to make it work....

I've tried voidmain's example but it only manages to harvest 1 feedbag and 1 chicken while it cant find the chicken eggs.
(using the latest verison)
VoidMain wrote:

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<waypoint x="3934" z="2995">while player:harvest(112956) do yrest(2000); end;</waypoint>
<waypoint x="3935" z="3039">while player:harvest(112955) do yrest(3500);player:clearTarget(); end;</waypoint>
<waypoint x="3947" z="3107">while player:harvest(112955) do yrest(3500);player:clearTarget(); end;</waypoint>
<waypoint x="3958" z="3136">while player:harvest(112955) do yrest(5000);player:clearTarget(); end;</waypoint>
<waypoint x="3924" z="3214">	</waypoint>
<waypoint x="3914" z="3257">
    while player:harvest(112955) do
        yrest(8000);
    end
	while (player:harvest(112958)) do
		yrest(1900);
		sendMacro("UseSkill(1,1)");
	end;
	while player:harvest(114931) do
        yrest(10);
    end
</waypoint>
<waypoint x="3951" z="3206">	</waypoint>
<waypoint x="3938" z="3066">	</waypoint>
<waypoint x="3936" z="3035">	</waypoint>
</waypoints>
This waypoint works great with the fix sugested by rock5, never misses a chicken or an egg and also harvests 2 eggs of each one...
The check for white eggs is not on a while because it hangs the client, but this way it works great, i got 700 white eggs and 56 golden eggs this way.

Note: This is made to work with the newest version of harvesting. I still don´t get why some ppl is using an old version...

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 143 guests