Go Back   RunUO - Ultima Online Emulation > RunUO > Utility Support > Third Party Program Support

Third Party Program Support Misc support forum and advertisment forum for all RunUO related third party Utilities.

Reply
 
Thread Tools Display Modes
Old 08-07-2007, 09:32 PM   #1 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 21
Send a message via Yahoo to starfox45634
Default pandorasbox/box server runuo 2.0

okay hey everyone, im having trouble getting pandoras box as im trying to get box server to work with runuo 2.0. i followed instructions exactly as they appear in
to get box server to run with runuo 2.0. i managed to install box server successfully with no error's and such but after i replaced pandora.exe with the one in that script, pandoras box vanished after i chose a profile. i tried deleting profiles to run the settings menu again and get map 0 1 2 map errors. so im guessing thats the problem. after pandoras vanished again after installing again. i noticed it was still running in the background (i use windows xp with both .net framework 1.1 and 2.0). i then checked the pandoras directory and found a log file with the error in it. here is the error...
Code:
Pandora's Box - Log
Pandora version 2.0.0.6

8/7/2007 1:01:55 AM
Windows version: 5.1.2600.131072
Processor family: Intel Pentium
Physical memory: 784920

[1:1:55] Starting
[1:1:55] Normal startup initiated
[1:1:55] Double instances check passed
[1:1:57] Reading profile josh
[1:1:59] Profile read succesfully
[1:2:0] **** ERROR ****
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 TheBox.MapViewer.MapViewer.GeneratePatchData()
   at TheBox.MapViewer.MapViewer..ctor()
   at TheBox.Box.InitializeComponent()
   at TheBox.Box..ctor()
   at TheBox.Pandora.StartingContext.LoadProfile(String name)
Additional information: Profile josh failed.
i dont understand and i notice other people get the same error i get. perhaps someone can help all of us.

i would deeply appropriate it if someone could figure the problem out.
starfox45634 is offline   Reply With Quote
Old 08-07-2007, 11:52 PM   #2 (permalink)
Tru
Forum Expert
 
Tru's Avatar
 
Join Date: Jan 2003
Location: California
Age: 39
Posts: 3,254
Default

I can't get over this issue as well no matter what I try.
Tru is offline   Reply With Quote
Old 08-08-2007, 12:27 AM   #3 (permalink)
Forum Expert
 
Join Date: Dec 2005
Location: Germany
Age: 31
Posts: 401
Default

The method in question is this. If anyone can see anything wrong with it, please post. I certainly don't.

Code:
		/// <summary>
		/// Reads the Difl files needed for patching purposes
		/// </summary>
		private void GeneratePatchData()
		{
			//
			// MAP: Read from mapdiflX.mul
			//
			// Note: Some blocks are duplicated.
			// Always use the second block or the map will miss pieces

			m_MapPatch = new Hashtable();

			if ( File.Exists( GetMulFile( MulFileType.MapDifl, m_Map ) ) )
			{
				FileStream stream = new FileStream( GetMulFile( MulFileType.MapDifl, m_Map ), FileMode.Open, FileAccess.Read, FileShare.Read );
				BinaryReader reader = new BinaryReader( stream );

				int index = 0;

				while ( reader.PeekChar() != -1 )
				{
					// Read data. Data stored in the file is the key
					// The index of the key is the value
					int key = reader.ReadInt32();

					m_MapPatch[ key ] = index++;
				}

				stream.Close();
			}

			//
			// STATICS: Read from stadiflX.mul
			//

			m_StaPatch = new Hashtable();

			if ( File.Exists( GetMulFile( MulFileType.StaDifl, m_Map ) ) )
			{
				FileStream stream = new FileStream( GetMulFile( MulFileType.StaDifl, m_Map ), FileMode.Open, FileAccess.Read, FileShare.Read );
				BinaryReader reader = new BinaryReader( stream );

				int index = 0;

				while ( reader.PeekChar() != -1 )
				{
					int key = reader.ReadInt32();

					m_StaPatch[ key ] = index++;
				}

				stream.Close();
			}
		}
