Yoko

All sides of Injection
It is currently 2025-11-10 23:24:20

All times are UTC+02:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 2006-03-13 19:20:30 
Offline

Joined: 2006-03-12 12:41:55
Posts: 9
.
.
.
I have an object called "my_target" which contains the ID of my human target.

Actually to cast on it, I'm using
uo.waittobjecttype("target")
uo.cast("xxx")

But BEFORE i wanna cast, and THEN eventually drop the target on my enemy.

the only, and not so good way, I found is this: using targetnext of my client :?
while CONDITION
new=uo.getserial("laststatus")
if new==my_target then
goto x
CONDITION=0
else
uo.press(49)#TARGETNEXT_client
endif
wait(100)
wend
x:
uo.press(48 ) #LASTTARGET_client


Top
   
 Post subject:
PostPosted: 2006-03-13 19:49:06 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
sorrym but- what do u want? ) don't understood your question


Top
   
 Post subject:
PostPosted: 2006-03-13 19:55:43 
Offline

Joined: 2006-03-12 12:41:55
Posts: 9
step 1: cast and get the target of the spell I selected (I did it)

step 2: launch a function that drops the magery on the target using the object "my_target" that contains the id of my enemy

how about step 2 ?


Top
   
 Post subject:
PostPosted: 2006-03-13 20:00:52 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
Is my_target target from 1 step? or it is alone?


Top
   
 Post subject:
PostPosted: 2006-03-13 20:19:08 
Offline

Joined: 2006-03-12 12:41:55
Posts: 9
it's an object that contains the ID of my "human" uol's target


Top
   
 Post subject:
PostPosted: 2006-03-13 20:22:28 
Offline

Joined: 2006-03-12 12:41:55
Posts: 9
i'm looking about an injection function like the targetnext of my uol's client.

Cause with uo.waittargetobject when i cast it drops the target automatically on the object (a human).
With targetnext and lasttarget of my uol's client i can cast
wait
and when I want, I can press lasttarget to drop the spell on my target in the right moment


Top
   
 Post subject:
PostPosted: 2006-03-16 14:20:42 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
it is a problem way to act for injection, because it can operate only with network protocol, not some actions you do in client.

you can do some work with command ,target
but you must know, there is many caveeats on this way, many warnings generated in server log etc.

better do not use injection for delayed targeting, unless you absolutely need it


Top
   
 Post subject:
PostPosted: 2006-03-20 22:20:01 
Offline

Joined: 2006-03-12 12:41:55
Posts: 9
tnx a lot
I'm going to try it on my local poll


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited