Yoko http://forum.yoko.com.ua/ |
|
Мне нужна помощь http://forum.yoko.com.ua/viewtopic.php?f=17&t=14434 |
Page 1 of 1 |
Author: | Orkish [ 2009-02-18 18:08:19 ] |
Post subject: | Мне нужна помощь |
Вот мой скрипт на ламбер.... Проблема в том что я не знаю куда вставить строку чтоб мой персонаж при использовании топора до нюля брал новый топор из бекпака sub main() uo.print("Script version 1.1. Created by ™•Orcish•") repeat start() until UO.Dead() end sub Sub start() check() uo.cast('Recall',0x4004FBE3) #1 wait(2000) mine(3290,2006,1392,-90) #0,0,0,0 узнаем точку рыться ,infotile wait(500) check() dom() check() uo.cast('Recall',0x4004FBEB) #2 wait(2000) mine(3293,2004,1393,-90) #0,0,0,0 узнаем точку рыться ,infotile wait(500) check() dom() end sub end sub Sub mine(t,x,y,z) uo.deletejournal() repeat wait(1000) uo.waittargettile(str(t),str(x),str(y),str(z)) uo.usetype('0x0F43') until uo.injournal("cliloc# 0xA30D") uo.Canceltarget() end sub sub dom() uo.cast('Recall',0x4004FBDD) #0x000000 руна на порог дома wait(2000) repeat UO.findtype('0x19B9','-1','my') wait(600) UO.waittargetobject('0x400AF002') #0x0000000 id плавилки wait(500) UO.useobject('finditem') wait(500) if uo.injournal("cliloc# 0xA2DE") then uo.deletejournal() uo.cast('Recall',0x4004FBDD) #0x000000 руна на порог дома wait(2000) goto a else a: UO.useobject('finditem') until uo.findcount() == 0 wait(500) end if repeat UO.findtype('0x1BDD','-1','2') uo.moveitem('finditem','0','0x4008F66B') #0x000000 id ящика wait(700) until uo.findcount() == 0 while UO.Count(0x0F43)< 3 uo.findtype(0x0F43,-1,0x4008F63E) #0x000000 id ящика с лопатами UO.moveitem('finditem','0','0x40039198') #0x000000 id бэк пака wait (700) wend end sub sub check() while Uo.Mana <10 if UO.Mana <10 then uo.Canceltarget() UO.UseSkill("Meditation") wait(7000) end if wend end sub |
Page 1 of 1 | All times are UTC+02:00 |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |