![Sad :(](./images/smilies/icon_e_sad.gif)
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.
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.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.
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.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?
Hey yeh, you're right. Try this;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
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>
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
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;
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
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>
You misunderstood what it means when a function returns true. If a function returns true, it still executed. So this code;wizzyslo wrote:I done my waypoing but still not good. Need to rapair lot's of things.
Code: Select all
player:harvest(112956)
if player:harvest(112956) then
yrest(8000);
end
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
Code: Select all
while player:harvest(112956) do
yrest(8000);
end
That is because you are using an older bot. Update to the latest SVN revision. It doesn't use the mouse to harvest.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).
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.
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.
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.somberland wrote:I already made a SVN-Update to 467 so that's why I'm asking because the new function won't work
Edit:// So Made a fresh SVN-Installation, now my player.lua is up2date
VoidMain wrote: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...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>
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...
Users browsing this forum: Google [Bot] and 1 guest