RoM bot

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Locked
Message
Author
bibiy34
Posts: 17
Joined: Tue Jun 30, 2009 4:32 pm

Re: RoM bot

#1221 Post by bibiy34 » Wed Jul 01, 2009 1:48 pm

d003232 wrote:
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;
thx for your help.it works. :lol:

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

Re: RoM bot

#1222 Post by raff » Wed Jul 01, 2009 1:50 pm

hi, thanks for the new version, but i have one problem with it. my english isnt good, i try to explain it simply.

bot pulls mob A
bot is fighting mob A
mob B will add, while bot is fighting mob A
bot kills mob A and switch instant to mob B
bot kills mob B
bot loot mob B


so if a mob will add, the bot will not loot the first mob :/

daniliver
Posts: 3
Joined: Wed Jul 01, 2009 11:51 am

Re: RoM bot

#1223 Post by daniliver » Wed Jul 01, 2009 2:09 pm

Hi there,

I keep having trouble to make the bot works with the new patch. I installed the new zip and i found that there was no script/rom folder in it so i copied the one i had from the previous version.The log error message is as follows :
RoM Bot Version 2.31
WARNING: Failure reading memory from 0x26FFDB8 at 0x885f08 in memoryReadIntPtr()
. Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
Attempt to read playerAddress
WARNING: Failure writing memory to 0x26FFDA8 at 0x248 in memoryWriteInt(). Error
code 487 (Attempt to access invalid address.)
WARNING: Failure reading memory from 0x26FFDB8 at 0x885f08 in memoryReadIntPtr()
. Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request
was completed.)
...micromacro/micromacro/scripts/rom/classes/player.lua:544: bad argument #1 to
'sprintf' (got nil)

I downloaded from here http://www.solarstrike.net/phpBB3/viewt ... ?f=6&t=177 , note the version says 2.31 not 2.41 .

Any ideas ?
Thank you.

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

Re: RoM bot

#1224 Post by Administrator » Wed Jul 01, 2009 2:17 pm

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)
Those red exclamation points mean that those files are out of date. You did not update off of SVN. You are supposed to right click the 'rom' folder and do SVN update. It will tell you which files have been updated, and report any errors.

I installed the new zip and i found that there was no script/rom folder in it so i copied the one i had from the previous version.
Yes, there is a 'rom' folder there. I use the same batch script to prep and zip all of the files for each release. There may be something wrong with your zip software (try using 7-zip) or you might have done something wrong.

d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: RoM bot

#1225 Post by d003232 » Wed Jul 01, 2009 2:26 pm

raff wrote:so if a mob will add, the bot will not loot the first mob :/
Yes, the bot don't have a 'loot table'. He skips looting of the first mob to fight as soon as possible against the next attacking mob.
The RoM Bot Online Wiki needs your help!

N-kay
Posts: 2
Joined: Wed Jul 01, 2009 11:10 am

Re: RoM bot

#1226 Post by N-kay » Wed Jul 01, 2009 2:38 pm

Hello.

I want to customize my Bot-Skills.
But I don't know wich skill is wich skill, because I have the german Client with of course the german names...
So does it give an 100% right translation?
Google just says me shit^^

d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: RoM bot

#1227 Post by d003232 » Wed Jul 01, 2009 2:40 pm

daniliver wrote:. I installed the new zip and i found that there was no script/rom folder in it so i copied the one i had from the previous version.
I suppose you only downloaded the micromacro zip file. Look at the first page of this post to download the actual script files of the rom bot version 2.41.
The RoM Bot Online Wiki needs your help!

KindaNoob
Posts: 20
Joined: Wed Jul 01, 2009 10:01 am

Re: RoM bot

#1228 Post by KindaNoob » Wed Jul 01, 2009 2:44 pm

Hey there,

does nobody knowes what to do?

My english is bad too so the simple way ;):

Harvesting bot walks to the point
he is looting it,
but if there isn't the wood or he lootet everything he doesnt move to the next waypoint he just stopps the script and says:

micromacro\lib\lib.lua:143: attempt to call global ´type´ (a string value)


Please can anybody help me?

phattrent
Posts: 6
Joined: Wed Jun 17, 2009 11:35 pm

Re: RoM bot

#1229 Post by phattrent » Wed Jul 01, 2009 3:09 pm

Administrator wrote:
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)
Those red exclamation points mean that those files are out of date. You did not update off of SVN. You are supposed to right click the 'rom' folder and do SVN update. It will tell you which files have been updated, and report any errors.

I installed the new zip and i found that there was no script/rom folder in it so i copied the one i had from the previous version.
Yes, there is a 'rom' folder there. I use the same batch script to prep and zip all of the files for each release. There may be something wrong with your zip software (try using 7-zip) or you might have done something wrong.
I did update with SVN however i get this error:

