dim reindex[8] reindex[0] = 11 reindex[1] = 12 reindex[2] = 13 reindex[3] = 10 reindex[4] = 16 reindex[5] = 14 reindex[6] = 17 reindex[7] = 15 var GumpID = 0 var ButtonID = 0 var ButtonText var i = 18
if uo.LastGump('text', 4) <> "0" then i = 19 end if GumpID = val(Mid(uo.LastGump('command', i), 16, 4)) ButtonID = reindex[GumpID-2225] ButtonText = uo.LastGump('command', ButtonID) uo.LClick(Val(Mid(ButtonText, 7, 3)), Val(Mid(ButtonText, 11, 3))) while not uo.LastGump('replyed') wait(100) wend
end sub
sub AntiMacro()
while not uo.Dead() if not uo.LastGump('replyed') then if uo.LastGump('text', 0) == 'Antimacros System' then OneClick() end if endif wait(500) wend
Уважаемые господа эксперты , а почему скрипт на антимакрос иногда не срабатывает ?
Вместо того чтобы закрывать сообщение о том что я капаю на макросе , совершается что-то непонятное и эти сообщения вылазиют одно на другое , не успевая закрываться
Что делать ?
dim reindex[8] reindex[0] = 11 reindex[1] = 12 reindex[2] = 13 reindex[3] = 10 reindex[4] = 16 reindex[5] = 14 reindex[6] = 17 reindex[7] = 15 var GumpID = 0 var ButtonID = 0 var ButtonText var i = 18
if uo.LastGump('text', 4) <> "0" then i = 19 end if GumpID = val(Mid(uo.LastGump('command', i), 16, 4)) ButtonID = reindex[GumpID-2225] ButtonText = uo.LastGump('command', ButtonID) uo.LClick(Val(Mid(ButtonText, 7, 3)), Val(Mid(ButtonText, 11, 3))) while not uo.LastGump('replyed') wait(100) wend
end sub
sub AntiMacro()
while not uo.Dead() if not uo.LastGump('replyed') then if uo.LastGump('text', 0) == 'Antimacros System' then OneClick() end if endif wait(500) wend
end sub
Да и обновите инжект в разделе Inject MOD
Кто-нибудь доработал этот макрос?
Все время выдается ошибка что не правильная операция для ButtonID в этой строчке: uo.LClick(Val(Mid(ButtonText, 7, 3)), Val(Mid(ButtonText, 11, 3)))
хмммммммм
как я понял этот скрипт нужно биндить на кнопку и нажимать при появлении таблички...
а нельзя поставить на автономную работу? чтобы антимакрос вводился каждый разпри поялении и оставить к примеру на ночь...
действительно иногда срабатывает само но бывает порой альттабаешся в УО а там окон 100 с этим антимакросом... ТТ что делать
скрипт на лумбер переписывал дня два а здесь всё просто но нифига не разбираюсь в этих
dim reindex[8]
reindex[0] = 11
reindex[1] = 12
reindex[2] = 13
reindex[3] = 10
и т.д