Eggs
-
- Posts: 18
- Joined: Sat Jul 03, 2010 3:11 pm
Re: Eggs
So I'm (for) now happy with the player.lua fix + wizzyslo's waypoint-file
-
- Posts: 84
- Joined: Tue Jun 22, 2010 8:06 am
Re: Eggs
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?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.
Re: Eggs
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
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>
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Eggs
If you are using the latest revision off of SVN, it will harvest without the need of having window focus.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?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.
Re: Eggs
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
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
Re: Eggs
Tried this script and it works perfectly fine until it rom crashs. Is that the problem you was talking about?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>
Re: Eggs
I have the same problem ..... game crash after 5-10min. Can anyone help?jason404 wrote:Tried this script and it works perfectly fine until it rom crashs. Is that the problem you was talking about?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>
Re: Eggs
jason404 wrote:Tried this script and it works perfectly fine until it rom crashs. Is that the problem you was talking about?
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.honda wrote:I have the same problem ..... game crash after 5-10min. Can anyone help?
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
-
- Posts: 11
- Joined: Mon Jul 05, 2010 10:34 am
Re: Eggs
Didnt you had a "perfect waypoint" that you didn;t share?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?
- blegh cant figure out my old login codes lol
-
- Posts: 11
- Joined: Mon Jul 05, 2010 10:34 am
Re: Eggs
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
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.
Re: Eggs
rom/getid.luawizzyslo 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?
- 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
Re: Eggs
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 )
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
(now i need one waypoint for the cow )
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
(now i need one waypoint for the cow )
Re: Eggs
Ok i will help about this waypoint but you need to learn something how to do waypoint. Can't only copy waypoint.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 )
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
(now i need one waypoint for the cow )
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
Advance:
When you run waypoint is good that you accept and cancle quest to get buckets and bot works much better.
Re: Eggs
I told you, you are repeating yourself. "if player:harvest(112954) then" actually does the harvest, sowizzyslo 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
Code: Select all
player:harvest(112954)
if player:harvest(112954) then
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
Re: Eggs
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
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.
-
- Posts: 11
- Joined: Mon Jul 05, 2010 10:34 am
Re: Eggs
All the answers are in this topic.. even about the updatingnokirk 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
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.
-
- Posts: 57
- Joined: Wed Jul 01, 2009 12:52 am
Re: Eggs
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);
player.lua:1713 bad argument #1 to 'memoryReadIntPtr' ((null))
line 1713 is
local tmpAddress = memoryReadIntPtr(getProc(), addresses.staticbase_char, addresses.charPtr_offset);
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 3 guests