RoM bot

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Locked
Message
Author
extremeuser
Posts: 57
Joined: Wed Jul 01, 2009 12:52 am

Re: RoM bot

#1201 Post by extremeuser »

Love the bot, got most of it working and understand most of it. The only thing I cannot work out why and cannot find any info on this, is I leave my bot on, come back and not sure why (small chance and only happens sometimes) is i'm dead. I tested around the sand scorpions, and put into info not to atk Neep, watched it, it bypases. My 2nd class is priest and have 2 heals for it to use, regenerate and urgent, these work perfectly however I havent needed to set the level of the skill although maybe thats why?

However in all areas I cannot die unless in an instance, and only happens occassionally but wondering could there be a bug preventing me from attacking say a mob and healing? I watched it for a few hours and fine. Im not greedy, I only run 1 bot at a time anyway but this is frustrating/

Any help be great
User avatar
Administrator
Site Admin
Posts: 5340
Joined: Sat Jan 05, 2008 4:21 pm

Re: RoM bot

#1202 Post by Administrator »

You could have been PKed. You could have had many enemies attacking you at once. It could be a lot of things. If you leave the RoM window or it's paired MicroMacro window on top of all other windows, it should be able to take a screenshot when you die. You'll find the saved screenshot in your profiles directory. Use that to figure out how you died.
extremeuser
Posts: 57
Joined: Wed Jul 01, 2009 12:52 am

Re: RoM bot

#1203 Post by extremeuser »

done that, all i can see is a sand scorpion or 2 around me, and nope not pked, now have over 500k debt lolz. forgot to add, I heal a lot and have high defence, I never died not even with 5 enemies on me. I even watched the bot take on 5 once and hp never hit half. I have heals set at hp 90% for this reason. Even checking screenshot I only see 1-2 enemies around me. Im thinking sometimes something goes wrong with the bot itself
Zilvermoon
Posts: 104
Joined: Mon Jan 05, 2009 8:19 am

Re: RoM bot

#1204 Post by Zilvermoon »

extremeuser wrote:done that, all i can see is a sand scorpion or 2 around me, and nope not pked, now have over 500k debt lolz. forgot to add, I heal a lot and have high defence, I never died not even with 5 enemies on me. I even watched the bot take on 5 once and hp never hit half. I have heals set at hp 90% for this reason. Even checking screenshot I only see 1-2 enemies around me. Im thinking sometimes something goes wrong with the bot itself
if the enemy's debuff you with something preventing you from healing at the time the bot would like to do it, it will then w8 for an un-existing cooldown to end (a timer) before trying to cast again, and if you again have the debuff it's the same, which in the end will result in your character dieing, so know your enemy, if they stun or something simmilar they are problematic botting on ...

Zilvermoon
extremeuser
Posts: 57
Joined: Wed Jul 01, 2009 12:52 am

Re: RoM bot

#1205 Post by extremeuser »

i thought of this too but was on enemies that dont debuff/stun etc. I tested in a few dif places
d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: RoM bot

#1206 Post by d003232 »

extremeuser wrote:i thought of this too but was on enemies that dont debuff/stun etc. I tested in a few dif places
I would recommend to enter some printf with your HP and hp of your target into the code. And you could install a addon to save your ingame log. With ingame log and micromacro protocol window you should see whats happend.
The RoM Bot Online Wiki needs your help!
phattrent
Posts: 6
Joined: Wed Jun 17, 2009 11:35 pm

Re: RoM bot

#1207 Post by phattrent »

my rom/update.lua isnt working
says "unable to find static base pointer in module"
d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: RoM bot

#1208 Post by d003232 »

phattrent wrote:my rom/update.lua isnt working
says "unable to find static base pointer in module"
There was an update yesterday. So load the new version and everything should work again.
The RoM Bot Online Wiki needs your help!
KindaNoob
Posts: 20
Joined: Wed Jul 01, 2009 10:01 am

Re: RoM bot

#1209 Post by KindaNoob »

Hey there

I really like your bot and it also works farming the monsters.

Now I want to try farming wood and these stuff, but after setting up the waypoints and trying a bit to get

