RoM bot

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Locked
Message
Author
User avatar
darkfayte
Posts: 33
Joined: Sat Jan 17, 2009 2:32 pm

Re: RoM bot

#241 Post by darkfayte » Sat Jan 24, 2009 12:02 am

everything seems to be ship-shape now
I'm not botting, that's against the TOS. What i'm doing is sharing my account with my computer.

haura
Posts: 20
Joined: Fri Jan 23, 2009 6:54 am

Re: RoM bot

#242 Post by haura » Sat Jan 24, 2009 12:50 am

darkfayte wrote:to the poster above yes.. i have run into that. What i do each and EVERY patch is i delete everything except my charactorname.xml profile and my waypoints. reinstall EVERYTHING new and replace my waypoints and profile. I do this because i was running into way too many errors and glitches when i jsut did "yeah sure overwrite everything!". By "everything new" i mean delete the ROM folder in scripts.
Thanks I tried as you described ... but same result.
Last edited by haura on Fri Feb 27, 2009 3:44 am, edited 1 time in total.

truong1d2
Posts: 2
Joined: Fri Jan 23, 2009 9:49 pm

Re: RoM bot

#243 Post by truong1d2 » Sat Jan 24, 2009 1:55 am

Wonderful 8-)

SourCream
Posts: 4
Joined: Sat Jan 24, 2009 5:22 am

Re: RoM bot

#244 Post by SourCream » Sat Jan 24, 2009 5:24 am

Thanks for the hard work in making this script :D

I noticed this warrior skill was not listed in skills.xml, can you please add it:
<skill name="WARRIOR_THUNDERING" range="50" cooldown="15" type="damage" target="enemy" />

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

Re: RoM bot

#245 Post by Administrator » Sat Jan 24, 2009 5:45 am

SourCream: Is that an elite skill? I've never heard of it. What's it do, does it use any mana, and what is your secondary?

I've already added it to the database on my end. It'll be in the next update.

Zilvermoon
Posts: 104
Joined: Mon Jan 05, 2009 8:19 am

Re: RoM bot

#246 Post by Zilvermoon » Sat Jan 24, 2009 8:48 am

Found a typo or/and change:

Code: Select all

	<!-- Scout skills -->
	<skill name="SCOUT_SHOT" consumable="1" range="20" cooldown="4" type="damage" target="enemy" />
	<skill name="SCOUT_VAMPIRE_ARROWS" concentration="20" cooldown="10" range="200" type="dot" target="enemy" />
to

Code: Select all

	<!-- Scout skills -->
	<skill name="SCOUT_SHOT" consumable="1" range="200" cooldown="4" type="damage" target="enemy" />
	<skill name="SCOUT_VAMPIRE_ARROWS" concentration="20" cooldown="10" range="180" type="dot" target="enemy" />
Zilvermoon

SourCream
Posts: 4
Joined: Sat Jan 24, 2009 5:22 am

Re: RoM bot

#247 Post by SourCream » Sat Jan 24, 2009 11:34 am

Administrator wrote:SourCream: Is that an elite skill? I've never heard of it. What's it do, does it use any mana, and what is your secondary?

I've already added it to the database on my end. It'll be in the next update.

Kinda strange but I cant locate this skill in the RoM forums :S here is the screenshot btw

http://img147.imageshack.us/img147/7522 ... ingba8.png

I saw the same icon used but it has another name: Hammer Blow

http://rom.wikia.com/wiki/Image:The_hammer_blow.jpg

raff
Posts: 96
Joined: Thu Jan 22, 2009 10:46 am

Re: RoM bot

#248 Post by raff » Sat Jan 24, 2009 2:37 pm

the range of SCOUT_VAMPIRE_ARROWS in skills.xml is incorrect, it is 180 not 200

barbarossa
Posts: 46
Joined: Sat Jan 24, 2009 3:34 pm

Re: RoM bot

#249 Post by barbarossa » Sat Jan 24, 2009 3:38 pm

hi there
i got newest rom script
and micromacro 1.0

this is my error i got ... dont rrealy know wootz wrong

Code: Select all

