Yoko

All sides of Injection
It is currently 2025-11-05 22:18:52

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Это снова я
PostPosted: 2008-07-12 09:05:40 
Offline

Joined: 2008-07-08 14:45:24
Posts: 7
Code:
var posoh=0x0E81
var knife=0x0F51

sub tame()
UO.AddObject('Eklmn')
While Uo.Targeting()
wait(50)
Repeat
wend
 While 1
 Uo.DeleteJournal()
 Uo.WaitTargetObject('Eklmn')
 Uo.UseType(Posoh)
  If uo.injournal('The creature are too|You are too far|Wrong target') then
  uo.deletejournal()
  uo.exec('terminate tame')
  else
  return
  end if
 Wait(100)
 Repeat
  Until Uo.InJournal('It seems|You fail')
  If Uo.Injournal('You fail') then
  goto 1
  Else
  UO.FindType(-1,-1,'lastcorpse')
  Uo.waittargetobject('finditem')
  Uo.Usetype(knife)
    While UO.FindCount()>0
        UO.Grab('0', 'finditem')
        wait(800)
        UO.FindType(-1,-1,'lastcorpse')
    wend
    end if
    wend
    end sub


скрипт должен тамить животину. Если незатамилась - тамит по новой, если затамилась то она на серве сама дохнет а скрипт должен юзать даггер на тело и вычищать тело. В чём трабл?


Top
   
 Post subject:
PostPosted: 2008-07-12 12:11:14 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Code:
While Uo.Targeting() 
Repeat
wend
 While 1

дальше смотреть безсмысленно. Пиши нормальный скрипт


Top
   
 Post subject:
PostPosted: 2008-07-12 17:59:36 
Offline

Joined: 2008-07-08 14:45:24
Posts: 7
Слушай, ну скажи плз хоть по какому принципу? просто кукинг я понимал и осознавал, и делал наподобие других. А тут я не понимаю. Имхо так оно и должно быть а как оно на самом деле я хз. Он делает проверку после юза посоха, вырубает скрипт если далеко животное. Затем если оно не далеко начинает прручать, если не приручает возвращается к 1, если приручает (поидее) должен юзать даггер на тело и выгребать всё, что есть внутри. Разве не так? Объясни плз, я знаю ты любишь учить и заставлять думать)


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

All times are UTC+02:00


Who is online

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