Page 3 of 3

Re: patch 4.0.2.2436 on 7 sept 11, official forum topic

Posted: Thu Sep 08, 2011 3:13 pm
by Administrator
rock5 wrote:When update.lua runs, only 2 values change, staticTableSize and staticpattern_char.

staticTableSize is different because Lisa changed it to the address before staticTablePtr instead of the one after it. She said there was no constant pointing to the one after it.

staticpattern_char is just completely different.
Should be working now. staticpattern_char is expected to change. It is only used to detect if the client has changed enough and to throw the "you should run update.lua" warning.

Re: patch 4.0.2.2436 on 7 sept 11, official forum topic

Posted: Thu Sep 08, 2011 4:33 pm
by toxicytears
Ran Update.Lua and still the same problem. I really don't understand what I'm forgetting here. is it just not fixed yet or am i really forgetting something?

Re: patch 4.0.2.2436 on 7 sept 11, official forum topic

Posted: Thu Sep 08, 2011 4:50 pm
by Yoder
I dont think its actually fixed yet. you might try copying your old micromacro/scripts/rom folder then deleting it. then run and svn which should download the current version, which I believe is broken yet.

I didnt see anywhere in the post that it was fixed and updated, but maybe after doing that you could find the post where I linked my partialy working address.lua, I wont post that here because I dont want to confuse those who are working on it.

Then once you find my semi working address.lua maybe you can replace whats in your address.lua with what I posted and see if it works. PM with what happens and I can try to help.

Then everyone can use this topic to discuss the right topic

Re: patch 4.0.2.2436 on 7 sept 11, official forum topic

Posted: Thu Sep 08, 2011 7:19 pm
by lisa
lisa wrote:I updated the addresses to svn, revision 642.
Had it running without issue for a couple of hours now, if anyone finds an issue or something not working please post it here.
If for some reason the bot on your pc isn't working while it is for others there are a few things you can check.

1.
Issue: yellow or red icons on any of the file
Solution: run svn revert, it will force your files to be the same revision, then do a svn update to make sure you are up to date.

2.
Issue: Playing on a server that uses an old client.
Solution: If bot worked previously then you had the working addresses and you should go back to using that addresses.lua.
If you have never had bot working on your server then do a search on forum as the solution is probably already there.

3.
Issue: Some addresses just seem off.
Solution: Most of the time they do 2 patches when they patch the client, if you d/l the first patch and have had client running ever since then you will still be running after they do second patch. Log out fully, run launcher.exe and see if client does another patch.

4.
nokirk wrote:craftingCountPtr = 0xA1E730
There is no craftingCountPtr in the addresses.lua so not sure where you got it from but since it isn't in default bot then chances are it won't be updated.
If that is in your addresses.lua then you don't have current version and reverted..

So maybe you can try to find the new address yourself? Check this post here

Re: patch 4.0.2.2436 on 7 sept 11, official forum topic

Posted: Thu Sep 08, 2011 11:20 pm
by toxicytears
Nope still having the same problem

-,ddons/micromacro/scripts/rom/classes/memorytable.lua:74:bad argument #2 'memoryReadIntPtr' (number expected, got nil)

Ran the revert on svn and everything and still having this problem.

Re: patch 4.0.2.2436 on 7 sept 11, official forum topic

Posted: Thu Sep 08, 2011 11:30 pm
by lisa
Hmm you can't have latest version of bot line 74 is

Code: Select all

				end
No code with arguments, try svn revert and svn update.

Re: patch 4.0.2.2436 on 7 sept 11, official forum topic

Posted: Thu Sep 08, 2011 11:43 pm
by toxicytears
lisa wrote:Hmm you can't have latest version of bot line 74 is

Code: Select all

				end
No code with arguments, try svn revert and svn update.

What am I doing that on?
the scripts or address?


Never mind. under my scripts folder there was something that was red. did what you said to do and all fixed. What i don't get is why it was showing the green check mark on a folder that had red ! on it. oh well.

Anyway. one more thing. Can you point me in the detection of finding other uses for this bot other then farming eggs. maybe farming mats... fighting.. etc... Thank.s

Re: patch 4.0.2.2436 on 7 sept 11, official forum topic

Posted: Thu Sep 08, 2011 11:59 pm
by lisa
There isn't much the bot can't do, have a browse of the forum is the best place to start. Check out the here.

People have shared a lot of WP files for people to try/use.

Re: patch 4.0.2.2436 on 7 sept 11, official forum topic

Posted: Fri Sep 09, 2011 12:02 am
by lisa
Hmm Rock have we had a bit of a roll back in some code?
I am getting the issue of log next char and the ranged again

Code: Select all

Moving in | Suggested range: 50 | Distance: 92
Moving in | Suggested range: 50 | Distance: 58

Re: patch 4.0.2.2436 on 7 sept 11, official forum topic

Posted: Fri Sep 09, 2011 2:50 am
by rock5
nokirk wrote:

Code: Select all

craftingCountPtr = 0xA1E730
and/or

Code: Select all

 craftingCount_offset = 0x20
seems to be broken
I'm not in a position to test it at the moment but all the addresses near that changed by 0x28 so try

Code: Select all

craftingCountPtr = 0xA1E758
and let me know if it works.

Re: patch 4.0.2.2436 on 7 sept 11, official forum topic

Posted: Fri Sep 09, 2011 3:31 am
by rock5
Just tested it after all. And I've updated the crafitem userfunction.

http://www.solarstrike.net/phpBB3/viewt ... =27&t=2407

I also, hopefully, fixed it so the address wont need updating again in the future. *fingers crossed*

Re: patch 4.0.2.2436 on 7 sept 11, official forum topic

Posted: Wed Sep 14, 2011 4:29 am
by stob
I have a problem with memorytable.lua after rom/bot.lua update and SVN Update:

Script> rom/bot.lua path:MRC_Optimized.xml
Opening bot.lua...
Starting script execution - Press CTRL+C to exit.
Press CTRL+L to cancel execution and load a new script.
--------------------------------------------------------------------------------
snip...
Resumed.
003% [*-------------------------------------------------]...amme/micromacro2/scr
ipts/rom/classes/memorytable.lua:214: attempt to perform arithmetic on upvalue '
tablePointer' (a nil value)

What am I doing wrong?
Thanks for any help.

Re: patch 4.0.2.2436 on 7 sept 11, official forum topic

Posted: Wed Sep 14, 2011 5:45 am
by lisa
SVN update followed by SVN revert = problem solved.