Page 19 of 111

Re: RoM bot

Posted: Thu Feb 12, 2009 5:25 pm
by Kizami
Thanks a lot for the update :)

Re: RoM bot

Posted: Thu Feb 12, 2009 9:39 pm
by sephirothx
well, i got a new problem lol
i got this message when i try ti run createpath.lua or bot.lua
z:\micromacro\lib\lib.lua:396: attemptto call global 'getAttchedHwnd' <a nil value>
any idea how to fix it?

Re: RoM bot

Posted: Fri Feb 13, 2009 12:38 am
by cucu1
Awesome bot, thanks in advance!

Was wondering if you are able to use heal or regen if you have priest as a secondary class and how would you go on putting that into teh script?

Also, if it is possible to use regen and heal, are able to tell WHEN to use it after falling below that certain % of HP?

Thanks!

Re: RoM bot

Posted: Fri Feb 13, 2009 9:31 am
by Administrator
sephirothx wrote:well, i got a new problem lol
i got this message when i try ti run createpath.lua or bot.lua
z:\micromacro\lib\lib.lua:396: attemptto call global 'getAttchedHwnd' <a nil value>
any idea how to fix it?
Try using MicroMacro 1.0, which can be found here.


cucu1: Yes, you can use secondary-capable spells. You just set them up as you normally would in the skills section of your profile. To change the percentage that heals and regenerate are used at, modify the HP_LOW option in your profile. Re-read the first post in this thread for more information.

Re: RoM bot

Posted: Fri Feb 13, 2009 3:52 pm
by noob1
when i start rom/bot.lua i keep getting Cannot open file.... profiles/.xml' for reading
i have waisted 5 hours trying to fix it, so pls help me. ty

Re: RoM bot

Posted: Fri Feb 13, 2009 5:35 pm
by Administrator
noob1 wrote:when i start rom/bot.lua i keep getting Cannot open file.... profiles/.xml' for reading
i have waisted 5 hours trying to fix it, so pls help me. ty
More information is needed. Provide your log.txt at the minimum. Also, what version of the bot did you download?

Re: RoM bot

Posted: Sat Feb 14, 2009 1:41 am
by Lolzoids
Im just wondering if someone can tell me the code for my character to pause for 1 second after a kill before running/targeting the next mob, because i find most of the times i die because my character goes straight from one mob to the other and does not detect the one mob hitting me from the back so i end up i go into a 2v1 fight.

Re: RoM bot

Posted: Sat Feb 14, 2009 2:11 am
by noob1
Fri Feb 13 21:52:48 2009 : Executing script "bot.lua".
==================================================

Fri Feb 13 21:52:52 2009 : RoM Bot Version 2.12
Fri Feb 13 21:52:52 2009 : WARNING: Failure reading memory from 0xAE7710 at 0x87ab70 in memoryReadIntPtr(). Error code 299 (Obdelan je bil le del zahteve ReadProcessMemory ali WriteProcessMemory.)

Fri Feb 13 21:52:52 2009 : WARNING: Failure reading memory from 0xAE7710 at 0x31c in memoryReadInt(). Error code 299 (Obdelan je bil le del zahteve ReadProcessMemory ali WriteProcessMemory.)

Fri Feb 13 21:52:52 2009 : WARNING: Failure reading memory from 0xAE7710 at 0x324 in memoryReadInt(). Error code 299 (Obdelan je bil le del zahteve ReadProcessMemory ali WriteProcessMemory.)

Fri Feb 13 21:52:52 2009 : WARNING: Failure reading memory from 0xAE7710 at 0x328 in memoryReadInt(). Error code 299 (Obdelan je bil le del zahteve ReadProcessMemory ali WriteProcessMemory.)

Fri Feb 13 21:52:52 2009 : WARNING: Failure reading memory from 0xAE7710 at 0x32c in memoryReadInt(). Error code 299 (Obdelan je bil le del zahteve ReadProcessMemory ali WriteProcessMemory.)

Fri Feb 13 21:52:52 2009 : WARNING: Failure reading memory from 0xAE7710 at 0x330 in memoryReadInt(). Error code 299 (Obdelan je bil le del zahteve ReadProcessMemory ali WriteProcessMemory.)

Fri Feb 13 21:52:52 2009 : WARNING: Failure reading memory from 0xAE7710 at 0x334 in memoryReadInt(). Error code 299 (Obdelan je bil le del zahteve ReadProcessMemory ali WriteProcessMemory.)

