Yoko
http://forum.yoko.com.ua/

Unhandled exception in parser
http://forum.yoko.com.ua/viewtopic.php?f=3&t=6767
Page 1 of 1

Author:  WeedDevil [ 2006-03-02 16:37:11 ]
Post subject:  Unhandled exception in parser

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

Author:  Mitya [ 2006-03-02 22:20:43 ]
Post subject: 

Code:
UO.waittargettile( TileNum, STR(mx), STR(my), STR(0) )

Author:  WeedDevil [ 2006-03-03 04:02:21 ]
Post subject: 

thx but didnt change anything,.. still works,... but then out of a sudden it scrashes with "Unhandled excpetion in parser"

Author:  WeedDevil [ 2006-03-03 22:10:09 ]
Post subject: 

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"

Author:  Edred [ 2006-03-03 22:43:48 ]
Post subject: 

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.

Author:  SergeyVP [ 2006-03-07 09:27:53 ]
Post subject: 

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.

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/