Yoko

All sides of Injection
It is currently 2026-03-19 04:43:10

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Проблемка
PostPosted: 2004-11-25 11:30:39 
Offline

Joined: 2004-08-29 08:33:44
Posts: 116
Почему то не находит золто когда лутаешь.. подскажите кто знает
Code:
sub Loot() 
var i,n
Dim A[6]
A[1] = 0x0EED ;Gold
A[2] = 0x0f7b ;
A[3] = 0x0F90 ;
A[4] = 0x0F7E ;
A[5] = 0x0F80 ;
A[6] = 0x0EED ;
UO.WaitTargetObject("lastcorpse")
UO.useobject (0x402AFAAA );
wait(1000)

i = 1200
FOR n=1 TO 6
uo.findtype(A[n],"-1","lastcorpse")
if uo.findcount() > 0 then
UO.grab(1, "finditem")
uo.print("Found "+str(uo.findcount()))
Wait(i)
END if
next
end sub

вот скрипт


Top
   
 Post subject: Re: Проблемка
PostPosted: 2004-11-25 11:58:22 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
zarg wrote:
Почему то не находит золто когда лутаешь.. подскажите кто знает
Code:
sub Loot() 
var i,n
Dim A[6]
A[1] = "0x0EED" ;Gold
A[2] = "0x0f7b" ;
A[3] = "0x0F90" ;
A[4] = "0x0F7E" ;
A[5] = "0x0F80" ;
A[6] = "0x0EED" ;
UO.WaitTargetObject("lastcorpse")
UO.useobject ("0x402AFAAA" );
wait(1000)

i = 1200
FOR n=1 TO 6
uo.findtype(A[n],"-1","lastcorpse")
if uo.findcount() > 0 then
UO.grab("0", "finditem")
uo.print("Found "+str(uo.findcount()))
Wait(i)
END if
next
end sub

вот скрипт
найди 10 отличий


Top
   
 Post subject: Re: Проблемка
PostPosted: 2004-11-25 12:23:44 
Offline
Expert!
User avatar

Joined: 2004-04-04 21:40:09
Posts: 1007
А еще лучше так:

Code:
sub Loot() 
var i,n
Dim A[5]
A[0] = '0x0EED' ;Gold
A[1] = '0x0f7b' ;
A[2] = '0x0F90' ;
A[3] = '0x0F7E' ;
A[4] = '0x0F80' ;
UO.WaitTargetObject("lastcorpse")
UO.useobject (0x402AFAAA );
wait(1000)

i = 1200
FOR n=0 TO 4
  uo.findtype(A[n],"-1","lastcorpse")
  if uo.findcount() > 0 then
    UO.grab("0", "finditem")
    uo.print("Found "+str(uo.findcount()))
    Wait(i)
  END if
next
end sub


Top
   
 Post subject: Re: Проблемка
PostPosted: 2004-11-25 14:44:10 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
AGRS wrote:
А еще лучше так:
ты эта людей не путай, юзай таки кавычки ;)


Top
   
 Post subject: Re: Проблемка
PostPosted: 2004-11-25 19:59:31 
Offline
Expert!
User avatar

Joined: 2004-04-04 21:40:09
Posts: 1007
Sfagnum wrote:
AGRS wrote:
А еще лучше так:
ты эта людей не путай, юзай таки кавычки ;)

Я про массив.


Top
   
 Post subject: Re: Проблемка
PostPosted: 2004-11-26 09:37:41 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
AGRS wrote:
Sfagnum wrote:
AGRS wrote:
А еще лучше так:
ты эта людей не путай, юзай таки кавычки ;)

Я про массив.
я понял. но есть слепое копирование ;)


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 5 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 Limited