player:harvest();

into the waypoints he walks to the points with the wood and so on but he doesnt farm it!

Please help me ;)


PS: Im sorry for my bad english but i'm a german guy XD
d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: RoM bot

#1210 Post by d003232 »

KindaNoob wrote:PS: Im sorry for my bad english but i'm a german guy XD
Das ist nicht schlimm. :-)

Your waypoint file should look like this:

Code: Select all

<waypoints>
   <!-- # 2 --><waypoint x="-368" z="-6676" type="TRAVEL">player:harvest();</waypoint>
   <!-- # 3 --><waypoint x="-392" z="-6760" type="TRAVEL">player:harvest();</waypoint>
   <!-- # 4 --><waypoint x="-591" z="-6871" type="TRAVEL">player:harvest();</waypoint>
   <!-- # 5 --><waypoint x="-558" z="-6979" type="TRAVEL"></waypoint>
   <!-- # 6 --><waypoint x="-359" z="-7153" type="TRAVEL">player:harvest();</waypoint>
   <!-- # 7 --><waypoint x="-386" z="-7237" type="TRAVEL"></waypoint>
</waypoints>
Pls check that.
The RoM Bot Online Wiki needs your help!
KindaNoob
Posts: 20
Joined: Wed Jul 01, 2009 10:01 am

Re: RoM bot

#1211 Post by KindaNoob »

Thank you very mutch ;)

Now he works but each time he walks to a point where normally is some wood or stuff but there isn't because someone else lootet it, he stops the script, he says:

micromacro\lib\lib.lua:143: attempt to call global ´type´ (a string value)
User avatar
BlackGod
Posts: 53
Joined: Wed Jul 01, 2009 10:05 am

Re: RoM bot

#1212 Post by BlackGod »

Hey dudes...
I can't update the offsets...

Code: Select all

Wed Jul 01 17:41:56 2009 : MicroMacro v1.0
Wed Jul 01 17:41:56 2009 : Processor Type: 2X 586, OS: Windows XP Service Pack 3
Wed Jul 01 17:41:56 2009 : LuaCoco is available.
Wed Jul 01 17:41:56 2009 : Lua glues exported.
Wed Jul 01 17:41:56 2009 : Keyboard layout: US English
Wed Jul 01 17:43:19 2009 : Executing script 'update.lua'
==================================================

Wed Jul 01 17:43:20 2009 : Unable to find static base pointer in module.
Wed Jul 01 17:43:20 2009 : Execution error: Runtime error
The Admin said in this post that there is a new version of the RoM bot (2.41)... :?

Can somebody send me the link to the exact post where I can download this new version plz?

Thanks in advance!
BlackGod
d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: RoM bot

#1213 Post by d003232 »

BlackGod wrote:Can somebody send me the link to the exact post where I can download this new version plz?
Same post here, first page.
The RoM Bot Online Wiki needs your help!
N-kay
Posts: 2
Joined: Wed Jul 01, 2009 11:10 am

Re: RoM bot

#1214 Post by N-kay »

My settings.xml only have some lines...
So i cant configure it really much...
And the bot doesnt attack ingame, but walks and turns around and looks at mobs...
d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: RoM bot

#1215 Post by d003232 »

N-kay wrote:My settings.xml only have some lines...
So i cant configure it really much...
And the bot doesnt attack ingame, but walks and turns around and looks at mobs...
You have to run 'rom/createpath.lua' to create your own waypoint files. Then yu have to copy the file 'Default.xml' in the folder '../profiles' to your *charname*.xml and configure that file. After that start the bot (see also detailed description at http://www.solarstrike.net/phpBB3/viewt ... f=21&t=163 ).
The RoM Bot Online Wiki needs your help!
User avatar
Administrator
Site Admin
Posts: 5340
Joined: Sat Jan 05, 2008 4:21 pm

Re: RoM bot

#1216 Post by Administrator »

N-kay wrote:My settings.xml only have some lines...
So i cant configure it really much...
And the bot doesnt attack ingame, but walks and turns around and looks at mobs...
In addition to what was posted above me, you'll also need to update to MicroMacro 1.0 beta 6, which can be downloaded here.
kolobok
Posts: 21
Joined: Sun Jun 14, 2009 4:06 pm

Re: RoM bot

#1217 Post by kolobok »

First of all i wanna thank you for the bot it giving me a chance not to stay far behind without playing much! It works perfectly if a player made a god pln for the bot! But here`s problem ! I have two bots runing together the sme waypoints and help each other killing mobs it`s good but me priest just dont want to heal my rouge! Can i run the function in priest profile so he would use regeneration on rouge when rouge HP 70%?? Thank you again! I cannot find assist addons and I tell you i dont wanna use assist can i make this with scripting my bot?
bibiy34
Posts: 17
Joined: Tue Jun 30, 2009 4:32 pm

Re: RoM bot

#1218 Post by bibiy34 »

dictator187 wrote:updated to newest micromacro and rombot and i am running and attacking everything, but for some reason it is only doing my primary rogue attacks, and none of my secondary knight buffs or attacks
i have the same problem.the bot can't use the secondary skill.
can Administrator tell u the reason thx very much
d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: RoM bot

#1219 Post by d003232 »

bibiy34 wrote:
dictator187 wrote:updated to newest micromacro and rombot and i am running and attacking everything, but for some reason it is only doing my primary rogue attacks, and none of my secondary knight buffs or attacks
Update to the newest SVN. Or change in addresses.lua the offset from charClass2_offset to:

Code: Select all

charClass2_offset = 0x2CC;
The RoM Bot Online Wiki needs your help!
phattrent
Posts: 6
Joined: Wed Jun 17, 2009 11:35 pm

Re: RoM bot

#1220 Post by phattrent »

I downloaded MM 1.0 beta 6

I downloaded SVN

patched ROM folder with SVN

still get the same error when trying to run rom/update.lua :

"Unable to find static base pointer in module."

this is after patch 1844 which before both the update.lua and the bot.lua were working fine, also when i try to run the bot i get this:


"RoM Bot Version 2.31 (I KNOW THIS IS OUTDATED THATS WHY I TRIED TO RUN UPDATE AND SVN BUT NEITHER WORK)

WARNING: Failure reading memory from 0x116FDB0 at 0x88ef20 in memoryReadIntPtr<>
. Error code 299 <Only part of a ReadProcessMemory or WriteProcessMemory request was completed.>

Attempt to read playerAddress

WARNING: Failure writing memory to 0x116FDA0 at 0x248 in memoryWriteInt<>. Error
code 487 <Attempt to access invalid address.>

WARNING: Failure reading memory from 0x116FDB0 at 0x88ef20 in memoryReadIntPtr<>
. Error code 299 <Only part of a ReadProcessMemory or WriteProcessMemory request was completed.>

...nt/Desktop/micromacro/scripts/rom/classes/player.lua:544: bad argument #1 to
'sprintf' <got nil> "

sorry for the wall of text: the <> were used as parentheses in the error message and the () were used as my comments next to the bot version.

Also get an error message when running SVN and there are lots of red exclimation marks in my rom folder.



Finally in light of the last post here is my addresses.lua where i found an inconsistency with the above advice (there was no charClass2_offset)

-- Auto-generated by update.lua

staticcharbase_address = 0x88EF20;
charPtr_offset = 0x580;
castbar_offset = 0x248;
charX_offset = 0x2C;
charY_offset = 0x30;
charZ_offset = 0x34;
charAlive_offset = 0x210;
charHP_offset = 0x344;
charMaxHP_offset = 0x34C;
charMP_offset = 0x350;
charMaxMP_offset = 0x354;
charMP2_offset = 0x358;
charMaxMP2_offset = 0x35C;
charLevel_offset = 0x37C;
charLevel2_offset = 0x384;
charName_offset = 0x278;
charTargetPtr_offset = 0x260;
pawnAttackable_offset = 0x3F6;
inBattle_offset = 0x55E;
camUVec1_offset = 0x38;
camUVec2_offset = 0x40;
Locked