why?

General Injection issues

Moderators: Murderator+, Murderator

Post Reply
Spirito
Posts: 27
Joined: 2004-05-04 20:05:56

why?

Post 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
totus
Posts: 48
Joined: 2004-04-17 23:02:41
Location: Odessa, Ukraine
Contact:

Simple

Post 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
...thinking - 37% complete...
Spirito
Posts: 27
Joined: 2004-05-04 20:05:56

Post 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
totus
Posts: 48
Joined: 2004-04-17 23:02:41
Location: Odessa, Ukraine
Contact:

Don't forget...

Post by totus »

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


Sincerely Yours...
...thinking - 37% complete...
Spirito
Posts: 27
Joined: 2004-05-04 20:05:56

Post by Spirito »

:(
Spirito
Posts: 27
Joined: 2004-05-04 20:05:56

Post 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..
Lord Ruslan Nightmare
Expert!
Posts: 359
Joined: 2004-04-25 11:11:07
Contact:

Post 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
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...
Spirito
Posts: 27
Joined: 2004-05-04 20:05:56

Post by Spirito »

:D
Post Reply