Page 1 of 3

LOTRO Bots - Basic Hunting Bot

Posted: May 18th, 2007, 4:55 pm
by antareus
Well here you go, here's an extremely basic lotro bot. Why do I call it extremely basic? Well mainly cause that's what it is lol.

Let me start by telling you what the bot does do.

- First it presses TAB to get the next mob. The bot will not check to see if you have a target as I could not get a proper function for that to work.
-Secondly it commences the autoattack squence. Keep in mind, I didn't add a "walktomob" command as I think its pointless to have when lotro comes with an option that makes your character automatically walk to his target once he begins the auto attack sequence. To turn this on, go to options>combat options and enable "auto move to target".
-After starting the autoattack sequence the bot will wait 5 seconds as your char reaches his/her target. Then it will begin to use skill 1 to 5 on your action bar.
-It will continue to do so untill the mobs health reaches 0. After that it will do /sit if your health is below max health. the bot will then keep sitting untill your health = maxhealth.. however this is rather buggy as apparently your health doesnt update very consistently.
- once your health=maxhealth, the bot will do /stand and restart the bot.

and thats it. Like I said it's extremely easy and is intended as a test bot. It also does not have a waypoint system set up yet and it is therefore advised that you only try this bot in semi crowded areas.



NOTE! Make sure to define your hotkeys and such at the top of the bot! This will be the only part of the macro that you might have to edit in order for it to work with your char.


I will continue to update the bot as lotro extreme is updated.

Enjoy :P

Posted: May 18th, 2007, 9:00 pm
by Tault_admin
Good start. 1k to you.

Re: LOTRO Bots - Basic Hunting Bot

Posted: May 19th, 2007, 12:01 pm
by mikenashville
antareus wrote:Well here you go, here's an extremely basic lotro bot. Why do I call it extremely basic? Well mainly cause that's what it is lol.

Let me start by telling you what the bot does do.

- First it presses TAB to get the next mob. The bot will not check to see if you have a target as I could not get a proper function for that to work.
-Secondly it commences the autoattack squence. Keep in mind, I didn't add a "walktomob" command as I think its pointless to have when lotro comes with an option that makes your character automatically walk to his target once he begins the auto attack sequence. To turn this on, go to options>combat options and enable "auto move to target".
-After starting the autoattack sequence the bot will wait 5 seconds as your char reaches his/her target. Then it will begin to use skill 1 to 5 on your action bar.
-It will continue to do so untill the mobs health reaches 0. After that it will do /sit if your health is below max health. the bot will then keep sitting untill your health = maxhealth.. however this is rather buggy as apparently your health doesnt update very consistently.
- once your health=maxhealth, the bot will do /stand and restart the bot.

and thats it. Like I said it's extremely easy and is intended as a test bot. It also does not have a waypoint system set up yet and it is therefore advised that you only try this bot in semi crowded areas.



NOTE! Make sure to define your hotkeys and such at the top of the bot! This will be the only part of the macro that you might have to edit in order for it to work with your char.


I will continue to update the bot as lotro extreme is updated.

Enjoy :P
I can't wait to try it out! Thanks!

Posted: May 19th, 2007, 2:40 pm
by amu9308
Why does the script say it is a Vanguard bot?

Posted: May 19th, 2007, 3:43 pm
by antareus
amu9308 wrote:Why does the script say it is a Vanguard bot?
Cause I used a lot of the code from my vanguard warrior bot. Thought I changed the title though. Will fix that now. Also dont be confused by some of the VG commands, those are just built in functions that havent been converted to lotro yet.

Posted: May 21st, 2007, 7:13 am
by mikenashville
How do I actually load your script and run it? I saved it to the same folder as the other scripts and loaded it, but when I run it, the radar runs and not yours.

Posted: May 21st, 2007, 10:45 am
by lawson104
When I run your script it attacks the first targeted mob then rests and never gets back up. Any ideas?

Posted: May 21st, 2007, 12:24 pm
by sanktanglia
there are currently some problems with getting yer characters health, so it might have something to do with that

Posted: May 21st, 2007, 2:16 pm
by antareus
mikenashville wrote:How do I actually load your script and run it? I saved it to the same folder as the other scripts and loaded it, but when I run it, the radar runs and not yours.
Start lotro extreme and open my file as a project.
lawson104 wrote:When I run your script it attacks the first targeted mob then rests and never gets back up. Any ideas?
As sanktanglia mentioned. Getting player health is currently bugged atm. You can either just remove it and run without it. Or you can try restarting lotro till the health variable works.

However, a fix for this issue should be in version 1.0 of lotro extreme, which I hope will come out soon.

Posted: May 21st, 2007, 3:58 pm
by mikenashville
antareus wrote:
mikenashville wrote:How do I actually load your script and run it? I saved it to the same folder as the other scripts and loaded it, but when I run it, the radar runs and not yours.
Start lotro extreme and open my file as a project.


That worked!

Posted: May 22nd, 2007, 4:56 am
by x000013
const HOTKEY_NEAREST_MOB = "{F10}"

For EU players its BACKSPACE.

:)

Posted: May 22nd, 2007, 8:03 am
by antareus
x000013 wrote:const HOTKEY_NEAREST_MOB = "{F10}"

For EU players its BACKSPACE.

:)
I am EU, guess I must have changed it haha :P. But yeah, should be easy to reconfigure in the bot.

Posted: May 22nd, 2007, 5:02 pm
by demekeq
the bot loads fine and starts to target the nearest enemy but its usually 20+ yards away and even after turning on walk to mob he just sits there clicking skills 1-5. Did I miss an option?

Posted: May 22nd, 2007, 11:57 pm
by slowpoke2
There should be a "walk to mob" option in your lotro in game "options" menu.

Posted: May 23rd, 2007, 1:45 am
by x000013
antareus wrote:
x000013 wrote:const HOTKEY_NEAREST_MOB = "{F10}"

For EU players its BACKSPACE.

:)
I am EU, guess I must have changed it haha :P. But yeah, should be easy to reconfigure in the bot.
Sorry my bad, F10 does the same as BACKSPACE. :/