serial of backpack

General Injection issues

Moderators: Murderator+, Murderator

Post Reply
Badza
Posts: 19
Joined: 2004-06-19 10:49:57
Contact:

serial of backpack

Post by Badza »

How to get serial of another player's backpack? :) (not my backpack :)
lalla521
Posts: 80
Joined: 2004-04-06 22:41:11

Post by lalla521 »

i'm not sure that you can...
AGRS
Expert!
Posts: 1007
Joined: 2004-04-04 21:40:09
Contact:

Post 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
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

othercharID.backpackTYPE

example:
,click laststatus.backpack
Badza
Posts: 19
Joined: 2004-06-19 10:49:57
Contact:

Post by Badza »

thnx :)
AGRS
Expert!
Posts: 1007
Joined: 2004-04-04 21:40:09
Contact:

Post by AGRS »

If you want to use othercharID.backpackTYPE, be sure your "otherchar" has a backpack.
Last edited by AGRS on 2004-11-10 17:56:54, edited 1 time in total.
Badza
Posts: 19
Joined: 2004-06-19 10:49:57
Contact:

Post by Badza »

:)
Post Reply