Yoko

All sides of Injection
It is currently 2026-01-19 10:19:13

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Podkorektiruyte!
PostPosted: 2007-11-15 12:24:04 
Offline

Joined: 2007-07-09 18:48:42
Posts: 54
Кароче мне надо что б перед тем как выкинуть пропойсонное мясо он на него кидал скилл тест ид а токо потом выкидывал!
Code:
sub poison()
VAR Sunduk = '0x400F89DD'
VAR poison = '0x1837'
VAR mjaso = ('0x09F1, 0x0000')
VAR gotovoe = ('0x09F1,0x0026')
VAR k
UO.Exec('set finddistance 2')
While TRUE
UO.Findtype(0x1837, 0x0000, sunduk)
UO.Grab( '1', 'finditem' )
If UO.FindCount() == 0 Then
UO.Print("resursi zakon4elisj, script terminated")
return
Endif
UO.Grab( '1', 'finditem' )
wait( 1000 )
UO.Findtype(0x09F1, 0x0000, sunduk)
If UO.FindCount() == 0 Then
UO.Print("resursi zakon4elisj, script terminated")
return
Endif
UO.Grab( '1', 'finditem' )
wait( 1000 )
UO.DeleteJournal()
UO.FindType('poison' ,-1,'backpack')

UO.useType( poison )
UO.WaitTargetType( mjaso )
wait(500)

k = 0
while NOT UO.InJournal('soobshenie pri uda4nom crafte') AND NOT UO.InJournal('soobshenie pri neuda4e ') AND ( k < 30 )
k = k + 1

wend
UO.Print( 'gotovogo mjasa ' + str( UO.Count(gotovoe ) ) )
if UO.Count( gotovoe ) > 0 then
UO.FindType( gotovoe, -1, 'backpack' )
UO.MoveItem( 'finditem', 0, Sunduk )
wait( 1000 )
UO.Print( 'skinuto...' )
end if
Wend
end sub


Top
   
 Post subject:
PostPosted: 2007-11-15 12:30:07 
Offline

Joined: 2007-07-09 18:48:42
Posts: 54
да кстати задержка 3 секунды т.е он нанего кинул тест ид через 3 секунды выкидывает мясно цветом оно будет другово! 0x09F1 0x0049 тут типо и колор, Помогите кто может


Top
   
 Post subject:
PostPosted: 2007-11-15 16:20:46 
Offline
User avatar

Joined: 2007-10-12 20:48:07
Posts: 100
Ты бы еще сообщения сделал что ли. Видимо, скрипт не твой.
k = 0
while NOT UO.InJournal('soobshenie pri uda4nom crafte') AND NOT UO.InJournal('soobshenie pri neuda4e ') AND ( k < 30 )
k = k + 1
Вот тут тебе указали, что сообщения надо вставить свои.

А по просьбе:
добавь там

Code:
sub poison()
VAR Sunduk = '0x400F89DD'
VAR poison = '0x1837'
VAR mjaso = ('0x09F1, 0x0000')
VAR gotovoe = ('0x09F1,0x0026')
VAR k
UO.Exec('set finddistance 2')
While TRUE
UO.Findtype(0x1837, 0x0000, sunduk)
UO.Grab( '1', 'finditem' )
If UO.FindCount() == 0 Then
UO.Print("resursi zakon4elisj, script terminated")
return
Endif
UO.Grab( '1', 'finditem' )
wait( 1000 )
UO.Findtype(0x09F1, 0x0000, sunduk)
If UO.FindCount() == 0 Then
UO.Print("resursi zakon4elisj, script terminated")
return
Endif
UO.Grab( '1', 'finditem' )
wait( 1000 )
UO.DeleteJournal()
UO.FindType('poison' ,-1,'backpack')

UO.useType( poison )
UO.WaitTargetType( mjaso )
wait(500)

k = 0
while NOT UO.InJournal('soobshenie pri uda4nom crafte') AND NOT UO.InJournal('soobshenie pri neuda4e ') AND ( k < 30 )
k = k + 1

wend
wait(300)
uo.findtype('0x09F1','0x0026','backpack')
if uo.findcount() then
UO.Useskill('Item Identification','finditem')
endif
wait(3000)

UO.Print( 'gotovogo mjasa ' + str( UO.Count(gotovoe ) ) )

UO.FindType( '0x09F1','0x0049','backpack' )
if uo.findcount() then
UO.MoveItem( 'finditem', 0, Sunduk )
wait( 1000 )
UO.Print( 'skinuto...' )
end if
Wend
end sub

_________________
Image
Image


Top
   
 Post subject:
PostPosted: 2007-11-22 18:30:38 
Offline

Joined: 2007-07-09 18:48:42
Posts: 54
Огромное спасибо!!!


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