Yoko

All sides of Injection
It is currently 2026-03-10 16:39:40

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Catch Target
PostPosted: 2004-08-19 18:04:51 
Offline

Joined: 2004-08-19 17:37:42
Posts: 3
Location: Italy
hi, i am trying to make a script which catch a target after have found it with finditem

i need only one instruction

imagine a script like this:

Code:
Uo.Ignore("self")
Uo.FindType("0x0190","-1","ground")
if Uo.FindCount() then
   ..........................................
   Uo.Ignore("finditem")
else
   Uo.FindType("0x0191","-1","ground")
   if Uo.FindCount() then
      ........................................
      Uo.Ignore("finditem")
   else
      Uo.IgnoreReset()
   end if
end if
end sub



this "catches" the serial of the men and women on the screen and stores this serial in finditem.

where you see the "........................" is the place where i need an instruction who set the last target on the finditem or at least laststatus on finditem if last target is not possible

i tried with function uo.target but i seem to fail something, i tried also the uo.attack but i need a script that set last target, not one which attacks

i tried uo.set("lasttarget","finditem") but it doesn't work


i already know that targetnext do exactly this and stores the target in laststatus but if i can make a script like this i can create a targetnext customized for notoriety and distance

any ideas?

_________________
The Curse of Fëanor Runs Long


Top
   
 Post subject:
PostPosted: 2004-08-22 04:27:48 
Offline

Joined: 2004-08-19 17:37:42
Posts: 3
Location: Italy
i tried using uo.target, but the last target of client still points to the last mobile manually targeted

using uo.getstatus("finditem") i can get the laststatus of finditem

but i can't convert laststatus to lasttarget or more simply i can't find a method that works as uo.click("pippo") but which makes the last target of client to point to pippo


is possible to create (if it doesn't exist) a method which make points the last target of client to an object having his serial?

_________________
The Curse of Fëanor Runs Long


Top
   
 Post subject:
PostPosted: 2004-08-22 23:44:43 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
No. Client inside values are not accessible. Use EasyUO for this. You may create macro wich will cooperate both Injection and EasyUO possibilities.


Top
   
 Post subject:
PostPosted: 2004-08-23 01:23:52 
Offline

Joined: 2004-08-19 17:37:42
Posts: 3
Location: Italy
what version of easy uo shall i use? with 1.36 (the only i found for client 4.0.0c) is old and i can't use most of the new functions of easy uo

is there a way to use one of the new version of easy uo with 4.0.0c?

_________________
The Curse of Fëanor Runs Long


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

All times are UTC+02:00


Who is online

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