sub antiinnox()
####################################
#######Anti In Nox by Rivory########
####################################
dim ArmorCr[7]
ArmorCr[1] = '0x1415' # Пузо
ArmorCr[2] = '0x1412' # Шлем
ArmorCr[3] = '0x1413' # Горгетка
ArmorCr[4] = '0x1411' # Ноги
ArmorCr[5] = '0x1410' # Плечи
ArmorCr[6] = '0x1414' # Перчи
dim ArmorN[5]
ArmorN[1] = '0x1411' # Ноги
ArmorN[2] = '0x1410' # Плечи
ArmorN[3] = '0x1415' # Пузо
ArmorN[4] = '0x1414' # Перчи
var i
repeat
If uo.injournal ('In Nox') then
wait (1300)
If not uo.injournal ('You are frozen') then
for i=1 to 6
uo.usetype (ArmorCr[i], '0x04A0')
wait (10)
next
wait (600)
uo.deletejournal ()
else
uo.deletejournal ()
wait (50)
end if
If not uo.injournal ('You are frozen') then
for i=1 to 4
uo.usetype (ArmorN[i],'0x0AF2')
wait (10)
next
uo.usetype ('0x1088, 0x0A4C') # Амуль
uo.usetype ('0x1718, 0x0A4C') # Шапка
else
wait (50)
end if
else
wait(50)
end if
until uo.dead()
end sub
Этот скриптик при касте иннокса должен одевать на межя фулл кристал армор (из массива ArmorCr), затем он ждёт энное время и одевает мой старый арм (из массива ArmorN)
Но дело в том, что скрипт реагирует на любое упоминание в журнале ('In Nox') и его легко сбить простым флудом слов In Nox. Мне надо как-нибудь проверять - простые это слова In Nox или это заклинание. Но я хз как это сделать. Может подскажете.
uo.deletejournal()
uo.cast( "Magic Arrow", "self" )
checklag()
uo.print( uo.journalcolor( uo.injournal( "In Por Ylem" ) -1 ) )
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
ну смотри. Я играю одним чаром. Потом выхожу и захожу за другого чара и мне прийдётся, чтобы заставить работать этот скрипт, пролистывать вниз 300-400 строчек, находить этот скрипт и переписывать его ? Не серьёзно это.
Конкретно - uo.JournalSerial() и uo.GetSerial(), сравниваешь, если одинаков - пропускаешь.
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
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