Yoko

All sides of Injection
It is currently 2014-09-21 12:03:04

All times are UTC + 2 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2005-10-03 00:36:28 
Offline

Joined: 2005-10-03 00:34:31
Posts: 7
have any1 a good autoloot script for injection?


Top
 Profile  
 
 Post subject:
PostPosted: 2005-10-03 10:19:42 
Offline
Expert!
User avatar

Joined: 2004-08-11 23:56:17
Posts: 768
Location: The Citadel
Try this one

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


Top
 Profile  
 
 Post subject:
PostPosted: 2005-10-03 21:58:12 
Offline

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


Top
 Profile  
 
 Post subject:
PostPosted: 2005-10-03 22:07:58 
Offline

Joined: 2005-10-03 00:34:31
Posts: 7
god is working,
thanx


Top
 Profile  
 
 Post subject:
PostPosted: 2005-10-03 22:54:44 
Offline
Expert!
User avatar

Joined: 2004-08-11 23:56:17
Posts: 768
Location: The Citadel
so everything is ok?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group