Yoko

All sides of Injection
It is currently 2026-05-19 17:39:26

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 2006-03-02 16:37:11 
Offline

Joined: 2004-04-06 12:13:49
Posts: 32
Hi back with following problem:

I macro, script works well,.. after some time (totally random 1-20 hours)
i get "unhandled exception in parser"
is it some overflow prob?

Code:
sub kind()
Var x,y
repeat
for x = 0 to 6000
for y = 0 to 4000
      uo.print(str(x)+","+str(y))
      uo.waittargettile(3291,x,y,0)
      wait(40)
      uo.useobject("xxx")
      wait(40)
next
next
until false
end sub


help appreciated,..
thx


Top
   
 Post subject:
PostPosted: 2006-03-02 22:20:43 
Offline

Joined: 2006-02-08 10:29:37
Posts: 15
Code:
UO.waittargettile( TileNum, STR(mx), STR(my), STR(0) )


Top
   
 Post subject:
PostPosted: 2006-03-03 04:02:21 
Offline

Joined: 2004-04-06 12:13:49
Posts: 32
thx but didnt change anything,.. still works,... but then out of a sudden it scrashes with "Unhandled excpetion in parser"


Top
   
 Post subject:
PostPosted: 2006-03-03 22:10:09 
Offline

Joined: 2004-04-06 12:13:49
Posts: 32
yoko, could you hae a look at it please?

im getting some serious errors with it,. after some hours
"character doesnt exist... fatal error" and
"Unhandled exception in parser"


Top
   
 Post subject:
PostPosted: 2006-03-03 22:43:48 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
this is a common problem of most scripts what work very long times. Script module of injection isn't very good thing.

ps: maybe, your problem is waittargettile. correct all pauses in your scripts, add block for analyse a 'save world' messages, add checklag function.


Top
   
 Post subject:
PostPosted: 2006-03-07 09:27:53 
Offline

Joined: 2006-02-20 09:54:40
Posts: 12
try that :

#in the beginning of the script place function

UO.Set("quiet","1")

#you wouldn`t see Injection text in client window
# by the command UO.Print("hello world")
# but script will work longer.


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

All times are UTC+02:00


Who is online

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