Movement / attack problems. Please read.

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
voivid
Posts: 3
Joined: Thu Oct 29, 2009 11:27 pm

Movement / attack problems. Please read.

#1 Post by voivid » Fri Oct 30, 2009 12:37 am

My player keeps running away from mobs. Like he is trying to fight in range distance or like he is stuck. When he is not in combat and goes from waypoint to waypoint he makes jerky movements.

A lot of the time he wont even attack until he is attacked and when he does he only sometimes does Low blow and Shadowstab. Most of the time he just runs around , gets aggro , doesn't pot , barely using skills and dies.

I have checked my in game keys and they match my setting and profile. I am a bit of a noob , so if any1 can help me out id really be thankful.

Ill link all my info.

Settings LUA

settings_default = {
hotkeys = {
MOVE_FORWARD = {key = _G.key.VK_W, modifier = nil},
MOVE_BACKWARD = {key = _G.key.VK_S, modifier = nil},
ROTATE_LEFT = {key = _G.key.VK_Q, modifier = nil},
ROTATE_RIGHT = {key = _G.key.VK_E, modifier = nil},
STRAFF_LEFT = {key = _G.key.VK_A, modifier = nil},
STRAFF_RIGHT = {key = _G.key.VK_D, modifier = nil},
JUMP = {key = _G.key.VK_SPACE, modifier = nil},
TARGET = {key = _G.key.VK_TAB, modifier = nil},
TARGET_FRIEND = {key = _G.key.J, modifier = nil},
START_BOT = {key = _G.key.VK_DELETE, modifier = nil},
STOP_BOT = {key = _G.key.VK_END, modifier = nil}

I dont think i need to link the whole "settings.lua" file. But I did change this file to match my in game keys. It does have a red "!" over the file name.

Settings XML
<settings>
<hotkeys>
<!-- Cannot use modifiers -->
<hotkey description="MOVE_FORWARD" key="VK_W" modifier="" />
<hotkey description="MOVE_BACKWARD" key="VK_S" modifier="" />
<hotkey description="ROTATE_LEFT" key="VK_Q" modifier="" />
<hotkey description="ROTATE_RIGHT" key="VK_E" modifier="" />
<hotkey description="STRAFF_LEFT" key="VK_A" modifier="" />
<hotkey description="STRAFF_RIGHT" key="VK_D" modifier="" />
<hotkey description="JUMP" key="VK_SPACE" modifier="" />

<hotkey description="TARGET" key="VK_TAB" modifier="" />
<hotkey description="TARGET_FRIEND" key="VK_J" modifier="" />
</hotkeys>

<options>
<option name="ENABLE_FIGHT_SLOW_TURN" value="false" />
<option name="MELEE_DISTANCE" value="45" />
<option name="LANGUAGE" value="english" /> <!-- english|deutsch|french|russian -->
<option name="USE_CLIENT_LANGUAGE" value="true" />
<option name="DEBUGGING" value="false" />

<!--
Leave ROMDATA_PATH blank to use automatic settings.
If it cannot find your bindings.txt automatically,
place the FULL PATH to the "Runes of Magic"
directory here.
-->
<option name="ROMDATA_PATH" value="" />
</options>
</settings>

I did change to my key settings in game. There is no "!" and is marked with a green check over the file. so it seems to be ok.

Profile

<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="75" />
<option name="HP_LOW_POTION" value="70" />
<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="15" />

<!-- 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" />
<option name="POISON" value="30" />

<!-- either false or arrow or thrown -->
<option name="RELOAD_AMMUNITION" value="false" /> <!-- false|arrow|thrown -->

<!-- Combat options -->
<option name="COMBAT_TYPE" value="melee" /> <!-- 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="100" /> <!-- 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="spiders" /> <!-- leave empty to show a list -->
<option name="RETURNPATH" value="spiders" />
<option name="PATH_TYPE" value="waypoints" /> <!-- waypoints | wander -->
<option name="WANDER_RADIUS" value="500" />
<option name="WAYPOINT_DEVIATION" value="0" />
<option name="QUICK_TURN" value="true" />

<!-- 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="false" />
<option name="RES_AUTOMATIC_AFTER_DEATH" value="false" />

<!-- For more options and documentation see the RoM Bot Wiki: -->
<!-- http://www.solarstrike.net/wiki/index.p ... le=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>

<mobs>
<!-- names of mobs we want to attack -->
<!-- if no names defined we will attack all mobs -->
<mob name="" />
<mob name="" />
<mob name="" />
</mobs>

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


<skills_rogue>
<skill name="ROGUE_SHADOWSTAB" hotkey="VK_2" priority="90" />
<skill name="ROGUE_LOW_BLOW" hotkey="VK_3" priority="80" />
<skill name="ROGUE_LOW_BLOW" hotkey="VK_4" priority="70" />
</skills_rogue>


<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
-- player:logout(); -- logout
</onDeath>

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

<onLevelup>
-- Additional Lua code to execute after having a levelup
-- and levelup the skills for a new character (mage or priest recommended)
-- e.g. sendMacro("SetSpellPoint(_tabnr, _skillnr);"); would levelup a skill
</onLevelup>

<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
-- e.g.:
--if( 15 > player.HP/player.MaxHP*100 ) then
-- player:cast("PRIEST_SOUL_SOURCE");
--elseif( 25 > player.HP/player.MaxHP*100 ) then
-- player:cast("PRIEST_HOLY_AURA");
-- player:cast("PRIEST_URGENT_HEAL");
-- player:cast("PRIEST_URGENT_HEAL");
</onSkillCast>
</profile>


Im not really sure what i can delete or get rid of to make this profile look simpler. If some1 can show me a simpler way of making a profile that might help. But i just copy and paste the profile and fill in the blanks.

There is a bule "?" over my profile icon. Not sure what that means.


I did figure out how to have him cast SS and LB more often. I only have the main action bar in use but , he is still backing away from his target too often and not potting often enough , along with the jerky movement when going from waypoint to waypoint.

If anyone can help me out on how to fix the movement and hp problems and to make my profile look simpler that would be great. Thanks for taking time out to help guys.

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

Re: Movement / attack problems. Please read.

#2 Post by d003232 » Fri Oct 30, 2009 1:32 am

Use the

Code: Select all

 tag to post code. :-)

Check that your ingame movement key settings are matching the settings within your settings.xml. Delete your settings.lua and revert it from SVN. You should not change the settings.lua. Post the content of your MM window.
The RoM Bot Online Wiki needs your help!

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

Re: Movement / attack problems. Please read.

#3 Post by d003232 » Fri Oct 30, 2009 1:34 am

d003232 wrote:Use the

Code: Select all

 tag to post code. :-)

Update to the latest SVN. There was a missing aggro flag after the patch yesterday.

Check that your ingame movement key settings are matching the settings within your settings.xml. Delete your settings.lua and revert it from SVN. You should not change the settings.lua. Post the content of your MM window.[/quote]
The RoM Bot Online Wiki needs your help!

voivid
Posts: 3
Joined: Thu Oct 29, 2009 11:27 pm

Re: Movement / attack problems. Please read.

#4 Post by voivid » Fri Oct 30, 2009 3:34 am

I have the latest version , i dont get any errors or anything from MM , and all my keys match :(

voivid
Posts: 3
Joined: Thu Oct 29, 2009 11:27 pm

Re: Movement / attack problems. Please read.

#5 Post by voivid » Fri Oct 30, 2009 3:54 am

i get " distance break" in MM sometimes but not too often. It says suggested range is 45.

I also get the "unsticking player " in red text in MM when he isnt stuck :(

wingo
Posts: 3
Joined: Sat Oct 31, 2009 2:26 am

Re: Movement / attack problems. Please read.

#6 Post by wingo » Sat Oct 31, 2009 2:41 am

I have the same problem. Since the last update, my perfectly configured bot doesn't use skills anymore, and doesn't care about mobs. If he gets aggro while harvesting, i will just keep trying harvesting and get interrupt by the mob until he's got no pots anymore and die...

It's like if the inbattle variable wouldn't change to true...

Any idea you coders? :lol:

Anyway, I would like to say "thanks!" and "gratz!" for this very nice, powerfull, configurable bot... That's what we need to see.

Bye Bye !

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests