Yoko

All sides of Injection
It is currently 2025-11-11 18:19:27

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 2006-04-03 22:45:36 
Offline
User avatar

Joined: 2005-07-17 15:30:52
Posts: 308
Location: www.drw.ru
Имеется скрипт, писал сам, возвращение из шахты в дом, с ним 2 проблемы:1 не могу юзать детект хид, пишет что не знает такого скилла, 2 uo.press(**) очень не надежен, иногда просто делает все остальное, только не ходит, перезаходишь в инжу и все опять работает, все о чем идет речь в скрипте подчеркнуто:

sub GoHome()
uo.deletejournal()
VAR a, b
step1:
if uo.Mana < 11 then
uo.usetype('0x0F09')
wait(300)
endif
uo.waittargetobject('Home')
uo.cast('Recall')
wait(3000)
if uo.injournal('fizzles') then
wait(500)
uo.deletejournal('fizzles')
goto step1
endif
for a = 1 to 5
uo.press(33)
wait(300)
next
uo.UseSkill('Detecting Hidden')
wait(4000)
step2:
if uo.Mana < 20 then
uo.usetype('0x0F09')
wait(300)
endif
uo.cast('Reveal', 'self')
wait(4000)
if uo.injournal('fizzles') then
wait(500)
uo.deletejournal('fizzles')
goto step2
endif
uo.set('finddistance', '5')
uo.findtype('0x0190', '-1', '1')
if uo.findcount() > 1 then
return
endif
uo.useobject('Door')
wait(500)
uo.press(33)
uo.useobject('Door')
for b = 1 to 6
uo.press(33)
wait(300)
next
end sub

Зарание благодарю за помощь...


Top
   
 Post subject:
PostPosted: 2006-04-04 05:43:54 
Offline
Expert!
User avatar

Joined: 2004-08-11 23:56:17
Posts: 746
Location: The Citadel
Code:
uo.UseSkill('Detect Hidden') 

Вот так.
Если не нравится прессом ходить - берем любую полноценную ходилку.


Top
   
 Post subject:
PostPosted: 2006-04-04 07:00:54 
Offline
User avatar

Joined: 2005-07-17 15:30:52
Posts: 308
Location: www.drw.ru
Quote:
берем любую полноценную ходилку


В ней прес не успользуется, он ходит по координатам?

Я вообще почему выложил сам скрипт, мож я прес криво использую и он глючит?


Top
   
 Post subject:
PostPosted: 2006-04-04 13:53:41 
Offline

Joined: 2005-08-19 16:12:23
Posts: 182
В ходилках используется прес на клавиши управления курсором и если у тебя в клиенте набран текст, но не нажат ещё энтер, то вместо хождения будет попытка переместить курсор!!!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 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