RoM bot

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

Re: RoM bot

#2061 Post by d003232 » Wed Oct 14, 2009 2:40 pm

maurice wrote:
d003232 wrote:[DEBUG] XXXXXXXX target is to strong. More HP then self.MaxHP * settings.profile.options.AUTO_ELITE_FACTOR
Hmm. Ok. Do you think the default of 4 is to low? How much HP do you have? And how much HP do the mobs have. Are that some special mobs?
The RoM Bot Online Wiki needs your help!

omg
Posts: 6
Joined: Wed Oct 14, 2009 2:09 pm

Re: RoM bot

#2062 Post by omg » Wed Oct 14, 2009 2:44 pm

Hey. I got problem with running the bot. When starting micromacro and writing command rom/createpath.lua there comes this problem. It says someting from my profile, then i try to force to start my profile by command rom/bot.lua profile:default. After that i try to again run bot but nothing happens. Here is screenshot of my problem and i would be very thankful if somebody can help me. ;)

Image

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

Re: RoM bot

#2063 Post by d003232 » Wed Oct 14, 2009 2:48 pm

omg wrote:Hey. I got problem with running the bot. When starting micromacro and writing command rom/createpath.lua there comes this problem. It says someting from my profile, then i try to force to start my profile by command rom/bot.lua profile:default. After that i try to again run bot but nothing happens. Here is screenshot of my problem and i would be very thankful if somebody can help me.
Please read the basic documentation about how to configure and start the bot here.
The RoM Bot Online Wiki needs your help!

maurice
Posts: 21
Joined: Fri May 08, 2009 2:39 pm

Re: RoM bot

#2064 Post by maurice » Wed Oct 14, 2009 3:16 pm

d003232 wrote:Hmm. Ok. Do you think the default of 4 is to low? How much HP do you have? And how much HP do the mobs have. Are that some special mobs?

My char have 5382HP, mobs have 22610.

default to 5 should be better I think.

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

Re: RoM bot

#2065 Post by d003232 » Wed Oct 14, 2009 3:20 pm

maurice wrote:
d003232 wrote:Hmm. Ok. Do you think the default of 4 is to low? How much HP do you have? And how much HP do the mobs have. Are that some special mobs?

My char have 5382HP, mobs have 22610.

default to 5 should be better I think.
Puh! And thats a normal hp level for the mobs? I suppose at level 55?
The RoM Bot Online Wiki needs your help!

omg
Posts: 6
Joined: Wed Oct 14, 2009 2:09 pm

Re: RoM bot

#2066 Post by omg » Wed Oct 14, 2009 3:44 pm

d003232 wrote:
omg wrote:Hey. I got problem with running the bot. When starting micromacro and writing command rom/createpath.lua there comes this problem. It says someting from my profile, then i try to force to start my profile by command rom/bot.lua profile:default. After that i try to again run bot but nothing happens. Here is screenshot of my problem and i would be very thankful if somebody can help me.
Please read the basic documentation about how to configure and start the bot here.
Yep i have readed configurations of bot, but i have still problem with TARGET_FRIEND. It says The hotkey VK_ for TARGET_FRIEND is not valid. And i have same settings as settings.xml sample.

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

Re: RoM bot

#2067 Post by d003232 » Wed Oct 14, 2009 3:52 pm

omg wrote:
d003232 wrote:
omg wrote:Hey. I got problem with running the bot. When starting micromacro and writing command rom/createpath.lua there comes this problem. It says someting from my profile, then i try to force to start my profile by command rom/bot.lua profile:default. After that i try to again run bot but nothing happens. Here is screenshot of my problem and i would be very thankful if somebody can help me.
Please read the basic documentation about how to configure and start the bot here.
Yep i have readed configurations of bot, but i have still problem with TARGET_FRIEND. It says The hotkey VK_ for TARGET_FRIEND is not valid. And i have same settings as settings.xml sample.
Taget friend stuff is only a warning. The error is the missing ingame dummy marco. The target_friend warning is coming from an empty ingame setting for the hotkey 'targetnearestfriend'. Just assing the 'j' key (e.g.)
The RoM Bot Online Wiki needs your help!

omg
Posts: 6
Joined: Wed Oct 14, 2009 2:09 pm

Re: RoM bot

#2068 Post by omg » Wed Oct 14, 2009 4:42 pm

Taget friend stuff is only a warning. The error is the missing ingame dummy marco. The target_friend warning is coming from an empty ingame setting for the hotkey 'targetnearestfriend'. Just assing the 'j' key (e.g.)
Okey, now i have get little bit closer to run bot. Now when i write rom/bot.lua just like in configurations and press del to start script. There comes this and then game crashes.

Image

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

Re: RoM bot

#2069 Post by d003232 » Wed Oct 14, 2009 6:10 pm

omg wrote: Now when i write rom/bot.lua just like in configurations and press del to start script. There comes this and then game crashes
Try to delete your RoM settings, at least for the character with the problems. See here.
The RoM Bot Online Wiki needs your help!

DrG
Posts: 53
Joined: Tue Oct 13, 2009 8:01 am

Re: RoM bot

#2070 Post by DrG » Wed Oct 14, 2009 6:18 pm

d003232 wrote:I tought again about that point. I suppose that happens for your meele. And you are right. If you target a mob that is more fare away then your next waypoint, then after the fight the bot will turn back to reach that waypoint. I think we could implement a little more intelligence to handle that better.
Thank you for trying to understand what i've trying to say.

I try another waypoint and the char only go back if the mob is to far away from the waypoint he was moving. If the mob is before the waypoint then the char don't go back.

Thank you for the help. :)

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

Re: RoM bot

#2071 Post by d003232 » Wed Oct 14, 2009 6:29 pm

DrG wrote:Thank you for trying to understand what i've trying to say.

I try another waypoint and the char only go back if the mob is to far away from the waypoint he was moving. If the mob is before the waypoint then the char don't go back.
Yes i mostly used range chars. They don't have that issue of going back. I will look if I could do a solution to avoid that going back.
The RoM Bot Online Wiki needs your help!

ghostslayer
Posts: 14
Joined: Tue Oct 13, 2009 11:52 am

Re: RoM bot

#2072 Post by ghostslayer » Thu Oct 15, 2009 12:00 am

So.. Here is what happened when I tried to run bot.lua with wander settings instead of waypots:

Image

and crashed again and again! I hope you know the answer thanks

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

Re: RoM bot

#2073 Post by Administrator » Thu Oct 15, 2009 12:16 am

ghostslayer wrote: and crashed again and again! I hope you know the answer thanks
Again, delete My Documents/Runes of Magic/<character name>/macro.bsd before starting the game client.

drahko
Posts: 19
Joined: Thu Oct 15, 2009 2:22 am

Re: RoM bot

#2074 Post by drahko » Thu Oct 15, 2009 2:24 am

my bot does not face the target is there any way to get him to auto face ?? im useing the bot with uberflex

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

Re: RoM bot

#2075 Post by d003232 » Thu Oct 15, 2009 3:29 am

drahko wrote:my bot does not face the target is there any way to get him to auto face ?? im useing the bot with uberflex
The bot normaly autoface his target (or it happens by the client?). Try to use it without uberflex so see if that's the reason.
The RoM Bot Online Wiki needs your help!

drahko
Posts: 19
Joined: Thu Oct 15, 2009 2:22 am

Re: RoM bot

#2076 Post by drahko » Thu Oct 15, 2009 3:39 am

well i started it like that i had just installed uberflex but i could not get the one on the download link to work kept giveing me a 134 error so i dled the rom off the post http://www.solarstrike.net/phpBB3/viewt ... f=21&t=728 and got the bot working just dont auto faceits starts atacting and never faces the taget after that

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

Re: RoM bot

#2077 Post by d003232 » Thu Oct 15, 2009 3:44 am

drahko wrote:well i started it like that i had just installed uberflex but i could not get the one on the download link to work kept giveing me a 134 error so i dled the rom off the post http://www.solarstrike.net/phpBB3/viewt ... f=21&t=728 and got the bot working just dont auto faceits starts atacting and never faces the taget after that
I never worked wuith UBERFLEX and never had problems with autofacing. So I suppose it is something with your profile/skills? Post your profile. Perhaps we can see something?
The RoM Bot Online Wiki needs your help!

drahko
Posts: 19
Joined: Thu Oct 15, 2009 2:22 am

Re: RoM bot

#2078 Post by drahko » Thu Oct 15, 2009 4:00 am

Code: Select all

<profile>
	<options>
		<!-- Try the bot with a new char mage                   -->
		<!-- At the pioneer village. Use demo.xml waypoint file -->
		<option name="HP_LOW"			value="85" />
		<option name="MP_LOW_POTION"	value="50" />
		<option name="HP_LOW_POTION"	value="40" />
		<option name="USE_HP_POTION"	value="best" />	<!-- potion select strategy: best|minstack -->
		<option name="USE_MANA_POTION"	value="best" />	<!-- potion select strategy: best|minstack -->

		<!-- Rest if HP or Mana is below that level -->
		<option name="HP_REST" value="15" />
		<option name="MP_REST" value="30" />

		<!-- Shopping options, how many of what do you want to keep in your inventory -->
		<option name="HEALING_POTION" value="99" />
		<option name="MANA_POTION" value="99" />
		<option name="ARROW_QUIVER" value="2" />
		<option name="THROWN_BAG" value="2" />

		<!-- Combat options -->
		<option name="COMBAT_TYPE"        value="ranged" />	<!-- leave empty or choose ranged/melee if not using class default -->
		<option name="COMBAT_RANGED_PULL" value="false" /> <!-- only important for melees -->
		<option name="COMBAT_DISTANCE"    value="200" />
		<option name="MAX_FIGHT_TIME"     value="15" />	<!-- Max time without damage before break -->
		<option name="DOT_PERCENT"        value="90" />
		<option name="ANTI_KS"            value="true" />

		<!-- Attack monsters 3 levels above or 10 below your level -->
		<option name="TARGET_LEVELDIF_ABOVE" value="3" />
		<option name="TARGET_LEVELDIF_BELOW" value="10" />

		<!-- Waypoint and movement settings -->
		<option name="WAYPOINTS"		value="" />  <!-- leave empty to show a list -->
		<option name="RETURNPATH"		value="" />
		<option name="PATH_TYPE"		value="waypoint" />	<!-- waypoints | wander -->
		<option name="WANDER_RADIUS"		value="500" />
		<option name="WAYPOINT_DEVIATION"	value="0" />
		<option name="QUICK_TURN" 		value="false" />

		<!-- Loot settings -->
		<option name="LOOT"               value="true" />
		<option name="LOOT_IN_COMBAT"     value="true" />
		<option name="LOOT_DISTANCE"      value="100" />
		<option name="LOOT_PAUSE_AFTER"   value="0" />		<!-- probability in % for a short rest -->

		<!-- Log out and resurrect settings -->
		<option name="LOGOUT_TIME" 			value="0" />	<!-- in minutes, 0 = timer disabled -->
		<option name="LOGOUT_SHUTDOWN"		value="false" />
		<option name="LOGOUT_WHEN_STUCK"	value="true" />
		<option name="RES_AUTOMATIC_AFTER_DEATH" value="true" />

		<!-- For more options and documentation see the RoM Bot Wiki:  -->
		<!-- http://www.solarstrike.net/wiki/index.php5?title=RoM_Bot  -->

	</options>

	<friends>
		<!-- names of friends we help fighting or enemys we don't want to attack -->
		<!-- for umlauts use \129 (ue),\132 (ae),\148 (oe) e.g. K\132fer         -->
		<friend name="MyOtherCharacter1" />
		<friend name="MyOtherCharacter2" />
		<friend name="Elite_Mob_Name1" />
		<friend name="Elite_Mob_Name2" />
	</friends>

	<hotkeys>
    	<!-- to communicate with the RoM API / define ingame dummy macro at place 1 -->
		<hotkey name="MACRO"        key="VK_0" />
        <hotkey name="HP_POTION" key="VK_9" />
        <hotkey name="MP_POTION" key="VK_8" />
        <hotkey name="ATTACK" key="VK_1" />
	</hotkeys>

	<!-- define your skills depending from your actual primary class -->
	<!-- see the example for a priest/mage                           -->
	<!-- delete skills you don't have or don't want to use.          -->
	<!-- For more skills to use see /database/skills.xml             -->
	<!-- demo skills for LvL 1 character for all classes             -->
   <skills>
        <skill name="UBERFLEX" hotkey="VK_Z" priority="100"/>
   </skills>

	<onLoad>
		-- Additional Lua code to execute after loading the profile
		-- and before the bot starts. e.g. You could overwrite profile settings here
		-- like: changeProfileOption("HP_REST", 60);
	</onLoad>

	<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>
