Page 1 of 1
Follow and loot only.
Posted: Mon Jul 30, 2012 9:04 am
by Tamyra
So, I have been leveling a lot of chars and since I do not have waypoints made for this and feel I could probably do it faster manually, I was wondering if there was a way to have one char auto follow another AND auto loot all the quest items. I'd be manually accepting the quests, but the following and looting portion I need automated.
Re: Follow and loot only.
Posted: Mon Jul 30, 2012 9:19 am
by lisa
in your chars profile onleavecombat have
player:lootAll()
Just use the partydps WP, it will follow and help try to kill stuff.
Re: Follow and loot only.
Posted: Mon Jul 30, 2012 11:11 am
by Tamyra
There's a party dps waypoint, where?
Re: Follow and loot only.
Posted: Mon Jul 30, 2012 5:55 pm
by lisa
I would normally answer in the waypoints folder but I seem to remember you playing on an old server and using an older revision of the bot.
So it might be there or it might not.
Re: Follow and loot only.
Posted: Mon Jul 30, 2012 8:34 pm
by Tamyra
No that was not me, yes I did find it, Yes it does seem to be working, but not the way I want it to. Bot assists attacking anything I have put into focus, which I do not need it to do, but does not loot. It is however following automatically which I do want it to do. When I try to loot manually it stops the auto looting process because it is on auto follow. The only thing I can think of is going through and setting every quest item drop in lootomatic on the quest line into "autoloot". So that it takes everything automatically.
Re: Follow and loot only.
Posted: Mon Jul 30, 2012 10:22 pm
by lisa
this will probably work
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
while(true) do
player:update()
if player.Battling then
repeat
player:update()
player:checkSkills(true);
yrest(1000)
until not player.Battling
end
local Lootable = player:findEnemy(false, nil, evalTargetLootable)
if not lootable then
getNameFollow()
else
player:target(Lootable)
player:update()
if player.TargetPtr ~= 0 then
player:loot()
end
end
yrest(1000)
end
</onLoad>
</waypoints>
If your profile of the follower has PARTY_FOLLOW_NAME in it then it will follow tha character otherwise it will just follow the first party member on it's screen.
Re: Follow and loot only.
Posted: Tue Jul 31, 2012 12:31 am
by Tamyra
lisa wrote:this will probably work
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
while(true) do
player:update()
if player.Battling then
repeat
player:update()
player:checkSkills(true);
yrest(1000)
until not player.Battling
end
local Lootable = player:findEnemy(false, nil, evalTargetLootable)
if not lootable then
getNameFollow()
else
player:target(Lootable)
player:update()
if player.TargetPtr ~= 0 then
player:loot()
end
end
yrest(1000)
end
</onLoad>
</waypoints>
Thanks I'll test this out tomorrow when I'm more awake.
lisa wrote:
If your profile of the follower has PARTY_FOLLOW_NAME in it then it will follow tha character otherwise it will just follow the first party member on it's screen.
I'm not sure if it does have that in the profile, but since it is only 2 chars in the party, that part of the waypoint was already working. It was already following the first person.
Re: Follow and loot only.
Posted: Tue Jul 31, 2012 3:32 pm
by Tamyra
Tested:
Following...good.
Not attacking...good.
Not looting still...*sighs*....not sure how to fix this, will continue testing.
Re: Follow and loot only.
Posted: Wed Aug 01, 2012 9:59 am
by Tamyra
Okay, did some final testing with my profile settings, and found something that works. I got the idea from the EoJ farming WP, in that it waits for proximity/aggro before attacking anything. The way I set mine up was to target the mobs but only attack from close range so that it forces the bot to see the corpse and loot it. I did this as a result of the perfume being an outrageous cost now so that everything would be looted.
Where I had the problem before with partydps was that the character following was the low HP character not the main attacker, so I swapped them and started using your partydps WP with the EoJ profile. Only I set the target distance to 225 but the combat distance down to like AoE range. That way the attacker even tho following can see the "I" I've put on the mob from a distance, and attack it. It's like having an over-eager OP attack dog/body guard everywhere I go....really funny to watch, and the patterns that I set it in, you'd just think that they were 2 players in a party, doing separate things towards the same quests. I just have to pause the the bot when I go into town to do quest pick-ups and turn ins, and from the quest log item links themselves I can set lootomatic to auto pick everything up. It basically works splendidly. Thanks soooo much!!

Re: Follow and loot only.
Posted: Tue Aug 07, 2012 7:41 am
by lisa
Just spent the last hour trying to work out why this code wasn't working, was starting to drive me nuts.
Issue was a lowercase letter instead of capitals....
Code: Select all
local Lootable = player:findEnemy(false, nil, evalTargetLootable)
if not lootable then
getNameFollow()
else
Should be
Code: Select all
local Lootable = player:findEnemy(false, nil, evalTargetLootable)
if not Lootable then
getNameFollow()
else
there is an updated party.lua if you want to test it.
http://www.solarstrike.net/phpBB3/viewt ... 334#p40334