Yoko

All sides of Injection
It is currently 2025-10-31 19:34:55

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2006-02-11 20:16:25 
Offline
User avatar

Joined: 2005-01-14 13:41:05
Posts: 73
Location: Одесса - мама
Code:
sub main()
var i,k
UO.Set('finddistance','2')
UO.Set('distance','2')
While true

heal()
wait(2000)
UO.ServerPrint(".hungry")
wait(1000)
i=UO.LastMessage()
If i=="You aren't hungry at all" Then
UO.Exec("usetype '0x097B'")
Wait(1000)
while uo.GetHP()==uo.GetMaxHP()
uo.say('Shadowjumper')
endif
end sub

sub heal()
var bint

while UO.Life<149
UO.waittargetobject('0x007F0CB6')
UO.Useobject("bint")
wait(1000)
   
end if
end sub

как зациклить этот сккрипт :( очень надо помогите пожлуйста.. ато он чтото 1 раз пытется оюзнуть с пола бинт и отключается....


Last edited by GrandMaster Ranger on 2006-02-11 20:24:25, edited 1 time in total.

Top
   
 Post subject:
PostPosted: 2006-02-11 20:22:46 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
Code:
sub main() 
var i,k
UO.Set('finddistance','2')
UO.Set('distance','2')
While true

heal()
wait(2000)
while uo.GetHP()==uo.GetMaxHP()
uo.say('Shadowjumper')
wait(4000)
UO.ServerPrint(".hungry")
Wait(1000)
i=UO.LastMessage()
If i=="You are a little hungry" Then
UO.Exec("usetype '0x097B'")
endif
wend
end sub

sub heal()
var bint

while UO.Life<149
UO.waittargetobject('0x007F0CB6')
UO.Useobject("bint")
wait(1000)
wend
   
end sub

какойто бредовый скрипт...
доделал по интуиции...


Top
   
 Post subject:
PostPosted: 2006-02-11 20:25:42 
Offline
User avatar

Joined: 2005-01-14 13:41:05
Posts: 73
Location: Одесса - мама
Grin wrote:
Code:
sub main() 
var i,k
UO.Set('finddistance','2')
UO.Set('distance','2')
While true

heal()
wait(2000)
while uo.GetHP()==uo.GetMaxHP()
uo.say('Shadowjumper')
wait(4000)
UO.ServerPrint(".hungry")
Wait(1000)
i=UO.LastMessage()
If i=="You are a little hungry" Then
UO.Exec("usetype '0x097B'")
endif
wend
end sub

sub heal()
var bint

while UO.Life<149
UO.waittargetobject('0x007F0CB6')
UO.Useobject("bint")
wait(1000)
wend
   
end sub

какойто бредовый скрипт...
доделал по интуиции...

бредовай не бредовый не важно!!! он просто должен хилить себя бинтами с пола если хоть 1 хп отняло! а если хп полное он должен орать фразу, тогда его дальше бить будут!
з.ы. все равно он 1 раз отхиливает и скрипт просто выключается!


Top
   
 Post subject:
PostPosted: 2006-02-11 20:31:44 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
Code:
sub main() 
   UO.Set('finddistance','2')
   UO.Set('distance','2')
   While not uo.Dead()
      heal()
      wait(2000)
      while uo.GetHP()==uo.GetMaxHP()
         uo.say('Shadowjumper')
         wait(4000)
         uo.DeleteJournal()
         UO.ServerPrint(".hungry")
         Wait(1000)
         If uo.inJournal('little hungry') Then
            uo.usetype( '0x097B')
         end if
      wend
   wend

end sub

sub heal()
   while UO.Life<149
      UO.waittargetself()
      UO.Useobject("bint")
      wait(1000)
   wend   
end sub


Top
   
 Post subject:
PostPosted: 2006-02-11 20:38:23 
Offline
User avatar

Joined: 2005-01-14 13:41:05
Posts: 73
Location: Одесса - мама
Grin wrote:
Code:
sub main() 
   UO.Set('finddistance','2')
   UO.Set('distance','2')
   While not uo.Dead()
      heal()
      wait(2000)
      while uo.GetHP()==uo.GetMaxHP()
         uo.say('Shadowjumper')
         wait(4000)
         uo.DeleteJournal()
         UO.ServerPrint(".hungry")
         Wait(1000)
         If uo.inJournal('little hungry') Then
            uo.usetype( '0x097B')
         end if
      wend
   wend

end sub

sub heal()
   while UO.Life<149
      UO.waittargetself()
      UO.Useobject("bint")
      wait(1000)
   wend   
end sub

огромное... просто большущеее спасибо :)


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: Bing [Bot] 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited