RoM bot

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Locked
Message
Author
User avatar
Administrator
Site Admin
Posts: 5329
Joined: Sat Jan 05, 2008 4:21 pm

Re: RoM bot

#681 Post by Administrator » Wed Apr 08, 2009 6:49 pm

You need to induce a keyboard press for that macro on your action bar. In your onDeath, add this:

Code: Select all

keyboardPress(key.VK_7);
Where 7 is the hotkey to press.

elroy72
Posts: 36
Joined: Tue Apr 07, 2009 8:01 pm

Re: RoM bot

#682 Post by elroy72 » Wed Apr 08, 2009 7:04 pm

ok that works!

Is there a way to do it without taking up a hotkey space?

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

Re: RoM bot

#683 Post by Administrator » Wed Apr 08, 2009 7:07 pm

elroy72 wrote:ok that works!

Is there a way to do it without taking up a hotkey space?
No.

If it's a problem, you can completely customize the hotkeys for this game. I doubt you'll actually need 80+ hotkeys.

Samsara
Posts: 1
Joined: Wed Apr 08, 2009 9:09 pm

Re: RoM bot

#684 Post by Samsara » Thu Apr 09, 2009 7:02 am

I dont understand what is going wrong with the bot. Every time I run it I will just spin in a circle. I also are still getting the
WARNING: Failure reading memory from 0xD7FDB0 at 0x8697a4 in memoryReadIntPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)
Could it be Xp Pro 64?

Nasa210
Posts: 10
Joined: Tue Apr 07, 2009 5:53 pm

Re: RoM bot

#685 Post by Nasa210 » Thu Apr 09, 2009 7:07 am

Samsara wrote:I dont understand what is going wrong with the bot. Every time I run it I will just spin in a circle. I also are still getting the
WARNING: Failure reading memory from 0xD7FDB0 at 0x8697a4 in memoryReadIntPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)
Could it be Xp Pro 64?
No, The game was patched again to 1830.

we will need to wait for the new addresses

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

Re: RoM bot

#686 Post by Administrator » Thu Apr 09, 2009 7:14 am

There doesn't seem to have been any changes that will affect the bot from 1829 to 1830. If you're having trouble, redownload and install the latest version of the script, and it should work.

Nasa210
Posts: 10
Joined: Tue Apr 07, 2009 5:53 pm

Re: RoM bot

#687 Post by Nasa210 » Thu Apr 09, 2009 7:33 am

Administrator wrote:There doesn't seem to have been any changes that will affect the bot from 1829 to 1830. If you're having trouble, redownload and install the latest version of the script, and it should work.
haha ur right sorry still works!

User avatar
Onkelatze
Posts: 2
Joined: Wed Apr 08, 2009 5:57 am
Location: Germany
Contact:

Re: RoM bot

#688 Post by Onkelatze » Thu Apr 09, 2009 10:07 am

possible the skill database needed a small update like :

<skill name="WARRIOR_ENRAGED" cooldown="20" type="buff" target="self" inbattle="false" />

cooldown went to 40 sec and make crazy sound without changed :D
did they do it in the update today have look only for warrior skills and have change 4-5 skills
*spelling errors are without guarantee*

Jovaras
Posts: 12
Joined: Fri Mar 27, 2009 7:59 am

Re: RoM bot

#689 Post by Jovaras » Thu Apr 09, 2009 10:11 am

Hmm.After last patch, my bot does not loot(with autoloot enabled) and drinks potions instantly if below 100%(I mean at 99%) with HP_LOW_POTION set to 60% as pre-patch. Is it for me only?

Nasa210
Posts: 10
Joined: Tue Apr 07, 2009 5:53 pm

Re: RoM bot

#690 Post by Nasa210 » Thu Apr 09, 2009 11:21 am

Jovaras wrote:Hmm.After last patch, my bot does not loot(with autoloot enabled) and drinks potions instantly if below 100%(I mean at 99%) with HP_LOW_POTION set to 60% as pre-patch. Is it for me only?
mine works fine for <50%

<options>
<option name="HP_LOW" value="85" />
<option name="MP_LOW_POTION" value="50" />
<option name="HP_LOW_POTION" value="40" />

<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>

ellamental
Posts: 27
Joined: Mon Mar 23, 2009 4:49 am

Re: RoM bot

#691 Post by ellamental » Thu Apr 09, 2009 11:36 pm

Is there a way to detect if your armor/weapons are damaged and if so to press a hot key?

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

Re: RoM bot

#692 Post by Administrator » Thu Apr 09, 2009 11:54 pm

ellamental wrote:Is there a way to detect if your armor/weapons are damaged and if so to press a hot key?
No.

Jovaras
Posts: 12
Joined: Fri Mar 27, 2009 7:59 am

Re: RoM bot

#693 Post by Jovaras » Fri Apr 10, 2009 2:55 am

Admin, I can't solve why my bot after latest patch doesn't loot anymore and drinks potion after every mob(no matter how much hp I have). Here is my profile:

Code: Select all

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

		<option name="COMBAT_TYPE" value="ranged" />
		<option name="COMBAT_DISTANCE" value="180" />
		<option name="ANTI_KS" value="true" />
		<option name="WAYPOINTS" value="lol.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="energy" />
		<option name="POTION_COOLDOWN" value="15" />
		<option name="MAX_FIGHT_TIME" value="30" />
		<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="ATTACK" key="VK_0" modifier="" />
	</hotkeys>

	<skills>
		<skill name="SCOUT_FROST_ARROW" hotkey="VK_EQUAL" concentration="20" cooldown="300" type="buff" target="self" />
		<skill name="SCOUT_SHOT" hotkey="VK_2" />
		<skill name="SCOUT_WIND_ARROWS" hotkey="VK_3" modifier="" />
		<skill name="ROGUE_SHADOWSTAB" hotkey="VK_6" modifier="" />
                <skill name="SCOUT_VAMPIRE_ARROWS" hotkey="VK_4" concentration="20" cooldown="10" range="180" type="dot" />
	</skills>

	<onDeath>
		-- Additional Lua code to execute on death
	</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>

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

Re: RoM bot

#694 Post by Administrator » Fri Apr 10, 2009 3:37 am

And where's your log.txt and screenshot of hotkeys?

Jovaras
Posts: 12
Joined: Fri Mar 27, 2009 7:59 am

Re: RoM bot

#695 Post by Jovaras » Fri Apr 10, 2009 4:00 am

Ok, after screenshotting I realised that potion position in toolbar was switched with attack.

eviltuna
Posts: 5
Joined: Wed Sep 24, 2008 9:34 pm

Re: RoM bot

#696 Post by eviltuna » Fri Apr 10, 2009 4:51 am

Do you have any plans on making the bot able to run back to your corpse? I think thats doable by creating a second waypoint, from the graveyard to where your botting waypoint is. This was done in various bots I've used for WoW.

ellamental
Posts: 27
Joined: Mon Mar 23, 2009 4:49 am

Re: RoM bot

#697 Post by ellamental » Fri Apr 10, 2009 10:22 am

Eviltuna: I think if you do something like this it might work

<onDeath>
-- Additional Lua code to execute on death
yrest(1000)
keyboardPress(key.VK_6);--press a key to hit a macro to accept res.
yrest(60000) --waits 60 secs
keyboardPress(key.VK_DELETE); -- hits delete to unpause script
__WPL:load(getExecutionPath() .. "/waypoints/Deathwaypoint.xml"); -- Loads way points for death run
__WPL:setWaypointIndex(1); -- not sure what this does, but from Admins examples in my thread its needed.
</onDeath>

Then in your death way point file this at the end

<waypoint x="-1896" z="-8259"> -- last way point in death file
if( player.Level >= 1 ) then -- not sure if there is another method but this should work since you should be higher then level 1
__WPL:load(getExecutionPath() .. "/waypoints/Alivewaypoints.xml"); -- loads your alive waypoints
__WPL:setWaypointIndex(1);
end;
</waypoint>

I have not tested this so it might not work, but I think this would be the right direction to get something working as you like. Also remove all the comments (-- and the text after it). Best of luck and if you manage to get it working, posting it here would be great to allow other people to see how it can be done.

ketamine
Posts: 1
Joined: Sat Jan 10, 2009 2:29 am

Re: RoM bot

#698 Post by ketamine » Fri Apr 10, 2009 11:02 am

THX dude nice job

kokowiki
Posts: 16
Joined: Thu Feb 05, 2009 8:50 pm

Re: RoM bot

#699 Post by kokowiki » Fri Apr 10, 2009 12:18 pm

The problem isn't getting back to where i want, it's getting the bot to actually continue after the short load-screen. It just gives errors.

chip99
Posts: 1
Joined: Fri Apr 10, 2009 12:18 pm

Re: RoM bot

#700 Post by chip99 » Fri Apr 10, 2009 12:21 pm

im getting this error :x
Image
i use the latest version

Locked

Who is online

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