Yoko

All sides of Injection
It is currently 2025-12-03 09:41:25

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Ошибка(((
PostPosted: 2006-10-22 11:51:37 
Offline

Joined: 2005-06-21 20:31:26
Posts: 80
Code:
sub bladespirit1() 
var spirit = '0x023E', spiritid
while true
   uo.findtype(spirit,-1,'ground')
   if uo.findcount() > 0 then
      spiritid = uo.getserial('finditem')
      uo.warmode(true)
      uo.attack(spiritid)
      wait(5000)
   else
      if uo.gethp() < uo.str then
         uo.bandageself()
         wait(3000)
                        sword()
      endif
   endif
wend
endsub


непойму в чем дело, он сам не атакует бску, а ждет пока его заатачат
но самая проблема в том что он когда начинает атачить. одновременно начинает лечиться, щит и пуха падает и фигня получается)))
хелп плиз


Top
   
 Post subject:
PostPosted: 2006-10-22 12:05:59 
Offline
Expert!
User avatar

Joined: 2006-02-25 21:48:38
Posts: 1032
ХЗ, попробуй так:
Code:
sub bladespirit1() 
var spirit = '0x023E', spiritid
uo.ignorereset()
uo.set('finddistance',15)
while true
   uo.findtype(spirit,-1,'ground')
   if uo.findcount() then 
      uo.warmode(1)
      wait(500)
      uo.attack(uo.getserial('finditem'))
      wait(5000)
   else
    wait(500)
      if uo.life < uo.str then
         uo.bandageself()
         wait(3000)
                        sword()
      endif
   endif
wend
endsub

_________________
DerMeister сейчас на нейрале!


Top
   
 Post subject:
PostPosted: 2006-10-22 14:32:48 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
Code:
sub bladespirit1() 
var spirit = '0x023E', spiritid
uo.set('finddistance',6)
while true
   uo.findtype(spirit,-1,'ground')
   if uo.findcount() then
      uo.exec('warmode 1')
      uo.attack('finditem')
      wait(5000)
   else
      if uo.gethp() < uo.str then
         uo.bandageself()
         wait(3000)
                        sword()
      endif
   endif
wend
endsub


Top
   
 Post subject:
PostPosted: 2006-11-28 14:11:32 
Offline

Joined: 2005-06-21 20:31:26
Posts: 80
решил опять попробовать, не один из этих скриптов не помогает...даже инжу поменял...ошибка все таже...шард ДРВ
ну помогите :(


Top
   
 Post subject:
PostPosted: 2006-11-28 15:49:08 
Offline
Expert!
User avatar

Joined: 2005-01-07 13:22:19
Posts: 766
TWI включи


Top
   
 Post subject:
PostPosted: 2006-11-30 21:52:06 
Offline
User avatar

Joined: 2006-03-23 19:25:23
Posts: 101
Ыы, у мя такой же скрипт, и такая же какашка в нём. Но я просто не обращяю на это внимания, он сначала начинает лечится, когда его бьют, патом перестаёт...

_________________
:O


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

All times are UTC+02:00


Who is online

Users browsing this forum: Bing [Bot] 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