Page 6 of 9
Re: 3.0.4 client servers, Revision 477
Posted: Tue Jun 14, 2011 5:15 am
by lisa
harbifm wrote:are you wokring on rev 605?
did you try the usegoodie function? if it is not using working, can u post ur code for using house food and luck potion?
are all miller egg ranch codes workings? which ones (I am currenly using 1.3 with 3 egg/hour rate), did test the ones that have the addons (maybe the are faster)?
did you test the catchCavy() fucntion ?
I am working on making 605 actually work on your client, so not trying to fix any code currently in 605.
I don't use the function usegoodie as I have always just done my own for housefood buffs, it is very basic code that I use and just for the 3 main pots. I have posted it a few times here and there for people. You wouldn't be able to use it until you get the functioning addresses from me for your client, Just finishing off last few hiccups and should be ready for posting.
I did the latest optimized millers for eggs, I didn't even try milk I assume it will work as it is the same process for both.
Catch cavy works perfectly, as it should with rev 605.
Re: 3.0.4 client servers, Revision 477
Posted: Tue Jun 14, 2011 5:30 am
by harbifm
lisa wrote:harbifm wrote:are you wokring on rev 605?
did you try the usegoodie function? if it is not using working, can u post ur code for using house food and luck potion?
are all miller egg ranch codes workings? which ones (I am currenly using 1.3 with 3 egg/hour rate), did test the ones that have the addons (maybe the are faster)?
did you test the catchCavy() fucntion ?
I am working on making 605 actually work on your client, so not trying to fix any code currently in 605.
I don't use the function usegoodie as I have always just done my own for housefood buffs, it is very basic code that I use and just for the 3 main pots. I have posted it a few times here and there for people. You wouldn't be able to use it until you get the functioning addresses from me for your client, Just finishing off last few hiccups and should be ready for posting.
I did the latest optimized millers for eggs, I didn't even try milk I assume it will work as it is the same process for both.
Catch cavy works perfectly, as it should with rev 605.
yep , that what i ment (working to make ver 605 works with our older client). so it works, with the inventory file you posted?
good news
knwoing that the lastest version for golden eggs work fine is a fanatasic news.
I am gona dowload it today, dowload ur invetory file and try it today. with catchcavy and useGoodie addons.
Re: 3.0.4 client servers, Revision 477
Posted: Tue Jun 14, 2011 5:40 am
by lisa
Nope don't use anything posted already, they were temperary things to get the functions people asked for working on rev 477.
When I finally get this last address correct, well couple more but they arn't too important. After I am finished you can use the rev 605 and just replace 1 file, with the few little things to make it work on a diff server and you will be fine.
So don't use any of the files I already posted, by tomorrow I hope to get this address sorted and you can start using 605 in all it's glory
Re: 3.0.4 client servers, Revision 477
Posted: Tue Jun 14, 2011 5:55 am
by vietales
catchCavy works with r477. Follow rock5's instruction and it should work
rock5 wrote:Delete these lines near the top of the catchcavy userfunction,
Code: Select all
if string.lower(_cavy) == "cavy" then -- Look for all cavies
_cavy = {103566,103567}
end
You wont be able to use the "cavy" keyword. You will have to specify what to search for.
For example:
Code: Select all
catchCavy() -- Will catch only Golden Magic Cavy in any client language.
catchCavy("Cavy") -- In English will catch both Golden Magic Cavy and Magic Cavy.
Re: 3.0.4 client servers, Revision 477
Posted: Tue Jun 14, 2011 6:39 am
by lisa
Ok things are looking good, The last address is finally correct, I am sure I left out a couple but not hugely important, I can find these later on.
I am going to do a revision tonight to add a few things to make it more compatible for other clients, language mainly.
Then I will post the address and get you to update to rev 606 and change a couple of things after fully up to date with 606.
Then you should be able to use current bot just like anyone else =)
Re: 3.0.4 client servers, Revision 477
Posted: Tue Jun 14, 2011 9:28 am
by lisa
First post has been updated, enjoy =)
Re: 3.0.4 client servers, now Revision 606 ready
Posted: Wed Jun 15, 2011 11:21 pm
by harbifm
thanks lisa
I tried it, it works like a charm
thankyouuuuuuuuuuuu

Re: 3.0.4 client servers, now Revision 606 ready
Posted: Wed Jun 15, 2011 11:33 pm
by lisa
Pretty sure there is only 2 addresses I didn't do. The experience, so if you are lvling a character it was always say 0xp/hour on the MM window.
The other is the chatbox address. Both arn't majorly important which is why I released the addresses even though I hadn't gotten them yet.
I'll look into them at a later time just to make it fully compatible with current revision.
Re: 3.0.4 client servers, now Revision 606 ready
Posted: Thu Jun 16, 2011 3:40 am
by vietales
Unfortunately, new addresses don't match with VN client

