Yoko

All sides of Injection
It is currently 2025-12-23 13:09:25

All times are UTC+02:00




Post new topic  Reply to topic  [ 32 posts ]  Go to page 1 2 Next
Author Message
PostPosted: 2008-02-13 21:03:29 
Offline

Joined: 2005-08-25 23:35:29
Posts: 96
Кому не сложно напишите плиз простенькую плавку что бы плавил кучку руды там где 10 и больше, ( всю оставшуюсю плавленую и нет кидал в сундук.)


Top
   
 Post subject:
PostPosted: 2008-02-13 21:43:07 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
Поищи в поиске "smelting" и переделай иго.

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


Top
   
 Post subject:
PostPosted: 2008-02-13 22:55:23 
Offline

Joined: 2005-08-25 23:35:29
Posts: 96
заепался уже переделывать тут мрачные плавки :(


Top
   
 Post subject:
PostPosted: 2008-02-13 22:57:43 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
ну чего сложного то?
про бегаешься по всей руде... смотришь ее колво
если больше то двой ной клик и ждешь пока куча исчезнет (можно проверять по кординате предмета)


Top
   
 Post subject:
PostPosted: 2008-02-13 23:11:27 
Offline

Joined: 2005-08-25 23:35:29
Posts: 96
дружище эт несложно для тех кто понимает, я разбераюсь чуть но написать немогу. Нельзя быть во всех делах Грандмастером :)))

черкни пожалуйста! можно прям в этом топике :)
http://forum.yoko.com.ua/viewtopic.php?t=13242


Top
   
 Post subject:
PostPosted: 2008-02-13 23:19:52 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
как увас плавка происходит?


Top
   
 Post subject:
PostPosted: 2008-02-13 23:22:17 
Offline

Joined: 2005-08-25 23:35:29
Posts: 96
Просто стоишь возле форжи 2 раза на руду но нужно что бы не меньше 10 руды было!


Top
   
 Post subject:
PostPosted: 2008-02-13 23:31:36 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
Code:
sub SmeltOre()
   
   uo.IgnoreReset()
   uo.FindType('')
   while uo.FindCount()
      if uo.GetQuantity('finditem') > 9 then
         uo.UseObject('finditem')
         while uo.GetX('finditem')
            wait(100)
         wend
      else
         uo.Ignore('finditem')
      end if
      uo.FindType('')
   wend

end sub


Top
   
 Post subject:
PostPosted: 2008-02-13 23:56:28 
Offline

Joined: 2005-08-25 23:35:29
Posts: 96
пасиб завтра зделаю тест


Top
   
 Post subject:
PostPosted: 2008-02-13 23:59:30 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
не за будь там типы прописать...
+ скрипт не у читывает если ты сфейлишь переплавку


Top
   
 Post subject:
PostPosted: 2008-02-14 13:12:02 
Offline

Joined: 2005-08-25 23:35:29
Posts: 96
а что это за строчка ?

sub SmeltIron()
var tmp,i;
uo.IgnoreReset()
uo.FindType('')


Top
   
 Post subject:
PostPosted: 2008-02-14 13:15:05 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Shadowdancer wrote:
а что это за строчка ?

sub SmeltIron()
var tmp,i;
uo.IgnoreReset()
uo.FindType('')

viewtopic.php?t=805

Хотя бы ФАК прочитать можно было :!:

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2008-02-14 13:18:59 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
дурдом какой то;)
Блин... Дест давай какие нибудь умные вопросы уже задавай...


Top
   
 Post subject:
PostPosted: 2008-02-14 13:39:40 
Offline

Joined: 2005-08-25 23:35:29
Posts: 96
а можно попроше обьяснить ? :))

пасиб уже сам разобрался :)


Last edited by Shadowdancer on 2008-02-14 13:49:56, edited 1 time in total.

Top
   
 Post subject:
PostPosted: 2008-02-14 13:42:23 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
зачем?


Top
   
 Post subject:
PostPosted: 2008-02-14 14:09:46 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Grin wrote:
дурдом какой то;)
Блин... Дест давай какие нибудь умные вопросы уже задавай...

Легко. Сек, найду темку :)

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


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

Joined: 2005-08-25 23:35:29
Posts: 96
Жадина :(


Top
   
 Post subject:
PostPosted: 2008-02-14 23:19:29 
Offline

Joined: 2005-08-25 23:35:29
Posts: 96
Grin wrote:
Code:
sub SmeltOre()
   
   uo.IgnoreReset()
   uo.FindType('')
   while uo.FindCount()
      if uo.GetQuantity('finditem') > 9 then
         uo.UseObject('finditem')
         while uo.GetX('finditem')
            wait(100)
         wend
      else
         uo.Ignore('finditem')
      end if
      uo.FindType('')
   wend

end sub



А можно зделать если физл то еще раз плавит!?


Top
   
 Post subject:
PostPosted: 2008-02-14 23:56:25 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
Люди! будте разумны...
Code:
sub SmeltOre()
 
   var orecount = 0
   
   uo.IgnoreReset()
   uo.FindType('')
   while uo.FindCount()
      orecount = uo.GetQuantity('finditem')
      while orecount > 9
         uo.UseObject('finditem')
         while orecount == uo.GetQuantity('finditem')
            wait(100)
         wend
         orecount = uo.GetQuantity('finditem')
      wend
      if orecount then
         uo.Ignore('finditem')
      end if
      uo.FindType('')
   wend

end sub


Top
   
 Post subject:
PostPosted: 2008-02-15 14:20:04 
Offline

Joined: 2005-08-25 23:35:29
Posts: 96
вот у меня скрипт, почему нехочет енд саб ставить ? пишет ошибка ТМР
а без енда он плавит бесконечно!

Code:
sub SmeltIron()
var tmp,i;
 
  var orecount = 0
   
   uo.IgnoreReset()
   uo.FindType('0x19B9')
   while uo.FindCount()
      orecount = uo.GetQuantity('finditem')
      while orecount > 9
         uo.UseObject('finditem')
         while orecount == uo.GetQuantity('finditem')
            wait(100)
         wend
         orecount = uo.GetQuantity('finditem')
      wend
      if orecount then
         uo.Ignore('finditem')
      end if
      uo.FindType('0x19B9')
wend


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 32 posts ]  Go to page 1 2 Next

All times are UTC+02:00


Who is online

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