Yoko

All sides of Injection
It is currently 2025-12-20 15:51:31

All times are UTC+02:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 2009-03-25 17:23:31 
Offline
User avatar

Joined: 2009-03-23 18:05:30
Posts: 29
Помогите, нужна проверка на гамп:
По цвету пикселя, или по сериалу гампа.
То есть мне нужно:

Code:
repeat
wait(100)
until гамп с сериалом на экране


Или

Code:
if uo.injournal('цвет пикселя') then
....
else
goto asdffdsa
endif

Вобщем если гамп на экране, чтоб скрипт шел дальше.


Top
   
 Post subject:
PostPosted: 2009-03-25 19:19:21 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
uo.lastgump( 'replyed' )

Думай в этом направлении ;-)

_________________
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
   
 Post subject:
PostPosted: 2009-03-25 22:03:00 
Offline
User avatar

Joined: 2009-03-23 18:05:30
Posts: 29
Code:
repeat
wait(100)
until uo.lastgump( 'replyed' )

То есть оно продолжит если последний гамп пропал??


Top
   
 Post subject:
PostPosted: 2009-03-25 23:12:15 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
А проверить ?)

PS: Я вас не понимаю ;-)

_________________
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
   
 Post subject:
PostPosted: 2009-03-25 23:15:19 
Offline
User avatar

Joined: 2009-03-04 19:16:18
Posts: 54
Code:
repeat 
wait(100)
until not uo.lastgump( 'replyed' )



скорей так продолжит. если не ошибаюсь.


Top
   
 Post subject:
PostPosted: 2009-03-26 00:27:51 
Offline
User avatar

Joined: 2009-03-23 18:05:30
Posts: 29
Destruction wrote:
А проверить ?)

PS: Я вас не понимаю ;-)

Мы стрёмные :)


Top
   
 Post subject:
PostPosted: 2009-03-26 16:09:43 
Offline
User avatar

Joined: 2009-03-23 18:05:30
Posts: 29
А как сделать, чтоб тыкало по координатам в гампе, которые я укажу?..
Code:
uo.Print('ткните ')
uo.Exec('addobject blabla')
 while uo.Targeting()
   wait(100)
 wend
x = uo.getx('blabla')
y = uo.gety('blabla')
.......
uo.LClick (x,y)

где-то так, только не по объекту а по экрану...


Top
   
 Post subject:
PostPosted: 2009-03-29 13:00:54 
Offline
User avatar

Joined: 2009-03-23 18:05:30
Posts: 29
УУУ!!! Никто не знает???
Вот еще вопрос... Как сделать ожидание гампа???


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 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:  
Powered by phpBB® Forum Software © phpBB Limited