Page 1 of 1

waypoints, I want bot to run without them

Posted: Sun Nov 14, 2010 2:13 am
by lisa
It might seem weird to you but I want to stop the bot using way points.
I am trying to run 2 bots simultaniously (2 pc's) and I want 1 bot to follow other bot to heal/buff it and leach XP. Trouble is I can't seem to work around the bot's need for using waypoints.

Re: waypoints, I want bot to run without them

Posted: Sun Nov 14, 2010 3:40 am
by checkii
Try using <onload>

Then add a few while statements to loop some kind of timed casting.

As far as i know, there isn't a way for the bot to tell how much health the person has. But he can just spam heal every 10 seconds on your main.

Like follow, stop move, cast heal, follow etc.

Re: waypoints, I want bot to run without them

Posted: Sun Nov 14, 2010 8:13 am
by lisa
Well so far I created a macro in game to target the dps character. Then I was looking at using something like this

Code: Select all

if ( 50 > target.HP/targetMaxHP*100 ) then
      player:cast("PRIEST_URGENT_HEAL")
btw macro needed to target other player is

Code: Select all

/script TargetUnit("party1");
Assuming only 2 people in party you will always be trying to target the first player other then urself i.e. "party1"
Took me ages to get that working, very little information for macro's online.

You can get basic healing done purely via macros if needed

Code: Select all

/script TargetUnit("party1");
/cast Regenerate
It will target player 1 and then cast regenerate.

I am thinking the easiest way atm is to go with your idea of onload and then just fill it up with timed events and just use macros for everything.

Re: waypoints, I want bot to run without them

Posted: Sun Nov 14, 2010 2:06 pm
by jduartedj
Have you seen Rock5's RBAssist? try it!

Re: waypoints, I want bot to run without them

Posted: Sun Nov 14, 2010 7:49 pm
by lisa
jduartedj wrote:Have you seen Rock5's RBAssist? try it!
Not yet and search came up with a lot of people refering to it but none had any links to it lol

I've decided to scrap the idea for now anyway. Issue I was having last night was additional agro and dps bot not doing any damage to new mob so the healer then pulled threat from healing the dps char. Then dps ignores the new add and just continues on leaving the healer to defend itself and eventually die. Maybe if I changed setting to attack tagged mobs it might work better.

Also I think the constant follow would make the chars look like they are dual boxing, which people on my server seem to be reporting and GM's responding to atm.

I think with 2 dps chars it might work better, just need to get them to work together and focus on same targets. Maybe the Rock5 RBAssist.xml can help with that idea.

Re: waypoints, I want bot to run without them

Posted: Sun Nov 14, 2010 8:33 pm
by jduartedj
lisa wrote:
jduartedj wrote:Have you seen Rock5's RBAssist? try it!
Not yet and search came up with a lot of people refering to it but none had any links to it lol
Currently it is bundled w/ Rom-bot! update rom-bot and it's under waypoints! when you start the bot just choose it!

Re: waypoints, I want bot to run without them

Posted: Mon Nov 15, 2010 7:54 am
by rock5
It doesn't follow, though.

I may one day create a fully 'following, assisting, healing and attacking' script but not yet.

Re: waypoints, I want bot to run without them

Posted: Mon Nov 15, 2010 8:00 am
by jduartedj
rock5 wrote:It doesn't follow, though.

I may one day create a fully 'following, assisting, healing and attacking' script but not yet.
Following is a matter of pressing "\" key (for me at least) so maybe a code to target player and press that key or something would do the trick!