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
User avatar
cufRet8e
Posts: 82
Joined: Tue Dec 27, 2011 2:33 pm
Location: UK

Re: Rock5's Millers Ranch Scripts

#621 Post by cufRet8e » Tue Dec 27, 2011 3:02 pm

Hello there,
I have serious problems with running micromacro, since last 2 patches, I believe.
I'am running game client as usual, then run micromacro bot, and after several seconds it's crashes the game. Sometime when attempt to harvest a Ranch Hen, sometimes during harvest Feed Bag.
Can anyone help me with debugging it? What should I do? I have latest version of micromacro and rombot, updated from SVN. And just to mention: I had run micromacro rombot successfull for about 3 weeks, but since last patches from Frogster, game client just crashes when I tried to run Millers Ranch Script.

Code: Select all

Press the (End) key to stop/pause the script. Also, it crashes on my custom Xaviera and Aslan scripts, makes it unusable ;/
You can resume with the (Delete) key.
Attempt to read playerAddress
[DEBUG] playerAddr: 0x496FB900
[DEBUG] player classes: 4/5
[DEBUG] player pet: 0x0
[DEBUG] Player target: 0x0
[DEBUG] player in battle: false
[DEBUG] mousePawn: 0x0
[DEBUG] mousePawn id: -1
[DEBUG] camAddress: 0x11DD800
[DEBUG] Cam X: -723.99, Y: 108.28, Z: -5938.15
[DEBUG] Cam XU: -0.29, YU: 0.95, ZU: 0.10
RoM windows size is 800x600, upper left corner at 1058,47
Loading profile L***.xml
Testing 'ingamefunctions' macro. If it gets stuck here, please update the 'ingam
efunctions' by copying the 'ingamefunctions' folder from 'rom/devtools' to the g
ames 'interface/addons' folder.
MACRO Test: ok
Ranged skill found: MAGE_FLAME
[DEBUG] CPU Frequency 3527.47
Id 527062 not found
Id 538120 not found
Waypoint files from X:/Programs/micromacro/scripts/rom:
*...*
Enter the number of the path you want to use and press Enter > 43
You chose 43
Loaded waypoint path Chickens_MillersRanch.xml
Waypoint #6 is closer then #1. Hence we start with waypoint #6.
No return path with default naming RanczoMillerow/Chickens_MillersRanch_return.x
ml found.
We use the normal waypoint path Chickens_MillersRanch.xml now.
We changed the option 'HARVEST_DISTANCE' from '120' to '150'.
We try to find NPC Sorrun:
We successfully target NPC Matt Sorrun and try to open the dialog window.
Use MACRO: Executing RoMScript "ChoiceOption(3)".
Use MACRO: Executing RoMScript "ChoiceOption(1)".
Player address changed: 0x51A30000
Ranged skill found: MAGE_FLAME
Moving to waypoint #1, (4026, 3400)
Moving to waypoint #2, (4029, 3327)
Moving to waypoint #3, (4016, 3172)
Moving to waypoint #4, (3948, 3107)
We found Kura z Rancza and will harvest it.
Did not find any crashed game clients.
8:0pm - X:/Programs/micromacro/scripts/rom/classes/pawn.lua:220: bad argument #1
 to 'readfunc' ((null))


Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>
Sample output from micromacro here. I tried to delete all addons, switch language to english, everytime same results - client crashes after few minutes.

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

Re: Rock5's Millers Ranch Scripts

#622 Post by rock5 » Tue Dec 27, 2011 9:54 pm

When addresses change after a patch, the targeting address and values change too. Sound like an issue there. Is it possible you had a conflict when you updated your bot? Check to see if there are any files with yellow or red icons next to them, if so then right click the "rom" folder and select "TortoiseSVN/Revert".
  • 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
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Rock5's Millers Ranch Scripts

#623 Post by lisa » Tue Dec 27, 2011 10:56 pm

rom/functions.lua definately needs to be kept up to date with a green tick, otherwise it will crash everytime you try to click an object.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
cufRet8e
Posts: 82
Joined: Tue Dec 27, 2011 2:33 pm
Location: UK

Re: Rock5's Millers Ranch Scripts

#624 Post by cufRet8e » Tue Dec 27, 2011 11:52 pm

Thanks for your reply.
Everything updated and "green". I wiped rombot directory and SVN checkout again, then I copied my profiles and waypoints. Addon ingamefunctions copied again as well.
I manually downloaded newest file from SVN, to be sure that I have proper one.
rom\functions.lua r685 by lconner...@yahoo.com.au on Dec 22 (5 days ago)
Still have game client crashes - not a bot.

Code: Select all

Clearing target.
Moving to waypoint #8, (3928, 3185)
Moving to waypoint #9, (3929, 3261)
We found Ranch Hen and will harvest it.
We found Fresh Egg and will harvest it.
We found Ranch Hen and will harvest it.
Did not find any crashed game clients.
4:48am - ...ograms/micromacro/scripts/rom/classes/objectlist.lua:11: bad argumen
t #1 to 'memoryReadInt' ((null))

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Rock5's Millers Ranch Scripts

#625 Post by lisa » Wed Dec 28, 2011 12:14 am

What server do you play on?
Does it use the latest client
4.0.6.2483 ?

Also make sure you have the latest WP files and userfunctions.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

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

Re: Rock5's Millers Ranch Scripts

#626 Post by rock5 » Wed Dec 28, 2011 12:15 am

Lisa you beat me to it. (Is your game version 4.0.6.2483? You can see that in the bottom right corner of the clientupdate window.)

Also try doing it manually for awhile. It may be something has changed in the game that makes it unstable with your system now.
  • 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
cufRet8e
Posts: 82
Joined: Tue Dec 27, 2011 2:33 pm
Location: UK

Re: Rock5's Millers Ranch Scripts

#627 Post by cufRet8e » Wed Dec 28, 2011 12:27 am

Thanks for your reply again;)
One of EU servers. Of course, game client is 4.0.6.2483.en. Two days ago I downloaded again Slim Game Client (4GB), installed it, tried rombot on it, and no difference.
When bot is not running, I can do Millers manually and no crashes, so I think game client is fine. I carefully checked my system and hardware condition, everything absolutely fine, all my 3D games works fine, RoM itself works fine.
Also make sure you have the latest WP files and userfunctions.
I downloaded latest version of rock5's Millers script from this topic. I deleted all userfunctions, all game addons (except ingamefunctions), because Millers don't need them.

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

Re: Rock5's Millers Ranch Scripts

#628 Post by rock5 » Wed Dec 28, 2011 12:56 am

Are you using "millersranchchickens" or "MRC_Optimised"? Because "millersranchchickens" is no longer maintained.
  • 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
cufRet8e
Posts: 82
Joined: Tue Dec 27, 2011 2:33 pm
Location: UK

Re: Rock5's Millers Ranch Scripts

#629 Post by cufRet8e » Wed Dec 28, 2011 1:33 am

rock5 wrote:Are you using "millersranchchickens" or "MRC_Optimised"? Because "millersranchchickens" is no longer maintained.
Thanks. I will check this tomorrow, as servers are down due to another update;)

User avatar
cufRet8e
Posts: 82
Joined: Tue Dec 27, 2011 2:33 pm
Location: UK

Re: Rock5's Millers Ranch Scripts

#630 Post by cufRet8e » Wed Dec 28, 2011 8:17 pm

I just wiped my game and installed again, reverted all rombot and micromacro files from SVN, and installed waypoint file MRC_Optimized with default profile. And amazing! It working! Running Millers for 30 minutes now and no crash, neither game or rombot itself. Thank you rock5 for your support :)

volkovy
Posts: 29
Joined: Thu Dec 29, 2011 1:40 pm

Re: Rock5's Millers Ranch Scripts

#631 Post by volkovy » Sun Jan 01, 2012 11:42 am

dear masters, i have a question..

is it possible to make the bot do the same: if it gets 10 or X eggs, it goes out to the Logar mailbox, mails them to a specified character, then goes back to the farm, and continues to farm?

yes, im lazy, but its soo long to do it manually with 20+ clients running

with this, that script would be PERFECT