Fri Feb 13 21:52:52 2009 : WARNING: Failure reading memory from 0xAE7710 at 0x250 in memoryReadString(). Error code 299 (Obdelan je bil le del zahteve ReadProcessMemory ali WriteProcessMemory.)

Fri Feb 13 21:52:52 2009 : WARNING: Failure reading memory from 0xAE7710 at 0x354 in memoryReadInt(). Error code 299 (Obdelan je bil le del zahteve ReadProcessMemory ali WriteProcessMemory.)

Fri Feb 13 21:52:52 2009 : WARNING: Failure reading memory from 0xAE7710 at 0x35c in memoryReadInt(). Error code 299 (Obdelan je bil le del zahteve ReadProcessMemory ali WriteProcessMemory.)

Fri Feb 13 21:52:52 2009 : WARNING: Failure reading memory from 0xAE7710 at 0x248 in memoryReadInt(). Error code 299 (Obdelan je bil le del zahteve ReadProcessMemory ali WriteProcessMemory.)

Fri Feb 13 21:52:52 2009 : WARNING: Failure reading memory from 0xAE7710 at 0x2c in memoryReadFloat(). Error code 299 (Obdelan je bil le del zahteve ReadProcessMemory ali WriteProcessMemory.)

Fri Feb 13 21:52:52 2009 : WARNING: Failure reading memory from 0xAE7710 at 0x30 in memoryReadFloat(). Error code 299 (Obdelan je bil le del zahteve ReadProcessMemory ali WriteProcessMemory.)

Fri Feb 13 21:52:52 2009 : WARNING: Failure reading memory from 0xAE7710 at 0x34 in memoryReadFloat(). Error code 299 (Obdelan je bil le del zahteve ReadProcessMemory ali WriteProcessMemory.)

Fri Feb 13 21:52:52 2009 : WARNING: Failure reading memory from 0xAE7710 at 0x8b06a8 in memoryReadBytePtr(). Error code 299 (Obdelan je bil le del zahteve ReadProcessMemory ali WriteProcessMemory.)

Fri Feb 13 21:52:52 2009 : WARNING: Failure reading memory from 0xAE7710 at 0x87ab70 in memoryReadBytePtr(). Error code 299 (Obdelan je bil le del zahteve ReadProcessMemory ali WriteProcessMemory.)

Fri Feb 13 21:52:52 2009 : WARNING: Failure reading memory from 0xAE7710 at 0xcc in memoryReadFloatPtr(). Error code 299 (Obdelan je bil le del zahteve ReadProcessMemory ali WriteProcessMemory.)

Fri Feb 13 21:52:52 2009 : WARNING: Failure reading memory from 0xAE7710 at 0xcc in memoryReadFloatPtr(). Error code 299 (Obdelan je bil le del zahteve ReadProcessMemory ali WriteProcessMemory.)


stack traceback:
...ents and Settings\jan\Desktop\micromacro\lib\lib.lua:476: in function 'startMacro'
... Settings\jan\Desktop\micromacro\scripts\rom/bot.lua:140: in main chunk

----------TRACEBACK END----------

Fri Feb 13 21:52:52 2009 : Cannot open file 'C:/Documents and Settings/jan/Desktop/micromacro/scripts/rom/profiles/.xml' for reading.

i got the newest version downloaded, but i got it to work befor the latest rom patch. I tried reinstaling the patch but it did not work.

Re: RoM bot

Posted: Sat Feb 14, 2009 3:44 am
by Administrator
Lolzoids wrote:Im just wondering if someone can tell me the code for my character to pause for 1 second after a kill before running/targeting the next mob, because i find most of the times i die because my character goes straight from one mob to the other and does not detect the one mob hitting me from the back so i end up i go into a 2v1 fight.
http://solarimpact.servegame.com/phpBB3 ... 1935#p1935

Re: RoM bot

Posted: Sat Feb 14, 2009 4:59 am
by Administrator
For those of you having memory read problems, try changing the staticbase address in addresses.lua (top line) to 0x0089E8B8. Let me know if this works.

Re: RoM bot

Posted: Sat Feb 14, 2009 7:40 am
by noob1
Sat Feb 14 13:39:19 2009 : Executing script "bot.lua".
==================================================

Sat Feb 14 13:39:20 2009 : RoM Bot Version 2.12
Sat Feb 14 13:39:20 2009 : WARNING: Failure reading memory from 0xAE74C8 at 0x8b06a8 in memoryReadBytePtr(). Error code 299 (Obdelan je bil le del zahteve ReadProcessMemory ali WriteProcessMemory.)

Sat Feb 14 13:39:20 2009 : WARNING: Failure reading memory from 0xAE74C8 at 0x8b06a8 in memoryReadBytePtr(). Error code 299 (Obdelan je bil le del zahteve ReadProcessMemory ali WriteProcessMemory.)


stack traceback:
...ents and Settings\jan\Desktop\micromacro\lib\lib.lua:476: in function 'startMacro'
... Settings\jan\Desktop\micromacro\scripts\rom/bot.lua:140: in main chunk

----------TRACEBACK END----------

Sat Feb 14 13:39:20 2009 : Cannot open file 'C:/Documents and Settings/jan/Desktop/micromacro/scripts/rom/profiles/Jakopic.xml' for reading.

after replacing

Re: RoM bot

Posted: Sat Feb 14, 2009 8:41 am
by Administrator
So the problem is just that you're running 2.12. Download 2.13 from the first post in this thread; it should fix the problems you are having.

Re: RoM bot

Posted: Sat Feb 14, 2009 10:36 am
by Lolzoids
I started to get this error after modding my code and trying to run MM

Code: Select all

MicroMacro v0.99

C:/micromacro/lib/mods/xml.lua:174: attempt to concatenate field '_value' (a nil
 value)


Thank you for your help!

Re: RoM bot

Posted: Sat Feb 14, 2009 10:38 am
by noob1
ty so much it fixed it, wish u luck

Re: RoM bot

Posted: Sat Feb 14, 2009 2:05 pm
by Administrator
Lolzoids wrote:I started to get this error after modding my code and trying to run MM

Code: Select all

MicroMacro v0.99

C:/micromacro/lib/mods/xml.lua:174: attempt to concatenate field '_value' (a nil
 value)


Thank you for your help!
Well, at least you told me what you changed...that narrows it down a bit.

Re: RoM bot

Posted: Sat Feb 14, 2009 7:48 pm
by meudeus
i get the error cannot open file ***********************micromacro/scripts/rom/waypoints/bandits.xml for reading.
btw i have no such file

Re: RoM bot

Posted: Sat Feb 14, 2009 8:44 pm
by Administrator
That's because you should create the file using rom/createpath.lua. Follow the instructions.

Re: RoM bot

Posted: Sun Feb 15, 2009 12:15 pm
by aruza
why my bot only hit 1 monster only...
when i type "rom/bot.lua" my char start finding monster to kill but the problem is after finish kill that monster it's stop..
i look at the micromacro window,is say that i need to put the scripts again..
did i need to keep typing to botting?

Re: RoM bot

Posted: Sun Feb 15, 2009 2:14 pm
by Administrator
No, you need to provide more information. The log is there for a reason.

Re: RoM bot

Posted: Sun Feb 15, 2009 4:27 pm
by Kizami
Well I'm loving the bot obviously, but I think it could have better aggro detection.
Some times it seems to work perfectly and other times not so good.

It always wants to run back a bit before it searches for more mobs; this wouldn't be that much of a problem if this didn't mean that the mobs are now normally behind the character. Because the mobs are behind the character, if there are any new mobs infront of him he will target them instead. So sometimes you end up fighting 3 mobs because there were already 2 on you and you targeted a new one. (Hope that makes sense).

I think it could be improved by just checking to see if you HP is dropping after killing the current target. If it is then keep switching targets until you find one that is within range < 50 or so (melee), and proceed to kill it, rinse repeat.

There is also one more small annoyance and that is the bot will never deselect a target and go after a new one. Some times it targets a mob that is quite far away and starts to go for it. Then the mob runs off in the opposite direction. The bot seems to think that the reason the distance is increasing is because it's stuck so it stops and moves left a bit then tries to go after it again. During this time the mob has got even further away. So the bot ends up running through a load of other mobs just to get to the one that it is targetting.

To change this the bot could press Esc to deselect target if it gets range > 200 away. Then press Tab again to reselect the closest mob.
I would love to actually code this myself but I'm only a very newbie programmer and in Java not C++ :S

Kiz