Checkout from http://rom-bot.googlecode.com/svn/trunk/rom, revision HEAD, Fully recursive, Externals included
C:\Documents and Settings\trent\Desktop\micromacro\scripts\rom\classes\pawn.lua
C:\Documents and Settings\trent\Desktop\micromacro\scripts\rom\classes\player.lua
C:\Documents and Settings\trent\Desktop\micromacro\scripts\rom\addresses.lua
At revision: 60
One or more files are in a conflicted state.

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

Re: RoM bot

#1230 Post by Administrator » Wed Jul 01, 2009 3:14 pm

KindaNoob wrote: but if there isn't the wood or he lootet everything he doesnt move to the next waypoint he just stopps the script and says:

micromacro\lib\lib.lua:143: attempt to call global ´type´ (a string value)


Please can anybody help me?
Unable to reproduce. Provide more information (ie. a copy of log.txt, your profile, and waypoint script).

I did update with SVN however i get this error:

Checkout from http://rom-bot.googlecode.com/svn/trunk/rom, revision HEAD, Fully recursive, Externals included
C:\Documents and Settings\trent\Desktop\micromacro\scripts\rom\classes\pawn.lua
C:\Documents and Settings\trent\Desktop\micromacro\scripts\rom\classes\player.lua
C:\Documents and Settings\trent\Desktop\micromacro\scripts\rom\addresses.lua
At revision: 60
One or more files are in a conflicted state.
Delete the files that are in conflict and retry. If you're unsure, just delete all of the files and folders in your 'rom' directory except 'profiles', 'waypoints', and 'settings.xml'.

KindaNoob
Posts: 20
Joined: Wed Jul 01, 2009 10:01 am

Re: RoM bot

#1231 Post by KindaNoob » Wed Jul 01, 2009 3:19 pm

Code: Select all

<waypoints>
	<!-- # 2 --><waypoint x="-1823" z="-4415"> type="TRAVEL"player:harvest();</waypoint>
        <!-- # 3 --><waypoint x="-1843" z="-4252"> type="TRAVEL"player:harvest();</waypoint>
	<!-- # 4 --><waypoint x="-1423" z="-4149"> type="TRAVEL"player:harvest();</waypoint>
	<!-- # 5 --><waypoint x="-1286" z="-3888"> type="TRAVEL"player:harvest();</waypoint>
	<!-- # 6 --><waypoint x="-1667" z="-3775"> type="TRAVEL"player:harvest();</waypoint>
	<!-- # 7 --><waypoint x="-1463" z="-3514"> type="TRAVEL"player:harvest();</waypoint>
	<!-- # 8 --><waypoint x="-1935" z="-3473"> type="TRAVEL"player:harvest();</waypoint>
	<!-- # 9 --><waypoint x="-2336" z="-3596"> type="TRAVEL"player:harvest();</waypoint>
	<!-- #10 --><waypoint x="-2591" z="-3502"> type="TRAVEL"player:harvest();</waypoint>
	<!-- #11 --><waypoint x="-2680" z="-3789"> type="TRAVEL"player:harvest();</waypoint>      
	<!-- #12 --><waypoint x="-2499" z="-3864"> type="TRAVEL"player:harvest();</waypoint>
	<!-- #13 --><waypoint x="-2159" z="-3829"> type="TRAVEL"player:harvest();</waypoint>
	<!-- #14 --><waypoint x="-1582" z="-4442"> type="TRAVEL"player:harvest();</waypoint>
</waypoints>

Code: Select all

<profile>
	<options>
		<option name="HP_LOW" value="85" />
		<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="CraftingLogar.xml" />
		<option name="RETURNPATH" value="CraftingLogar.xml" />
		<option name="PATH_TYPE" value="waypoints" />
		<option name="WANDER_RADIUS" value="500" />
		<option name="WAYPOINT_DEVIATION" value="50" />
		<option name="LOOT" value="true" />
		<option name="LOOT_TIME" value="2000" />
		<option name="LOOT_DISTANCE" value="200" />
		<option name="ENERGY_STORAGE_1" value="mana" />
		<option name="ENERGY_STORAGE_2" value="rage" />
		<option name="POTION_COOLDOWN" value="15" />
		<option name="MAX_FIGHT_TIME" value="50" />
		<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_0" modifier="" />
		<hotkey name="RES_MACRO" key="VK_9" modifier="" />
	</hotkeys>

	<skills>
		<skill name="WARRIOR_SLASH" hotkey="VK_3" modifier="" />
		<skill name="KNIGHT_HOLY_STRIKE" hotkey="VK_1" modifier="50" />
		<skill name="KNIGHT_HOLY_SHIELD" hotkey="VK_4" modifier="" />
		<skill name="KNIGHT_PUNISHMENT" hotkey="VK_2" modifier="49" />
		<skill name="KNIGHT_ENHANCED_ARMOR" hotkey="VK_5" modifier="45" />
		<skill name="WARRIOR_ENRAGED" hotkey="VK_6" modifier="" />
		<skill name="WARRIOR_WHIRLWIND" hotkey="VK_8" modifier="" />
                <skill name="KNIGHT_MANA_RETURN" hotkey="VK_7" range="100" />
                <skill name="KNIGHT_HOLY_SEAL" hotkey="VK_PLUS" range="100" />
	</skills>

	<onDeath>
		-- Additional Lua code to execute on death
		-- pauseOnDeath(); -- Stop the script
	</onDeath>

	<onLeaveCombat>
		-- Additional Lua code to execute after killing an enemy
	</onLeaveCombat>

	<onSkillCast>
		-- Additional Lua code to execute when casting a skill
		-- Note: arg1 contains the skill being used.
		-- i.e. arg1.Name will be the name of the skill being cast.
	</onSkillCast>