User avatar
cufRet8e
Posts: 82
Joined: Tue Dec 27, 2011 2:33 pm
Location: UK

Re: Rock5's Millers Ranch Scripts

#632 Post by cufRet8e » Sun Jan 01, 2012 12:10 pm

volkovy wrote:yes, im lazy, but its soo long to do it manually with 20+ clients running
Time spend to manually send eggs and mails you could spend to learn some LUA coding.
Just take some examples from this forum, sample files with sending e-mails and structure of if..then are there as well http://www.solarstrike.net/phpBB3/viewforum.php?f=27

volkovy
Posts: 29
Joined: Thu Dec 29, 2011 1:40 pm

Re: Rock5's Millers Ranch Scripts

#633 Post by volkovy » Sun Jan 01, 2012 2:03 pm

ty i'll take a look at it!

User avatar
cufRet8e
Posts: 82
Joined: Tue Dec 27, 2011 2:33 pm
Location: UK

Re: Rock5's Millers Ranch Scripts

#634 Post by cufRet8e » Thu Jan 05, 2012 4:34 pm

Today:

Code: Select all

Displaying Stats:
Ignore lists:
Ignored hens    Seconds
439b1e00        32
439ba500        15
439bbe00        0
Total stuck hens = 3

All hens are stuck. Waiting for hens Timeout to end before trying again.
100% [************************************************************]
Did not find any crashed game clients.
9:31pm - X:/Programs/micromacro/scripts/rom/classes/pawn.lua:220: bad argument #1 to 'read
func' ((null))
game client crashes. i am using now all files reverted with SVN, with default profile.

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

Re: Rock5's Millers Ranch Scripts

#635 Post by rock5 » Fri Jan 06, 2012 12:51 am

How often does it crash? Try running with only one client. See what happens.
  • 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

m1rco
Posts: 1
Joined: Sat Jan 14, 2012 1:17 pm

Re: Rock5's Millers Ranch Scripts

#636 Post by m1rco » Sat Jan 14, 2012 1:42 pm

Hello everybody,

first of all a big RESPECT to Rock5's work. The script works very fine, but since 2 or 3 days i mentioned, that after some time (sometimes 60-80 mins) eggs are subtracted. Do anyone has an idea on how this can happen and what can be wrong?
If it happend today too, i will make and upload a screeny.

best regards

P.S.: Sorry for my bad english :?

bobdole
Posts: 152
Joined: Thu May 26, 2011 6:30 pm

Re: Rock5's Millers Ranch Scripts

#637 Post by bobdole » Sat Jan 14, 2012 2:12 pm

Hi, I am back for the dead.

This is not longer always working because the seem to get the server selection screen a lot now when they reconnect:

Code: Select all

                       -- Set relog option
                       RoMScript("} fastLoginRelog=true a={")
                       -- Logout
                       RoMScript("Logout()")
                       waitForLoadingScreen()
                       -- Restore relog option
                       RoMScript("} fastLoginRelog=false a={")
                       -- Reload path
                       loadPaths("eggs5")
		end
Any chance you can tell me a solution?

Update: I watched the bot trying to logout and back in and the problem appears its doing RoMScript("} fastLoginRelog=false a={") while in the loading screen which in error clicks the cancel button and loads to the change server option. Whats the best way to resolve this?

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Rock5's Millers Ranch Scripts

#638 Post by lisa » Sat Jan 14, 2012 8:28 pm

seems your issue is with autologin and not the millers ranch script, make sure you have the latest of all files and it will no doubt work fine.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

bobdole
Posts: 152
Joined: Thu May 26, 2011 6:30 pm

Re: Rock5's Millers Ranch Scripts

#639 Post by bobdole » Sat Jan 14, 2012 10:33 pm

I have that auto login code in my miller script in 2 spots. Is their a better code to use?

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

Re: Rock5's Millers Ranch Scripts

#640 Post by rock5 » Sat Jan 14, 2012 10:43 pm

Assuming you have the loginnextchar userfunction, you can try this

Code: Select all

ChangeChar()
waitForLoadingScreen()
loadPaths("eggs5")
  • 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

Who is online

Users browsing this forum: No registered users and 0 guests