Yoko

All sides of Injection
It is currently 2025-12-26 20:46:52

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2005-06-22 01:54:13 
Offline

Joined: 2005-06-21 23:10:37
Posts: 7
написал скрипт когда запускаю показывает ошибку почему это??

sub mine1()
var lastX=uo.getX(),lastY=uo.getY()
while uo.getX()==LastX and uo.getY()==LastY
uo.waittargetobject('Mine1')
uo.cast('Recall')
Wait ( 2600 )
repeat -говорит что в этой строке ошибка :\
until uo.getX()<>LastX or uo.getY()<>LastY or UO.InJournal("The spell fizzles.") or UO.InJournal('You lack') or UO.Dead()
if UO.InJournal('You lack') or UO.Dead() then
return 1
end if
wend
ssay()
end sub


Top
   
 Post subject:
PostPosted: 2005-06-22 06:11:31 
Offline
User avatar

Joined: 2005-05-21 07:12:12
Posts: 163
Location: DRW
У тебя repeat пустой. Вставь в него wait(50) хотя бы...


Top
   
 Post subject:
PostPosted: 2005-06-22 07:18:00 
Offline
User avatar

Joined: 2005-02-25 13:31:26
Posts: 62
Location: DRW, [Hussars]
Code:
sub mine1() 
var lastX=uo.getX(),lastY=uo.getY()
while uo.getX()==LastX and uo.getY()==LastY
uo.waittargetobject('Mine1')
uo.cast('Recall')
repeat
Wait(50)
until uo.getX()<>LastX or uo.getY()<>LastY or UO.InJournal("The spell fizzles.") or UO.InJournal('You lack') or UO.Dead()
if UO.InJournal('You lack') or UO.Dead() then
return 1
end if
wend
ssay()
end sub


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 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