Page 2 of 2
Re: Rock5's lootBodies function
Posted: Tue Apr 19, 2011 1:40 am
by rock5
lisa wrote:sounds good, I'll give it a try today as I am hitting up some instances, aoe style

Make sure you update to rev 598 as there was a small bug in 597.
Re: Rock5's lootBodies function
Posted: Mon Jun 13, 2011 9:26 pm
by fobsauce
rock5 wrote:In that case it would have to be after combat only. Although different people want different things so sometimes people might leave behind stuff that you want. But you make a good point and it's a good reason to stick to after combat only.
I'll see if I can put the final touches on it tomorrow and commit it.
I'm someone who would like to loot out of combat and not necessarily after combat.
How can I set it up to do that?
I tried running lootBodies() and player:lootAll(); in a waypoint file but it hasn't worked.
Re: Rock5's lootBodies function
Posted: Mon Jun 13, 2011 10:04 pm
by rock5
player:lootAll() at waypoints should work. If they are too far apart, though, it could still miss bodies.
If you have a new enough version of the bot with the player:lootAll() function, make sure you don't have this lootbodies userfunction installed. They'll conflict with each other.
Re: Rock5's lootBodies function
Posted: Mon Jun 13, 2011 11:09 pm
by fobsauce
i see, tyvm
Re: Rock5's lootBodies function
Posted: Tue Nov 11, 2014 8:52 am
by Desmond
I should insert into each waypoint or enough to insert in onload?
Re: Rock5's lootBodies function
Posted: Tue Nov 11, 2014 9:09 am
by rock5
lootBodies is old. Don't use it. If you want to manually loot, instead of letting th bot automatically loot, then use player:lootAll(). Put it wherever you want it to loot. If you use it you will still need LOOT and LOOT_ALL set to true in your profile.