Yoko

All sides of Injection
It is currently 2025-12-22 19:19:11

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Помогите...
PostPosted: 2006-03-29 08:29:00 
Offline
User avatar

Joined: 2006-03-28 07:55:10
Posts: 19
Здраствуйте я облазил весь форум с поиском , без поиска но не нашол для себя подходящий скрипт... :( Мне нужен скрипт чтобы он ловил вокрук плота 1 круг потом к примеру поплыл в сторону Left или Bleck ([/b]всеравно куда) отплыв некоторое растояние нажимал Stop и ловил опять так же вокруг плота 1 круг и повторяется до бесконечности...

ПОМОГИТЕ ПОЖАЛУЙСТА :(


Top
   
 Post subject:
PostPosted: 2006-03-29 08:58:27 
Offline
User avatar

Joined: 2006-02-21 09:31:41
Posts: 223
sub main()
uo.deletejournal()
var mx, my, mz, i, j
mx = UO.GetX("self")
my = UO.GetY("self")
mz = UO.GetZ("self")
for i = mx+2 to mx+6
for j = my-6 to my+6
UO.Print("Now Fishing In: "+str(mx-i)+" "+str(my-j))
UO.Waittargettile("1341", str(i), str(j), str(mz))
UO.Usetype("0x0DBF")
uo.deletejournal()
while not UO.InJournal("You pull") and not UO.InJournal("location") and not UO.InJournal("no fish") and not UO.InJournal("but fail") and not UO.InJournal("far away") and not UO.InJournal("in water")
wait(100)
wend
next
next
uo.say("FORWARD")
wait(7000)
uo.say("stop")
uo.exec("exec main")
end sub

sub unloadc(container)
uo.canceltarget()
uo.ignorereset()
uo.findtype("-1","-1","backpack")
while uo.findcount()
uo.print(str(uo.findcount())+" back")
if (uo.getgraphic("finditem")<>"0x13FE" and uo.getgraphic("finditem")<>"0x13F6" and uo.getgraphic("finditem")<>"0x0E21" and uo.getgraphic("finditem")<>"0x1B76" and uo.getgraphic("finditem")<>"0x0EFA") or uo.getquantity("finditem")>500 then
uo.moveitem("finditem","-1",container)
wait(200)
end if
uo.ignore("finditem")
uo.findtype("-1","-1","backpack")
wend
end sub

sub killsea()

If UO.Count('0x0E21', '0x0000')<50 then
UO.FindType('0x0E21', '0x0000', 0x4005B361)
UO.Grab("50","finditem")
Wait(400)
endif

VAR LastTimer, Sea

UO.UnSetcatchbag()
LastTimer=UO.Timer()

uo.usetype('0x13FE') ;weapon
wait(500)
uo.waittargetground()
UO.UseType('0x1B76') ;shield
wait(500)

UO.DeleteJournal()
UO.Exec('warmode 1')

UO.FindType('0x0096',-1,'ground')
Sea=UO.GetSerial('finditem')
UO.Attack(Sea)
repeat
wait(1000)
If UO.Life<90 Then
repeat
UO.Bandageself()
wait(2500)
UO.Attack(Sea)
until UO.Life>=115
Endif


until UO.IsNPC(Sea)==0
wait(3000)


UO.Attack(Sea)
UO.FindType('0x0096',-1,'ground')
If UO.GetQuantity('finditem')>0 Then
wait(500)
UO.Attack(Sea)
killsea()
Endif

UO.Exec('warmode 0')
wait(1000)

wait(1000)
uo.waittargetobject("lastcorpse")
uo.usetype('0x13F6')
wait(500)
uo.findtype("-1","-1","lastcorpse")
while uo.findcount()
uo.moveitem("finditem")
uo.ignore("finditem")
wait(1200)
uo.findtype("-1","-1","lastcorpse")
wend
wait(500)
uo.exec("exec main")
end sub

sub killelem()

VAR LastTimer, elem

UO.UnSetcatchbag()
LastTimer=UO.Timer()

uo.usetype('0x13FE') ;weapon
wait(500)
uo.waittargetground()
UO.UseType('0x1B76') ;shield
wait(500)

UO.DeleteJournal()
UO.Exec('warmode 1')

UO.FindType('0x0010',-1,'ground')
elem=UO.GetSerial('finditem')
UO.Attack(elem)
repeat
wait(1000)
If UO.Life<90 Then
repeat
UO.Bandageself()
wait(2500)
UO.Attack(elem)
until UO.Life>=115
Endif


until UO.IsNPC(elem)==0
wait(3000)


UO.Attack(elem)
UO.FindType('0x0010',-1,'ground')
If UO.GetQuantity('finditem')>0 Then
wait(500)
UO.Attack(elem)
killelem()
Endif

UO.Exec('warmode 0')
wait(1000)

uo.exec("exec main")

end sub


незнаю по кругу или нет он ловит но ловит норм и плавает )

_________________
А Я че Я не че !


Top
   
 Post subject:
PostPosted: 2006-03-29 10:05:55 
Offline
User avatar

Joined: 2006-03-28 07:55:10
Posts: 19
ошибка :(
дайте другой?


Top
   
 Post subject:
PostPosted: 2006-03-29 11:41:01 
Offline
User avatar

Joined: 2006-03-28 10:45:22
Posts: 7
Location: Russian
эм а куда сувать скрипты???а то я хз )хочу поставить качатса и уити но незнаю куда скрипты ставить )


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited