[English] i need autoloot script for injection

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
lofrank
Posts: 7
Joined: 2005-10-03 00:34:31

[English] i need autoloot script for injection

Post by lofrank »

have any1 a good autoloot script for injection?
flake
Expert!
Posts: 746
Joined: 2004-08-11 23:56:17
Location: The Citadel
Contact:

Post by flake »

Try this one

Code: Select all

sub LooterNew() 
VAR i, n 
VAR w = 500  ; the delay after a move
VAR razmer = 9  ; the size of the DIM 

DIM Loot[9] 
    Loot[1] = '0x0EED' 
    Loot[2] = '0x1BD1' 
    Loot[3] = '0x0F87' 
    Loot[4] = '0x14ED' 
    Loot[5] = '0x0EED' 
    Loot[6] = '0x1031' 
    Loot[7] = '0x0F51' 
    Loot[8] = '0x0F51' 
    Loot[9] = '0x0F06' 

  if uo.getdistance( 'lastcorpse' ) < 3 then 
    uo.deletejournal() 
    repeat 
      uo.findtype( '-1', '-1', 'lastcorpse' )  
      n = 0 
        for i = 1 to razmer 
          if uo.getgraphic( 'finditem' ) == Loot[i] then 
            uo.moveitem( 'finditem', 'all', 'my' ) 
            wait(w) 
              if uo.injournal( 'UNSP' ) then 
                wait(w*2) 
                uo.deletejournal() 
              endif 
            n = 1 
            goto nextitem 
           endif          
        next 
          if n == 0 then 
            uo.ignore( 'finditem' ) 
          endif 
      nextitem: 
    until uo.findcount() == 0 
  else 
    uo.print( 'The Corpse is too far' ) 
  endif 
endsub
lofrank
Posts: 7
Joined: 2005-10-03 00:34:31

Post by lofrank »

it just give errors, like :
unable to open corpse, is far.
or : invalid object: finditem
lofrank
Posts: 7
Joined: 2005-10-03 00:34:31

Post by lofrank »

god is working,
thanx
flake
Expert!
Posts: 746
Joined: 2004-08-11 23:56:17
Location: The Citadel
Contact:

Post by flake »

so everything is ok?
ahey
Posts: 9
Joined: 2015-03-17 00:04:50

Re: [English] i need autoloot script for injection

Post by ahey »

is this script looting NPC's or players?
Kynep
Expert!
Posts: 1348
Joined: 2006-02-07 08:51:40
Location: г. Старый Оскол
Contact:

Re: [English] i need autoloot script for injection

Post by Kynep »

ahey wrote:is this script looting NPC's or players?
This script is looting last opend corpse. No matter players corpse or NPC.
ahey
Posts: 9
Joined: 2015-03-17 00:04:50

Re: [English] i need autoloot script for injection

Post by ahey »

script is only looting gold btw. not other things
Post Reply