Yoko

All sides of Injection
It is currently 2017-09-26 05:42:22

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: laststatus / attacklast
PostPosted: 2012-04-03 04:34:13 
Offline

Joined: 2012-04-03 04:18:32
Posts: 3
Я пытаюсь выяснить, как один делает быстро цель автоматически, поэтому вам не придется вручную цель людей, сделать их своей последней цели. Не могу целевой кто-нибудь бегает достаточно быстро. Я использую 5.0.1h клиента. Я в настоящее время пытается получить следующий макрос цель в игре с ней работать.

sub target()
uo.press (115) # F4
wait (100)
UO.Set ('lasttarget', 'laststatus)
endsub


F4 является следующая цель в игре.

Это похоже на работу, но не так, это будет ошибка, время от времени, это привычка помнить что-то lasttarget. Есть ли что-то я пропавших без вести с этим? Или есть более простой для сборки цели следующая работа с впрыском?


Top
   
PostPosted: 2012-04-05 04:32:48 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3207
Do ask in English please.

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
PostPosted: 2012-04-05 13:20:15 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2142
Location: Latvia
did you mean if the target disappeared from the screen use next target?

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
PostPosted: 2012-04-17 21:02:34 
Offline

Joined: 2012-04-03 04:18:32
Posts: 3
Well, I'm trying to figure out a way to be able to use nexttarget inside UO to set laststatus as lasttarget with injection. I tried using laststatus as my target like this uo.exec("cast 'Mind Blast' laststatus") but it seems really buggy.

sub target()
uo.press(115) #F4 (nexttarget)
wait (100)
UO.Set('lasttarget','laststatus')
endsub

Now if bind that to a key, and use uo.exec("cast 'Flame Strike' lasttarget"), it will say "that is too far away". Main reason I'm trying to figure this is out, is because I've been having a hard time manuel clicking people in pvp, and it I pvped with razor i always used nextarget to set people as my lasttarget and it worked fine. Am I missing something, or is there a easier way to do this?


Top
   
PostPosted: 2012-09-11 14:21:57 
Offline

Joined: 2012-09-10 20:18:54
Posts: 14
For getting target from you UO Client I use a script without attacking the target, so I may target it without the need to show him that!

diferently from you I use the client to call for Injection script using ,exec command.

In UO Client I got a hoteky set with:

NextTarget (or SelectNext ... whatever you have on your client)
Say ",exec mark_target"

In Injection I got:

Code:
Sub mark_target()
Wait(100) ; Actually here I use a Ping comand so I'm sure UO client has updated the 'laststatus' info for injection
UO.AddObject('lasttarget','laststatus')
End Sub


This is just an example of the process I use, usually I don't use 'lasttarget' because injection changes it's value, so I prefer using 'mytarget' or something like that and checking the value of 'laststatus' before replacing 'mytarget' with empty values or with non human targets


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


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