File or Console Issues
Greetings,
Well I think the TInput & TOutput has been fixed in Mono 1.2.2007.01.31 (which is the SVN). So, for the rest of you will need to wait for Mono v1.2.3 to be released.
I also think it fixes all the other modification excpet for "savemetrics.cs" in the /server/Persistence folder.
However, that does not solve our problems. After it compiles, I get two errors. This one I get with RunUO.exe in the folder along with server, scripts and data. It appears it is either not finding our scripts folder or there is problem with the console command. Let me know what you think...
$ mono --debug RunUO.exe
RunUO - [www.runuo.com] Version 2.0, Build 2588.25999
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...Error:
System.Exception: Compiler failed to produce the assembly. Stderr='', Stdout=''
at Mono.CSharp.CSharpCodeCompiler.CompileFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00255] in /home/test/mono/mono-1.2.20070131/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs:235
at Mono.CSharp.CSharpCodeCompiler.CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00012] in /home/test/mono/mono-1.2.20070131/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs:138
at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00015] in /home/test/mono/mono-1.2.20070131/mcs/class/System/System.CodeDom.Compiler/CodeDomProvider.cs:127
at Server.ScriptCompiler.CompileCSScripts (Boolean debug, Boolean cache, System.Reflection.Assembly& assembly) [0x00000]
at Server.ScriptCompiler.Compile (Boolean debug, Boolean cache) [0x00000]
at Server.Core.Main (System.String[] args) [0x00000]
This exception is fatal, press return to exit
** (runuo.exe:7472): WARNING **: exception inside UnhandledException handler: Cannot cast from source type to destination type.
If I put the file RunUO.exe in it's own folder, without server, scripts, and data and run it, I should get an error that says it cannot find the files. However, I get this error which looks like a console write error in "main.cs"...
$ mono --debug RunUO.exe
RunUO - [www.runuo.com] Version 2.0, Build 2588.26130
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...no files found.
Scripts: Compiling VB.NET scripts...no files found.
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
Error:
System.InvalidCastException: Cannot cast from source type to destination type.
at System.TermInfoDriver.WriteConsole (System.String str) [0x00007] in /home/test/mono/mono-1.2.20070131/mcs/class/corlib/System/TermInfoDriver.cs:119
at System.TermInfoDriver.Init () [0x00062] in /home/test/mono/mono-1.2.20070131/mcs/class/corlib/System/TermInfoDriver.cs:168
at System.TermInfoDriver.ReadKey (Boolean intercept) [0x0000b] in /home/test/mono/mono-1.2.20070131/mcs/class/corlib/System/TermInfoDriver.cs:858
at System.ConsoleDriver.ReadKey (Boolean intercept) [0x00000] in /home/test/mono/mono-1.2.20070131/mcs/class/corlib/System/ConsoleDriver.cs:202
at System.Console.ReadKey (Boolean intercept) [0x00000] in /home/test/mono/mono-1.2.20070131/mcs/class/corlib/System/Console.cs:620
at Server.Core.Main (System.String[] args) [0x00000]
This exception is fatal, press return to exit
** (runuo.exe:7564): WARNING **: exception inside UnhandledException handler: Object reference not set to an instance of an object
OK, this one doesn't say anything about main.cs, hmmm...Any ideas?
-Ravon

0 Comments:
Post a Comment
<< Home