Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Mono

Server Support on Mono Forum dedicated to RunUO 2.0 on Mono.

Reply
 
Thread Tools Display Modes
Old 01-30-2008, 09:33 AM   #1 (permalink)
Newbie
 
akkers's Avatar
 
Join Date: Dec 2005
Location: England
Age: 20
Posts: 24
Send a message via MSN to akkers Send a message via Yahoo to akkers
Default 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

Last edited by akkers; 01-30-2008 at 10:19 AM.
akkers is offline   Reply With Quote
Old 02-01-2008, 01:26 PM   #2 (permalink)
Newbie
 
akkers's Avatar
 
Join Date: Dec 2005
Location: England
Age: 20
Posts: 24
Send a message via MSN to akkers Send a message via Yahoo to akkers
Default

Someone must have a solution? with all the people who have already got theres up and running, how?
akkers is offline   Reply With Quote
Old 02-02-2008, 03:54 AM   #3 (permalink)
Newbie
 
Join Date: Aug 2004
Age: 24
Posts: 35
Default

I made it up and running on mono 1.2.5.1
1.2.6 crashes on FreeBSD, so I do not use it.
Your first error is specific to 1.2.6 mono (but I do not remember how I solved it, sorry for it ).
Try to use these fixes: server startup problem
seirge is offline   Reply With Quote
Old 02-02-2008, 07:19 AM   #4 (permalink)
Newbie
 
akkers's Avatar
 
Join Date: Dec 2005
Location: England
Age: 20
Posts: 24
Send a message via MSN to akkers Send a message via Yahoo to akkers
Default

Quote:
Originally Posted by seirge View Post
I made it up and running on mono 1.2.5.1
1.2.6 crashes on FreeBSD, so I do not use it.
Your first error is specific to 1.2.6 mono (but I do not remember how I solved it, sorry for it ).
Try to use these fixes: server startup problem
thanks ill give it a try
__________________
xXx- Akkers - xXx
akkers is offline   Reply With Quote
Old 02-02-2008, 01:17 PM   #5 (permalink)
Newbie
 
akkers's Avatar
 
Join Date: Dec 2005
Location: England
Age: 20
Posts: 24
Send a message via MSN to akkers Send a message via Yahoo to akkers
Default

yey it works, thanks seirge.

If anyone else is having this problem solution is download seirge files "emitter.cs and baseExtension.cs
server startup problem

Also download serialisation.cs
Linux again, but it is getting close to run
Goto page one download "Championspawner.cs Gauntletspawner.cs Communicationcrystal.cs Autosave.cs Accounts.cs DataPath.cs and Accountprompt.cs"

Recompile server and load.
__________________
xXx- Akkers - xXx

Last edited by akkers; 02-02-2008 at 01:38 PM. Reason: new information
akkers is offline   Reply With Quote
Old 02-07-2008, 05:24 AM   #6 (permalink)
Lurker
 
Join Date: Dec 2007
Age: 36
Posts: 1
Default

working for me too, thanks so much serge
jvalenti 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