Unhandled exception in parser

Ask for help

Moderators: Murderator+, Murderator

Post Reply
WeedDevil
Posts: 32
Joined: 2004-04-06 12:13:49

Unhandled exception in parser

Post by WeedDevil »

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: Select all

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
Mitya
Posts: 15
Joined: 2006-02-08 10:29:37

Post by Mitya »

Code: Select all

UO.waittargettile( TileNum, STR(mx), STR(my), STR(0) )
WeedDevil
Posts: 32
Joined: 2004-04-06 12:13:49

Post by WeedDevil »

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

Post by WeedDevil »

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"
Edred
Expert!
Posts: 2544
Joined: 2004-04-03 17:36:29
Location: Saint-Petersburg

Post by Edred »

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.
SergeyVP
Posts: 12
Joined: 2006-02-20 09:54:40

Post by SergeyVP »

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.
Post Reply