Page 1 of 1

mysterious bags

Posted: Wed Nov 16, 2016 9:37 pm
by pugzilla
hi im farmin blue items for t6 items. i can get the bot to loot them fine with

Code: Select all

if player:findNearestNameOrId("Mysterious Bag") then
         local filename = getExecutionPath() .. "/logs/giftbag.log";
         local file, err = io.open(filename, "a+");
         if file then
            file:write("Date: "..os.date().." scout")
            file:close();
         end
         player:target_Object("Mysterious Bag")
         yrest(1000)
         player:target_Object("Mysterious Bag")
         yrest(1000)
	 end
but my problem is im using 12 or so alts so more spwan . but the bot wont loot them i have to manually do it since its not always rdy to loot, just wonderin if there is a way for the bot to do it thanks!

Re: mysterious bags

Posted: Fri Nov 18, 2016 8:28 am
by Bill D Cat
Just an FYI, but only mobs that have one of the these 4 buffs will randomly drop mysterious bags. I would try to identify those mobs and attack them first, and only go after the other mobs in the area if there are no more with the buffs. Should be pretty easy to check to see if they have one of the buffs using these IDs.

Empower - 620148
Arduous - 620149
Frenzy - 620150
Tenacious - 620151

Re: mysterious bags

Posted: Fri Nov 18, 2016 6:29 pm
by pugzilla
i get tons of bags to drop , i farm those mobs that reswapn isntanly in splitwater. the prolbem is my bot wont loot the bags that arnt his intill the wait time so anyone can click on it. but the bot doesnt do that it only will loot the bag that is his or intill i click the bag manually

Re: mysterious bags

Posted: Fri Nov 25, 2016 4:26 pm
by beanybabe
try the mod i made of the bag loot it will loot every thing

viewtopic.php?f=21&t=5090&hilit=bags

Re: mysterious bags

Posted: Fri Nov 25, 2016 5:34 pm
by pugzilla
hey beanie, ya i looked at that page before but its still not what i need it to do.

when i take 12-15 alts bag farming (more spwan) there is a wait time and if you try to click on a bag that isnt your it says "this does not belong to you."

so the bot doesnt even try to loot it. but the bags will just vanish after it waits to long. they need to be clicked after so long to make the bag lootable to others, so the bot can loot it. im just not sure if that can be done .

Re: mysterious bags

Posted: Sun Nov 27, 2016 2:38 am
by beanybabe
it should work i used it in party it would just wait till it could open it, if it is missing the 1000 may need to be made a little smaller. 1000 is 1000 mili seconds or 1 second wait.

Re: mysterious bags

Posted: Sun Nov 27, 2016 1:42 pm
by pugzilla

Code: Select all

-- get gift bags
local mBag=player:findNearestNameOrId({107447,105930,105982,107217,107442,107444,107445,107446})
if mBag ~= nul then
   player:lootAll();
   yrest(1000);
   player:target_Object(mBag.Id,100,true,true)
else   local mBag=nul
end
this is the code i tryed still doesnt loot em, they just vanish. is it becasue im in a raid and not just a party.

Re: mysterious bags

Posted: Sun Nov 27, 2016 1:45 pm
by pugzilla
i have to manually open the bags before the bot loots it , it just doesnt know they are there it seems



also tryed to lower the wait time, and tryed in just a party . the bot ingored the bags completely then they vanish

Re: mysterious bags

Posted: Mon Nov 28, 2016 7:53 am
by bottyhotty
Hm, I remember having same problem even with manual farming. Would freeforall loot change anything?

Or maybe if you set the timer for so long, that he waits before he sees the white bag for lets say 40sec, then loots it? I think bag timers are always the same, so they should be lootable after certain period of time. unfortunatelly they only stay present for about 10-15sec after that timer goes before they vanish.

If you figure out the system, let us know :)

Re: mysterious bags

Posted: Mon Nov 28, 2016 8:34 am
by pugzilla
ya tryed ffa master loot no luck with that. still messing around but im not the best at this just lookin at forums and asking for help its best i can do haha