Sylvan Heart Forum

General Category => Questions, Game Problems and Bugs => Topic started by: Aesa on July 10, 2007, 08:17:19 PM

Title: Razor Issues -unhandled exception
Post by: Aesa on July 10, 2007, 08:17:19 PM
All of a sudden Razor decides to mess up on me.  Can anyone decipher this error message for me and suggest a fix?

Unhandled exception:

System.ArgumentException: The output char buffer is too small to contain the decoded characters, encoding 'Unicode (UTF-8)' fallback 'System.Text.DecoderReplacementFallback'.
Parameter name: chars
   at System.Text.Encoding.ThrowCharsOverflow()
   at System.Text.Encoding.ThrowCharsOverflow(DecoderNLS decoder, Boolean nothingDecoded)
   at System.Text.UTF8Encoding.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, DecoderNLS baseDecoder)
   at System.Text.DecoderNLS.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, Boolean flush)
   at System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex, Boolean flush)
   at System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex)
   at System.IO.BinaryReader.InternalReadOneChar()
   at System.IO.BinaryReader.Read()
   at System.IO.BinaryReader.PeekChar()
   at Ultima.StringList..ctor(String language)
   at Assistant.Language.Load(String lang)
   at Assistant.Engine.Main(String[] Args)
Title: Re: Razor Issues -unhandled exception
Post by: neohaven on July 11, 2007, 05:54:55 PM
Hello Aesa,

If I recall correctly, that bug was a problem with some encoding between the client and razor. Does it crash everytime you start it, or does it rather crash from time to time?

If it crashes everytime, reinstalling Razor will do. Remember to save your macros, agents, and any other scripted helpers and reinstall them later.

Most certainly this is due to a macro or something that has too much characters in it to be typed, UO refuses to let it in, and Razor crashes as a consequence of that. This has been fixed later on in the releases after 1.0. But upgrading is not an option. Si just limit the size of your speech macros or the size of the [commands in your macros.

Have a good day,

Neohaven
Title: Re: Razor Issues -unhandled exception
Post by: Aesa on July 11, 2007, 06:37:31 PM
I had tried uninstalling and reinstalling it and I get the same error every time.  I even let my macros be deleted the second time trying to reinstall.  Most of my macros are in UO itself and not Razor, so it wouldn't have been too difficult to redo them.  I really only use Razor on my staff account to force the window size bigger.

Have any ideas why a reinstall didn't fix it?
Title: Re: Razor Issues -unhandled exception
Post by: Mirage on July 12, 2007, 09:09:59 PM
Same error here *frowns*
Title: Re: Razor Issues -unhandled exception
Post by: kathymarie on July 13, 2007, 05:41:11 AM
well it looks like i have the same problem also
Title: Re: Razor Issues -unhandled exception
Post by: Aesa on July 13, 2007, 08:22:05 PM
It seems that the latest Windows update did something to mess with Razor.  Because I tried reinstalling and everything.  I did a system recovery to a date before the last windows update, which was installed on Tuesday.  And it worked.  I turned off Windows Auto Update and will just hope that I don't miss anything critical.
Title: Re: Razor Issues -unhandled exception
Post by: TTG on July 14, 2007, 02:00:30 PM
Hello,

Not everyone can afford to do a system restore.  Thus, I will be looking into getting around that and getting razor to work.  Will keep you posted.

P.S. I've always used Uo Assist in my past.  I found this site that lets UOAssist work with freeshards (Sphere).  Any idea if anyone has gotten UOAssist to work with this server?  Would be awesome:

http://uo.wireplay.co.uk/index.php?p=downloads

Ironhand
Title: Re: Razor Issues -unhandled exception
Post by: kathymarie on July 14, 2007, 02:08:50 PM
I can't do a systym restore either so hopefully there is another fix.
Title: Re: Razor Issues -unhandled exception
Post by: ShadowStone on July 16, 2007, 03:07:54 AM
I have the same problem.  Any solutions that anyone could think of would be appreciated (without doing a system restore).

~SS
Title: Re: Razor Issues -unhandled exception
Post by: Alder Ogham on July 16, 2007, 11:39:49 AM
The answer is that there is no answer.

Zippy (Razor's Creator) has stated on the Razor forum that he won't support the older version of razor, and the newer version won't support gateway, so that's limbo.  Which means your option is to use the new version of razor and ConnectUO (with it's buggy clothing).
Title: Re: Razor Issues -unhandled exception
Post by: ShadowStone on July 16, 2007, 12:08:17 PM
Can do, thanks a lot Alder.

~SS
Title: Re: Razor Issues -unhandled exception
Post by: TTG on July 23, 2007, 07:21:22 PM
Ok, I found out how to fix this problem, since wintermoon complained to me to figure it out so she could have the automatic In Lor spell :P


#1: turn off automatic updates
#2: uninstall microsoft framerate update to 2.0 which is can only been seen if you click on the show updates under add/remove programs.


I also uninstalled other secruity updates under windows ,but when I did this one, it worked.

Latas


Ironhand
Title: Re: Razor Issues -unhandled exception
Post by: Mirage on July 23, 2007, 10:34:05 PM
*Tackles and hugs Ironhand like there is no tomorrow* THANK YOUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
Title: Re: Razor Issues -unhandled exception
Post by: kathymarie on August 04, 2007, 10:43:36 PM
I dont know if anyone still has any problems with razor but i accidentally fixed mine.  I had to install net framework 1.1 for another program I needed and then  razor just started working again.
Title: Re: Razor Issues -unhandled exception
Post by: lenin1928 on January 06, 2009, 07:13:44 AM
anyone get this working with vista?
Title: Re: Razor Issues -unhandled exception
Post by: Stroem Safai on April 23, 2009, 10:40:22 AM
yay i finnally gots it working :P
Title: Re: Razor Issues -unhandled exception
Post by: raxsv on December 02, 2009, 02:31:06 PM
I still have this problem. Installing .NET Framework 1.1 and disabling automatic update didn't worked for me :(

Any hints?
Title: Re: Razor Issues -unhandled exception
Post by: Cpt_Starfox on December 02, 2009, 02:50:03 PM
Try this page of our site:
http://www.sylvandreams.co.uk/index.php?p=20

Down the page a bit there is some help for Razor stuffs.