Yoko

All sides of Injection
It is currently 2025-12-30 12:40:09

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2009-04-02 20:41:21 
Offline

Joined: 2004-12-13 01:27:00
Posts: 190
Code:
sub RecallRuneOrScroll()
   VAR recall='0x1F4C' #
   VAR rune='0x1F16' #
   
   UO.FindType(recall,'-1','backpack')
   If UO.GetQuantity('finditem')<0 then
         uo.usetype('recall')
         UO.WaitTargetType('0x1F16')
      else
         UO.WaitTargetType('0x1F16')
         UO.Cast ('Recall')
         UO.Print("Cast from Book")
   endif
end sub


Почему то постоянно рекалиться через книгу :(


Top
   
 Post subject:
PostPosted: 2009-04-02 22:32:10 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
Два косяка. 1 - вайттаргет должен быть перед юзом. 2 - если ты тип рекала загнал в переменную, то её указывай без кавычек. В кавычках это тип из вкладки типов инжекта если он там записан.


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: Bing [Bot] and 0 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