taultunleashed logoLOTRO Program - Captain Trainer : LOTROExtreme
newtopic  postreply
 [ 6 posts ] 
blue large dot

LOTRO Program - Captain Trainer : LOTROExtreme

Posted: June 29th, 2007, 11:23 am
 
Tault_mississippi

Total Posts: 257
Joined: November 8th, 2004, 3:21 am
Tault_mississippi's Reps: 0
User avatar
Lifetime Member (Scripting)
premium
If you you are playing a Captain, you can easily complete these two deeds with eXhume.

You can take something like the code below - find the appropriate X/Y locations for summoning your herold, dismissing him, and casting Word of Courage - and then find a nice, out of the way place to go run it.

You can complete the Captian's Valour in one day, but the Words of Courage has a 100 use cap per day on it, so you are looking at a minimum of five day's to cap it out.

Enjoy. :-)


Code:
dim bgwHWND
dim X
dim Y
dim iteration
dim iterations

iteration = 0
iterations = 477

ownLOTROWindow


while ( iteration <= iterations)
  summonHerald
  healHerald
  dismissHerald
  debugLog "Completed iteration: " & iteration & " of " & iterations
  sleep 4000
  iteration = iteration + 1
wend
sub summonHerald
    Mouse.FullMouseMove 882, 935, 1
    Mouse.LMouseClick 882, 935, 1, 1
    sleep 12000
end sub

sub healHerald
    Mouse.FullMouseMove 222, 148, 10
    Mouse.LMouseClick 222, 148, 1, 10

    Mouse.FullMouseMove 623, 938, 10
    Mouse.LMouseClick 623, 938, 1, 10
    sleep 12000
end sub

sub dismissHerald
    Mouse.FullMouseMove 222, 148, 10
    Mouse.RMouseClick 222, 148, 1, 10

    Mouse.FullMouseMove 273, 174, 10
    Mouse.LMouseClick  273, 174, 1, 10
    sleep 1000
end sub


sub summonBubba
    Mouse.FullMouseMove 882, 935, 10
    Mouse.LMouseClick 882, 935, 1, 10
    sleep 12000
end sub

sub ownLOTROWindow
    debugLog "Attempting find the LoTRO Window"
    bgwHWND = Windows.FindWindowByTitle("The Lord of the Rings Online")
    if ( bgwHWND <= 0) then
        debugLog "Whoops, you need to launch LOTRO first..."
    end if
    ShowWindow bgwHWND
    Sleep 500
    FocusWindow bgwHWND
    Sleep 500
    debugLog "Success! LOTRO Found "
end sub

sub mouseLoc
while (true)

 X = Mouse.GetCursorPosX()
 y = Mouse.GetCursorPosY()

 debuglog "X:" & X & "\t Y:" &Y
 Sleep 1000
wend
end sub


Reply with quote
Posted: June 29th, 2007, 7:20 pm
 
Tault_admin

Total Posts: 30069
Joined: November 9th, 2002, 9:57 am
Tault_admin's Reps: 1440
User avatar
administrator
Mod in Training
Moving to lotroextreme location and granting 500 points nice one.


Reply with quote
Posted: July 1st, 2007, 2:35 am
 
antareus

Total Posts: 296
Joined: March 29th, 2006, 8:59 am
antareus's Reps: 11
User avatar
Active User > 50 Posts
premium
Nice bot, although wouldn't it be easier/simpler if the bot simply used key presses instead of mouse cords?


Reply with quote
Posted: July 1st, 2007, 3:27 am
 
Tault_mississippi

Total Posts: 257
Joined: November 8th, 2004, 3:21 am
Tault_mississippi's Reps: 0
User avatar
Lifetime Member (Scripting)
premium
Perhaps - but then I wasn't particularly shooting for easy and this seemed trivial enough to me.

By the way, what is the keypress for targeting your Herald and/or dismissing your Herald?

See - since I didn't know those two pieces of information, it was far simpler for me (personally) to just use mouse coords than to go figure that out. :-)


Reply with quote
Posted: July 1st, 2007, 7:18 am
 
antareus

Total Posts: 296
Joined: March 29th, 2006, 8:59 am
antareus's Reps: 11
User avatar
Active User > 50 Posts
premium
Tault_mississippi wrote:
Perhaps - but then I wasn't particularly shooting for easy and this seemed trivial enough to me.

By the way, what is the keypress for targeting your Herald and/or dismissing your Herald?

See - since I didn't know those two pieces of information, it was far simpler for me (personally) to just use mouse coords than to go figure that out. :-)


Makes sense, but I meant in a more general view since there are a lot of users who dont seem to understand how to get mouse cords :P.
But to answer your question, you can either press F1 twice to select the herald, or press F10 if he is the nearest npc.

To dismiss the herald you just need to type /pet releaseall

There might be an easier way to target the herald, but thats what I know so far :P.


Reply with quote
Posted: July 1st, 2007, 7:21 am
 
Tault_mississippi

Total Posts: 257
Joined: November 8th, 2004, 3:21 am
Tault_mississippi's Reps: 0
User avatar
Lifetime Member (Scripting)
premium
right on. I'll see if I can work out a function that reliably targets the pet.


Reply with quote
Want Advertisements After The Last Post Removed? Create A Free Account!

blue large dot Who is online
Users browsing this forum: No registered users and 2 guests

cron
Popular Sections
SWTOR Cheats
Guild Wars 2 Cheats
Guild Wars 2 Hacks
Guild Wars 2 Bots
Diablo 3 Cheats
Guild Wars 2 Mods

Popular Sections
WoW Cataclysm Cheats & Exploits
WoW Cataclysm Hacks & Bots
Star Wars The Old Republic Cheats
SWTOR Mods
Torchlight 2 Cheats
SWTOR Space Mission Bots
Site Nav and RSS
RSS Feed of LOTROExtreme RSS Feed 
Sitemap of LOTROExtreme Sitemap 
SitemapIndex SitemapIndex
RSS Feed RSS Feed
Channel list Channel list
left bottom corner Site and Contents Copyright 2001-2012 All Rights Reserved TaultUnleashed.com bottom corner
top left
top right
createaccount
Username:   Password:   Remember Me?