RoM bot

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Locked
Message
Author
holystrikers
Posts: 25
Joined: Fri Mar 06, 2009 1:32 pm

Re: RoM bot

#781 Post by holystrikers » Mon Apr 20, 2009 9:52 pm

Ty for response admin :) ! this is just i want to know.

Rajinn
Posts: 33
Joined: Mon Apr 13, 2009 12:43 pm

Re: RoM bot

#782 Post by Rajinn » Mon Apr 20, 2009 10:13 pm

he asked you 3 questions with 0 answers..
read my reply you apparently skipped it.

Izebize
Posts: 18
Joined: Tue Apr 07, 2009 11:38 am

Re: RoM bot

#783 Post by Izebize » Tue Apr 21, 2009 2:24 am

You didn't disturbed at all. I just told you that it's not 2 minutes to change the bot for multiple game, and I don't know anyone who would work out the code for you.

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

Re: RoM bot

#784 Post by kokowiki » Tue Apr 21, 2009 8:03 am

holystrikers wrote:2: i dont know how the second can assit the first(example: for heal/buff)
Well, as i've mentioned before, i use this program for the auto-move/acquire target, and use UberFlex add-on to actually do the whole 'combat' thing, it's more advanced, and can actually 'assist' as you requested. I target whomever i want to keep buffed/healed, and then /engage, that's it, but make sure you set him on follow.

I also made a small script to take the target from the main character, and attack it, then go back to following when it dies.

Rajinn
Posts: 33
Joined: Mon Apr 13, 2009 12:43 pm

Re: RoM bot

#785 Post by Rajinn » Tue Apr 21, 2009 10:12 am

kokowiki wrote:
holystrikers wrote:2: i dont know how the second can assit the first(example: for heal/buff)
Well, as i've mentioned before, i use this program for the auto-move/acquire target, and use UberFlex add-on to actually do the whole 'combat' thing, it's more advanced, and can actually 'assist' as you requested. I target whomever i want to keep buffed/healed, and then /engage, that's it, but make sure you set him on follow.

I also made a small script to take the target from the main character, and attack it, then go back to following when it dies.
uberflex does look good, thx for the info.
im sure theres a way to determine if your target is in combat/has a target, and do a /engage script from there.

this should work for following the party leader

Code: Select all

		<option name="LOOT" value="false" />

	<onLeaveCombat>
		-- Additional Lua code to execute after killing an enemy
		keyboardPress(key.VK_F2);
		keyboardPress(key.VK_BACKSLASH);
	</onLeaveCombat>

blademagical
Posts: 10
Joined: Tue Apr 21, 2009 12:14 pm

Re: RoM bot

#786 Post by blademagical » Tue Apr 21, 2009 12:16 pm

plz guys, what i must change in my micromacro to my char attack first the mobs that are attacking me first, because here my character are being attacked by 3 mobs and he got a new target and dont attack first the mobs that are attacking me first, plz what i can do to my char kill first all the mobs are already attacking me first to take after a new target? ty =)

viperfx
Posts: 3
Joined: Tue Apr 21, 2009 12:00 pm

Re: RoM bot

#787 Post by viperfx » Tue Apr 21, 2009 12:22 pm

Keep getting this error
Tue Apr 21 18:16:04 2009 : RoM Bot Version 2.33
Tue Apr 21 18:16:04 2009 : Using static base address 0x885F08, player address 0x2B10CD00

stack traceback:
C:\..........\rom\micromacro\lib\lib.lua:513: in function 'startMacro'
scripts\rom\bot.lua:244: in main chunk

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

Tue Apr 21 18:16:04 2009 : profile error: VK_10 does not name a valid hotkey!
Tue Apr 21 18:16:04 2009 : Execution error: Runtime error
Tue Apr 21 18:20:26 2009 : Executing script 'bot.lua'
==================================================
Last edited by viperfx on Tue Apr 21, 2009 12:36 pm, edited 1 time in total.

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

Re: RoM bot

#788 Post by kokowiki » Tue Apr 21, 2009 12:34 pm

Rajinn wrote:im sure theres a way to determine if your target is in combat/has a target, and do a /engage script from there.
For that i use 'TankAssist', with a small side script that makes it follow the main character when targetted. I don't have to toggle /engage though, i just have on all the time with the 'manual' option inside the UberFlex addon.

Izebize
Posts: 18
Joined: Tue Apr 07, 2009 11:38 am

Re: RoM bot

#789 Post by Izebize » Tue Apr 21, 2009 12:48 pm

viperfx: Do you have a "10" key on your keyboard? I think you have 0-9 but not "10". As you can see, the error describes everything you have to know to fix your problem "profile error: VK_10 does not name a valid hotkey!".

viperfx
Posts: 3
Joined: Tue Apr 21, 2009 12:00 pm

Re: RoM bot

#790 Post by viperfx » Tue Apr 21, 2009 1:19 pm

Izebize wrote:viperfx: Do you have a "10" key on your keyboard? I think you have 0-9 but not "10". As you can see, the error describes everything you have to know to fix your problem "profile error: VK_10 does not name a valid hotkey!".
Nevermind it was just some random error. Worked after i restarted rom.

I would like to know how to make the Addon Uberflex work with this. Can someone tell me please.

blademagical
Posts: 10
Joined: Tue Apr 21, 2009 12:14 pm

Re: RoM bot

#791 Post by blademagical » Tue Apr 21, 2009 1:29 pm

Pls administrator help me =\

what i must change in my micromacro to my char attack first the mobs that are attacking me first, because here my character are being attacked by 3 mobs and he got a new target and dont attack first the mobs that are attacking me first, plz what i can do to my char kill first all the mobs are already attacking me first to take after a new target? ty =)

deedly
Posts: 17
Joined: Fri Feb 20, 2009 2:40 pm

Re: RoM bot

#792 Post by deedly » Tue Apr 21, 2009 3:00 pm

omg i screwed up a bit i think.. made a char with "ë" in the name, cant make the bot work with it. its unable to open profiles file..

since its a perfect botter and highlvld char now i'd like to get it working somehow..

Admin, u got any idea?

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

Re: RoM bot

#793 Post by Administrator » Tue Apr 21, 2009 3:32 pm

Pls administrator help me =\

what i must change in my micromacro to my char attack first the mobs that are attacking me first, because here my character are being attacked by 3 mobs and he got a new target and dont attack first the mobs that are attacking me first, plz what i can do to my char kill first all the mobs are already attacking me first to take after a new target? ty =)
Not much can be done about this at the time. Just make due.

deedly wrote:omg i screwed up a bit i think.. made a char with "ë" in the name, cant make the bot work with it. its unable to open profiles file..

since its a perfect botter and highlvld char now i'd like to get it working somehow..

Admin, u got any idea?
Try this... It's a temporary fix until I can release a proper update.
Open up rom/bot.lua and go to line 74. You'll see this:
settings.loadProfile(player.Name);
Change it like so:

Code: Select all

	settings.loadProfile("Yournamehere");
Now, that 'ë' in your character's name needs to be replaced with \137. So, if your name was "Namë", change it to "Nam\137". Save it, and run the bot.

deedly
Posts: 17
Joined: Fri Feb 20, 2009 2:40 pm

Re: RoM bot

#794 Post by deedly » Tue Apr 21, 2009 3:56 pm

Ouch, did what u said. But executing rom/bot.lua afterwards gives me an error message

"scripts\rom/bot.lua:61 ´>´ expected near ´\´"

then MM goes back to "Please enter script..."

Rajinn
Posts: 33
Joined: Mon Apr 13, 2009 12:43 pm

Re: RoM bot

#795 Post by Rajinn » Tue Apr 21, 2009 8:48 pm

blademagical wrote:Pls administrator help me =\

what i must change in my micromacro to my char attack first the mobs that are attacking me first, because here my character are being attacked by 3 mobs and he got a new target and dont attack first the mobs that are attacking me first, plz what i can do to my char kill first all the mobs are already attacking me first to take after a new target? ty =)
since the targeting only targets stuff in front of you, you could goto the onLeaveCombat section and add a script to move backwards

Code: Select all

keyboardHold(settings.hotkeys.MOVE_BACKWARD.key);
yrest(200);
keyboardRelease(settings.hotkeys.MOVE_BACKWARD.key);
then when it goes to auto target it should grab the closest mob which should be the ones hitting you (i havent tried it yet, just theory)

blademagical
Posts: 10
Joined: Tue Apr 21, 2009 12:14 pm

Re: RoM bot

#796 Post by blademagical » Tue Apr 21, 2009 10:47 pm

Administrator or some1 can send a script for mine (gathering) for us? or dont have it yet? plz post here if some1 have that script for mining! ty!

Rajinn
Posts: 33
Joined: Mon Apr 13, 2009 12:43 pm

Re: RoM bot

#797 Post by Rajinn » Wed Apr 22, 2009 1:35 am

blademagical wrote:Administrator or some1 can send a script for mine (gathering) for us? or dont have it yet? plz post here if some1 have that script for mining! ty!
there isnt one yet, it has been mentioned through this thread numerous times, shows how much of it you read >.>
i was trying to come up with a simple method of making one though...

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

Re: RoM bot

#798 Post by Jovaras » Wed Apr 22, 2009 8:03 am

Hello, I have configured my bot to rezz and run back to spot, but it only ressurects and doesn't start running. It says awaiting for pressing delete. Waypoints are loaded successfuly.
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="70" />

		<option name="COMBAT_TYPE" value="ranged" />
		<option name="COMBAT_DISTANCE" value="180" />
		<option name="ANTI_KS" value="true" />
		<option name="WAYPOINTS" value="coast.xml" />
		<option name="RETURNPATH" value="coastret.xml" />
		<option name="PATH_TYPE" value="waypoints" />
		<option name="WANDER_RADIUS" value="300" />
		<option name="WAYPOINT_DEVIATION" value="50" />
		<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="MP_POTION" key="VK_EQUAL" modifier="" />
		<hotkey name="ATTACK" key="VK_0" modifier="" />
		<hotkey name="RES_MACRO" key="VK_8" modifier="" />
	</hotkeys>

	<skills>
		<skill name="SCOUT_VAMPIRE_ARROWS" hotkey="VK_4" type="dot" />
		<skill name="ROGUE_SHADOWSTAB" hotkey="VK_6" energy="30" range="50" type="damage" target="enemy" />
		<skill name="SCOUT_WIND_ARROWS" hotkey="VK_3" concentration="8" range="225" type="damage" target="enemy" />
		<skill name="SCOUT_FROST_ARROW" hotkey="VK_EQUAL" concentration="20" cooldown="300" type="buff" target="self" />
		<skill name="SCOUT_SHOT" priority="100" hotkey="VK_2" consumable="1" range="20" cooldown="4" type="damage" target="enemy" />
	</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>

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

Re: RoM bot

#799 Post by Administrator » Wed Apr 22, 2009 11:54 am

<onDeath>
-- Additional Lua code to execute on death
pauseOnDeath(); -- Stop the script
</onDeath>
Think pausing it when you die might cause any problems?

frank
Posts: 26
Joined: Wed Apr 22, 2009 12:11 pm

Re: RoM bot

#800 Post by frank » Wed Apr 22, 2009 12:14 pm

Administrator wrote:Now, that 'ë' in your character's name needs to be replaced with \137. So, if your name was "Namë", change it to "Nam\137". Save it, and run the bot.
I'm pretty sure "\137" isn't a valid string character. If LUA is anything like other languages it would be "\x89". The "\x" denotes you wish to insert a byte string, and then from there you can add all the hexadecimal code you want.

Anyways, I started fooling around with the bot a few days ago out of curiosity, and my bot isn't resurrecting upon death. The window just waits on a mouse click. What is the fix for this?

Locked

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest