Yoko

All sides of Injection
It is currently 2025-11-23 20:53:16

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Перья(хелп)
PostPosted: 2009-11-14 08:42:54 
Offline

Joined: 2004-12-30 16:47:14
Posts: 24
Нужно поправить скрипт чтобы он резал труп и лутал его только один раз и выключался сразу

Code:
sub att() 
#**********
#(C) Cooper
#***********
VAR monst=0x2006 #Тип монстра
VAR feathers=0x1bd1
VAR dagger=0x13B9
VAR backpack=0x401f3513
var baggg
var weapon='0x13B9' # Тип пушки
var i

DIM garp[4]
 
   garp[0]='0x1BD1'
   garp[1]='0x0eed'
   garp[2]='0x1BFB'
   garp[3]='0x1F3F'

  UO.Set('finddistance','3')
  while UO.GetHP('self') < 500
    UO.FindType(monst, '-1', 'ground')
    if UO.FindCount() > 0 then
      UO.DeleteJournal()
      UO.Attack('finditem')
      for i = 0 to 3
        uo.warmode(0)
        baggg=uo.getserial('lastcorpse')
        uo.useobject(baggg)
        uo.Waittargetobject(baggg)
        wait(700)
        uo.usetype(dagger)
        wait(700)
        uo.findtype(garp[i],-1,baggg)
        if uo.findcount()>0 then
          uo.grab(-1,'finditem')
          Wait(600)
        endif
        uo.ignore('lastcorpse')
      next
      uo.IgnoreReset()
      uo.usetype(weapon)
      uo.warmode(1)
      wait(700)
    else
      wait(100)
    endif
  wend
end sub


Top
   
 Post subject:
PostPosted: 2009-11-14 08:56:22 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
уроки то для его даны?
While
wend
убери


PS это один из первых черновых скриптов Куупера :)) Лучше поищи ченито получше.

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"
Стрелялка для олдов.


Top
   
 Post subject:
PostPosted: 2009-11-14 10:32:37 
Offline

Joined: 2004-12-30 16:47:14
Posts: 24
Mirage wrote:
уроки то для его даны?
While
wend
убери


PS это один из первых черновых скриптов Куупера :)) Лучше поищи ченито получше.


он вроде норм, то что надо)


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 3 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