Yoko

All sides of Injection
It is currently 2024-04-20 05:01:53

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2014-12-09 16:12:00 
Offline

Joined: 2014-12-01 22:44:46
Posts: 5
Люди "Добрейшие" отзовитесь на просьбу нубаса ))

Нужен скрипт на резку кожи :

порезал Даггером труп(с заменой под разные типы трупов) ,
залутил деньги,камни,кожу,
залученую кожу порезал (ножницами) в Cut Leather

За рабочий скрипт буду молится о вашем здоровье :D


Top
   
PostPosted: 2014-12-09 17:50:50 
Offline

Joined: 2014-12-01 22:44:46
Posts: 5
sub Goto_loot()
uo.print('Lutaem')
var dx,dy,Obj2
UO.Set('finddistance',10) ; дистанция для поиска
UO.FindType('0x2006', '-1', '1') ; Ищем на земле труп и засовываем его в переменную
if uo.findcount() > 0 then
obj2 = UO.GetSerial("finditem")
dx=UO.GetX(obj2)
dy=UO.GetY(obj2)
uo.print ("TRup v tocke " + str(dx) + " " + str(dy))
if dx > 0 then
uo.print ("begim k trupu v tochke " + str(dx) + " " + str(dy))
Gotoxy(dx,dy,1) ; Бежим к трупу
uo.waittargetobject(Obj2) ; установить прицел на труп
wait(1000)
UO.usetype(Nogik) ; Использовать нож на прицеле
wait(2000)
uo.UseObject(Obj2)
UO.Set( 'finddistance', '2' )
Repeat
UO.FindType( '-1', '-1', obj2)
UO.Grab( 200, 'finditem' ) ; грабим все что есть в трупе
wait(1000)
Until UO.FindCount() == 0
uo.ignore(Obj2) ; игнорировать обьект в дальнейшем
end if
uo.findtype(Skur)
if uo.findcount() > 0 then
obj2 = UO.GetSerial("finditem")
uo.waittargetobject(Obj2) ; установить прицел на шкуры
UO.usetype(Nojnici)
end if
end if
end sub

Ругается в 13 строке Goto - Not Found подскажите плз , что переписать !?


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 31 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