RoM bot
-
- Posts: 1
- Joined: Thu Feb 12, 2009 9:34 pm
Re: RoM bot
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?
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?
Last edited by sephirothx on Fri Feb 13, 2009 1:42 am, edited 1 time in total.
Re: RoM bot
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!
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!
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: RoM bot
Try using MicroMacro 1.0, which can be found here.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?
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
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
i have waisted 5 hours trying to fix it, so pls help me. ty
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: RoM bot
More information is needed. Provide your log.txt at the minimum. Also, what version of the bot did you download?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
Re: RoM bot
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
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.
==================================================
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.
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: RoM bot
http://solarimpact.servegame.com/phpBB3 ... 1935#p1935Lolzoids 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.
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: RoM bot
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
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
==================================================
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
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: RoM bot
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
I started to get this error after modding my code and trying to run MM
Thank you for your help!
Code: Select all
MicroMacro v0.99
C:/micromacro/lib/mods/xml.lua:174: attempt to concatenate field '_value' (a nil
value)
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: RoM bot
Well, at least you told me what you changed...that narrows it down a bit.Lolzoids wrote:I started to get this error after modding my code and trying to run MMThank you for your help!Code: Select all
MicroMacro v0.99 C:/micromacro/lib/mods/xml.lua:174: attempt to concatenate field '_value' (a nil value)
Re: RoM bot
i get the error cannot open file ***********************micromacro/scripts/rom/waypoints/bandits.xml for reading.
btw i have no such file
btw i have no such file
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: RoM bot
That's because you should create the file using rom/createpath.lua. Follow the instructions.
Re: RoM bot
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?
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?
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: RoM bot
No, you need to provide more information. The log is there for a reason.
Re: RoM bot
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
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
Who is online
Users browsing this forum: Ahrefs [Bot] and 32 guests