Yoko

All sides of Injection
It is currently 2025-11-11 07:00:08

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2005-01-19 11:16:02 
Offline

Joined: 2004-12-08 12:04:36
Posts: 14
Cкрипт должен работать так : юзать скилл поизонинг тыкать таргетом на вещь которую нужно поизонить и тыкать на поизон батл. Почему неполучилось непонимаю. Вроть убрал что ненужно втставил скил вставил тыки а непашет. Непойму помогите если моно.



sub poison()
VAR Sunduk = '0x40292FF3'
VAR orudie = '0x1406'
VAR LesPois = '0x0F0A'
VAR EmpBot = '0x0F0E'
VAR MedSer, k
UO.Exec('set finddistance 2')
While TRUE
UO.FindType( LesPois, -1, 1 )
If UO.FindCount() == 0 Then
UO.Print("Bottle of Poison not found, script terminated")
return
Endif
UO.Grab( '1', 'finditem' )
wait( 2000 )
UO.DeleteJournal()
UO.WaitTargetType( orudie )
UO.UseSkill("Poisoning")
UO.WaitTargetType( LesPois )
k = 0
while NOT UO.InJournal('You apply lesser poison') AND NOT UO.InJournal('You fail to apply lesser poison') AND ( k < 30 )
k = k + 1
wait(500)
wend
UO.Print( 'orudie v pake ' + str( UO.Count( orudie ) ) )
if UO.Count( EmpBot ) > 0 then
UO.FindType( EmpBot, -1, 'backpack' )
UO.MoveItem( 'finditem', 0, Sunduk )
wait( 2000 )
UO.Print( 'Empty bottle dropped' )
end if
Wend
end sub


Top
   
 Post subject:
PostPosted: 2005-01-19 11:58:15 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
Code:
sub Poisoning()   
var idDagger='0x401E3D6F'
UO.FindType('0x0F0E','0x0998','backpack')
      While UO.GetQuantity('finditem') > 0
         UO.DeleteJournal()
         UO.UseSkill("Poisoning")
         UO.WaitTargetObject(idDagger,'finditem')
         while NOT UO.InJournal("You fail to apply") AND NOT UO.InJournal("You apply")
            wait(300)
         wend   
      wend
end sub
травит пока есть отрава
PS. for DRW


Top
   
 Post subject:
PostPosted: 2005-01-22 08:34:32 
Offline

Joined: 2004-05-16 05:09:09
Posts: 5
сам играю на ЕП - если надо стукни в аську - 276756709 , скрипт есть уже работающий.


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 7 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