Yoko

All sides of Injection
It is currently 2025-11-05 20:50:02

All times are UTC+02:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: 2005-02-21 18:44:02 
Offline
User avatar

Joined: 2005-01-13 08:40:40
Posts: 56
чего тут неправильно скажите плиз ..
Code:
sub kill_with_animal()
  if UO.GetGlobal('out')=='1' then
    UO.Msg("all stop");
    repeat
      UO.Say("!!!FUCK YOU!!!");
      UO.Say(",warmode 0");
      wait(200);
    until UO.WarMode()==0;
    UO.UseObject("animal");
#    UO.UseFromGround('0','0x0000');
    UO.SetGlobal('out','0');
  else
    UO.UseObject("self");
    UO.WaitTargetObject("laststatus");
    UO.Msg("all kill");
    UO.SetGlobal('out','1');
  endif
end sub


Top
   
PostPosted: 2005-02-21 18:44:57 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
Ekkie wrote:
Code:
      UO.Say("!!!FUCK YOU!!!");
    UO.UseObject("self");
;)


Top
   
PostPosted: 2005-02-21 19:04:41 
Offline
User avatar

Joined: 2005-01-13 08:40:40
Posts: 56
Sfagnum wrote:
Ekkie wrote:
Code:
      UO.Say("!!!FUCK YOU!!!");
    UO.UseObject("self");
;)

оН вроде должен содится на лошад же????
( Он не садится обратно)


Top
   
 Post subject:
PostPosted: 2005-02-21 20:09:30 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
Code:
sub horse()
   UO.DeleteJournal()
   UO.UseObject('Horse')
   wait(200)
   If UO.InJournal("You can't see") Then
      UO.UseObject('self')
      uo.waittargetobject('lastattack')
      uo.say("all kill")
   Endif
end sub


sub HorseAdd()
   UO.UseObject('self')
   UO.AddObject('Horse')
   UO.SaveConfig()
end sub



Top
   
 Post subject:
PostPosted: 2005-02-22 13:44:32 
Offline
User avatar

Joined: 2005-01-13 08:40:40
Posts: 56
Savage wrote:
Code:
sub horse()
   UO.DeleteJournal()
   UO.UseObject('Horse')
   wait(200)
   If UO.InJournal("You can't see") Then
      UO.UseObject('self')
      uo.waittargetobject('lastattack')
      uo.say("all kill")
   Endif
end sub


sub HorseAdd()
   UO.UseObject('self')
   UO.AddObject('Horse')
   UO.SaveConfig()
end sub



не работает=(


Top
   
 Post subject:
PostPosted: 2005-02-22 14:37:27 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
А ты коня добавил в объекты? Юзать надо на атакованного чара.


Top
   
 Post subject:
PostPosted: 2005-02-22 14:44:36 
Offline
User avatar

Joined: 2005-02-08 15:39:19
Posts: 86
Location: D.R.W.
тут есть же шарага такая>>
Code:
sub lol() 
uo.deletejournal()
uo.useobject("0x0002BFF1")#id loshadi
wait(400)
if uo.injournal("You can't see the target") then
uo.useobject("0x00105C8A")#id svoego chara
uo.waittargetlast()
uo.say("")
uo.say("all kill")
wait(100)
else
uo.say("")
uo.say("all stop")
wait(100)
uo.useobject("0x0002BFF1")
uo.deletejournal()
end if
endsub

end if

endsub

_________________
у меня есть 400 мешочков в каждом по 255 никлейсов,один никлейс-32гп всё влом пойти загнать..


Top
   
 Post subject:
PostPosted: 2005-02-22 15:32:41 
Offline
Expert!
User avatar

Joined: 2004-10-15 22:38:04
Posts: 1396
Location: Moscow City.
Помоему уневерсальнее сделать так:
  • Ты задаеш уникальное имя лошадке, и залазять по нему :lol:
    Code:
    Var KillerName="White Keeper" 
    # <...> #
     Repeat
     UO.FindType(-1,-1,"ground")
     UO.Ignore("finditem")
    Until UO.GetName("finditem")==KillerName
    # <...> #
  • Fixed [ибо незнаю как обьяснить но у меня так:lol:]

Идея я думаю понятна?


Top
   
 Post subject:
PostPosted: 2005-02-22 16:14:25 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
Ekkie wrote:
не работает=(
сперва юзаешь процедурку sub HorseAdd() 1раз, а в бою sub horse()


Top
   
 Post subject:
PostPosted: 2005-02-22 23:36:31 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
Там какая то глюка была лучше так:
Code:
sub horse()
   UO.DeleteJournal()
   UO.UseObject('Horse')
   wait(200)
   If UO.InJournal("t see") Then
      UO.UseObject('self')
      uo.waittargetobject('lastattack')
      uo.say("all kill")
   Else
      UO.UseObject('Horse')
   Endif
end sub


sub HorseAdd()
   UO.UseObject('self')
   UO.AddObject('Horse')
   UO.SaveConfig()
end sub


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