Yoko
http://forum.yoko.com.ua/

UO.target or ,targe
http://forum.yoko.com.ua/viewtopic.php?f=3&t=4571
Page 1 of 1

Author:  yogurt [ 2005-07-16 22:05:25 ]
Post subject:  UO.target or ,targe

Some one can make me an example fot UO.Target or ,target command

I never undestand the syntax

Tnx

Author:  Grin [ 2005-07-16 22:43:19 ]
Post subject: 

it's very dangerous to use it

Author:  Beyonder [ 2005-07-17 14:59:48 ]
Post subject: 

The only dangerous thing in it is unhandlable currently. Everything in it works just fine, but this: to send the traget, client makes this steps:
1) Request a target
2) Analyze target
3) Send reply with own target (aim)
If you cancel target in client any way injection supports, it gets this way:
1) Request a target
2) Analyze target
3) Cancel target (ESC or CancelTarget)
But if you try to use Target command, this is what you get:
1) Request target
2) Analyze target
3) UO.Target
4) Cancel target in client. This one sends Canceltarget package to the server, that is directed to anavailable target that is already used bu UO.Target. This causes message in Sphere logs.
So obviously there is no way to use it yet.

Author:  yogurt [ 2005-07-17 19:59:23 ]
Post subject: 

but a simple example ???

IO.Target("XXXXXXXXXXXXXXXXXX")

for example I have an object called dummy how to target after view-finder appear

Author:  Beyonder [ 2005-07-18 06:53:04 ]
Post subject: 

Code:
sub MakeShaft()
var Logs
UO.FindType('0x1BDD')
Logs=UO.GetSerial('finditem')
UO.UseObject('dagger')
while not UO.Targeting()
wait(50)
wend
UO.WaitMenu('What','shaft')
UO.Target('0x000001EC',Logs,'0','0x1BDD')
end sub


First parameter is unique target type ID. It can be found this way:
Code:
sub Test()
UO.Print(UO.GetSerial('lasttargetkey'))
end sub

Second parameter is the ID of item to target.
Third parameter is the 1-statics or 0-object.
And last parameter is the type of item to target.

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/