Re: 3.0.4 client servers, now Revision 606 ready
Posted: Thu Jun 16, 2011 3:48 am
by lisa
=(
rev 477 worked though??
Did you get an error saying invalid address for hmm what was it
9:17pm - C:/MM 304 605 test/scripts/rom/classes/item.lua:209: attempt to perform
arithmetic on global 'itemInfoAddress' (a nil value)
If so then it is a known error but only for some people, there is a way to continue botting it just involves a small code change.
classes/item.lua line 201-213 looks like this
Code: Select all
if ( self.Id >= 770000 and self.Id <= 771000 ) then
-- We need to get info from NPC...
tmp = memoryReadInt( proc, self.BaseItemAddress + addresses.idCardNPCOffset );
npcInfoAddress = GetItemAddress( tmp );
nameAddress = memoryReadInt( proc, npcInfoAddress + addresses.nameOffset );
self.Name = "Card - "; -- We should add a string so we can localize this
elseif ( self.Id >= 550000 and self.Id <=552000 ) then
-- We need to get info from item...
tmp = memoryReadInt( proc, self.BaseItemAddress + addresses.idRecipeItemOffset );
itemInfoAddress = GetItemAddress( tmp );
nameAddress = memoryReadInt( proc, itemInfoAddress + addresses.nameOffset );
self.Name = "Recipe - "; -- We should add a string so we can localize this
else
just need to comment out parts so it looks like this
Code: Select all
if ( self.Id >= 770000 and self.Id <= 771000 ) then
-- We need to get info from NPC...
--tmp = memoryReadInt( proc, self.BaseItemAddress + addresses.idCardNPCOffset );
--npcInfoAddress = GetItemAddress( tmp );
--nameAddress = memoryReadInt( proc, npcInfoAddress + addresses.nameOffset );
--self.Name = "Card - "; -- We should add a string so we can localize this
elseif ( self.Id >= 550000 and self.Id <=552000 ) then
-- We need to get info from item...
--tmp = memoryReadInt( proc, self.BaseItemAddress + addresses.idRecipeItemOffset );
--itemInfoAddress = GetItemAddress( tmp );
--nameAddress = memoryReadInt( proc, itemInfoAddress + addresses.nameOffset );
--self.Name = "Recipe - "; -- We should add a string so we can localize this
else
If that doesn't work then you can probably look for the required addresses yourself.
I am in the middle of making up a how to guide for finding the addresses we use in current revision.
Re: 3.0.4 client servers, now Revision 606 ready
Posted: Thu Jun 16, 2011 4:12 am
by vietales
r477 is working well(cavy, miller ranch chicken 1.3, milk 1.2, auto sell (using ur script to check 51-60 slot))
With r606, MM said that it couldn't find offset for castingBar (or something like that)
Re: 3.0.4 client servers, now Revision 606 ready
Posted: Thu Jun 16, 2011 5:45 am
by lisa
can you do it again and post the error for me, might be something simple to fix
Re: 3.0.4 client servers, now Revision 606 ready
Posted: Thu Jun 16, 2011 8:33 am
by vietales
lisa wrote:can you do it again and post the error for me, might be something simple to fix
Code: Select all
8:33pm - scripts\rom\bot.lua:73: Unable to find 'castingBar_offset' in module.
Re: 3.0.4 client servers, now Revision 606 ready
Posted: Thu Jun 16, 2011 8:39 am
by lisa
when you use or start the bot is there an update.lua in it somewhere?
that code with the error is for the update.lua
Code: Select all
if( args[i] == "update" ) then
include("update.lua");
end
You don't want it to try and update.
Re: 3.0.4 client servers, now Revision 606 ready
Posted: Thu Jun 16, 2011 9:29 am
by vietales
I got this when running MM using your new address.lua
Code: Select all
!! Notice: !!
The game may have been updated or altered.
It is recommended that you run rom/update.lua
9:27pm - Error while reading memory address for 'playerAddress'. Game seems to be changed!!! Please run 'rom/bot.lua update' AND install the new RoM Bot version!
Then, i tried 'rom\update' and got
Code: Select all
Scanning for updated addresses...
Patched addresses.staticbase_char (value: 0x9AB1EC, at: 0x63BF78)
Patched addresses.staticbase_macro (value: 0x9FFE6C, at: 0x7463CD)
Patched addresses.charPtr_offset (value: 0x598, at: 0x5E2FF2)
Patched addresses.mousePtr_offset (value: 0x73C, at: 0x5FD4B9)
Patched addresses.camPtr_offset (value: 0x46C, at: 0x5E50E7)
Patched addresses.camXUVec_offset (value: 0x128, at: 0x44264B)
Patched addresses.camX_offset (value: 0x104, at: 0x44256E)
Patched addresses.pawnCasting_offset (value: 0x25C, at: 0x8478D6)
9:29pm - Unable to find 'castingBar_offset' in module.
Re: 3.0.4 client servers, now Revision 606 ready
Posted: Thu Jun 16, 2011 9:34 am
by lisa
ahh ok
Seems weird 477 worked for you though, maybe because there was only half as many addresses in that revision.
You might just need to stick with 477 for a bit. Writing out the how to find memory addresses guide might take me a little while to do.
Re: 3.0.4 client servers, now Revision 606 ready
Posted: Thu Jun 16, 2011 9:40 am
by vietales
lisa wrote:ahh ok
Seems weird 477 worked for you though, maybe because there was only half as many addresses in that revision.
You might just need to stick with 477 for a bit. Writing out the how to find memory addresses guide might take me a little while to do.
OK, take your time ^^
Re: 3.0.4 client servers, now Revision 606 ready
Posted: Fri Jun 17, 2011 7:17 am
by Drfg
Is it supposed to work with chapter IV? cause i cant get it to work. If i try to use it it says error while reading memory address for playerAddress and tells me to update.
When i try to update it says: Unable to find 'staticbase_char' in module.
Re: 3.0.4 client servers, now Revision 606 ready
Posted: Fri Jun 17, 2011 7:21 am
by lisa
Drfg wrote:Is it supposed to work with chapter IV? cause i cant get it to work. If i try to use it it says error while reading memory address for playerAddress and tells me to update.
When i try to update it says: Unable to find 'staticbase_char' in module.
Chapter IV is 4.0.0 this topic is about 3.0.4
They are completely different versions of the game, so no it won't work.
There is already a topic for 4.0.0
Re: 3.0.4 client servers, now Revision 606 ready
Posted: Fri Jun 17, 2011 7:48 am
by Drfg
Thx, apparently i am blind
