RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Strange Compile Error : ScriptCompiler

akkers

Sorceror
Strange Compile Error : ScriptCompiler

Hi guys and girls.

I have SVN version 282 running on Mono 1.2.6 which is located on a redhat linux system.

Strange compiler error which I cant compare to other peoples problems.

Code:
RunUO - [www.runuo.com] Version 2.0, Build 2951.16794
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 4 processors
Core: Unix environment detected
Scripts: Compiling C# scripts...ScriptCompiler: :   at Mono.CSharp.Expression.CloneTo (Mono.CSharp.CloneContext clonectx, Mono.CSharp.Expression target) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Expression.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
ScriptCompiler: :   at Mono.CSharp.TypeOf.CloneTo (Mono.CSharp.CloneContext clonectx, Mono.CSharp.Expression t) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Expression.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Binary.CloneTo (Mono.CSharp.CloneContext clonectx, Mono.CSharp.Expression t) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Expression.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Binary.CloneTo (Mono.CSharp.CloneContext clonectx, Mono.CSharp.Expression t) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Expression.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Binary.CloneTo (Mono.CSharp.CloneContext clonectx, Mono.CSharp.Expression t) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Expression.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Return.CloneTo (Mono.CSharp.CloneContext clonectx, Mono.CSharp.Statement t) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Block.CloneTo (Mono.CSharp.CloneContext clonectx, Mono.CSharp.Statement t) [0x00000]
ScriptCompiler: :   at Mono.CSharp.ExplicitBlock.CloneTo (Mono.CSharp.CloneContext clonectx, Mono.CSharp.Statement t) [0x00000]
ScriptCompiler: :   at Mono.CSharp.ToplevelBlock.CloneTo (Mono.CSharp.CloneContext clonectx, Mono.CSharp.Statement t) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Statement.PerformClone () [0x00000]
ScriptCompiler: :   at Mono.CSharp.AnonymousMethodExpression.CompatibleMethod (Mono.CSharp.EmitContext ec, Mono.CSharp.TypeInferenceContext tic, System.Type return_type, System.Type delegate_type) [0x00000]
ScriptCompiler: :   at Mono.CSharp.AnonymousMethodExpression.Compatible (Mono.CSharp.EmitContext ec, System.Type delegate_type) [0x00000] --- End of inner exception stack trace ---
ScriptCompiler: :   at Mono.CSharp.AnonymousMethodExpression.Compatible (Mono.CSharp.EmitContext ec, System.Type delegate_type) [0x00000]
ScriptCompiler: :   at Mono.CSharp.AnonymousMethodExpression.ImplicitStandardConversionExists (System.Type delegate_type) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Convert.ImplicitStandardConversionExists (Mono.CSharp.Expression expr, System.Type target_type) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Convert.ImplicitConversionExists (Mono.CSharp.EmitContext ec, Mono.CSharp.Expression expr, System.Type target_type) [0x00000]
ScriptCompiler: :   at Mono.CSharp.MethodGroupExpr.IsApplicable (Mono.CSharp.EmitContext ec, System.Collections.ArrayList arguments, Int32 arg_count, System.Reflection.MethodBase& method) [0x00000]
ScriptCompiler: :   at Mono.CSharp.MethodGroupExpr.OverloadResolve (Mono.CSharp.EmitContext ec, System.Collections.ArrayList Arguments, Boolean may_fail, Location loc) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Invocation.DoResolveOverload (Mono.CSharp.EmitContext ec) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Invocation.DoResolve (Mono.CSharp.EmitContext ec) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, ResolveFlags flags) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Assign.DoResolve (Mono.CSharp.EmitContext ec) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, ResolveFlags flags) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
ScriptCompiler: :   at Mono.CSharp.ExpressionStatement.ResolveStatement (Mono.CSharp.EmitContext ec) [0x00000]
ScriptCompiler: :   at Mono.CSharp.StatementExpression.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
ScriptCompiler: :   at Mono.CSharp.If.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
ScriptCompiler: :   at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
ScriptCompiler: :   at Mono.CSharp.EmitContext.ResolveTopBlock (Mono.CSharp.EmitContext anonymous_method_host, Mono.CSharp.ToplevelBlock block, Mono.CSharp.Parameters ip, IMethodData md, System.Boolean& unreachable) [0x00000]
done (0 errors, 0 warnings)
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.

I am not very confident with linux or mono so i have no idea what this error means and may need a deeper anwser that usual.
Any help is welcome.

Regards,
akkers


I recompiled Runuo.exe and now i get the following message. This is similer to another persons problem however the solution dont work for me.

Code:
RunUO - [www.runuo.com] Version 2.0, Build 2951.18329
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 4 processors
Core: Unix environment detected
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) [0x00000]
  at Mono.CSharp.CSharpCodeCompiler.CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000]
  at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000]
  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
 

akkers

Sorceror
Someone must have a solution? with all the people who have already got theres up and running, how?
 

akkers

Sorceror
yey it works, thanks seirge.

If anyone else is having this problem solution is download seirge files "emitter.cs and baseExtension.cs
http://www.runuo.com/forums/server-support-mono/86152-server-startup-problem.html

Also download serialisation.cs
http://www.runuo.com/forums/server-support-mono/85220-linux-again-but-getting-close-run-2.html
Goto page one download "Championspawner.cs Gauntletspawner.cs Communicationcrystal.cs Autosave.cs Accounts.cs DataPath.cs and Accountprompt.cs"

Recompile server and load.
 
Top