@utoloot gold

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
min2tis
Posts: 7
Joined: 2006-03-08 20:37:07

@utoloot gold

Post by min2tis »

gr33tz ppl! i need some help. i need some kind auto loot script which would loot only gold from corpses
Scripts Writer
Posts: 2259
Joined: 2005-04-19 18:00:29
Location: Московская область
Contact:

Post by Scripts Writer »

Code: Select all

uo.FindType(gold,'-1','lastcorpse')
if uo.FindCount() then
  uo.moveitem('finditem','all')
  wait(750)
end if
min2tis
Posts: 7
Joined: 2006-03-08 20:37:07

Post by min2tis »

error:
line 2: variable undefinded-gold
Nmy
Expert!
Posts: 2152
Joined: 2005-09-14 15:31:58
Location: Latvia

Post by Nmy »

min2tis wrote:error:
line 2: variable undefinded-gold

OMG man please use your brain...
type ,info and target to gold, then copy the gold-type and repleace Gold with something like type '0x1234'
min2tis
Posts: 7
Joined: 2006-03-08 20:37:07

Post by min2tis »

O_o
did so, but then another error apears:
function not found: UO.FINDCOUNT
Nmy
Expert!
Posts: 2152
Joined: 2005-09-14 15:31:58
Location: Latvia

Post by Nmy »

Code: Select all

sub gold()
uo.FindType('0x0123','-1','lastcorpse')
if uo.FindCount() then
  uo.moveitem('finditem')
end if
end sub
min2tis
Posts: 7
Joined: 2006-03-08 20:37:07

Post by min2tis »

still problem remains
Scripts Writer
Posts: 2259
Joined: 2005-04-19 18:00:29
Location: Московская область
Contact:

Post by Scripts Writer »

Update Injection
min2tis
Posts: 7
Joined: 2006-03-08 20:37:07

Post by min2tis »

the newest and updated. dont get it wheres the prob
GimFlex
Expert!
Posts: 766
Joined: 2005-01-07 13:22:19
Contact:

Post by GimFlex »

use your minde plz
min2tis
Posts: 7
Joined: 2006-03-08 20:37:07

Post by min2tis »

well, at least im not pretending expert. i dont undrestant too much, i just need some support
Nmy
Expert!
Posts: 2152
Joined: 2005-09-14 15:31:58
Location: Latvia

Post by Nmy »

min2tis wrote:well, at least im not pretending expert. i dont undrestant too much, i just need some support


theres nothing wrong with code... check your injection...
Mihail
Expert!
Posts: 548
Joined: 2005-05-20 20:30:10
Contact:

Post by Mihail »

min2tis, what version of injection you using? (,debug)
min2tis
Posts: 7
Joined: 2006-03-08 20:37:07

Post by min2tis »

505.18
Infectous
Posts: 55
Joined: 2004-07-29 16:29:52

Post by Infectous »

Code: Select all

sub gold()
UO.FindType('0x0EED',"-1",'lastcorpse')
If UO.FindCount() > 0 then
repeat
UO.Grab(0, "finditem")
UO.FindType('0x0EED',"-1",'lastcorpse')
until UO.FindCount() == 0
wait(500)
UO.Print(' You have ' + Str( UO.Count('0x0EED','0x0000') ) + ' Gold' )
EndIf
end sub
Don SpiL
Posts: 108
Joined: 2005-05-03 11:51:04
Location: KDK Elite Group (c)
Contact:

Post by Don SpiL »

Code: Select all

sub fast.loot()
var noz=0
uo.set("finddistance","3")
var n,f
uo.findtype("0x2006",-1,"ground")
if uo.findcount()==0 then
 return
 else
 uo.addobject("trup","finditem")
 if noz==1 then
 uo.waittargetobject("finditem")
 uo.useobject(uo.objatlayer("Rhand"))
 wait(600)
 end if
 uo.findtype("0x0ED2",-1,"ground")
 if uo.findcount()>0 then
  uo.addobject("trup","finditem")
  else
  uo.findtype("0x0ECA",-1,"ground")
  if uo.findcount()>0 then
   uo.addobject("trup","finditem")
  end if
 end if
end if
Dim A[100],color[5]
color[0]="0x0BAB" ;Азур
color[1]="0x0BAC" ;Меф
color[2]="0x0B2E" ;Аблаз
color[3]="0x19B9" ;Анц
color[4]="0x0BAF" ;Стар
color[5]="-1" ;Любой
A[1] = 0x2684 ;шруда
A[2] = 0x1515 ;клока
A[3] = 0x0F5C ;мейс
A[4] = 0x13B6 ;ским
A[5] = 0x13B0 ;клюха
A[6] = 0x1441 ;кутлас
A[7] = 0x13FF ;катана
A[8] = 0x1401 ;крис
A[9] = 0x1086 ;брас хила
A[10]= 0x1007 ;пыль
A[11]= 0x1415 ;пузо
A[12]= 0x1411 ;ноги
A[13]= 0x1410 ;руки
A[14]= 0x1414 ;перчи
A[15]= 0x1412 ;шлем
A[16]= 0x1413 ;горжа
A[17]= 0x1ced ;сердце
A[18]= 0x1F14 ;руна
A[19]= 0x0e2e ;сфера
A[20]= 0x13f8 ;палки
A[21]= 0x1B74 ;Щит
A[22]= 0x0EED ;GOLD
A[23]= 0x1365 ;GOLD
A[24]= 0x1366 ;GOLD
A[25]= 0x1367 ;GOLD
A[26]= 0x1368 ;GOLD
A[27]= 0x1369 ;GOLD
A[28]= 0x136B ;GOLD
A[29]= 0x1361 ;GOLD
A[30]= 0x1362 ;GOLD
A[31]= 0x1364 ;GOLD

FOR n=1 TO 31
    for f=0 to 5
     uo.findtype(A[n],color[f],"trup")
     while uo.findcount()>0 and Uo.Weight<Uo.STR*3.5 and uo.getdistance("trup")<3
        uo.moveitem("finditem",0,"my")
          wait(500)
        uo.findtype(A[n],color[f],"trup")
    wend
    next
next
end sub
Post Reply