Yoko

All sides of Injection
It is currently 2025-12-22 18:29:21

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Доделать !
PostPosted: 2008-12-11 13:46:09 
Offline

Joined: 2008-03-22 13:41:19
Posts: 57
Вот скрипт почти сам написал :) Теперь его дороботать надо :)

Code:
VAR Bandag = '0x0E21'
VAR Sklad = '0x402F7B19'
VAR blbandag = '0x0E20'
VAR ulii = '0x091a'
VAR CharHP=170, LastTimer
sub main()
repeat
repeat
if UO.Life==170 Then
repeat
    uo.usefromground('0x091a')
    wait(100)
    until UO.Life<50
endif
endif
if UO.Life<170 Then
wait(500)

     UO.BandageSelf()
     UO.DeleteJournal()
     LastTimer=UO.Timer()
Repeat
     wait(500)
Until UO.InJournal('You don') OR UO.InJournal('You put') OR UO.InJournal('You applay the') OR UO.Timer()>LastTimer+100
until UO.Life==170
endif
until uo.Dead()
endif
end sub


Чтоб мыл бинты в корытци и мешал стаминку и пил когда стамины 50 ! Незнаю как искать в паке :( На стаминку потораюсь сам написать :)
Буду очень рпизнаетелен!!


Top
   
 Post subject:
PostPosted: 2008-12-11 15:23:37 
Offline

Joined: 2008-03-22 13:41:19
Posts: 57
Вот еще на стамину дописал ! А вот с мойкой бнитов не как не получается в пешите в этот скрипт пожалуста! Если еще можно добор блек перла из сундука!
Code:
VAR Bandag = '0x0E21'
VAR Sklad = '0x402F7B19'
VAR blbandag = '0x0E20'
VAR ulii = '0x091a'
VAR CharHP=170, LastTimer
sub main()
repeat
repeat
if UO.Life==170 Then
repeat
    uo.usefromground('0x091a')
    wait(100)
    until UO.Life<50
endif
endif
if UO.Life<170 Then
wait(500)

     UO.BandageSelf()
     UO.DeleteJournal()
     LastTimer=UO.Timer()
Repeat
     wait(500)
Until UO.InJournal('You don') OR UO.InJournal('You put') OR UO.InJournal('You applay the') OR UO.Timer()>LastTimer+100
until UO.Life==170
endif
if UO.Stamina<50 Then
wait(100)
    uo.usetype ('0x0f7a')
    UO.DeleteJournal()
    uo.waitmenu('What','Refresh')
    wait(14000)
    uo.usetype ('0x0F0B','0x0000')
    endif
until uo.Dead()
endif
endif
end sub


Top
   
 Post subject:
PostPosted: 2008-12-11 22:15:26 
Offline

Joined: 2008-03-22 13:41:19
Posts: 57
почему мне не кто не помогает?


Top
   
 Post subject:
PostPosted: 2008-12-11 22:32:19 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
Есть очень простое правило, форматируй свой код, открыл цикл, следующие команды через ТАБ, то же и с условиями. А вот теперь посмотри что ты написал...
Code:
VAR Bandag = '0x0E21' 
VAR Sklad = '0x402F7B19'
VAR blbandag = '0x0E20'
VAR ulii = '0x091a'
VAR CharHP=170, LastTimer
sub main()
repeat
   repeat
      if UO.Life==170 Then
         repeat
             uo.usefromground('0x091a')
             wait(100)
         until UO.Life<50
      endif
endif
      if UO.Life<170 Then
         wait(500)

         UO.BandageSelf()
         UO.DeleteJournal()
         LastTimer=UO.Timer()
         Repeat
            wait(500)
         Until UO.InJournal('You don') OR UO.InJournal('You put') OR UO.InJournal('You applay the') OR UO.Timer()>LastTimer+100
   until UO.Life==170
endif
      if UO.Stamina<50 Then
         wait(100)
         uo.usetype ('0x0f7a')
         UO.DeleteJournal()
         uo.waitmenu('What','Refresh')
         wait(14000)
         uo.usetype ('0x0F0B','0x0000')
      endif
until uo.Dead()
endif
endif
end sub

Странно что это вообще запускается.


Top
   
 Post subject:
PostPosted: 2008-12-12 12:03:00 
Offline

Joined: 2008-03-22 13:41:19
Posts: 57
Нормально работает :) уже второй день на нем качаю :)
Щас пстораюсь написать на прокачку таминга :)
А запускается потому что я єто делал :))))))


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 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:  
Powered by phpBB® Forum Software © phpBB Limited