Yoko

All sides of Injection
It is currently 2026-01-18 16:19:14

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2005-04-03 00:31:29 
Offline
User avatar

Joined: 2005-01-18 08:39:42
Posts: 21
Уф, наконец то получил свой заветный скрипт:
Code:
sub test()
while 1
uo.findman() - кого ищем(указываем злобность)
if uo.findcount() then
uo.textopen()
uo.textprint(uo.getname("finditem")+uo.getserial("finditem")+" x="+str(uo.getx("finditem"))+" y="+str(uo.getx("finditem")) - записываем его данные
uo.ignore("finditem") - не знаю для чего
end if
wait(50)
wend
end sub


Но опять проблема: скрипт не работает. Я его сократил до такого:
Code:
sub test()
while 1
uo.findman("Murderer")
if uo.findcount()>0 then
uo.textopen()
uo.textprint(uo.getname("finditem"))
end if
wait(50)
wend
end sub

Всё равно не записывает имя моего ПК. Исправьте ошибки плиз...


Top
   
 Post subject:
PostPosted: 2005-04-03 09:37:58 
Offline
Junior Expert
User avatar

Joined: 2004-11-13 00:43:55
Posts: 474
Location: Киберзадроцк
Перед взятием имени поставь UO.Click('finditem') задержку сам подбери....


Top
   
 Post subject:
PostPosted: 2005-04-03 12:31:15 
Offline
User avatar

Joined: 2005-01-18 08:39:42
Posts: 21
666Man666 wrote:
Перед взятием имени поставь UO.Click('finditem') задержку сам подбери....

Дело не в этом. Ошибка в функции uo.findman(). Что и куда надо писать в этой функции?


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 guests


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