Yoko
http://forum.yoko.com.ua/

поправьте плз
http://forum.yoko.com.ua/viewtopic.php?f=20&t=11642
Page 1 of 1

Author:  Saint [ 2007-03-20 15:16:51 ]
Post subject:  поправьте плз

поправьте плз скрипт...чар не берет реги из сундука....и надо еще что бы чар из сундука брал манки и пил их если маны меньше 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

Author:  stickman [ 2007-03-28 21:15:50 ]
Post subject: 

то ли я дурак, то ли ты скрипт выложил не полностью.
и ставь его в CODE

Author:  Question_GimFlex [ 2007-03-29 07:16:23 ]
Post subject: 

а в скрипте нет ничего связанного с регами :)

Author:  Question_GimFlex [ 2007-03-29 07:17:24 ]
Post subject: 

и зачем пить манки если ты медитируешь?)

Author:  Question_GimFlex [ 2007-03-29 07:24:14 ]
Post subject: 

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

Author:  Maruk [ 2007-03-29 22:30:48 ]
Post subject: 

у меня реги не берет пишет UO.FINDCOUNT :(
если реги в пак положить то он 1 каст делает и сбивается опять эта же ошибка вылетает...
Плиз хелп

Author:  Nmy [ 2007-03-29 22:36:49 ]
Post subject: 

Code:
if uo.findcount()<3 then 

Author:  Maruk [ 2007-03-30 00:13:39 ]
Post subject: 

Биг сенк :)
а можешь туда добавить чтобы таргет появлялся? и манки с пола пил :)

Author:  Question_GimFlex [ 2007-03-30 06:43:35 ]
Post subject: 

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

Author:  Maruk [ 2007-03-30 11:23:35 ]
Post subject: 

Он реги берет с каждым кастом :( Можешь исправить? и если не трдно можешь добавить чтобы он бутылки из пака выкидывал.
Заранее спасибо :)

Author:  Question_GimFlex [ 2007-03-30 14:37:54 ]
Post subject: 

все дальше сам :wink:

Author:  4ngt [ 2007-03-30 16:18:24 ]
Post subject: 

Maruk wrote:
Он реги берет с каждым кастом :( Можешь исправить? и если не трдно можешь добавить чтобы он бутылки из пака выкидывал.
Заранее спасибо :)


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

Author:  Maruk [ 2007-04-01 12:42:26 ]
Post subject: 

нет я сам его купил за 500к и он был не рабочий, ну плиз можешь исправить :)

Author:  Maruk [ 2007-04-01 13:42:35 ]
Post subject: 

просто обидно потратил 500к и получил в замен нерабочий скрипт :(

Author:  Question_GimFlex [ 2007-04-01 15:43:03 ]
Post subject: 

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

Author:  Maruk [ 2007-04-01 21:25:22 ]
Post subject: 

ОГРОМНЫЙ РЕСПЕКТ!!!!!!!!!!!!!!!!!!!!!!!!

Author:  Question_GimFlex [ 2007-04-02 07:17:23 ]
Post subject: 

с тебя пыво :)

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/