Opening bot.lua...
Starting script execution - Press CTRL+C to exit.
Press CTRL+L to cancel execution and low a new script.
-------------------------------------------------------------------------------
The macro is currently not running. Press the start key (ENTF) to begin.
You may use (ENDE) key to stop/pause the script.
Started.
RoM Bot Version 2.11
playerAddr: 0x23B3D200
Moving to (-2471, -3758)
Stopping waypoint::target acquired
Casting 'SCOUT_VAMPIRE_ARROWS', level 1, mana: 0
.../micromacro/micromacro/scripts/rom/classes/skill.lua:134: bad argument #1 to
'keyboardPress' ((null))
her my profile i got rouge whitout secound class

Code: Select all

<profile>
	<options>
		<option name="HP_LOW" value="70" />
		<option name="MP_LOW_POTION" value="50" />
		<option name="HP_LOW_POTION" value="50" />

		<option name="COMBAT_TYPE" value="melee" />
		<option name="COMBAT_DISTANCE" value="200" />
		<option name="ANTI_KS" value="true" />
		<option name="WAYPOINTS" value="test.xml" />
		<option name="LOOT" value="true" />
		<option name="LOOT_TIME" value="2000" />
		<option name="ENERGY_STORAGE_1" value="concentration" />
		<option name="ENERGY_STORAGE_2" value="none" />
		<option name="POTION_COOLDOWN" value="15" />
		<option name="MAX_FIGHT_TIME" value="35" />
		<option name="DOT_PERCENT" value="90" />
	</options>

	<friends>
		<friend name="MyOtherCharacter1" />
		<friend name="MyOtherCharacter2" />
	</friends>

	<hotkeys>
		<hotkey name="HP_POTION" key="VK_MINUS" modifier="" />
		<hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
		<hotkey name="ATTACK" key="VK_1" modifier="" />
	</hotkeys>

	<skills>
		<skill name="SCOUT_VAMPIRE_ARROWS" hotkey="4" modifier="" />
		<skill name="SCOUT_WIND_ARROWS" hotkey="3" modifier="" />
		<skill name="SCOUT_FROST_ARROW" hotkey="2" modifier="" />
	</skills>
</profile>
can any one help me pls
:D

Far
Posts: 8
Joined: Mon Jan 05, 2009 11:29 am

Re: RoM bot

#250 Post by Far » Sat Jan 24, 2009 3:46 pm

Hmmm..Is the knight skill called "Mana absorbtion" working? Does the bot know when it can use it or does it keep hitting the button until it fires?

mana absorbtion requires 3 holy seals to be stacked before able to fire thats why im asking

raff
Posts: 96
Joined: Thu Jan 22, 2009 10:46 am

Re: RoM bot

#251 Post by raff » Sat Jan 24, 2009 4:09 pm

@markusbab

seems like you have a scout and not a rogue.

try changing

Code: Select all

      <skill name="SCOUT_VAMPIRE_ARROWS" hotkey="4" modifier="" />
      <skill name="SCOUT_WIND_ARROWS" hotkey="3" modifier="" />
      <skill name="SCOUT_FROST_ARROW" hotkey="2" modifier="" />
to

Code: Select all

      <skill name="SCOUT_VAMPIRE_ARROWS" hotkey="VK_4" modifier="" />
      <skill name="SCOUT_WIND_ARROWS" hotkey="VK_3" modifier="" />
      <skill name="SCOUT_FROST_ARROW" hotkey="VK_2" modifier="" />

and

Code: Select all

      <option name="COMBAT_TYPE" value="melee" />
to

Code: Select all

      <option name="COMBAT_TYPE" value="ranged" />

barbarossa
Posts: 46
Joined: Sat Jan 24, 2009 3:34 pm

Re: RoM bot

#252 Post by barbarossa » Sat Jan 24, 2009 4:16 pm

raff wrote:@markusbab

seems like you have a scout and not a rogue.

try changing

Code: Select all

      <skill name="SCOUT_VAMPIRE_ARROWS" hotkey="4" modifier="" />
      <skill name="SCOUT_WIND_ARROWS" hotkey="3" modifier="" />
      <skill name="SCOUT_FROST_ARROW" hotkey="2" modifier="" />
to

Code: Select all

      <skill name="SCOUT_VAMPIRE_ARROWS" hotkey="VK_4" modifier="" />
      <skill name="SCOUT_WIND_ARROWS" hotkey="VK_3" modifier="" />
      <skill name="SCOUT_FROST_ARROW" hotkey="VK_2" modifier="" />

and

Code: Select all

      <option name="COMBAT_TYPE" value="melee" />
to

Code: Select all

      <option name="COMBAT_TYPE" value="ranged" />

thx for awnser ... ill try that :D

update: thx very much worked now fine :D

Zilvermoon
Posts: 104
Joined: Mon Jan 05, 2009 8:19 am

Re: RoM bot

#253 Post by Zilvermoon » Sat Jan 24, 2009 4:47 pm

After a few hours of debugging, I have come up with the reason we sometimes fight and kill a mob and don't even try to loot it, here is a text explanation of what happens:

it detect if we got a target,
if we got a target then it goes into combat "loop" from where it call a spell casting "loop" & then loot the mob when it's dead,
after the mob is dead it go into a moving "loop", in this state we check if we got enought health and pot if settings say we should, then call the spell casting "loop" to buff (or heal if settings say we should & if we actually can cast healing spell's) <-- here is the problem if we got a live target when it call the spell casting "loop" we start fighting it, but we never enter the combat "loop" so we will not loot it when the mob is dead -->

What I have done to prevent this is change Bot.lua line 101 - line 107:

Code: Select all

			player:checkSkills();

		
			if( player.TargetPtr ~= 0 and (not player:haveTarget()) ) then
				player:clearTarget();
			end
into this code:

Code: Select all

			if( player:haveTarget() ) then
				player:fight();
			else
				player:checkSkills();
			end

			if( player.TargetPtr ~= 0 and (not player:haveTarget()) ) then
				player:clearTarget();
			end
After this change it still seem to be able to buff (& heal with my priest char) and it'll loot ~100% of all mob's it come into combat with, well if they are within the distance looting will allow.

Now that we talk looting, I would like to share my idea about looting distance, I would like my "ranged" bot to loot close to every mob, and since my "ranged" bot prefer to fight at a distance of around 200 when fighting casters I have come up with a way to do this, and still keep my melee at a looting distance of 100, here it is:
player.lua line 274 - line 277:

Code: Select all

		if( settings.profile.options.LOOT == true ) then
			local dist = distance(self.X, self.Z, target.X, target.Z);

			if( dist < 100 ) then -- only loot when close by
into this code:

Code: Select all

		if( settings.profile.options.LOOT == true ) then
			local lootdist;
			local dist = distance(self.X, self.Z, target.X, target.Z);
			if( settings.profile.options.COMBAT_TYPE == "ranged" ) then
				lootdist = 200;
			elseif( settings.profile.options.COMBAT_TYPE == "melee" ) then
				lootdist = 100;
			end

			if( dist < lootdist ) then -- only loot when close by
You can use it, or don't, but I would recomend implementing the "out of combat fighting fix" into next version.

Zilvermoon

grt41h32g
Posts: 8
Joined: Sat Jan 24, 2009 5:48 pm

Re: RoM bot

#254 Post by grt41h32g » Sat Jan 24, 2009 5:50 pm

i have a bog problem :O
im running vista ( that might be a problem )
but everytime i run the creaptepath.lua this pops up :
Sat Jan 24 14:44:18 2009 : WARNING: Failure reading memory from 0x15A3F78 at 0x879b88 in memoryReadIntPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Sat Jan 24 14:44:18 2009 : WARNING: Failure reading memory from 0x15A3F78 at 0x31c in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Sat Jan 24 14:44:18 2009 : WARNING: Failure reading memory from 0x15A3F78 at 0x324 in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Sat Jan 24 14:44:18 2009 : WARNING: Failure reading memory from 0x15A3F78 at 0x328 in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Sat Jan 24 14:44:18 2009 : WARNING: Failure reading memory from 0x15A3F78 at 0x32c in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Sat Jan 24 14:44:18 2009 : WARNING: Failure reading memory from 0x15A3F78 at 0x330 in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Sat Jan 24 14:44:18 2009 : WARNING: Failure reading memory from 0x15A3F78 at 0x334 in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Sat Jan 24 14:44:18 2009 : WARNING: Failure reading memory from 0x15A3F78 at 0x250 in memoryReadString(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Sat Jan 24 14:44:18 2009 : WARNING: Failure reading memory from 0x15A3F78 at 0x354 in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Sat Jan 24 14:44:18 2009 : WARNING: Failure reading memory from 0x15A3F78 at 0x35c in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Sat Jan 24 14:44:18 2009 : WARNING: Failure reading memory from 0x15A3F78 at 0x248 in memoryReadInt(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Sat Jan 24 14:44:18 2009 : WARNING: Failure reading memory from 0x15A3F78 at 0x2c in memoryReadFloat(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Sat Jan 24 14:44:18 2009 : WARNING: Failure reading memory from 0x15A3F78 at 0x30 in memoryReadFloat(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Sat Jan 24 14:44:18 2009 : WARNING: Failure reading memory from 0x15A3F78 at 0x34 in memoryReadFloat(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Sat Jan 24 14:44:18 2009 : WARNING: Failure reading memory from 0x15A3F78 at 0x8af6c0 in memoryReadBytePtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Sat Jan 24 14:44:18 2009 : WARNING: Failure reading memory from 0x15A3F78 at 0x879b88 in memoryReadBytePtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Sat Jan 24 14:44:18 2009 : WARNING: Failure reading memory from 0x15A3F78 at 0xcc in memoryReadFloatPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)

Sat Jan 24 14:44:18 2009 : WARNING: Failure reading memory from 0x15A3F78 at 0xcc in memoryReadFloatPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)
Can someone help me ? i did exactly ( think ) everything what i was told to do

vorless
Posts: 6
Joined: Sat Jan 24, 2009 6:05 pm

Re: RoM bot

#255 Post by vorless » Sat Jan 24, 2009 6:05 pm

Nevermind, works like a charm. Really love how you can run it minimized, KUDOS on this great bot.

User avatar
darkfayte
Posts: 33
Joined: Sat Jan 17, 2009 2:32 pm

Re: RoM bot

#256 Post by darkfayte » Sat Jan 24, 2009 11:27 pm

FAR:

the mana thing is infact working, but it takes a little adjustment to the skill bar - so pay attnetion to whats fireoff and when. I had my bar setup and it would try and pull with mana absorb. so i changed absorb on the skill bar (not profile) with another skill (atonement i think) and that gave the bot a few hits before trying the second skill (put absorb in place of 3rd skill). By the time it fired i had stacked 3 debuffs on the target and could mana tap. I tried to set a "priority" but that didnt really work. Try manually moving things around without changing your profile.
I'm not botting, that's against the TOS. What i'm doing is sharing my account with my computer.

Zilvermoon
Posts: 104
Joined: Mon Jan 05, 2009 8:19 am

Re: RoM bot

#257 Post by Zilvermoon » Sun Jan 25, 2009 2:42 am

While botting late last nigth, I fell asleep while watching it running around, but as I woke up this morning I was dead and the script had produced this error:

Code: Select all

Sat Jan 24 20:43:42 2009 : MicroMacro v1.0
Sat Jan 24 20:43:42 2009 : Processor Type: 2X 586, OS: Windows XP Service Pack 3
Sat Jan 24 20:43:42 2009 : LuaCoco is available.
Sat Jan 24 20:43:42 2009 : Lua glues exported.
Sat Jan 24 20:43:42 2009 : Keyboard layout: US English
Sat Jan 24 20:43:50 2009 : Executing script 'bot.lua'
==================================================
Sun Jan 25 04:00:26 2009 : Executing script 'bot.lua'
==================================================

Sun Jan 25 04:01:12 2009 : RoM Bot Version 2.11
Sun Jan 25 04:13:03 2009 : Taking too long to damage target, breaking sequence...

Sun Jan 25 04:15:42 2009 : Avoided KS-ing Deux
Sun Jan 25 04:22:07 2009 : Avoided KS-ing Tasha
Sun Jan 25 04:22:07 2009 : Avoided KS-ing Tasha
Sun Jan 25 05:17:30 2009 : Taking too long to damage target, breaking sequence...

Sun Jan 25 05:20:10 2009 : Taking too long to damage target, breaking sequence...


stack traceback:
	...ngs\DMH\Skrivebord\micromacro\micromacro\lib\lib.lua:510: in function 'startMacro'
	scripts\rom/bot.lua:144: in main chunk

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

Sun Jan 25 05:21:08 2009 : scripts\rom/bot.lua:73: bad argument #1 to 'getKeyName' ((null))
Sun Jan 25 05:21:08 2009 : Execution error: Runtime error
The reason I died was that I had run out of pot's, but when I died It crashed basicly.

Socka
Posts: 2
Joined: Thu Jan 08, 2009 5:41 pm

Re: RoM bot

#258 Post by Socka » Sun Jan 25, 2009 6:39 am

Upgraded to 1.0beta yesterday. One thing i noticed is that when you have multiple RoM's running, and "cancel" a running script by pressing ctrl+L, it forgets which rom-window it was assigned to. 0.99 remembered wich was pretty neat especially when you have 6 bots running and want to "pause" just one of the bots to click a gravestone, chat or something and then quickly restart it again.

Far
Posts: 8
Joined: Mon Jan 05, 2009 11:29 am

Re: RoM bot

#259 Post by Far » Sun Jan 25, 2009 5:49 pm

darkfayte wrote:FAR:

the mana thing is infact working, but it takes a little adjustment to the skill bar - so pay attnetion to whats fireoff and when. I had my bar setup and it would try and pull with mana absorb. so i changed absorb on the skill bar (not profile) with another skill (atonement i think) and that gave the bot a few hits before trying the second skill (put absorb in place of 3rd skill). By the time it fired i had stacked 3 debuffs on the target and could mana tap. I tried to set a "priority" but that didnt really work. Try manually moving things around without changing your profile.


I see, i guess its worth a try. iv'e probably used around two millions of gold on mana potions..i'm getting low on cash now. Thank you =)

celgene32
Posts: 3
Joined: Fri Jan 23, 2009 3:53 pm

Re: RoM bot

#260 Post by celgene32 » Mon Jan 26, 2009 8:20 am

Hi i have a problem my bot just start use the regular skills, after 2-3 skills it just stops and
do nothing, i get this error form time to time.
Mon Jan 26 14:09:01 2009 : MicroMacro v1.0
Mon Jan 26 14:09:01 2009 : Processor Type: 2X 586, OS: Windows XP Szervizcsomag 2
Mon Jan 26 14:09:01 2009 : LuaCoco is available.
Mon Jan 26 14:09:01 2009 : Lua glues exported.
Mon Jan 26 14:09:01 2009 : Keyboard layout: US English
Mon Jan 26 14:09:06 2009 : Executing script 'createpath.lua'
==================================================

Mon Jan 26 14:09:19 2009 : Execution success

Mon Jan 26 14:09:22 2009 : Executing script 'bot.lua'
==================================================

Mon Jan 26 14:09:24 2009 : RoM Bot Version 2.10

stack traceback:
D:\GameZ\micromacro\lib\lib.lua:510: in function 'startMacro'
scripts\bot.lua:137: in main chunk

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

Mon Jan 26 14:09:36 2009 : D:/GameZ/micromacro/scripts/classes/player.lua:201: attempt to compare nil with number
Mon Jan 26 14:09:36 2009 : Execution error: Runtime error
my profile:
<profile>
<options>
<option name="HP_LOW" value="50" />
<option name="MP_LOW_POTION" value="50" />
<option name="HP_LOW_POTION" value="40" />

<option name="COMBAT_TYPE" value="melee" />
<option name="COMBAT_DISTANCE" value="200" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="a.xml" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="2000" />
<option name="ENERGY_STORAGE_1" value="energy" />
<option name="ENERGY_STORAGE_2" value="concentration" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="60" />
<option name="DOT_PERCENT" value="90" />
</options>

<friends>
<friend name="MyOtherCharacter1" />
<friend name="MyOtherCharacter2" />
</friends>

<hotkeys>
<hotkey name="HP_POTION" key="VK_5" modifier="" />
<hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
<hotkey name="ATTACK" key="VK_0" modifier="" />
</hotkeys>

<skills>
<skill name="ROGUE_SHADOWFACE" hotkey="VK_2" modifier="" />
<skill name="ROGUE_LACERATION" hotkey="VK_3" modifier="" />
<skill name="ROGUE_VILLAINY" hotkey="VK_1" modifier="" />
<skill name="SCOUT_VAMPIRE_ARROWS" hotkey="VK_4" modifier="" />
<skill name="SCOUT_SHOT" hotkey="VK_6" modifier="" />


</skills>
</profile>
i also try to change skills and switch the energy and concentration but nothing .
Btw i have this problem with rogue/scout, scout/rogue it works fine

Locked

Who is online

Users browsing this forum: No registered users and 10 guests