RoM bot

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Locked
Message
Author
Kizami
Posts: 24
Joined: Sat Feb 07, 2009 1:38 am

Re: RoM bot

#361 Post by Kizami » Thu Feb 12, 2009 5:25 pm

Thanks a lot for the update :)

sephirothx
Posts: 1
Joined: Thu Feb 12, 2009 9:34 pm

Re: RoM bot

#362 Post by sephirothx » Thu Feb 12, 2009 9:39 pm

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?
Last edited by sephirothx on Fri Feb 13, 2009 1:42 am, edited 1 time in total.

cucu1
Posts: 5
Joined: Fri Feb 13, 2009 12:34 am

Re: RoM bot

#363 Post by cucu1 » Fri Feb 13, 2009 12:38 am

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!

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: RoM bot

#364 Post by Administrator » Fri Feb 13, 2009 9:31 am

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.

noob1
Posts: 4
Joined: Fri Feb 13, 2009 3:49 pm

Re: RoM bot

#365 Post by noob1 » Fri Feb 13, 2009 3:52 pm

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

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: RoM bot

#366 Post by Administrator » Fri Feb 13, 2009 5:35 pm

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?

Lolzoids
Posts: 8
Joined: Thu Jan 22, 2009 6:45 pm

Re: RoM bot

#367 Post by Lolzoids » Sat Feb 14, 2009 1:41 am

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.

noob1
Posts: 4
Joined: Fri Feb 13, 2009 3:49 pm

Re: RoM bot

#368 Post by noob1 » Sat Feb 14, 2009 2:11 am

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.

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: RoM bot

#369 Post by Administrator » Sat Feb 14, 2009 3:44 am

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

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: RoM bot

#370 Post by Administrator » Sat Feb 14, 2009 4:59 am

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.

noob1
Posts: 4
Joined: Fri Feb 13, 2009 3:49 pm

Re: RoM bot

#371 Post by noob1 » Sat Feb 14, 2009 7:40 am

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

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: RoM bot

#372 Post by Administrator » Sat Feb 14, 2009 8:41 am

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.

Lolzoids
Posts: 8
Joined: Thu Jan 22, 2009 6:45 pm

Re: RoM bot

#373 Post by Lolzoids » Sat Feb 14, 2009 10:36 am

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!

noob1
Posts: 4
Joined: Fri Feb 13, 2009 3:49 pm

Re: RoM bot

#374 Post by noob1 » Sat Feb 14, 2009 10:38 am

ty so much it fixed it, wish u luck

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: RoM bot

#375 Post by Administrator » Sat Feb 14, 2009 2:05 pm

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.

meudeus
Posts: 1
Joined: Sat Feb 14, 2009 7:40 pm

Re: RoM bot

#376 Post by meudeus » Sat Feb 14, 2009 7:48 pm

i get the error cannot open file ***********************micromacro/scripts/rom/waypoints/bandits.xml for reading.
btw i have no such file

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: RoM bot

#377 Post by Administrator » Sat Feb 14, 2009 8:44 pm

That's because you should create the file using rom/createpath.lua. Follow the instructions.

aruza
Posts: 1
Joined: Sun Feb 15, 2009 12:07 pm

Re: RoM bot

#378 Post by aruza » Sun Feb 15, 2009 12:15 pm

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?

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: RoM bot

#379 Post by Administrator » Sun Feb 15, 2009 2:14 pm

No, you need to provide more information. The log is there for a reason.

Kizami
Posts: 24
Joined: Sat Feb 07, 2009 1:38 am

Re: RoM bot

#380 Post by Kizami » Sun Feb 15, 2009 4:27 pm

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

Locked

Who is online

Users browsing this forum: Ahrefs [Bot] and 32 guests