Page 1 of 1

waittarget* with delay.

Posted: 2005-02-24 03:52:09
by ziemni
Yoko can u add to those functions arg delay? So it sends target after second or two after request form server.

Posted: 2005-02-24 04:21:31
by Necr0Potenc3
are you thinking about something like absolute target from razor?

Re: waittarget* with delay.

Posted: 2005-02-24 05:34:00
by Goggy
ziemni wrote:Yoko can u add to those functions arg delay? So it sends target after second or two after request form server.


like thys??

Code: Select all

While not UO.Targeting() 
wait(10)
wend
wait(2000)
UO.WaitTarget*

Posted: 2005-02-24 06:07:46
by Necr0Potenc3
yeah but, when UO.Targeting is true, that means the client has a target cursor right?

I think that would cause injection to wait for a target while the client itself has a target cursor pending to be replied.

and maybe im wrong because yoko completly modded the original injection hehe :)

Re: waittarget* with delay.

Posted: 2005-02-26 10:10:07
by ziemni
Goggy wrote:
ziemni wrote:Yoko can u add to those functions arg delay? So it sends target after second or two after request form server.


like thys??

Code: Select all

While not UO.Targeting() 
wait(10)
wend
wait(2000)
UO.WaitTarget*


Nah. ur code will just w8 for target cursor in client, and then itll wait for next target request, which will be responsed immediately.

Its more like.

Code: Select all

while not UO.Targeting()
wait(..)
wend
wait(....)
UO.Target()


But since UO.Target is nasty function i prefer to have delayed waittarget*.