Auto Equip
Auto Equip
Hi,
First I would like to express my gratitude to the devs of this bot. I truly appreciate the value and time put in to develop this bot.
Currently, I am confused on how to set up auto equip for my bots. I am trying to bot alts to generate arcane charges. As such, I have made some gears which I would like the bot to wear every level for extra damage and faster leveling.
I have read the Wiki but still left confused on where to place the functions (Do I change the functions or place them into my profile?) so that my bot would automatically wear the eqs per level. Also, if I have a +6 gear, would it require me to write the whole name, e.g. Superior Robe +6. Does it require me to put the eqs at specific slots on my inventory?
Your help is much needed and thanks in advance.
First I would like to express my gratitude to the devs of this bot. I truly appreciate the value and time put in to develop this bot.
Currently, I am confused on how to set up auto equip for my bots. I am trying to bot alts to generate arcane charges. As such, I have made some gears which I would like the bot to wear every level for extra damage and faster leveling.
I have read the Wiki but still left confused on where to place the functions (Do I change the functions or place them into my profile?) so that my bot would automatically wear the eqs per level. Also, if I have a +6 gear, would it require me to write the whole name, e.g. Superior Robe +6. Does it require me to put the eqs at specific slots on my inventory?
Your help is much needed and thanks in advance.
Re: Auto Equip
There is a autoequipment function for the standard leveling from 1-10 for the giftback content. That's special coded in the function 'openGiftbags1To10()'. The function is called in the demo profile 'l1-10.xml'. That function use the file '/database/giftbags.xml' to decide what to equipt at which level. You could try to modifie/add that file.phanisher wrote:Currently, I am confused on how to set up auto equip for my bots. I am trying to bot alts to generate arcane charges. As such, I have made some gears which I would like the bot to wear every level for extra damage and faster leveling.
I have read the Wiki but still left confused on where to place the functions (Do I change the functions or place them into my profile?) so that my bot would automatically wear the eqs per level. Also, if I have a +6 gear, would it require me to write the whole name, e.g. Superior Robe +6. Does it require me to put the eqs at specific slots on my inventory?
At begin I also try to equipt better stuff. I send it to my characters and get it a level 5 at the mailbox. But finaly I decide for me that it don't matter to run a little longer. Becaus I can't automaticly take that stuff out of the mailbox it need's more time to watch for the break at the mailbox than just to run with the standard equipment.
The RoM Bot Online Wiki needs your help!
Re: Auto Equip
Thank you for your quick response.
My plan was to make a +6 level 1 wand and a +6 level 5 staff and some eqs which require level 1 or no pre-reqs. As such I want to ride to logar at level 2 (manual), collect the stuff and then start killing to level 10. On top of that, I would like to know if I can switch the weapon at level 5 for faster killing?
Thanks in advance.
My plan was to make a +6 level 1 wand and a +6 level 5 staff and some eqs which require level 1 or no pre-reqs. As such I want to ride to logar at level 2 (manual), collect the stuff and then start killing to level 10. On top of that, I would like to know if I can switch the weapon at level 5 for faster killing?
Thanks in advance.
Re: Auto Equip
I wouldn't take lvl 1 stuff. After 10 (?) kills yor are allready lvl 3. And I wouldn't do a extra ride tro logar. Needs to much time. You could go with lvl 4 or 5 to logar. The demo files start at lvl 4 going to logar and on the way you get level 5.phanisher wrote:Thank you for your quick response.
My plan was to make a +6 level 1 wand and a +6 level 5 staff and some eqs which require level 1 or no pre-reqs. As such I want to ride to logar at level 2 (manual), collect the stuff and then start killing to level 10. On top of that, I would like to know if I can switch the weapon at level 5 for faster killing?
Thanks in advance.
As I said, you could insert the item-id into the table or you could 'use' the item manual into your profile or waypoint file to equipt it..
Code: Select all
inventory:useItem(itemNameOrId)The RoM Bot Online Wiki needs your help!
Re: Auto Equip
Hi,
I am using the dome files to level 10 atm and its awesome, thanks. I have seen that code on Wiki, however, where should I place the code under?
Thanks again.
I am using the dome files to level 10 atm and its awesome, thanks. I have seen that code on Wiki, however, where should I place the code under?
Thanks again.
Re: Auto Equip
You could 'use' the item into your profile or waypoint file to equipt it. Depending from what's better for you need.phanisher wrote:Hi,
I am using the dome files to level 10 atm and its awesome, thanks. I have seen that code on Wiki, however, where should I place the code under?
Thanks again.
The RoM Bot Online Wiki needs your help!
Re: Auto Equip
Thanks alot d00. I will try that soon.
My last question (sorry about this, new at it), How do I make my mage cast Fireball only at 20% of the targets HP? I have looked all over the wiki but I couldnt find any information at casting a spell at specific HP at desired targets HP (like a finisher).
Regards.
My last question (sorry about this, new at it), How do I make my mage cast Fireball only at 20% of the targets HP? I have looked all over the wiki but I couldnt find any information at casting a spell at specific HP at desired targets HP (like a finisher).
Regards.
Re: Auto Equip
You are right. There is no skill option to do that in the moment. But you could to that in the <onCast> event. Set the skill to autouse=false:phanisher wrote:Thanks alot d00. I will try that soon.
My last question (sorry about this, new at it), How do I make my mage cast Fireball only at 20% of the targets HP? I have looked all over the wiki but I couldnt find any information at casting a spell at specific HP at desired targets HP (like a finisher).
Regards.
Code: Select all
<skill name="MAGE_FIREBALL" hotkey="VK_R" autouse="false" />Code: Select all
<onSkillCast>
local target = player:getTarget();
if( 20 > target.HP/target.MaxHP*100 ) then
player:cast("MAGE_FIREBALL");
end;
</onSkillCast>
The RoM Bot Online Wiki needs your help!
Re: Auto Equip
With SVN 367 there are two new skill options:
You can just add that option to your skill into your profile e.g.
Code: Select all
targethp Targets HP in healthpoints has to be below this level to use the skill.
targethpper Targets HP in percentage has to be below this level to use the skill. Code: Select all
<skill name="MAGE_FIREBALL" hotkey="VK_3" targethp="500" />The RoM Bot Online Wiki needs your help!
Re: Auto Equip
I had tried this but the FB didnt really work as intended for low levels as they keep spamming flame to kill the mob.
Having said that, I will try it on a different on a higher level char to see what it can do. Thanks again D00
Having said that, I will try it on a different on a higher level char to see what it can do. Thanks again D00
Re: Auto Equip
I suppose you used the option 'targethp'? There was a bug. It's corrected in SVN 367. Hope it will work now.phanisher wrote:I had tried this but the FB didnt really work as intended for low levels as they keep spamming flame to kill the mob.
The RoM Bot Online Wiki needs your help!