Page 1 of 1

serial of backpack

Posted: 2004-11-09 18:43:48
by Badza
How to get serial of another player's backpack? :) (not my backpack :)

Posted: 2004-11-09 19:07:23
by lalla521
i'm not sure that you can...

Posted: 2004-11-09 20:59:54
by AGRS

Code: Select all

sub main()
  UO.Print('Select Character')
  UO.Exec('addobject CharObj')
  While UO.Targeting()
    Wait(100)
  Wend
  If UO.GetSerial('CharObj')=='0x00000000' then
    Return
  EndIf
  UO.IgnoreReset()
  Repeat
    UO.FindType('0x0E75', '-1', 'CharObj')
    While UO.FindCount()>0
      If UO.GetLayer('finditem')=='Bpack' Then
        UO.Print("I found it! It's serial "+UO.GetSerial('finditem'))
        Return
      EndIf
      UO.Ignore('finditem')
    Wend
  Until UO.FindCount()<2
end sub

Posted: 2004-11-10 10:47:37
by Yoko
othercharID.backpackTYPE

example:
,click laststatus.backpack

Posted: 2004-11-10 11:46:30
by Badza
thnx :)

Posted: 2004-11-10 12:51:21
by AGRS
If you want to use othercharID.backpackTYPE, be sure your "otherchar" has a backpack.

Posted: 2004-11-10 14:06:29
by Badza
:)