Problems with one comand [English plz]

Ask for help

Moderators: Murderator+, Murderator

Locked
Knight1106
Posts: 64
Joined: 2005-09-08 18:38:12

Problems with one comand [English plz]

Post by Knight1106 »

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 !
Scripts Writer
Posts: 2259
Joined: 2005-04-19 18:00:29
Location: Московская область
Contact:

Post by Scripts Writer »

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

Code: Select all

sub main()
  ...
  main()
end sub


Why not :

Code: Select all

while 1
wend

or

Code: Select all

while not uo.Dead()
wend
DerMeister =)
Expert!
Posts: 1032
Joined: 2006-02-25 21:48:38

Post by DerMeister =) »

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

P.S: Try reinstall injection (maybe your injection.xml is corrupted)
P.P.S: Use the latest version of injection.dll
DerMeister сейчас на нейрале!
Edred
Expert!
Posts: 2544
Joined: 2004-04-03 17:36:29
Location: Saint-Petersburg

Post by Edred »

Рекурсию без проблем можно использовать только до 100 раз. Потом могут полезть глюки. Конечно, еще и от размера памяти зависит, рекурсия в инжекте жрет память как оглашенная, но 100 раз - надежно.
Ни один скрипт не работает? Пора обновить Инжект...
Все работает, но хочется большего? Пора переходить на стелс...
Edred
Expert!
Posts: 2544
Joined: 2004-04-03 17:36:29
Location: Saint-Petersburg

Post by Edred »

Knight1106

Please, post to the forum your file with scripts.

PS (russian): Там еще wait(1) виден, прикольная команда...
Ни один скрипт не работает? Пора обновить Инжект...
Все работает, но хочется большего? Пора переходить на стелс...
Knight1106
Posts: 64
Joined: 2005-09-08 18:38:12

Post by Knight1106 »

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 ?
Knight1106
Posts: 64
Joined: 2005-09-08 18:38:12

Post by Knight1106 »

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
Knight1106
Posts: 64
Joined: 2005-09-08 18:38:12

Post by Knight1106 »

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...
Scripts Writer
Posts: 2259
Joined: 2005-04-19 18:00:29
Location: Московская область
Contact:

Post by Scripts Writer »

Ok. Topic close.
Locked