Setharnas is offline   Reply With Quote
Old 08-08-2007, 02:36 AM   #4 (permalink)
Master of the Internet
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,024
Send a message via Yahoo to Lord_Greywolf
Default

if i remember correctly to get the box server to work correctly, also too a mod to the login script for runuo itself - i juet can not remember off hand what it was

but i have had the box server running on my shard since i went to rc1 (about 1 month after it was released)

and there was not much to do to get it to run, but i do remember them saying there was a problem in rc1 that caused it not to work for logging in
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is offline   Reply With Quote
Old 08-08-2007, 05:00 AM   #5 (permalink)
Forum Expert
 
Join Date: Dec 2005
Location: Germany
Age: 31
Posts: 401
Default

Unfortunately the problem in question has nothing to do with login troubles. It is more like it couldn't find certain mul files, or even a valid UO installation. I have been going over all the relevant code over and over again, but even though I do understand what *is* happening there, I don't know what *might* be wrong under specific circumstances. It's really driving me nuts, just like the title of the other current thread on PB problems.
Setharnas is offline   Reply With Quote
Old 08-08-2007, 11:08 AM   #6 (permalink)
Master of the Internet
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,024
Send a message via Yahoo to Lord_Greywolf
Default

do you have ultima.dll, zlib and zlib32 installed on the system?

also do you have boxserver.dll in the root runuo directory and it added to the assemblies.cfg along with these also: (only 2 for pandora - but showing all extras)

BoxServer.dll -- pandoras origional needed and probably updated needs also
System.Runtime.Remoting.dll --- UOAR used i believe - might be pandoras also
OrbServerSDK.dll --- UOAR used
UOArchitectInterface.dll --- UOAR used
Ultima.dll - unpdated pandora needed
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is offline   Reply With Quote
Old 08-08-2007, 04:56 PM   #7 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 21
Send a message via Yahoo to starfox45634
Default

Quote:
Originally Posted by Lord_Greywolf View Post
do you have ultima.dll, zlib and zlib32 installed on the system?

also do you have boxserver.dll in the root runuo directory and it added to the assemblies.cfg along with these also: (only 2 for pandora - but showing all extras)

BoxServer.dll -- pandoras origional needed and probably updated needs also
System.Runtime.Remoting.dll --- UOAR used i believe - might be pandoras also
OrbServerSDK.dll --- UOAR used
UOArchitectInterface.dll --- UOAR used
Ultima.dll - unpdated pandora needed
yes i got all of that (except for the uoar stuff because i dont use it.) in the correct directories.

Last edited by starfox45634; 08-08-2007 at 04:58 PM.
starfox45634 is offline   Reply With Quote
Old 08-08-2007, 07:09 PM   #8 (permalink)
Forum Expert
 
Join Date: Dec 2005
Location: Germany
Age: 31
Posts: 401
Default

Taking this post into account, I am led to believe that this output buffer problem may have another source alltogether. Wasn't .net updated recently, with a whole lot of people posting other problems after that?
Setharnas is offline   Reply With Quote
Old 08-09-2007, 02:30 PM   #9 (permalink)
Newbie
 
Join Date: Jan 2007
Location: USA
Posts: 11
Default

Quote:
Originally Posted by Setharnas View Post
Taking this post into account, I am led to believe that this output buffer problem may have another source alltogether. Wasn't .net updated recently, with a whole lot of people posting other problems after that?
im not sure... i dont even think i heard of there being another .NET update. if there is i havent updated yet. i still have 1.1 and 2.0
noob_saioke45601 is offline   Reply With Quote
Old 08-09-2007, 07:21 PM   #10 (permalink)
Master of the Internet
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,024
Send a message via Yahoo to Lord_Greywolf
Default

there was a 3.5 or some weird thing like that - i remember some one complaoning about it in here some place, and how they had to uninstall it all - including 1.1 & 2.0 to get it all back correctly
it is a beta of some time MS put out
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is offline   Reply With Quote
Old 08-10-2007, 03:48 PM   #11 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 21
Send a message via Yahoo to starfox45634
Default

ah i see... id rather not get it though just in case it causes more problems. and its in beta so i dont have the courage to test it hehe.
starfox45634 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