Yoko

All sides of Injection
It is currently 2026-03-10 16:29:44

All times are UTC+02:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: 2004-08-06 04:13:49 
Offline

Joined: 2004-07-02 22:58:37
Posts: 33
When I run a script for long time appears this Error: "unhandled exception in parser "
Any help?? I search in the forum but all is in russian :(


Top
   
 Post subject:
PostPosted: 2004-08-06 08:45:20 
Offline
Expert!

Joined: 2004-04-25 11:11:07
Posts: 359
noone knows, why parser shows this error. Check out your arrys and indices for them.

_________________
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...


Top
   
 Post subject:
PostPosted: 2004-08-06 22:26:47 
Offline

Joined: 2004-07-02 22:58:37
Posts: 33
In my script i dont have a Array , i onlye have IF/ENDIF.


Top
   
 Post subject:
PostPosted: 2004-08-09 19:57:55 
Offline

Joined: 2004-07-02 22:58:37
Posts: 33
Come ON i need help!! :cry: :cry:


Top
   
 Post subject:
PostPosted: 2004-08-10 14:39:26 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
so post it, why don't you done this from beginning?


Top
   
 Post subject:
PostPosted: 2004-08-10 20:33:27 
Offline

Joined: 2004-07-22 07:37:37
Posts: 51
Yes. A parser error depends on what you've scripted. We have to SEE the script to spot out the error :P


Top
   
 Post subject:
PostPosted: 2004-08-11 03:31:29 
Offline

Joined: 2004-07-02 22:58:37
Posts: 33
Sorry, here is the script

Code:

sub robar()
robar:
uo.useskill('Stealing')
uo.waittargetobject('0x00143537')
wait(1000)
goto robar
end sub

sub tirar()
uo.print('<< Tirador de Monedas: Loaded... >>')
inicio:
   uo.findtype('0x0EED')
      if uo.getquantity('finditem')>=100 then
         uo.print('<< Muchas Monedas, Freeing... >>')
         uo.moveitem('finditem',-1,'0x4013E631')
      else
         uo.print('<< Pocas Monedas, Waiting... >>')
      end if
      wait(10000)
goto inicio
end sub

sub comer()
uo.print('<< Comer Manzanas: Loaded... >>')
comer:
   uo.findtype('0x09D0',-1,'ground')
   uo.print('<< Comiendo... >>')
   uo.useobject('finditem')
   wait(500000)
goto comer
end sub



Top
   
 Post subject:
PostPosted: 2004-08-11 11:25:04 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Sauza wrote:
Sorry, here is the script

Code:

sub robar()
robar:
uo.useskill('Stealing')
uo.waittargetobject('0x00143537')
wait(1000)
goto robar
end sub


You must use UO.Waittargetobject BEFORE UO.Useskill.


Top
   
 Post subject:
PostPosted: 2004-08-11 14:26:32 
Offline

Joined: 2004-07-28 17:13:36
Posts: 11
Actually this error can refer not only to current executing script, but to another one in loaded file. I had a file with several scripts and the same error appeared. I check the current script and find no mistakes, then I copy that script alone to separated file, load it and the error gone.


Top
   
 Post subject:
PostPosted: 2004-08-11 22:40:39 
Offline

Joined: 2004-07-02 22:58:37
Posts: 33
Edred wrote:
Sauza wrote:
Sorry, here is the script

Code:

sub robar()
robar:
uo.useskill('Stealing')
uo.waittargetobject('0x00143537')
wait(1000)
goto robar
end sub


You must use UO.Waittargetobject BEFORE UO.Useskill.


If i delete that part of the script the error appear again after 10 minutes. =(=(


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


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