Page 1 of 1

why?

Posted: 2004-05-10 00:35:52
by Spirito

Code: Select all

While UO.count('0x1BF2')>0 #0x1BF2 = ID LINGOTTI
    uo.exec("emptycontainer 1")
    wait(2000)
   UO.LClick(880,557) #coord backpack
    wait(3000)
WEND


why in this code i must place the cursor on backpack or emptycontainer can't target the backpack..

how can i use for target backpack without place cursor on it?

thx

Simple

Posted: 2004-05-10 00:55:00
by totus
if u wanna empty ur backpack, use this:

Code: Select all

While UO.count('0x1BF2')>0 #0x1BF2 = ID LINGOTTI 
    UO.EmptyContainer(1,UO.ObjAtLayer('Bpack))
    wait(5000)
WEND

Posted: 2004-05-10 14:58:16
by Spirito
i will not use backpack in paperdoll..

i have try..
UO.EmptyContainer(1,0x45E279FC) #with 0x45E279FC is serial of my backpack but injection will block

Don't forget...

Posted: 2004-05-10 15:06:04
by totus
to set the CatchBag or ReceivingContainer (by default - ur backpack)


Sincerely Yours...

Posted: 2004-05-10 18:03:34
by Spirito
:(

Posted: 2004-05-11 14:56:28
by Spirito
probably i don't have speak good..
i will use emptycontainer on a backpack that i have into my main backpack.

'Bpack' is the main backpack, and however don't start..

Posted: 2004-05-14 14:13:41
by Lord Ruslan Nightmare

Code: Select all

var backpack
uo.findtype("-1")
if uo.findcount() then
  backpack = uo.containerof("finditem")
else
  return 0
endif
# this is the way to obtain backpack's serial, if you need...

#to empty backpack:
uo.ignorereset()
while uo.count("-1")
  uo.findtype("-1")
  uo.moveitem("finditem","-1","destination (ground or container serial)")
  wait(400) #fastloot protection
  uo.ignore("finditem")
wend
uo.ignorereset()

#i don't like emptycontainer, because it hold client until all packets about item movement is sent

Posted: 2004-05-14 14:49:57
by Spirito
:D