Yoko
http://forum.yoko.com.ua/

why?
http://forum.yoko.com.ua/viewtopic.php?f=1&t=301
Page 1 of 1

Author:  Spirito [ 2004-05-10 00:35:52 ]
Post subject:  why?

Code:
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

Author:  totus [ 2004-05-10 00:55:00 ]
Post subject:  Simple

if u wanna empty ur backpack, use this:
Code:
While UO.count('0x1BF2')>0 #0x1BF2 = ID LINGOTTI 
    UO.EmptyContainer(1,UO.ObjAtLayer('Bpack))
    wait(5000)
WEND

Author:  Spirito [ 2004-05-10 14:58:16 ]
Post subject: 

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

Author:  totus [ 2004-05-10 15:06:04 ]
Post subject:  Don't forget...

to set the CatchBag or ReceivingContainer (by default - ur backpack)


Sincerely Yours...

Author:  Spirito [ 2004-05-10 18:03:34 ]
Post subject: 

:(

Author:  Spirito [ 2004-05-11 14:56:28 ]
Post subject: 

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..

Author:  Lord Ruslan Nightmare [ 2004-05-14 14:13:41 ]
Post subject: 

Code:
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

Author:  Spirito [ 2004-05-14 14:49:57 ]
Post subject: 

:D

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/