Help with profile

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
cm022486
Posts: 8
Joined: Wed Oct 28, 2009 6:37 am

Help with profile

#1 Post by cm022486 » Wed Oct 28, 2009 6:41 am

Need some input on how to improve this profile. I want him to be a "TRAVEL" waypoint kinda guy who just gathers resources like a mad man. Any input is greatly appreciated gents. I am a m/p (fire mage with flame and purg. fire fully specced) by the way. Thanks.

Code: Select all

<profile>
    <options>
        <option name="HP_LOW" value="90" />
        <option name="HP_LOW_POTION" value="50" />
        <option name="MP_LOW_POTION" value="40" />
        <option name="COMBAT_TYPE" value="" />
        <option name="COMBAT_DISTANCE" value="200" />
        <option name="ANTI_KS" value="true" />
        <option name="WAYPOINTS" value="" />
        <option name="RETURNPATH" value="" />
        <option name="PATH_TYPE" value="waypoints" />
        <option name="WANDER_RADIUS" value="500" />
        <option name="WAYPOINT_DEVIATION" value="25" />
        <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="30" />
        <option name="MAX_FIGHT_TIME" value="30" />
        <option name="DOT_PERCENT" value="90" />
    </options>
    <friends>
        <friend name="friendsname1" />
        <friend name="friendsname2" />
        <friend name="friendsname3" />
        <friend name="friendsname4" />
        <friend name="friendsname5" />
        <friend name="friendsname6" />
    </friends>
    <hotkeys>
        <hotkey name="HP_POTION" key="VK_EQUAL" />
        <hotkey name="MP_POTION" key="VK_2" />
        <hotkey name="ATTACK" key="VK_1" />
        <hotkey name="MACRO" key="VK_0" />
    </hotkeys>
    <skills>
	<skill name="PRIEST_REGENERATE" hotkey ="VK_4" priority="101" hpper="70" />
        <skill name="MAGE_FLAME" hotkey="VK_3" priority="100" level="36" />
        <skill name="MAGE_FIREBALL" hotkey="VK_5" priority="99" level="35" />
        <skill name="PRIEST_RISING_TIDE" hotkey="VK_6" priority="98" level="34" />
	
       
    </skills>
    <onDeath> </onDeath>
    <onLeaveCombat>-- Additional Lua code to execute after killing an enemy</onLeaveCombat>
    <onSkillCast>
      if( 15 > player.HP/player.MaxHP*100 ) then
       player:cast("PRIEST_HOLY_AURA");
       player:cast("MAGE_PURGATORY_FIRE");
       player:cast("MAGE_PURGATORY_FIRE");
       player:cast("MAGE_PURGATORY_FIRE");
       player:cast("MAGE_PURGATORY_FIRE");
       player:cast("MAGE_PURGATORY_FIRE");
       player:cast("MAGE_PURGATORY_FIRE");
       player:cast("MAGE_PURGATORY_FIRE");
       end;
     </onSkillCast>
</profile>

I am very new to this botting and LUA code obviously, this is my first one. Lasted all night but I know I could improve it.

Also....after I create a path if I realize that one waypoint gets me stuck (transit from one wp to the next i should say) what is the best way to correct this without having to re-map?

Thanks again gents.

EDIT: pls use Code Tag (d003232)

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

Re: Help with profile

#2 Post by d003232 » Wed Oct 28, 2009 6:55 am

I would suggest to download the actual SVN version of the bot and copy the default profile 'default.xml' as a template. That's much more actual and clear than your old one.

And just add 'type="TRAVEL"' to your waypoint files, if you only want to harvest. See here.
The RoM Bot Online Wiki needs your help!

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

Re: Help with profile

#3 Post by d003232 » Wed Oct 28, 2009 7:15 am

cm022486 wrote:Also....after I create a path if I realize that one waypoint gets me stuck (transit from one wp to the next i should say) what is the best way to correct this without having to re-map?
Add one more waypoint to get arround that obstacle? Save one waypoint with 'createpath.lua' and copy that waypoint into your existing waypoint file, just between that two waypoints.
The RoM Bot Online Wiki needs your help!

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 7 guests