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

Problems with one comand [English plz]
http://forum.yoko.com.ua/viewtopic.php?f=3&t=7710
Page 1 of 1

Author:  Knight1106 [ 2006-05-17 20:05:07 ]
Post subject:  Problems with one comand [English plz]

Well, it was functioning normal for so much time and i don't know why when i use goto apears this problem... it didn't apears before and i don't know what I modified.

Can someone help me plz ?
Image

Sorry for my english and plz try to help me !

Author:  Scripts Writer [ 2006-05-17 20:25:23 ]
Post subject: 

I can have a mistake, but i think because that's something about this:

Code:
sub main()
  ...
  main()
end sub


Why not :

Code:
while 1
wend

or

Code:
while not uo.Dead()
wend

Author:  DerMeister =) [ 2006-05-17 20:45:02 ]
Post subject: 

Маст, рекурсию ведь вроде можно использовать...
Наверно у него метка cicle 2 раза используется либо инжект глючит.
Скорее всего именно инжект...
ЗЫ: В английском не силен, переводите =)

P.S: Try reinstall injection (maybe your injection.xml is corrupted)
P.P.S: Use the latest version of injection.dll

Author:  Edred [ 2006-05-17 21:05:54 ]
Post subject: 

Рекурсию без проблем можно использовать только до 100 раз. Потом могут полезть глюки. Конечно, еще и от размера памяти зависит, рекурсия в инжекте жрет память как оглашенная, но 100 раз - надежно.

Author:  Edred [ 2006-05-17 21:08:20 ]
Post subject: 

Knight1106

Please, post to the forum your file with scripts.

PS (russian): Там еще wait(1) виден, прикольная команда...

Author:  Knight1106 [ 2006-05-18 00:14:23 ]
Post subject: 

DerMeister =) wrote:
Маст, рекурсию ведь вроде можно использовать...
Наверно у него метка cicle 2 раза используется либо инжект глючит.
Скорее всего именно инжект...
ЗЫ: В английском не силен, переводите =)

P.S: Try reinstall injection (maybe your injection.xml is corrupted)
P.P.S: Use the latest version of injection.dll


i understood only the "PS", soh I tried to reinstall injection and nothing, the problem persists.

Am I using an old version ? i think that my injection is up to date, isn't it ?

Author:  Knight1106 [ 2006-05-18 01:14:46 ]
Post subject: 

Quote:
sub FzPlate()
uo.cancelmenu()
uo.addtype('Random')
while uo.targeting()
wait(20)
wend
repeat
uo.deletejournal()
uo.waitmenu('Blacksmithing','Armor','Armor','Gauntlets')
uo.usetype('Random')
while not uo.injournal('You put') and not uo.injournal('errou')
wait(20)
wend
until uo.injournal('You put')
repeat
uo.deletejournal()
uo.waitmenu('Blacksmithing','Armor','Armor','Arms')
uo.usetype('Random')
while not uo.injournal('You put') and not uo.injournal('errou')
wait(20)
wend
until uo.injournal('You put')
repeat
uo.deletejournal()
uo.waitmenu('Blacksmithing','Armor','Armor','Legs')
uo.usetype('Random')
while not uo.injournal('You put') and not uo.injournal('errou')
wait(20)
wend
until uo.injournal('You put')
repeat
uo.deletejournal()
uo.waitmenu('Blacksmithing','Armor','Armor','Platemail (26')
uo.usetype('Random')
while not uo.injournal('You put') and not uo.injournal('errou')
wait(20)
wend
until uo.injournal('You put')
repeat
uo.print('Plate feita...')
end sub


Well... After testing several times i discovered that this script is causing that error... I read and read it and didn't find where is the problem!!!
Help me plz

Author:  Knight1106 [ 2006-05-18 01:16:42 ]
Post subject: 

OMG!!! sorry for the flood but there is the error !!! one "repeat" alone at the last lines!!! I found it while posting !!!

Thanks all that tried to help
Sorry...

Author:  Scripts Writer [ 2006-05-18 05:37:04 ]
Post subject: 

Ok. Topic close.

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