Yoko

All sides of Injection
It is currently 2025-10-15 12:05:47

All times are UTC+02:00




Post new topic  Reply to topic  [ 16 posts ] 
Author Message
PostPosted: 2010-09-22 12:36:40 
Offline

Joined: 2010-09-22 12:30:59
Posts: 8
Вот скрипт:
Code:
sub fishing() 
var mx, my, mz, i, j
uo.print('А где ведро?')
uo.exec('addobject Bag')
while uo.targeting()
wait(100)
wend

mx = UO.GetX("self")
my = UO.GetY("self")
mz = UO.GetZ("self")
UO.DeleteJournal()
for i = mx-4 to mx+4
for j = my -4 to my+4
if UO.dead() then
return
endif
while not UO.Hidden()
UO.Warmode("0")
uo.print("hiding...")
UO.UseSkill("Hiding")
wait(4000)
wend

UO.Print("Now Fishing In: "+str(mx-i)+" "+str(my-j))
while not UO.InJournal("no fish here") and not UO.InJournal("location") and not UO.InJournal("far away") and not UO.InJournal("in water")
UO.DeleteJournal()
UO.Waittargettile("1341", str(i), str(j), str(mz))
UO.Usetype("0x0DBF") ;FishingPole
if UO.dead() then
return
endif
if UO.Weight>660 then
return
endif
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)
if UO.InJournal("You pull") then
UO.SetReceivingContainer('Bag')
UO.findtype('0x09CC','0x0000','ground') ;fish
UO.grab ('3','finditem')
wait (500)
UO.findtype('0x09CD','0x0000','ground') ;fish
UO.grab ('3','finditem')
wait (500)
UO.findtype('0x09CE','0x0000','ground') ;fish
UO.grab ('3','finditem')
wait (500)
UO.findtype('0x09CF','0x0000','ground') ;fish
UO.grab ('3','finditem')
wait (500)
UO.findtype('0x14EB','0x0000','ground') ;tattered map
UO.grab ('1','finditem')
wait (500)
UO.findtype('0x0DD6','0x05F6','ground') ;Truly rare fish
UO.grab ('1','finditem')
wait (500)
UO.findtype('0x0DD6','0x01BB','ground') ;Prize fish
UO.grab ('1','finditem')
wait (500)
UO.UnSetReceivingContainer()
end if
wend
wend
UO.DeleteJournal()
next
next
end sub


Помогите убрать Hiding. Заранее благодарен.


Top
   
PostPosted: 2010-09-22 12:50:51 
Offline
User avatar

Joined: 2010-04-22 09:39:37
Posts: 35
Location: Riga - Norge
sub fishing()
var mx, my, mz, i, j
uo.print('А где ведро?')
uo.exec('addobject Bag')
while uo.targeting()
wait(100)
wend

mx = UO.GetX("self")
my = UO.GetY("self")
mz = UO.GetZ("self")
UO.DeleteJournal()
for i = mx-4 to mx+4
for j = my -4 to my+4
if UO.dead() then
return
endif
#while not UO.Hidden()
#UO.Warmode("0")
#uo.print("hiding...")
#UO.UseSkill("Hiding")
#wait(4000)
wend

UO.Print("Now Fishing In: "+str(mx-i)+" "+str(my-j))
while not UO.InJournal("no fish here") and not UO.InJournal("location") and not UO.InJournal("far away") and not UO.InJournal("in water")
UO.DeleteJournal()
UO.Waittargettile("1341", str(i), str(j), str(mz))
UO.Usetype("0x0DBF") ;FishingPole
if UO.dead() then
return
endif
if UO.Weight>660 then
return
endif
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)
if UO.InJournal("You pull") then
UO.SetReceivingContainer('Bag')
UO.findtype('0x09CC','0x0000','ground') ;fish
UO.grab ('3','finditem')
wait (500)
UO.findtype('0x09CD','0x0000','ground') ;fish
UO.grab ('3','finditem')
wait (500)
UO.findtype('0x09CE','0x0000','ground') ;fish
UO.grab ('3','finditem')
wait (500)
UO.findtype('0x09CF','0x0000','ground') ;fish
UO.grab ('3','finditem')
wait (500)
UO.findtype('0x14EB','0x0000','ground') ;tattered map
UO.grab ('1','finditem')
wait (500)
UO.findtype('0x0DD6','0x05F6','ground') ;Truly rare fish
UO.grab ('1','finditem')
wait (500)
UO.findtype('0x0DD6','0x01BB','ground') ;Prize fish
UO.grab ('1','finditem')
wait (500)
UO.UnSetReceivingContainer()
end if
wend
wend
UO.DeleteJournal()
next
next
end sub


Top
   
PostPosted: 2010-09-22 12:58:48 
Offline

Joined: 2010-09-22 12:30:59
Posts: 8
пишет ошибку: Unhandled exception in parser.


Top
   
PostPosted: 2010-09-22 13:05:13 
Offline
User avatar

Joined: 2010-04-22 09:39:37
Posts: 35
Location: Riga - Norge
#while not UO.Hidden()
#UO.Warmode("0")
#uo.print("hiding...")
#UO.UseSkill("Hiding")
#wait(4000)
wend

удали это все ! и вроде будет гут :)


Top
   
PostPosted: 2010-09-22 13:08:10 
Offline

Joined: 2010-09-22 12:30:59
Posts: 8
Заработало :D , тока теперь пишет клетки 8 8 ; 8 7 и всё. Но в Injecte скрипт продолжает работать :?


Top
   
PostPosted: 2010-09-22 13:18:41 
Offline
User avatar

Joined: 2010-04-22 09:39:37
Posts: 35
Location: Riga - Norge
попробуй выруби инжект и заново зайди


Top
   
PostPosted: 2010-09-22 13:23:33 
Offline

Joined: 2010-09-22 12:30:59
Posts: 8
kirpaaa wrote:
попробуй выруби инжект и заново зайди


не помогает.


Top
   
PostPosted: 2010-09-22 13:28:36 
Offline
User avatar

Joined: 2010-04-22 09:39:37
Posts: 35
Location: Riga - Norge
хз , у меня все ок.. Жди тогда может кто еще поможет , только долго ждать до 2ух суток бывает жду пока кто-то ответит :(


sub fishing()
var mx, my, mz, i, j
uo.print('А где ведро?')
uo.exec('addobject Bag')
while uo.targeting()
wait(100)
wend

mx = UO.GetX("self")
my = UO.GetY("self")
mz = UO.GetZ("self")
UO.DeleteJournal()
for i = mx-4 to mx+4
for j = my -4 to my+4
if UO.dead() then
return
endif


UO.Print("Now Fishing In: "+str(mx-i)+" "+str(my-j))
while not UO.InJournal("no fish here") and not UO.InJournal("location") and not UO.InJournal("far away") and not UO.InJournal("in water")
UO.DeleteJournal()
UO.Waittargettile("1341", str(i), str(j), str(mz))
UO.Usetype("0x0DBF") ;FishingPole
if UO.dead() then
return
endif
if UO.Weight>660 then
return
endif
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)
if UO.InJournal("You pull") then
UO.SetReceivingContainer('Bag')
UO.findtype('0x09CC','0x0000','ground') ;fish
UO.grab ('3','finditem')
wait (500)
UO.findtype('0x09CD','0x0000','ground') ;fish
UO.grab ('3','finditem')
wait (500)
UO.findtype('0x09CE','0x0000','ground') ;fish
UO.grab ('3','finditem')
wait (500)
UO.findtype('0x09CF','0x0000','ground') ;fish
UO.grab ('3','finditem')
wait (500)
UO.findtype('0x14EB','0x0000','ground') ;tattered map
UO.grab ('1','finditem')
wait (500)
UO.findtype('0x0DD6','0x05F6','ground') ;Truly rare fish
UO.grab ('1','finditem')
wait (500)
UO.findtype('0x0DD6','0x01BB','ground') ;Prize fish
UO.grab ('1','finditem')
wait (500)
UO.UnSetReceivingContainer()
end if
wend
wend
UO.DeleteJournal()
next
next
end sub


Top
   
PostPosted: 2010-09-22 13:33:21 
Offline

Joined: 2010-09-22 12:30:59
Posts: 8
он как, пропускает 2-е координаты и встоет в ступор. походу он пытается закинуть удочку в последнюю координату.

Был где-то скрипт, но найти не могу. Там если 1-2-3-4-5 координаты земля, то он продолжает дальше поиск воды.


Top
   
PostPosted: 2010-09-22 13:37:08 
Offline
User avatar

Joined: 2010-04-22 09:39:37
Posts: 35
Location: Riga - Norge
могу дать на EasyUo если пользуешся ?


Top
   
PostPosted: 2010-09-22 13:37:32 
Offline

Joined: 2010-09-22 12:30:59
Posts: 8
давай попробую :)


Top
   
PostPosted: 2010-09-22 13:38:28 
Offline
User avatar

Joined: 2010-04-22 09:39:37
Posts: 35
Location: Riga - Norge
дай Skype свой


Top
   
PostPosted: 2010-09-22 13:41:34 
Offline

Joined: 2010-09-22 12:30:59
Posts: 8
Skype не стоит. Есть тока такие контыкты:
claimill@mail.ru или icq627677722


Top
   
PostPosted: 2010-09-22 13:48:18 
Offline
User avatar

Joined: 2010-04-22 09:39:37
Posts: 35
Location: Riga - Norge
+email


Top
   
PostPosted: 2010-09-22 13:56:12 
Offline

Joined: 2010-09-22 12:30:59
Posts: 8
всё стало круто, после твоей посылки :)


Top
   
PostPosted: 2010-09-22 13:57:16 
Offline
User avatar

Joined: 2010-04-22 09:39:37
Posts: 35
Location: Riga - Norge
:D удачи


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 0 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