Last edited by drahko on Thu Oct 15, 2009 4:04 am, edited 1 time in total.

drahko
Posts: 19
Joined: Thu Oct 15, 2009 2:22 am

Re: RoM bot

#2079 Post by drahko » Thu Oct 15, 2009 4:03 am

this is without uberflex

Code: Select all

<profile>
    <options>
        <option name="HP_LOW" value="85" />
        <option name="HP_LOW_POTION" value="40" />
        <option name="MP_LOW_POTION" value="50" />
        <option name="COMBAT_TYPE" value="ranged" />
        <option name="COMBAT_DISTANCE" value="200" />
        <option name="ANTI_KS" value="true" />
        <option name="WAYPOINTS" value="test1.xml" />
        <option name="RETURNPATH" value="" />
        <option name="PATH_TYPE" value="waypoint" />
        <option name="WANDER_RADIUS" value="500" />
        <option name="WAYPOINT_DEVIATION" value="0" />
        <option name="LOOT" value="true" />
        <option name="LOOT_TIME" value="2000" />
        <option name="LOOT_DISTANCE" value="100" />
        <option name="ENERGY_STORAGE_1" value="mana" />
        <option name="ENERGY_STORAGE_2" value="none" />
        <option name="POTION_COOLDOWN" value="15" />
        <option name="MAX_FIGHT_TIME" value="15" />
        <option name="DOT_PERCENT" value="90" />
    </options>
    <friends>
        <friend name="MyOtherCharacter1" />
        <friend name="MyOtherCharacter2" />
        <friend name="Elite_Mob_Name1" />
        <friend name="Elite_Mob_Name2" />
    </friends>
    <hotkeys>
        <hotkey name="HP_POTION" key="VK_9" />
        <hotkey name="MP_POTION" key="VK_8" />
        <hotkey name="ATTACK" key="VK_1" />
        <hotkey name="RES_MACRO" key="VK_0" />
    </hotkeys>
    <skills>
        <skill name="MAGE_FLAME" hotkey="VK_5" priority="100" />
        <skill name="MAGE_LIGHTNING" hotkey="VK_3" priority="95" />
        <skill name="MAGE_ELECTRIC_BOLT" hotkey="VK_7" priority="80" />
    </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>

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

Re: RoM bot

#2080 Post by d003232 » Thu Oct 15, 2009 4:07 am

drahko wrote:this is without uberflex
And your character also don't autoface. Even without uberflex? Did you check ingame the 'click to move' option?
The RoM Bot Online Wiki needs your help!

Locked

Who is online

Users browsing this forum: No registered users and 5 guests