LOTRO Bots: LotRO GetTO Bot (Champion) v1.0
Posted: October 20th, 2006, 7:50 am
Okay, so I thought I had premium, but for some reason I couldn't post in confirmed. Anyways, this is my first bot, so yes it sucks. However, it did fight for 5 hours last night (but it wandered into grays so I only got a level and a half). I just put in a very simple loot code, but it should work 50% of the time. This bot could be modded for just about any game. I made this bot for myself personally, so no I won't change it for you. For all those who say WTF tault.com, I payed 25 bucks and bots no work, get off your !@#$%^&* and write your own. It only took me about 6 hours, and this is my first attempt EVER! I have botted on other games with the help of tault.com, so I figured I would give something back. Also, for those of you who take my advice and write your own, before you spend 4 hours coding and timing and auto facing mobs for pulls on a melee bot, ask your roommate if the game has an auto travel to mob option
Speaking of which, you need to turn that on. Don't expect my variables to work for you, get your own using GetPixelColor. Save this info as a .vbs, put it in the xunleashed scripts folder and run it. A little info on bots, they like big open spaces with spread out mobs. Not too spread out, just no elites or big camps to aggro. Also, this bot does not check mob level, so put it where mobs are blue (ie 2-3 levels below you) and let it work there. Well, all that being said, here we go!
Code: Select all
'-------------------------------------------------------------
'-------------------------------------------------------------
'-------------------------------------------------------------
'LotRO GetTO Bot v1.0
'Champion
'Jake Craner
'Lord of the Rings Online Bot
'Configured for his Campion
'Started 10/18/06
'1440x900 (Windowed Mode)
'Turn automove to target ON!
'Please share only with Tault.com members
'If you steal it, atleast put my name in it
'This is my first bot, so yes, it sucks
'ZOMG j00 spelled Ghetto wrong!
'I know, STFU noob I mean WTFBBQ!?
'-------------------------------------------------------------
'None of the following is required:
'It just helped me for copy/paste
'Only change these vars with the code
'Use GetPixelColor to find this information
'(x,y) = colorcode
'mob = xuscripthost.getpixelcolor(476,122) = 15131614
'75%health = xuscripthost.getpixelcolor(218,82) = 631584
'fevour3 = xuscripthost.getpixelcolor(489,810) = 131730
'fevour35 = xuscripthost.getpixelcolor(489,810) = 197509
'fevour4 = xuscripthost.getpixelcolor(508,814) = 65994
'fevour45 = xuscripthost.getpixelcolor(508,814) = 65982
'error = xuscripthost.getpixelcolor(376,185) = 15790320
'lootclick1 = 715,539
'lootclick2 = 715,600
'VK Key Valuces:
'(Used for movement)
's = 83
'd = 68
'w = 87
'a = 65
'-------------------------------------------------------------
'Delay for Window Change
xuscripthost.sleep 5000
i = 1
'Number of times bot will run
Do until i = 500
'Rests till 75% health and if attacked
Do until xuscripthost.getpixelcolor(218,82) = 631584
'If attacked while resting
If xuscripthost.getpixelcolor(476,122) = 15131614 then
Attack
Else
xuscripthost.sleep 100
End If
loop
'Finds Target, see Sub Findtarget
Findtarget
'Attacks Target, see Sub Attack
Attack
'Loots Target, see Sub Loot
Loot
i = i + 1
loop
'-------------------------------------------------------------
'Moves and Tabs for Target
Sub FindTarget
Do Until xuscripthost.getpixelcolor(476,122) = 15131614
Scan
'Kicks the bot out of FindTarget sooner
If xuscripthost.getpixelcolor(476,122) = 15131614 then
Else
xuscripthost.keydown 87
xuscripthost.keydown 65
xuscripthost.sleep 120
xuscripthost.keyup 65
xuscripthost.sleep 3500
xuscripthost.keyup 87
End If
loop
End Sub
'-------------------------------------------------------------
'Spins and Tabs for Target
Sub Scan
i = 0
Do until xuscripthost.getpixelcolor(476,122) = 15131614 or i = 14
xuscripthost.keydown 68
xuscripthost.sleep 120
xuscripthost.keyup 68
xuscripthost.sendkeys "{BACKSPACE}"
xuscripthost.sleep 100
i = i + 1
loop
End Sub
'-------------------------------------------------------------
'Attacks the Target
Sub Attack
'Retargets and runs to mob
xuscripthost.sendkeys "{ESC}"
xuscripthost.sleep 1000
xuscripthost.sendkeys "{BACKSPACE}"
xuscripthost.sleep 1000
xuscripthost.sendkeys "`"
xuscripthost.sleep 8000
While xuscripthost.getpixelcolor(476,122) = 15131614
'If health is low and 4 Fevour
If xuscripthost.getpixelcolor(508,814) = 65994 or xuscripthost.getpixelcolor(508,814) = 65982 then
xuscripthost.sendkeys 5
xuscripthost.sleep 100
xuscripthost.sendkeys 1
xuscripthost.sleep 2500
'If 3 Fevour
Else If xuscripthost.getpixelcolor(489,810) = 131730 or xuscripthost.getpixelcolor(489,810) = 197509 then
xuscripthost.sendkeys 1
xuscripthost.sleep 2500
'Normal Attack
Else
xuscripthost.sendkeys 2
xuscripthost.sleep 2500
End If
End If
'If the target is too far away/behind you
If xuscripthost.getpixelcolor(376,185) = 15790320 and xuscripthost.getpixelcolor(476,122) = 15131614 then
xuscripthost.keydown 83
xuscripthost.sleep 1500
xuscripthost.keyup 83
xuscripthost.sleep 100
xuscripthost.sendkeys "{ESC}"
xuscripthost.sleep 2500
End If
Wend
End Sub
'-------------------------------------------------------------
'Loots the Target
Sub Loot
xuscripthost.sleep 1000
xuscripthost.mousemove 715,530
xuscripthost.sleep 1000
xuscripthost.rmousedown 715,530
xuscripthost.sleep 100
xuscripthost.rmouseup 715,530
xuscripthost.sleep 1000
xuscripthost.mousemove 715,600
xuscripthost.sleep 1000
xuscripthost.lmousedown 715,600
xuscripthost.sleep 100
xuscripthost.lmouseup 715,600
End Sub
'-------------------------------------------------------------
'-------------------------------------------------------------
'-------------------------------------------------------------