Go Back   RunUO - Ultima Online Emulation > RunUO > Utility Support > Ultima SDK

Ultima SDK Support for the Ultima SDK.

Reply
 
Thread Tools Display Modes
Old 02-02-2008, 10:12 AM   #1 (permalink)
Forum Novice
 
Varchild's Avatar
 
Join Date: Jan 2004
Location: Gorizia - Italy
Age: 27
Posts: 183
Send a message via ICQ to Varchild Send a message via MSN to Varchild
Default Cliloc problem in Ultima.dll

I get this exception:
Code:
Warning: error in GetClilocString from CraftHelper: System.ArgumentException: Bu
ffer dei caratteri di output troppo piccolo per contenere i caratteri decodifica
ti. Codifica 'Unicode (UTF-8)', fallback 'System.Text.DecoderReplacementFallback
'.
Nome parametro: chars
   in System.Text.Encoding.ThrowCharsOverflow()
   in System.Text.Encoding.ThrowCharsOverflow(DecoderNLS decoder, Boolean nothin
gDecoded)
   in System.Text.UTF8Encoding.GetChars(Byte* bytes, Int32 byteCount, Char* char
s, Int32 charCount, DecoderNLS baseDecoder)
   in System.Text.DecoderNLS.GetChars(Byte* bytes, Int32 byteCount, Char* chars,
 Int32 charCount, Boolean flush)
   in System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteC
ount, Char[] chars, Int32 charIndex, Boolean flush)
   in System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteC
ount, Char[] chars, Int32 charIndex)
   in System.IO.BinaryReader.InternalReadOneChar()
   in System.IO.BinaryReader.Read()
   in System.IO.BinaryReader.PeekChar()
   in Ultima.StringList..ctor(String language)
   in Midgard.CraftHelper.GetClilocString(Int32 position)
where GetClilocString is this:
Code:
		public static string GetClilocString( int position )
		{
			string clilocName = String.Empty;

			try
			{
				if( m_StringList == null )
					m_StringList = new StringList( "ENU" );
				
				clilocName = m_StringList.Table[position] as string;
			}
			catch( Exception e )
			{
				Console.WriteLine( "Warning: error in GetClilocString from CraftHelper: {0}", e.ToString() );
			}

			return clilocName;
		}
Any suggestion?
__________________
Dies Irę, dies illa
solvet sęclum in favilla

Developer only on
Midgard Shard
Varchild is offline   Reply With Quote
Old 02-02-2008, 10:24 AM   #2 (permalink)
Forum Novice
 
Varchild's Avatar
 
Join Date: Jan 2004
Location: Gorizia - Italy
Age: 27
Posts: 183
Send a message via ICQ to Varchild Send a message via MSN to Varchild
Default

I've fixed this learning how in this 3d:

Ultima.dll StringList crash

Thanks all.
__________________
Dies Irę, dies illa
solvet sęclum in favilla

Developer only on
Midgard Shard
Varchild is offline   Reply With Quote
Old 02-05-2008, 08:20 AM   #3 (permalink)
Forum Novice
 
qwerty84's Avatar
 
Join Date: Apr 2006
Location: Abbiategrasso, Italy
Age: 23
Posts: 133
Send a message via ICQ to qwerty84 Send a message via MSN to qwerty84
Default

using the ultima.dll for razor
__________________
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
qwerty84 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5