Yoko

All sides of Injection
It is currently 2025-12-10 15:10:19

All times are UTC+02:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: 2006-03-08 05:41:51 
Offline
User avatar

Joined: 2006-02-03 10:40:17
Posts: 23
Location: DRW
Code:
Sub StoneField() 
if uo.waiting() then
uo.canceltarget()
endif
uo.waittargettile('-1',uo.getX('laststatus'),uo.getY('laststatus'),uo.getZ('laststatus'))
uo.cast('Wall of Stone')
endsub

По идее должен ставить крест по последнему статусу. Но ставит на себя...
ДРВ


Top
   
 Post subject:
PostPosted: 2006-03-08 08:17:27 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
на дрв он по статусу ставить не будет. по статусу ставится только энерджи филд, если я не ошибаюсь.

пробуй по таргету.

п.с.
Code:
sub wsl() 
uo.waittargettile("400",str(uo.getx("lasttarget")),str(uo.gety("lasttarget")),str(uo.getz("lasttarget")))
uo.cast("Wall of Stone")
end sub


Top
   
 Post subject:
PostPosted: 2006-03-08 12:44:43 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
все он ставит только надо все параметры в строковые перевести


Top
   
 Post subject:
PostPosted: 2006-03-08 13:00:38 
Offline
User avatar

Joined: 2006-03-06 18:40:48
Posts: 11
а теперь мне: помогите вписать скрипт на каст магии с полученного скролла, а то ну НИКАК не получается. ошибку выдаёт. вот скрипт без каста магии:
Code:
sub Poison() 
   If UO.Weight<500 then
      UO.DeleteJournal()
       UO.FindType('0x0E34',-1,'backpack')
     If UO.GetQuantity('finditem')>0 then
         UO.UseType(0x0E34)
         wait(50)
   uo.lclick(460,455)       
        wait(500)
          repeat ;
        until UO.InJournal('You fail to inscribe the scroll') or UO.InJournal('You put the')
     if UO.InJournal('You fail to inscribe the scroll') then
       goto inscript
     end if
   end if
 
uo.useskill('Meditation')
wait(1000)
endif
end sub

_________________
Image


Top
   
 Post subject:
PostPosted: 2006-03-08 13:32:54 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
что за

Code:
goto inscript 


это раз.

и что за
Code:
uo.lclick(460,455) 


ну и в третьих
Code:
repeat
until


что ему тут повторять? паузу уж влепи хоть на 50 или 100


Top
   
 Post subject:
PostPosted: 2006-03-08 14:03:27 
Offline
User avatar

Joined: 2006-03-06 18:40:48
Posts: 11
You Must Die wrote:
что за

Code:
goto inscript 


это раз.

и что за
Code:
uo.lclick(460,455) 


ну и в третьих
Code:
repeat
until


что ему тут повторять? паузу уж влепи хоть на 50 или 100

Code:
uo.lclick(460,455) 

это нажатие на нестандартную кнопочку в таблице Реколлов, там всё верно,
теперь по подробнее, и помоги каст пойзона кставить в него со скролла

_________________
Image


Top
   
 Post subject:
PostPosted: 2006-03-08 14:47:53 
Offline
User avatar

Joined: 2006-02-03 10:40:17
Posts: 23
Location: DRW
You Must Die wrote:
пробуй по таргету

По таргету тож на себя ставит :cry:
Quote:
все он ставит только надо все параметры в строковые перевести

Это как?


Top
   
 Post subject:
PostPosted: 2006-03-08 14:57:21 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
Утебя галка во вв кладке Main на TrackWorldItems не стоит


Top
   
 Post subject:
PostPosted: 2006-03-08 15:14:54 
Offline
User avatar

Joined: 2006-02-03 10:40:17
Posts: 23
Location: DRW
стоит


Top
   
 Post subject:
PostPosted: 2006-03-08 15:29:00 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Code:

uo.findtype('') #Type of scroll
if uo.Count('finditem') > 0 then
  uo.waittargetself()
  uo.UseType('') # Scroll
else
  uo.Print('There are no scrolls')
end if



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

All times are UTC+02:00


Who is online

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