Yoko

All sides of Injection
It is currently 2026-01-23 08:41:38

All times are UTC+02:00




Post new topic  Reply to topic  [ 17 posts ] 
Author Message
PostPosted: 2007-03-20 15:16:51 
Offline

Joined: 2007-03-05 11:39:11
Posts: 42
поправьте плз скрипт...чар не берет реги из сундука....и надо еще что бы чар из сундука брал манки и пил их если маны меньше 10,или же через определенное время...
sub rezist()
VAR NS='0x0F88' ; type Nighshade.
VAR GA='0x0F7A' ; type Black Pears.
VAR Sunduk='0x40075B93' ; ID sunduka.
VAR Kolvo=500 ; kol-vo resursov.
VAR LastTimer
while NOT UO.Dead()
UO.DeleteJournal()
CheckLag()
while UO.Mana>=10
UO.Cast('Magic Arrow')
uo.waittargetobject('laststatus')
wait(2000)
wend
while not uo.injournal("at peace")
uo.deletejournal()
uo.useskill('Meditation')
while not uo.injournal("You lose") and not uo.injournal("You are")
wait(100)
wend
wend
wend
end sub


Top
   
 Post subject:
PostPosted: 2007-03-28 21:15:50 
Offline
User avatar

Joined: 2005-04-05 04:13:24
Posts: 139
Location: DRW
то ли я дурак, то ли ты скрипт выложил не полностью.
и ставь его в CODE


Top
   
 Post subject:
PostPosted: 2007-03-29 07:16:23 
Offline
User avatar

Joined: 2007-03-24 08:12:51
Posts: 188
а в скрипте нет ничего связанного с регами :)


Top
   
 Post subject:
PostPosted: 2007-03-29 07:17:24 
Offline
User avatar

Joined: 2007-03-24 08:12:51
Posts: 188
и зачем пить манки если ты медитируешь?)


Top
   
 Post subject:
PostPosted: 2007-03-29 07:24:14 
Offline
User avatar

Joined: 2007-03-24 08:12:51
Posts: 188
Code:
sub rezist() 
VAR NS='0x0F88' ; type Nighshade.
VAR GA='0x0F7A' ; type Black Pears.
VAR Sunduk='0x40075B93' ; ID sunduka.
uo.useobject(Sunduk)
while NOT UO.Dead()
 UO.DeleteJournal()
 while UO.Mana>=10
  uo.waittargetobject('laststatus')
  UO.Cast('Magic Arrow') 
  wait(2000)
  uo.findtype(NS,-1,'backpack')
  if uo.findcount<=3 then
   uo.findtype(NS,-1,Sunduk)
   uo.moveitem('finditem','500','backpack')
   wait(700)
  endif
  uo.findtype(GA,-1,'backpack')
  if uo.findcount<=3 then
   uo.findtype(GA,-1,Sunduk)
   uo.moveitem('finditem','500','backpack')
   wait(700)
  endif
 wend
 while not uo.injournal("at peace")
  uo.deletejournal()
  uo.useskill('Meditation')
  while not uo.injournal("You lose") and not uo.injournal("You are")
   wait(100)
  wend
 wend
 while uo.mana<>uo.int
  wait(1000)
 wend
wend
end sub


Top
   
 Post subject:
PostPosted: 2007-03-29 22:30:48 
Offline

Joined: 2006-12-22 22:43:19
Posts: 34
у меня реги не берет пишет UO.FINDCOUNT :(
если реги в пак положить то он 1 каст делает и сбивается опять эта же ошибка вылетает...
Плиз хелп


Top
   
 Post subject:
PostPosted: 2007-03-29 22:36:49 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
Code:
if uo.findcount()<3 then 

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
 Post subject:
PostPosted: 2007-03-30 00:13:39 
Offline

Joined: 2006-12-22 22:43:19
Posts: 34
Биг сенк :)
а можешь туда добавить чтобы таргет появлялся? и манки с пола пил :)


Top
   
 Post subject:
PostPosted: 2007-03-30 06:43:35 
Offline
User avatar

Joined: 2007-03-24 08:12:51
Posts: 188
Code:
sub rezist() 
VAR NS='0x0F88' ; type Nighshade.
VAR GA='0x0F7A' ; type Black Pears.
VAR Sunduk='0x40075B93' ; ID sunduka.
var manka='0000' ; tip manki
var cvet='0000' ; cvet manki
uo.useobject(Sunduk)
while NOT UO.Dead()
 UO.DeleteJournal()
 while UO.Mana>=10
  uo.waittargetobject('laststatus')
  UO.Cast('Magic Arrow') 
  wait(2000)
  uo.findtype(NS,-1,'backpack')
  if uo.findcount()<=3 then
   uo.findtype(NS,-1,Sunduk)
   uo.moveitem('finditem','500','backpack')
   wait(700)
  endif
  uo.findtype(GA,-1,'backpack')
  if uo.findcount()<=3 then
   uo.findtype(GA,-1,Sunduk)
   uo.moveitem('finditem','500','backpack')
   wait(700)
  endif
  if uo.mana<=20 then
   uo.findtype(manka,cvet,'ground')
   if uo.findcount() then
    uo.useobject('finditem')
   endif
  endif
 wend
 while not uo.injournal("at peace")
  uo.deletejournal()
  uo.useskill('Meditation')
  while not uo.injournal("You lose") and not uo.injournal("You are")
   wait(100)
  wend
 wend
 while uo.mana<>uo.int
  wait(1000)
 wend
wend
end sub


Top
   
 Post subject:
PostPosted: 2007-03-30 11:23:35 
Offline

Joined: 2006-12-22 22:43:19
Posts: 34
Он реги берет с каждым кастом :( Можешь исправить? и если не трдно можешь добавить чтобы он бутылки из пака выкидывал.
Заранее спасибо :)


Top
   
 Post subject:
PostPosted: 2007-03-30 14:37:54 
Offline
User avatar

Joined: 2007-03-24 08:12:51
Posts: 188
все дальше сам :wink:


Top
   
 Post subject:
PostPosted: 2007-03-30 16:18:24 
Offline

Joined: 2005-04-04 11:58:25
Posts: 3
Maruk wrote:
Он реги берет с каждым кастом :( Можешь исправить? и если не трдно можешь добавить чтобы он бутылки из пака выкидывал.
Заранее спасибо :)


угу.. а потом этот скрипт по 500к впаривается? =)


Top
   
 Post subject:
PostPosted: 2007-04-01 12:42:26 
Offline

Joined: 2006-12-22 22:43:19
Posts: 34
нет я сам его купил за 500к и он был не рабочий, ну плиз можешь исправить :)


Top
   
 Post subject:
PostPosted: 2007-04-01 13:42:35 
Offline

Joined: 2006-12-22 22:43:19
Posts: 34
просто обидно потратил 500к и получил в замен нерабочий скрипт :(


Top
   
 Post subject:
PostPosted: 2007-04-01 15:43:03 
Offline
User avatar

Joined: 2007-03-24 08:12:51
Posts: 188
Code:
sub rezist() 
VAR NS='0x0F88' ; type Nighshade.
VAR GA='0x0F7A' ; type Black Pears.
VAR Sunduk='0x40075B93' ; ID sunduka.
var manka='0000' ; tip manki
var cvet='0000' ; cvet manki
var botle='0000' ; tip pustoi bytulki
var cbotle='0000' ; cvet pustoi botle
uo.useobject(Sunduk)
while NOT UO.Dead()
 UO.DeleteJournal()
 while UO.Mana>=10
  uo.waittargetobject('laststatus')
  UO.Cast('Magic Arrow') 
  wait(2000)
  uo.findtype(NS,-1,'backpack')
  if uo.getquantity('finditem')<=3 then
   uo.findtype(NS,-1,Sunduk)
   uo.moveitem('finditem','500','backpack')
   wait(700)
  endif
  uo.findtype(GA,-1,'backpack')
  if uo.getquantity('finditem')<=3 then
   uo.findtype(GA,-1,Sunduk)
   uo.moveitem('finditem','500','backpack')
   wait(700)
  endif
  if uo.mana<=20 then
   uo.findtype(manka,cvet,'ground')
   if uo.findcount() then
    uo.useobject('finditem')
   endif
  endif
  uo.findtype(botle,cbotle,'backpack')
  if uo.getquantity('finditem')>=10 then
   uo.moveitem('finditem','all','ground')
   wait(700)
  endif
 wend
 while not uo.injournal("at peace")
  uo.deletejournal()
  uo.useskill('Meditation')
  while not uo.injournal("You lose") and not uo.injournal("You are")
   wait(100)
  wend
 wend
 while uo.mana<>uo.int
  wait(1000)
 wend
wend
end sub


Top
   
 Post subject:
PostPosted: 2007-04-01 21:25:22 
Offline

Joined: 2006-12-22 22:43:19
Posts: 34
ОГРОМНЫЙ РЕСПЕКТ!!!!!!!!!!!!!!!!!!!!!!!!


Top
   
 Post subject:
PostPosted: 2007-04-02 07:17:23 
Offline
User avatar

Joined: 2007-03-24 08:12:51
Posts: 188
с тебя пыво :)


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