Майнинг с моргалкой

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
Shadowdancer
Posts: 96
Joined: 2005-08-25 23:35:29

Майнинг с моргалкой

Post by Shadowdancer »

Здраствуйте все. Вот мой скрипт
sub Mining()
var mx, my, mz, i, j, z
for z = 1 to 100
mx = UO.GetX("self")
my = UO.GetY("self")
mz = UO.GetZ("self")
UO.DeleteJournal()
hide()
for i = mx-2 to mx+2
for j = my -2 to my +2
UO.Print("Now Mining In: "+str(mx-i)+" "+str(my-j))
while not UO.InJournal("nothing here to mine") and not UO.InJournal("location") and not UO.InJournal("far away") and not UO.InJournal("where") and not UO.InJournal("in rock") and not UO.InJournal("iron")
hide()
UO.DeleteJournal()
UO.Waittargettile("1341", str(i), str(j), str(mz))
UO.Usetype("0x0e85")
while not UO.InJournal("qq") and not UO.InJournal("location") and not UO.InJournal("nothing here to mine") and not UO.InJournal("but fail") and not UO.InJournal("where") and not UO.InJournal("nothing here to mine") and not UO.InJournal("far away") and not UO.InJournal("in rock")
wait (100)
wend
wend
UO.DeleteJournal()
next
next
UO.Press(34)
wait(100)
UO.Press(34)
wait(100)
UO.Press(34)
wait(100)
UO.Press(34)
wait(100)
end sub

sub hide()

end sub


Нуждаюсь в помощи. Как зделать что бы когда пишеться is atacking you или отнялось 1хп окно ультимы внизу заморгало ? и когда набираеться допустим максимальный вес написаный мною.
grundick
Posts: 258
Joined: 2006-11-25 17:44:44

Post by grundick »

не лучше ли звуковой сигнал вставить?:)
prof
Posts: 76
Joined: 2005-01-01 04:00:14
Contact:

Post by prof »

grundick wrote:не лучше ли звуковой сигнал вставить?:)

м.б он глухой.
I'm
Expert!
Posts: 1396
Joined: 2004-10-15 22:38:04
Location: Moscow City.
Contact:

Post by I'm »

prof wrote:
grundick wrote:не лучше ли звуковой сигнал вставить?:)

м.б он глухой.
Попрошу не оскорблять.
Как заставить мигать не знаю, звуковой сигнал просто.

Code: Select all

UO.PlayWav('X:\Ultima Online\Injection\Sounds\HightMarE.wav') 
The End.
Shadowdancer
Posts: 96
Joined: 2005-08-25 23:35:29

Post by Shadowdancer »

Разобрался спасибо. Может кто то знает насчет моргалки ? :)
grundick
Posts: 258
Joined: 2006-11-25 17:44:44

Post by grundick »

Тока навреное если специальную утилитку писать.В инже нет такого!
Ururu
Posts: 479
Joined: 2007-02-21 20:15:57

Post by Ururu »

ну можно еще текст опен попробовать, простейший вариант showjournal
Шард Антарес
Ururu
Scripts Writer
Posts: 2259
Joined: 2005-04-19 18:00:29
Location: Московская область
Contact:

Post by Scripts Writer »

Можно .ехе написать и запускать её Launch'ом в инжекте
Okypok
Posts: 100
Joined: 2007-10-12 20:48:07

Post by Okypok »

Если я за компом, то у меня при атаке на макросе просто окошко вылетает messagebox :) Довольно удобно, если не хочется звуковые сопровождения делать
Image
Image
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post by Destruction »

Все exe за вас написаны. UOPilot, комманда Flash.

+ возможность полной интеграции с инжей через реестр (setEasyUO, getEasyUO).

Работа с реестром появилась в одной из последних версий, забирать на офсайте, т.е. тут: http://uopilot.ultimasoft.ru/
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
Post Reply