,setreceivingcontainer doesnt work for me
Moderators: Murderator+, Murderator
,setreceivingcontainer doesnt work for me
hello,
anyone know what may cause ,setreceivingcontainer to NOT work? im macroing carpentry, and want all my items that i make to go into bag so i can throw it away easily when im done, but when i use that command and target a bag nothing happens. it used to work years ago but now it doesnt :S anyone know what might be wrong?
anyone know what may cause ,setreceivingcontainer to NOT work? im macroing carpentry, and want all my items that i make to go into bag so i can throw it away easily when im done, but when i use that command and target a bag nothing happens. it used to work years ago but now it doesnt :S anyone know what might be wrong?
Code: Select all
var chest='id chest'
#####
uo.moveitem('needed item','quantity','chest')
#####
use this command, it'll work.
все что нас не убивает - делает нас крепче!
Driskill wrote:Code: Select all
var chest='id chest'
#####
uo.moveitem('[b]needed item'[/b],'quantity','chest')
#####
use this command, it'll work.
it will only move objects, not types, so it will move 1 item and then stop...
ie if i try to make it like this:
Code: Select all
var bag='0x400D83A2'
sub movetobag()
while 1
uo.moveitem('0x13B3','1','bag')
wait(5000)
wend
end sub
it says "cant pickup item"
Code: Select all
uo.findtype(type,[color,containerobject/ground/my])
uo.moveitem('finditem',1,bag)
все что нас не убивает - делает нас крепче!
Code: Select all
var bag = '0x400D83A2'
while 1
uo.findtype('0x13B3',1,'my')
if uo.findcount()>=1 then
checklag()
uo.moveitem('finditem',1,bag)
endif
wait(5000)
wend
Code: Select all
var bag = '0x400D83A2'
while 1 # вечный цикл
uo.findtype('0x13B3',1,'my') #ищет везде и в подсумках тоже... что будет если bag унего в сумке?
if uo.findcount()>=1 then #тюнинг можно сделать
checklag() #нах не надо;)
uo.moveitem('finditem',1,bag)
endif
wait(5000) #уж можно было бы и за игнорить тогда нах ищем везде руду;)
wend
в общем если изменить май на бекпек... то все в принципи цивильно... даже без игнора;)
Grin wrote:Code: Select all
while 1 # вечный цикл
Он так и хотел.
Grin wrote:Code: Select all
if uo.findcount()>=1 then #тюнинг можно сделать
Расскажите *)
Grin wrote:Code: Select all
wait(5000) #уж можно было бы и за игнорить тогда нах ищем везде руду;)
wend
Если не ошибаюсь, без вэйта клиент просто повиснет.
У меня, если забываю в таких случаях вэйт поставить, клиент берет на себя все больше ЦП и очень скоро всему настает полный пц - иногда даже отключить не получается.