Yoko: Unhanled exception in parser error
Posted: 2004-09-14 05:09:44
Hi, Yoko, first thank you for the wonderful work you're doing with this making it the best tool available to play UO.
Let's get into the details
. I'm playing with an AOS installation on a RunUo server shard. The client I'm using is v4.0.0c. I've created a pretty complex script that's using several functions, returning values from some of them to the others and that basically what's doing is checking the inventory to make sure you've pickaxes enough, creating them and creating tinkering tools if needed, recalling to a spot to mine, mine the ores, recall to the bank to drop the ores and keep recalling choosing the following rune from a set of runebooks. You can have on it as many runebooks as you want to setup (just needing the runebook id and the number of runes inside it) and the same thing choosing banks where to recall (in case some of the positions to recall are blocked
).
I've installed injection from scratch on this computer, as it was a new one. I installed it with the script.dll version 40?.? (wheel u+), that is dated August 16th 2004. When running my script, it starts and works fine with no error, but after a while working (the moment is really random and can be 5 minutes or can be 2 hours), it stops with an error from injection that says "Unhandled exception in parser"). After that, If I try to run any script or keep playing again the client will just crash, and I need to re-start it before continuing.
I read that some people was having similar problems and you recommended them to update to the latest version, so I checked the website for it and installed the new script.dll version on my machine
(YokoInjection 40?.? (AoP maps2) ), but the problem still remains the same. After reviewing all my script several times and finding no errors that could cause that problem (checked all the array indexes and all functions) I checked the forum again and saw that some other people seems to have a similar problem. Also, I spoke with a friend that plays on the same shard and it seems that his script that was previously working find is also giving him the same errors using this new version, so I tried installing the old version I was using on my old computer (YokoInjection 312.19 (+reconnect) Base 0.3.30.4) and tried the same script without modifying a line (the same one that's breaking with the latest versions in at maximum 2 hours). Well... it has been running for most of the day without giving any error at all, so it seems that the problem is not the script itself but the script.dll (as with this older version seems to be totally stable).
Please, let me know if you need other kind of information to help you solving this problem, and, if you need so, I'll also send you my script so you can test it yourself and see what I'm talking about (I didn't install any software debugger on this computer so I cannot debug the error to find where is breaking and sending you the information either).
On another question, I've been looking at the way EasyUO handles the necro/paladin spells and it seems pretty straight forward, and it's something that i really miss on these latest versions of Injection. Will you include the necro/chivalry spells casting on a future version too?
Thanks a lot,
Drakull
Let's get into the details


I've installed injection from scratch on this computer, as it was a new one. I installed it with the script.dll version 40?.? (wheel u+), that is dated August 16th 2004. When running my script, it starts and works fine with no error, but after a while working (the moment is really random and can be 5 minutes or can be 2 hours), it stops with an error from injection that says "Unhandled exception in parser"). After that, If I try to run any script or keep playing again the client will just crash, and I need to re-start it before continuing.
I read that some people was having similar problems and you recommended them to update to the latest version, so I checked the website for it and installed the new script.dll version on my machine
(YokoInjection 40?.? (AoP maps2) ), but the problem still remains the same. After reviewing all my script several times and finding no errors that could cause that problem (checked all the array indexes and all functions) I checked the forum again and saw that some other people seems to have a similar problem. Also, I spoke with a friend that plays on the same shard and it seems that his script that was previously working find is also giving him the same errors using this new version, so I tried installing the old version I was using on my old computer (YokoInjection 312.19 (+reconnect) Base 0.3.30.4) and tried the same script without modifying a line (the same one that's breaking with the latest versions in at maximum 2 hours). Well... it has been running for most of the day without giving any error at all, so it seems that the problem is not the script itself but the script.dll (as with this older version seems to be totally stable).
Please, let me know if you need other kind of information to help you solving this problem, and, if you need so, I'll also send you my script so you can test it yourself and see what I'm talking about (I didn't install any software debugger on this computer so I cannot debug the error to find where is breaking and sending you the information either).
On another question, I've been looking at the way EasyUO handles the necro/paladin spells and it seems pretty straight forward, and it's something that i really miss on these latest versions of Injection. Will you include the necro/chivalry spells casting on a future version too?
Thanks a lot,
Drakull