Rock5's Millers Ranch Scripts

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
hackzor
Posts: 24
Joined: Sun Apr 17, 2011 1:42 am

Re: Rock5's Millers Ranch Scripts

#241 Post by hackzor »

beta 3 currently began^^

ill tell you the results tomorrow :D

which speed improvements? the memory hack :o?
phxcityslick
Posts: 11
Joined: Tue Apr 26, 2011 3:16 pm

Re: Rock5's Millers Ranch Scripts

#242 Post by phxcityslick »

been getting stuck errors left and right today using version hmmm seems 2.0

going to try 3.0 beta 3
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rock5's Millers Ranch Scripts

#243 Post by rock5 »

hackzor wrote:beta 3 currently began^^

ill tell you the results tomorrow :D

which speed improvements? the memory hack :o?
I'm currently testing the memory speed hack I saw somewhere and I've change my reward option to Jduartedjs 'deliver' option which makes more sense and I'm including his lagtime variable. I still haven't added the teleporter. I'll work on that today.
  • 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
spawny
Posts: 5
Joined: Sat Mar 26, 2011 4:57 am

Re: Rock5's Millers Ranch Scripts

#244 Post by spawny »

I tried this beta 3 on 1 client last night
result: 2 eggs/6h
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rock5's Millers Ranch Scripts

#245 Post by rock5 »

spawny wrote:I tried this beta 3 on 1 client last night
result: 2 eggs/6h
That's bad. :( I understand some servers have crap drop rates but that is rediculous. In 6 hours I get about 50.
  • 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: Rock5's Millers Ranch Scripts

#246 Post by rock5 »

This is beta 4. This is pretty close to the final version before I add the speed hacks.

Changes from beta 3:
  • Better removal of items from the ignore lists
  • Redone stuck egg detection. I'm pretty sure it is now foolproof. **crossing fingers behind back**
Please let me know how this script handles stuck hens and eggs as I can't test it myself (I don't get them).
Attachments
MillersRanchChickens.xml
Version 3 beta 4
(6.84 KiB) Downloaded 302 times
  • 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
justinas
Posts: 2
Joined: Sat Mar 26, 2011 8:37 am

Re: Rock5's Millers Ranch Scripts

#247 Post by justinas »

If it's unfamiliar with 'getQuestStatus' then you must have an ancient version of the bot. Try updating it.
I updated it with tortoise svn and updated with rom/update.lua. Now there isnt problem with 'getQuestStatus' but bot still stops at waypoint 4 like before and does nothing.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rock5's Millers Ranch Scripts

#248 Post by rock5 »

Maybe you have an older version of ingamefunction in the games "interface/addons" folder. Try updating 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
justinas
Posts: 2
Joined: Sat Mar 26, 2011 8:37 am

Re: Rock5's Millers Ranch Scripts

#249 Post by justinas »

Thank you rock5 alot. it works now. Ur da best
phxcityslick
Posts: 11
Joined: Tue Apr 26, 2011 3:16 pm

Re: Rock5's Millers Ranch Scripts

#250 Post by phxcityslick »

version 3 beta 3 fixed the stuck issues.

i haven't noticed any speed improvements but I'm not saying it's not there either...


as my system rebooted due to system updates I do not know how well the eggs are flowing for me. but in the few hours (not sure how many) i got 43 eggs.
spawny
Posts: 5
Joined: Sat Mar 26, 2011 4:57 am

Re: Rock5's Millers Ranch Scripts

#251 Post by spawny »

i used version 3 beta 4 and it works
status for 1 client: 40eggs/7h
;)
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rock5's Millers Ranch Scripts

#252 Post by rock5 »

Just to repeat myself, I haven't posted the version with the speed improvements. Just a bit more testing before I release 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
phxcityslick
Posts: 11
Joined: Tue Apr 26, 2011 3:16 pm

Re: Rock5's Millers Ranch Scripts

#253 Post by phxcityslick »

my bad i must have misread
hackzor
Posts: 24
Joined: Sun Apr 17, 2011 1:42 am

Re: Rock5's Millers Ranch Scripts

#254 Post by hackzor »

funny is i had never buggy eggs, till beta 3, there were many bugged eggs, beta 4 i had 1 time a bugged egg^^
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rock5's Millers Ranch Scripts

#255 Post by rock5 »

hackzor wrote:funny is i had never buggy eggs, till beta 3, there were many bugged eggs, beta 4 i had 1 time a bugged egg^^
Beta 3 was bugged and marked egged as stuck when they weren't. Sorry but it's hard for me to test the code for dealing with stuck eggs and hens when I hardly ever get them.
  • 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
hackzor
Posts: 24
Joined: Sun Apr 17, 2011 1:42 am

Re: Rock5's Millers Ranch Scripts

#256 Post by hackzor »

no problem, just share it well test it^^

however could u explain the new system with ignored eggs/henns, it says ignored henn 75sec - 122sec etc. so after howmany seconds does it try again to click the henns?
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rock5's Millers Ranch Scripts

#257 Post by rock5 »

If you look at the top of the file you will see an option "Timeout". This is how long stuck eggs and hens stay in the ignore list before trying them again. The default value is 300s ie. 5m. The value printed is how long it's been in the ignore list so far. The next version I release will have a more detailed reporting feature.
  • 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: Rock5's Millers Ranch Scripts

#258 Post by rock5 »

I've updated the first post with the final version of version 3. It has a few extra tweaks than beta 4. This is the final version 3 without the speed hacks.

I'll release Version 4 soon with the speed hacks. It just needs a bit more testing.
  • 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
poulpito
Posts: 7
Joined: Sun Nov 14, 2010 5:24 pm

Re: Rock5's Millers Ranch Scripts

#259 Post by poulpito »

With the V3 final script enter in a loop with following message
We try to find NPC Jenner Miller
We successfully target NPC Jenner Miller and try to open the dialog window.
on the screen the dialog windows is opened

seems that
-- Memory check if speak dialog is open. Bit faster than using "RoMScript('SpeakFrame:IsVisible()')"
function SpeakFrameIsVisible()
local address = 0x9A9C70
local offset = {0x6F4, 0x2D0, 0x51C }
return memoryReadRepeat("byteptr", getProc(), address, offset) == 1
end
is not working on my rombot
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Rock5's Millers Ranch Scripts

#260 Post by rock5 »

I spent quite a lot of time trying to find a memory address that always worked but I wasn't able to so I'm reverting back to RoMScript("SpeakFrame:IsVisible()"). I'll upload the new version.
  • 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
Post Reply