Плавка не меньше 10
Moderators: Murderator+, Murderator
-
- Posts: 96
- Joined: 2005-08-25 23:35:29
Плавка не меньше 10
Кому не сложно напишите плиз простенькую плавку что бы плавил кучку руды там где 10 и больше, ( всю оставшуюсю плавленую и нет кидал в сундук.)
Поищи в поиске "smelting" и переделай иго.
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net
-
- Posts: 96
- Joined: 2005-08-25 23:35:29
дружище эт несложно для тех кто понимает, я разбераюсь чуть но написать немогу. Нельзя быть во всех делах Грандмастером
))
черкни пожалуйста! можно прям в этом топике
http://forum.yoko.com.ua/viewtopic.php?t=13242

черкни пожалуйста! можно прям в этом топике

http://forum.yoko.com.ua/viewtopic.php?t=13242
-
- Posts: 96
- Joined: 2005-08-25 23:35:29
Code: Select all
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
-
- Posts: 96
- Joined: 2005-08-25 23:35:29
-
- Junior Expert
- Posts: 3221
- Joined: 2004-06-24 22:08:56
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.
Telegram: @tatikom
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
-
- Posts: 96
- Joined: 2005-08-25 23:35:29
а можно попроше обьяснить ?
)
пасиб уже сам разобрался

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

Last edited by Shadowdancer on 2008-02-14 13:49:56, edited 1 time in total.
-
- Junior Expert
- Posts: 3221
- Joined: 2004-06-24 22:08:56
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.
Telegram: @tatikom
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
-
- Posts: 96
- Joined: 2005-08-25 23:35:29
Grin wrote:Code: Select all
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
А можно зделать если физл то еще раз плавит!?
Люди! будте разумны...
Code: Select all
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
-
- Posts: 96
- Joined: 2005-08-25 23:35:29
вот у меня скрипт, почему нехочет енд саб ставить ? пишет ошибка ТМР
а без енда он плавит бесконечно!
а без енда он плавит бесконечно!
Code: Select all
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