I will give You example how I want it to work.
I will hunt without looting and my mate will follow me and open all bodies that I killed and loot them. And he wont do it manualy, only open dead body and bot will loot items to BP's.
Your first script was good, but I just asking its possible to separate it.
06-14-2014, 06:39 PM
panlu
bump! I need this too someone help?
09-13-2014, 11:19 AM
wybocenooba
why with script and looting bot wait 2 sec then take loot? with hand i can do it faster but my mouse its broke ;/
09-14-2014, 06:17 PM
mistgun
@Zajdel @panlu @wybocenooba
Try this bro:
set backpacks inside looting section "Destination"
init start
local monsters = {'Dwarf', 'Demon'} -- name of monster must be f.e "Dead Dwarf" or just "Dwarf", if You type f.e "Dwarf Soldier" it wont work
local clickWait = {10, 30} -- it means X to X ms
local pressWait = {10, 30} -- it means X to X ms
local category = 'c' -- leave empty if You want to take all items (non category)
-- Don't touch below!
setsetting('Settings/MouseMoveSpeed', 'Instantaneous')
setsetting('Settings/ScrollMode', 'Click on scrollbar')
setsetting('Settings/ClickWaitTime', tostring(clickWait))
setsetting('Settings/PressWaitTime', tostring(pressWait))
init end
auto(50)
foreach lootingitem m category do
for i, j in ipairs(monsters) do
local count = itemcountcorpse(j, m.id)
moveitemsfromcorpse(j, m.destination, count, m.id)
end
end
09-15-2014, 09:04 AM
Zajdel
Thanks bro, I will test it when I will be at home. :D
09-17-2014, 10:02 PM
wybocenooba
its work good but idk what is this
local monsters = {'Dwarf', 'Demon'} -- name of monster must be f.e "Dead Dwarf" or just "Dwarf", if You type f.e "Dwarf Soldier" it wont work
09-18-2014, 11:08 AM
wybocenooba
@mistgun can you make this script without monsters name i need take gp from all monsters??
09-18-2014, 02:54 PM
mistgun
Quote:
Originally Posted by wybocenooba
@mistgun can you make this script without monsters name i need take gp from all monsters??
use this then
-- All monsters version
init start
local clickWait = {10, 30} -- it means X to X ms
local pressWait = {10, 30} -- it means X to X ms
local category = '' -- leave empty if You want to take all items (non category)
-- Don't touch below!
setsetting('Settings/MouseMoveSpeed', 'Instantaneous')
setsetting('Settings/ScrollMode', 'Click on scrollbar')
setsetting('Settings/ClickWaitTime', tostring(clickWait))
setsetting('Settings/PressWaitTime', tostring(pressWait))
init end
auto(50)
foreach lootingitem m category do
foreach settingsentry e 'Targeting/Creatures' do
local name = getsetting(e, 'Name')
local count = itemcountcorpse(name, m.id)
moveitemsfromcorpse(name, m.destination, count, m.id)
end
end
09-29-2014, 11:21 PM
wybocenooba
@mistgun this script is good but when im trying use it on demon, hero, ghoul, mummy it not working why?
09-30-2014, 03:35 PM
mistgun
Quote:
Originally Posted by wybocenooba
@mistgun this script is good but when im trying use it on demon, hero, ghoul, mummy it not working why?