Yoko

All sides of Injection
It is currently 2024-03-28 16:21:21

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Variable already defined
PostPosted: 2015-03-14 23:43:34 
Offline

Joined: 2012-07-27 23:43:14
Posts: 249
народ добрый чего-то выдает ошибку.

Variable already defined - mx.

Code:
sub main() 
var mx, my, mz, i, j, jor, ser, noto
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
tohide()
UO.Print("Now Mining In: "+str(mx-i)+" "+str(my-j))   
while (not uo.injournal("no ore")) and (not uo.injournal("in rock"))  and (not uo.injournal("You have no line")) and (not uo.injournal("trhtrhr")) and (not uo.injournal ("That is too far"))
uo.deletejournal()
if uo.waiting() then
uo.canceltarget()
endif
  UO.Waittargettile("1341", str(i), str(j), str(mz))
UO.UseType(pic)
while (not uo.injournal("fail")) and (not uo.injournal("put")) and (not uo.injournal("You have no line")) and (not uo.injournal("elemental")) and (not uo.injournal("no ore")) and (not uo.injournal("in rock")) and (not uo.injournal ("That is too far"))
    wait(500)
if uo.injournal("heavy") or uo.dead() then
endif


Top
   
PostPosted: 2015-03-15 00:31:54 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
Variable already defined - mx.
Переменная - mx - уже объявлена.
Var mx где то уже есть.

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"
Стрелялка для олдов.


Top
   
PostPosted: 2015-03-15 08:26:54 
Offline

Joined: 2011-06-11 19:54:23
Posts: 820
Дай все до "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 15 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited