waittarget* with delay.

Requests of new features and reports on bugs needs to be fixed

Moderators: Murderator+, Murderator

Post Reply
ziemni
Posts: 22
Joined: 2004-09-07 22:36:09
Location: Poland

waittarget* with delay.

Post by ziemni »

Yoko can u add to those functions arg delay? So it sends target after second or two after request form server.
Necr0Potenc3
Expert!
Posts: 74
Joined: 2004-05-30 00:31:54

Post by Necr0Potenc3 »

are you thinking about something like absolute target from razor?
Goggy
Posts: 291
Joined: 2004-11-07 01:22:35
Location: Черкассы
Contact:

Re: waittarget* with delay.

Post 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*
Necr0Potenc3
Expert!
Posts: 74
Joined: 2004-05-30 00:31:54

Post 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 :)
ziemni
Posts: 22
Joined: 2004-09-07 22:36:09
Location: Poland

Re: waittarget* with delay.

Post 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*.
Post Reply