Page 2 of 3
Posted: 2005-01-10 17:24:15
by Gobzik
Ошибка Unhandled exeption in parser

Posted: 2005-01-10 17:45:09
by Gobzik
Напишите плиз рабочий скрипт.
Posted: 2005-01-11 01:30:28
by Worth
Я его на первой странице постил. Если хочешь с переплавкой, замени здесь
Code: Select all
var Forge='вставь ID своей форжи'
var tPoduct = 'вставь тип продукта'
И проверь весь свой скрипт на очепятки
Posted: 2005-01-11 16:25:45
by Excel
ja stavlju tip daggerov a on pi6et undentifed tproduct?po4emu?
Posted: 2005-01-11 16:31:48
by Sfagnum
Excel wrote:ja stavlju tip daggerov a on pi6et undentifed tproduct?po4emu?
ну так там надо поставить тип продукции в твоём случае даггера

Posted: 2005-01-11 16:33:39
by Excel
ja stavlju tak var tPoduct =0x13F0 pravilno?
Posted: 2005-01-11 16:36:14
by Excel
sub BS()
var Iron='0x1bef'
var Forge='' - 0x4032D1C4
var tPoduct ='0x0F51'
uo.Automenu('Blacksmithing','Weapons')
uo.Automenu('Weapons','Swords & Blades')
uo.Automenu('Swords & Blades','dagger')
repeat
uo.DeleteJournal()
uo.UseType(Iron)
repeat
wait(150)
until uo.InJournal('You')
uo.FindType(tProduct,-1,'backpack')
if uo.GetQuantity('finditem') then
uo.WaitTargetObject('finditem')
uo.UseObject(Forge)
wait(3000)
end if
until (uo.Count(Iron)<=16)
uo.playwav('c:\Inject\71.wav')
end sub
Proverj pozaluista ja pravilno napisal?
Posted: 2005-01-11 16:39:13
by Sfagnum
Excel wrote:Code: Select all
sub BS()
var Iron='0x1bef'
var Forge='0x4032D1C4'
var tProduct ='0x0F51'
uo.Automenu('Blacksmithing','Weapons')
uo.Automenu('Weapons','Swords & Blades')
uo.Automenu('Swords & Blades','dagger')
repeat
uo.DeleteJournal()
uo.UseType(Iron)
repeat
wait(150)
until uo.InJournal('You')
uo.FindType(tProduct,-1,'backpack')
if uo.GetQuantity('finditem') then
uo.WaitTargetObject('finditem')
uo.UseObject(Forge)
wait(3000)
end if
until (uo.Count(Iron)<=16)
uo.playwav('c:\Inject\71.wav')
end sub
Proverj pozaluista ja pravilno napisal?
вот так похоже
Posted: 2005-01-11 16:42:14
by Excel
vse ravnp pi6et line 15 variable t product undentifed
Posted: 2005-01-11 16:48:33
by Sfagnum
Excel wrote:vse ravnp pi6et line 15 variable t product undentifed
те ж сказали посмотреть скрипт на очепятки...
tPoduct <> tProduct
ща поправлю в скрипте
Posted: 2005-01-11 16:57:36
by Excel
vot ja durak ja uze popravil izivini za glupostj
Posted: 2005-01-11 18:40:22
by Gobzik
Блин, почему то вылезает ошибка Unghandled Exception in parser
Posted: 2005-01-12 08:41:41
by Sfagnum
Gobzik wrote:Блин, почему то вылезает ошибка Unghandled Exception in parser
попробуй скопировать ещё раз с предыдущей страницы, последний скрипт.
Posted: 2005-01-12 18:09:54
by Gobzik
Не помогло.
Posted: 2005-01-12 18:36:32
by Gobzik
хнык
Posted: 2005-01-12 19:46:43
by Excel
sub BS()
var Iron='0x1bef'
var Forge='0x4032D1C4' -ID форжи
var tPoduct =0x0F51
uo.Automenu('Blacksmithing','Weapons')
uo.Automenu('Weapons','Swords & Blades')
uo.Automenu('Swords & Blades','dagger')
repeat
uo.DeleteJournal()
uo.UseType(Iron)
repeat
wait(150)
until uo.InJournal('You')
uo.FindType(-1,'backpack')
if uo.GetQuantity('finditem') then
uo.WaitTargetObject('finditem')
uo.UseObject(Forge)
wait(3000)
end if
until (uo.Count(Iron)<=16)
uo.playwav('c:\Inject\71.wav')
end sub
Posted: 2005-01-12 22:56:35
by Gobzik
да нет, тоже самое, а может, что не так с настройками?
Posted: 2005-01-12 23:46:59
by Excel
может быть но у меня идет попробуй этот
sub main()
uo.automenu('Blacksmithing','Weapons')
uo.automenu('Weapons','Swords & Blades')
uo.automenu('Swords & Blades','dagger')
uo.deletejournal()
while uo.count(0x1BEF)>=3
uo.usefromground(0x097B)
uo.usetype(0x1BEF) ;ingoti
wait(8500)
wend
if uo.count(0x0F51)==0 AND uo.count(0x1BEF)<3 then
uo.say(',terminate all')
endif
uo.say(',exec plavka')
uo.cancelmenu()
end sub
sub plavka()
while uo.count(0x0F51)>0
uo.usefromground(0x0FB1)
uo.waittargettype(0x0F51)
wait(200)
wend
uo.say(',exec main')
end sub
Posted: 2005-01-12 23:50:19
by Excel
toka tut type forzi postavj svoi
Posted: 2005-01-13 19:56:20
by Gobzik
сенкс )