main.cs
Greetings,
I am back to mass rambling here, so bare with me. If I make/add all of the script changes from previous post, I do end up with a main.cs error as seen here...
test@test1MXL6090BN2:~/runuo/RunUO-v2.0-SVN$ mono --debug runuo.exe
RunUO - [www.runuo.com] Version 2.0, Build 2588.27556
Core: Running on .NET Framework Version 2.0.50727
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) [0x00197] in /home/test/runuo/RunUO-v2.0-SVN/Server/ScriptCompiler.cs:227
at Server.ScriptCompiler.Compile (Boolean debug, Boolean cache) [0x00034] in /home/test/runuo/RunUO-v2.0-SVN/Server/ScriptCompiler.cs:529
at Server.Core.Main (System.String[] args) [0x002ac] in /home/test/runuo/RunUO-v2.0-SVN/Server/Main.cs:427
This exception is fatal, press return to exit
** (runuo.exe:12405): WARNING **: exception inside UnhandledException handler: Cannot cast from source type to destination type.
Line 427 of main.cs looks like this...
while( !ScriptCompiler.Compile( m_Debug, m_Cache ) )
{
Console.WriteLine( "Scripts: One or more scripts failed to compile or no script files were found." );
Console.WriteLine( " - Press return to exit, or R to try again." );
if( Console.ReadKey( true ).Key != ConsoleKey.R )
return;
}
Hopefully, that will help. Now if we can just figure it out.
-Ravon

0 Comments:
Post a Comment
<< Home