RoM bot

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Locked
Message
Author
haura
Posts: 20
Joined: Fri Jan 23, 2009 6:54 am

Re: RoM bot

#281 Post by haura » Tue Jan 27, 2009 9:08 am

so2easy wrote:So.. now bot is currently.. not working :) and we are waiting for new OffSets?
That is not correct.

So long as you use the unmodified Addresses.lua file that extracted from the v2.1 zip/rar bundle and so long as you did not attempt to run the update.lua script then you can go ahead and use the bot right now.

Elverion posted the code to temporarily fix the update script from version 2.1
You don't need to use that if you don't want to edit the the script.

Dalewn
Posts: 3
Joined: Mon Jan 26, 2009 10:46 am

Re: RoM bot

#282 Post by Dalewn » Tue Jan 27, 2009 9:41 am

Ok you might be right with the GUI.
Was just the first though when I tryed to set up the bot.
And I missed some kinda Profile creator.
cause editing the default profile for a new char takes too much time in my opinion.
nevertheless its a great bot^^
I will make myself a Profile creator, with the "pig language" AutoIt XD

so2easy
Posts: 34
Joined: Fri Jan 09, 2009 7:51 am

Re: RoM bot

#283 Post by so2easy » Tue Jan 27, 2009 10:02 am

I have(downloaded it today..) Micromacro1.0 with (i think.. the latest bot) and when i start the bot.. (havent used it in some days now..) i get..
The macro is currently not running. Press the start key (Delete) to begin.
You may use (End) key to stop/pause the script.
Started.
WARNING: Failure reading memory from 0xF3FDB0 at 0xb in memoryReadIntPtr(). Erro
r code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was c
ompleted.)
...ktop/ROMBOT/bot2/micromacro/scripts/classes/pawn.lua:40: attempt to perform a
rithmetic on field 'Address' (a nil value)



Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>
fixed.. :)


update:

THe bot.. runs and kills.. (using just 1 or 2 skills.. from 4 i have set but that doesnt concerns me that much) but now.. he stopped looting.. no on 5-6 mobs to loot 1.. but none.. :)
I have auto loot, click to move.. all settings from the game that are needed on..
max fight is 60.. loot time is 6000.. i dont have a laggy connection..
scout/rogue..
sny suggestions..? :) before he atleast have looted on few kills one or 2.. :)

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

Re: RoM bot

#284 Post by haura » Tue Jan 27, 2009 11:29 am

not helpful message
Last edited by haura on Fri Feb 27, 2009 3:39 am, edited 1 time in total.

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

Re: RoM bot

#285 Post by SourCream » Tue Jan 27, 2009 12:49 pm

what is manainc variable do? I'm trying to add priest streaming light skill in skills.xml.
<skill name="PRIEST_STREAMING_LIGHT" mana="144" manainc="???" range="217" cooldown="6" type="damage" target="enemy" />
edit: oh i think its mana increase requirement...

so2easy
Posts: 34
Joined: Fri Jan 09, 2009 7:51 am

Re: RoM bot

#286 Post by so2easy » Tue Jan 27, 2009 2:25 pm

haura wrote:
so2easy wrote:THe bot.. runs and kills.. (using just 1 or 2 skills.. from 4 i have set but that doesnt concerns me that much) but now.. he stopped looting.. no on 5-6 mobs to loot 1.. but none.. :)
I have auto loot, click to move.. all settings from the game that are needed on..
max fight is 60.. loot time is 6000.. i dont have a laggy connection..
scout/rogue..
sny suggestions..? :) before he atleast have looted on few kills one or 2.. :)
I spent a few days trying to figure this out then kicked myself when I realized the cause...

As you know the loot "key" is whatever key you have the basic melee attack action bound to.

Check your charname.xml file to ensure that the basic melee Attack virtual key corresponds to the keybinding you have configured in game.
The RoM default is to bind this basic attack to the 1-key but the default.xml settings file associates Attack with VK_0
Ofcouse i've set it..

<hotkey name="ATTACK" key="VK_0" modifier="" />
And my normal attack key.. is set on the 0 . :)

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

Re: RoM bot

#287 Post by Administrator » Tue Jan 27, 2009 4:33 pm

so2easy wrote: Ofcouse i've set it..

<hotkey name="ATTACK" key="VK_0" modifier="" />
And my normal attack key.. is set on the 0 . :)
Are the monsters in melee range when they die? Does the MicroMacro window say the target has died, and that it is looting? How quickly do you kill the monsters?

Oh, and yes, SourCream, manainc is for mana increase per level. I would suggest setting a minrange on Streaming Light since it breaks on damage.

so2easy
Posts: 34
Joined: Fri Jan 09, 2009 7:51 am

Re: RoM bot

#288 Post by so2easy » Wed Jan 28, 2009 12:15 am

Administrator wrote:
so2easy wrote: Ofcouse i've set it..

<hotkey name="ATTACK" key="VK_0" modifier="" />
And my normal attack key.. is set on the 0 . :)
Are the monsters in melee range when they die? Does the MicroMacro window say the target has died, and that it is looting? How quickly do you kill the monsters?

Oh, and yes, SourCream, manainc is for mana increase per level. I would suggest setting a minrange on Streaming Light since it breaks on damage.

They are in melee range when they die.. and yes it says that target has died,, or atleast i think so.. :) for the 3h i left it botting.. it looted like few times.. I kill them fastly.. they are near me when they die.. the bot just doesnt clicks them.. continues to next waypoint.

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

Re: RoM bot

#289 Post by Administrator » Wed Jan 28, 2009 2:45 am

so2easy: Post a copy of your profile for inspection.

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

Re: RoM bot

#290 Post by Zilvermoon » Wed Jan 28, 2009 6:51 am

I got a few suggestion's of code changes on 2.11 for the next version, here they are:

bot.lua "old" line 71 - 73: -- Fix crash on MM 1.0 due to death (startKey will crash MM 1.0)

Code: Select all

			cprintf(cli.red, "You have died... Sorry.\n");
			printf("Script paused until you revive yourself. Press %s when you\'re ready to continue.\n",
				getKeyName(startKey))
to:

Code: Select all

			cprintf(cli.red, "You have died... Sorry.\n");
			if( getVersion() < 100 ) then
			printf("Script paused until you revive yourself. Press %s when you\'re ready to continue.\n",
				getKeyName(startKey))
			else
			printf("Script paused until you revive yourself. Press %s when you\'re ready to continue.\n",
				getKeyName(getStartKey()))
			end
Bot.lua "old" line 100 - 110: -- Try to fix OoC* spell casting to not activate if we got hostile attacking us (solve a looting problem) *OOC = Out of Combat

Code: Select all

			player:checkPotions();
			player:checkSkills();

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

			if( success ) then
				__WPL:advance();
to:

Code: Select all

--			player:checkPotions(); -- moved to new location
--			player:checkSkills(); -- moved to new location

			player:update();
			if( player.TargetPtr ~= 0 and (not player:haveTarget()) ) then
				player:checkPotions(); -- new location
				player:update();
				if( player.TargetPtr ~= 0 and (not player:haveTarget()) ) then
					player:checkSkills(); -- new location
					player:update();
					if( player.TargetPtr ~= 0 and (not player:haveTarget()) ) then
				player:clearTarget();
					end
				end
			end

			if( success ) then
				cprintf(cli.turquoise, "Waypoint Reached!\n");
				__WPL:advance();
player.lua "old" line 161 - 162: -- Move spell casting to fix loosing self.TargetPtr before looting start (part 1/2)

Code: Select all

		self:checkPotions();
		self:checkSkills();
to:

Code: Select all

--		self:checkPotions(); -- moved to new location
--		self:checkSkills(); -- moved to new location
player.lua "old" line 252 - 260: -- Move spell casting to fix loosing self.TargetPtr before looting start (part 2/2)

Code: Select all

		if( correctingAngle ) then
			keyboardRelease( settings.hotkeys.ROTATE_LEFT.key );
			keyboardRelease( settings.hotkeys.ROTATE_RIGHT.key );
		end


		yrest(100);
		target:update();
		self:update();
to:

Code: Select all

		if( correctingAngle ) then
			keyboardRelease( settings.hotkeys.ROTATE_LEFT.key );
			keyboardRelease( settings.hotkeys.ROTATE_RIGHT.key );
		end

		self:checkPotions(); -- new location
		self:checkSkills(); -- new location

		yrest(100);
		target:update();
		self:update();
player.lua "old" line 273 - 292: -- make ranged COMBAT_TYPE have a lootdistance of settings.profile.options.COMBAT_DISTANCE or 155 if not specified in profile, & add a few msg in console

Code: Select all

	if( self.TargetPtr ~= 0 ) then
		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
				-- "attack" is also the hotkey to loot, strangely.
				yrest(500);
				keyboardPress(settings.profile.hotkeys.ATTACK.key);
				yrest(settings.profile.options.LOOT_TIME);

				-- now take a 'step' backward (closes loot bag if full inventory)
				keyboardPress(settings.hotkeys.MOVE_BACKWARD.key);

				-- Maybe take a step forward to pick up a buff.
				if( math.random(100) > 20 ) then
					keyboardHold(settings.hotkeys.MOVE_FORWARD.key);
					yrest(100);
					keyboardRelease(settings.hotkeys.MOVE_FORWARD.key);
				end
			end
to:

Code: Select all

	if( self.TargetPtr ~= 0 ) then
		if( settings.profile.options.LOOT == true ) then
			local lootdist = 100;
			if( settings.profile.options.COMBAT_TYPE == "ranged" ) then
				if( settings.profile.options.COMBAT_DISTANCE ~= nil ) then
					lootdist = settings.profile.options.COMBAT_DISTANCE;
				else
					lootdist = 155;
				end
			end
			local dist = distance(self.X, self.Z, target.X, target.Z);

			if( dist < lootdist ) then -- only loot when close by
				-- "attack" is also the hotkey to loot, strangely.
				yrest(500);
				keyboardPress(settings.profile.hotkeys.ATTACK.key);
				cprintf(cli.green, "Looting Target\n");
				yrest(settings.profile.options.LOOT_TIME);

				-- now take a 'step' backward (closes loot bag if full inventory)
				keyboardPress(settings.hotkeys.MOVE_BACKWARD.key);

				-- Maybe take a step forward to pick up a buff.
				if( math.random(100) > 20 ) then
					keyboardHold(settings.hotkeys.MOVE_FORWARD.key);
					cprintf(cli.green, "Try to pickup buff\n");
					yrest(300);
					keyboardRelease(settings.hotkeys.MOVE_FORWARD.key);
				end
			else
				cprintf(cli.red, "Not Looting due to distance\n");
			end
I don't know if any of these changes will make it into next version, but these changes solve 99% of my looting problem's.

Zilvermoon

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

Re: RoM bot

#291 Post by Administrator » Wed Jan 28, 2009 8:30 am

Thanks for all of the suggestions Zilvermoon. I will look into implementing them and see if they don't cause any new problems. I ask that you do not edit that post (for record keeping reason) if you have more to add, but instead make another reply.

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

Re: RoM bot

#292 Post by haura » Wed Jan 28, 2009 1:00 pm

The key strokes that affect this bot are DELETE and END
and the keystrokes that affect MicroMacro are CTRL+L and CTRL+C
  • Is it possible to make those key strokes only be responded to when either the MicroMacro console or the RoM client are the active window?
Last edited by haura on Fri Feb 27, 2009 3:41 am, edited 1 time in total.

jgamer509
Posts: 1
Joined: Wed Jan 28, 2009 4:43 pm

Re: RoM bot

#293 Post by jgamer509 » Wed Jan 28, 2009 4:45 pm

Any chance you could make it revive you when you die and just continue to follow the path? Sometimes when i would come back to my computer after being killed I would just restart the path after reviving and it would find its way there on its own so i'm sure this wouldn't be too hard to implement.

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

Re: RoM bot

#294 Post by Lolzoids » Thu Jan 29, 2009 1:06 am

I keep dieing if there is a mob behind be because the bot just keeps runing forward and does not look back to see if its getting hit...
I with there could be a fix, like if you are targeted buy a mob u just spin until you see it.

If there already is a fix for this problem please let me know!

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

Re: RoM bot

#295 Post by haura » Thu Jan 29, 2009 4:13 am

Lolzoids wrote:I keep dieing if there is a mob behind be because the bot just keeps runing forward and does not look back to see if its getting hit...
I with there could be a fix, like if you are targeted buy a mob u just spin until you see it.

If there already is a fix for this problem please let me know!
How far apart do you space your waypoints?

so2easy
Posts: 34
Joined: Fri Jan 09, 2009 7:51 am

Re: RoM bot

#296 Post by so2easy » Thu Jan 29, 2009 10:39 am

Administrator wrote:so2easy: Post a copy of your profile for inspection.

Code: Select all

<profile>
	<options>
		<option name="HP_LOW" value="60" />
		<option name="MP_LOW_POTION" value="1" />
		<option name="HP_LOW_POTION" value="65" />

		<option name="COMBAT_TYPE" value="ranged" />
		<option name="COMBAT_DISTANCE" value="180" />
		<option name="ANTI_KS" value="true" />
		<option name="WAYPOINTS" value="tangena20c.xml" />
		<option name="LOOT" value="true" />
		<option name="LOOT_TIME" value="6000" />
		<option name="ENERGY_STORAGE_1" value="concentration" />
		<option name="ENERGY_STORAGE_2" value="energy" />
		<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_MINUS" modifier="" />
		<hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
		<hotkey name="ATTACK" key="VK_0" modifier="" />
	</hotkeys>

	<skills>
                <skill name="SCOUT_VAMPIRE_ARROWS" level="20" hotkey="VK_5" />
                <skill name="SCOUT_SHOT" level="20" hotkey="VK_4" />
                <skill name="ROGUE_SHADOWFACE" level="20" hotkey="VK_2" />
                <skill name="SCOUT_WIND_ARROWS" level="20" hotkey="VK_3" />
	</skills>
</profile>

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

Re: RoM bot

#297 Post by darkfayte » Thu Jan 29, 2009 11:34 am

hym1988 wrote:Yeah it's works now. Thanks dude.

For future would be nice some items filter, like in silkroad bot. Realy nice tool :)
EU forums for Runes of Magic has a lootfilter addon
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

#298 Post by Zilvermoon » Thu Jan 29, 2009 2:40 pm

darkfayte wrote:
hym1988 wrote:Yeah it's works now. Thanks dude.

For future would be nice some items filter, like in silkroad bot. Realy nice tool :)
EU forums for Runes of Magic has a lootfilter addon
Ye I kind of gave em the code ... hehe .. :D
Personally I would recommend this one:
[Addon] LootFilter 0.01

Zilvermoon

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

Re: RoM bot

#299 Post by darkfayte » Thu Jan 29, 2009 9:47 pm

hmm, was wondering if its possable to make a script or add to the createpath.lua so that every 5 sec a new waypoint is plotted. Also, if there is a way to make the "goto waypoint 1 .. made it! goto waypoint2" scripts (i know its a lot more then that lol) a little more ... quick. As it stands, with 2000ms loot timer, after a kill i stand around for atleast 5 sec ... from waypoint to waypoint its probably about 3 sec. Lots of small "pauses" in there. Also, while im on the topic of speed .... is there a way to make it so there is way less time between skill use? I think the bot is pretty nailed down as long as ppl dont mess with the *.lua more then they HAVE to ... like only messing with profiles really. The bugs seem to be worked out for the most part, i have not really had any issues. I have been reading ppl asking for things like res. pathing and such (ghost waypoints to us Glider users) to get us back to the original waypoint .lua.

Really all u would need is a auto-walkto .. instead of taking a screenshot take a cord-shot, so it knows where to run to. Altho i know the terrane is not that great in the game and lots of problems from that .. so kinda needle in a hay stack situation. Anyways ....

time between attacks and time between waypoints brought up (faster) would be nice. And that silly "waggle" it does for no reason ... looks like its hitting A and D while holding W to run forward ... :ugeek:

EDIT:

the script for auto-waypoints would be sweet because it would auto path and im tired of SPAMMING NUM1 till it accepts my single waypoint. Looks a little silly when ppl run for a min .. stop .. turn dead on ... run forward.. stop... turn dead on ... looks like a military operation running flag day.
I'm not botting, that's against the TOS. What i'm doing is sharing my account with my computer.

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

Re: RoM bot

#300 Post by Administrator » Thu Jan 29, 2009 10:50 pm

darkfayte: Post your log.txt in the MicroMacro folder. Nobody has these problems except for you. I'm pretty sure it has something to do with RoM taking up almost all of your processor time, so that MicroMacro doesn't have time to process information quickly enough.

Locked

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 17 guests