Yoko

All sides of Injection
It is currently 2025-12-17 21:35:14

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 2008-01-04 08:04:19 
Offline

Joined: 2006-08-12 15:42:02
Posts: 36
При запуске пишет ошибку про uo.findtype(telo, что делать??

#####################################
# NOVA #
# Dungeon [*HiCk*] © 2005 #
# (http://nova-uo.com) #
#####################################################


###################################
# Заходите в загон с коровами например в СкараБре
# На кнопку F10 нужно забить команду AllNames в макросах уо
# Убивает корову и форенсит труп пока он есть после убивает еще.

sub forens()
telo = '0x2006' #Тайп Трупа
target = '0x00E7' # тайп Убиваемого животного (Корова серая)
targett = '0x00D8' # тайп Убиваемого животного (Корова черная)
uo.exec("set finddistance 6")
forens:
if uo.life < uo.str - 30 then
Uo.Say("GUARDS");
endif
uo.findtype(telo,-1,"ground")
if uo.findcount() > 0 then
uo.waittargetobject("finditem")
uo.UseSkill("Forensic Evaluation")
wait(500)
else
uo.press(121)
uo.findtype(target,-1,"ground")
if uo.findcount() <= 0 then
uo.findtype(targett,-1,"ground")
endif
if uo.findcount() > 0 then
uo.Attack("finditem")
endif
wait(20000)
endif
goto forens
end sub
[/code]


Top
   
PostPosted: 2008-01-04 09:03:23 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
newman wrote:
При запуске пишет ошибку про uo.findtype(telo, что делать??



telo = '0x2006' #Тайп Трупа

Тут не пробовал поменять на тип трупика?


Top
   
 Post subject:
PostPosted: 2008-01-04 09:38:38 
Offline

Joined: 2006-08-12 15:42:02
Posts: 36
В том и дело что совпадает все...


Top
   
 Post subject:
PostPosted: 2008-01-04 16:23:07 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
newman wrote:
В том и дело что совпадает все...



Цвет в кавычки поставь:
Code:
uo.findtype(telo,'-1',"ground")


'-1' - Вот это надо в кавычки. Там ниже тоже исправь.


Top
   
 Post subject:
PostPosted: 2008-01-04 21:38:16 
Offline
Expert!
User avatar

Joined: 2005-05-20 20:30:10
Posts: 548
-1 это число, а не строка и в кавычки ее ставить не надо.. так же как и к примеру 2 для обозначения бэкпэка и подсумок в качестве места поиска..

Code:
uo.findtype('0x0000',-1,2)


в твоем случае получается что функция получает неверное значение в качестве цвета и поэтому ищет любой цвет - это неправильное использование

_________________
"плагины" для инжекта


Top
   
 Post subject:
PostPosted: 2008-03-09 08:10:14 
Offline

Joined: 2006-08-12 15:42:02
Posts: 36
Все разобрался...тип кирки не тот был вбит)


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 5 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:  
Powered by phpBB® Forum Software © phpBB Limited