</profile>

Code: Select all

Wed Jul 01 22:09:50 2009 : MicroMacro v1.0
Wed Jul 01 22:09:50 2009 : Processor Type: 2X 586, OS: Windows XP Service Pack 2
Wed Jul 01 22:09:50 2009 : LuaCoco is available.
Wed Jul 01 22:09:50 2009 : Lua glues exported.
Wed Jul 01 22:09:50 2009 : Keyboard layout: US English
Wed Jul 01 22:09:57 2009 : Executing script 'update.lua'
==================================================

Wed Jul 01 22:09:57 2009 : findWindowList() returned 0 results. Window(s) not found or other error occured.
Wed Jul 01 22:09:57 2009 : RoM window not found! RoM must be running first.
Wed Jul 01 22:09:57 2009 : Execution error: Runtime error

hope this is all information you need.

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

Re: RoM bot

#1232 Post by Administrator » Wed Jul 01, 2009 3:25 pm

<waypoint x="-1823" z="-4415"> type="TRAVEL"player:harvest();</waypoint>
The 'type="TRAVEL"' goes inside the waypoint tag.

Code: Select all

<waypoint x="-1823" z="-4415" type="TRAVEL">player:harvest();</waypoint>
Like that.

phattrent
Posts: 6
Joined: Wed Jun 17, 2009 11:35 pm

Re: RoM bot

#1233 Post by phattrent » Wed Jul 01, 2009 3:27 pm

thanks so much, it works now--might want to edit the SVN part in the first post to include the information about deleting stuff in conflict-- i've seen several posts about this error (not being able to run update.lua) and this is what solved it.

KindaNoob
Posts: 20
Joined: Wed Jul 01, 2009 10:01 am

Re: RoM bot

#1234 Post by KindaNoob » Wed Jul 01, 2009 3:35 pm

Thank you so mutch for this extremly fast answer.

Now everything works just perfect ;)

Mrjones
Posts: 20
Joined: Wed Jul 01, 2009 4:00 pm

Re: RoM bot

#1235 Post by Mrjones » Wed Jul 01, 2009 4:06 pm

Just dropped in to let you know the Snipe range was updated to 240

Whispering
Posts: 3
Joined: Wed Jul 01, 2009 5:31 pm

Re: RoM bot

#1236 Post by Whispering » Wed Jul 01, 2009 5:33 pm

discovered a possible bug. it gives me the "target not attackable" message on my bots, dunno why. it just runs around and does not attack anything.

d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: RoM bot

#1237 Post by d003232 » Wed Jul 01, 2009 5:50 pm

Whispering wrote:discovered a possible bug. it gives me the "target not attackable" message on my bots, dunno why. it just runs around and does not attack anything.
Update your Micromacro & RoM bot scripts to version 2.41 . You can find the files here
The RoM Bot Online Wiki needs your help!

Whispering
Posts: 3
Joined: Wed Jul 01, 2009 5:31 pm

Re: RoM bot

#1238 Post by Whispering » Wed Jul 01, 2009 6:04 pm

Image

it is latest version

d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: RoM bot

#1239 Post by d003232 » Wed Jul 01, 2009 6:12 pm

Whispering wrote:it is latest version
See here. There have been some updates today. That fixes that error. They are in the SVN and, I believe, in the actual 2.41. Could be that the 2.41 this morning was different??? So update Micromacro and Rom scripts.
The RoM Bot Online Wiki needs your help!

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

Re: RoM bot

#1240 Post by Administrator » Wed Jul 01, 2009 6:15 pm

Whispering wrote:Image

it is latest version
Re-download MicroMacro 1.0 anyways. There were a few minor changes in the memory reading functions in the latest beta versions.

Locked

Who is online

Users browsing this forum: No registered users and 4 guests