|
||
|
|||||||
| Server Support on Mono Forum dedicated to RunUO 2.0 on Mono. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#26 (permalink) |
|
Newbie
Join Date: May 2008
Posts: 15
|
When I try to compile runuo
gmcs -out:../runuo.exe -d:MONO -optimize+ -unsafe -r:System,System.Configuration.Install,System.Data, System.Drawing,System.EnterpriseServices,System.Ma nagement,System.Security,System.ServiceProcess,Sys tem.Web,System.Web.Services,System.Windows.Forms,S ystem.Xml -nowarn:219 -recurse:*.cs I get error CS2001: Source file `System.Drawing,System.EnterpriseServices,System.M a' could not be found error CS2001: Source file `nagement,System.Security,System.ServiceProcess,Sy s' could not be found error CS2001: Source file `tem.Web,System.Web.Services,System.Windows.Forms, S' could not be found error CS2001: Source file `ystem.Xml' could not be found Compilation failed: 4 error(s), 0 warnings Can someone help me with getting this compiled? |
|
|
|
|
|
#27 (permalink) | |
|
Forum Expert
|
Quote:
-Ravon
__________________
|
|
|
|
|
|
|
#28 (permalink) |
|
Newbie
Join Date: May 2008
Posts: 15
|
alright I've put :
gmcs -out:../runuo.exe -d:MONO -optimize+ -unsafe -r:System,System.Configuration.Install,System.Data, System.Drawing,System.EnterpriseServices,System.Ma nagement,System.Security,System.ServiceProcess,Sys tem.Web,System.Web.Services,System.Windows.Forms,S ystem.Xml -nowarn:219 -recurse:*.cs and I get error CS2008: No files to compile were specified Compilation failed: 1 error(s), 0 warnings |
|
|
|
|
|
#29 (permalink) |
|
Forum Novice
Join Date: Nov 2007
Posts: 120
|
jdogherman, Looks like you still have a space in S ystem.Xml and System.Ma nagement, and make sure that there isnt a line break in "Sys tem.Web,".
I had to put this into gedit and work on it a bit before I got all the spaces out of it. Good luck, I think you're almost there! ![]() --GhostRiderGrey Last edited by GhostRiderGrey; 05-08-2008 at 11:48 AM. Reason: another possible error |
|
|
|
|
|
#30 (permalink) |
|
Newbie
Join Date: May 2008
Posts: 15
|
gmcs -out:../runuo.exe -d:MONO -optimize+ -unsafe -r:System,System.Configuration.Install,System.Data, System.Drawing,System.EnterpriseServices,System.Ma nagement,System.Security,System.ServiceProcess,Sys tem.Web,System.Web.Services,System.Windows.Forms,S ystem.Xml -nowarn:219 -recurse:*.cs
no break between ma and nagement still not working |
|
|
|
|
|
#31 (permalink) |
|
Lurker
Join Date: Jan 2007
Posts: 3
|
Code:
** ERROR **: generic_params table claims method has generic parameters, but signature says it doesn't aborting... Stacktrace: at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool) <0x0000b> at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool) <0xffffffff> at System.Reflection.Assembly.GetTypes () <0x00013> at Server.Core.VerifySerialization (System.Reflection.Assembly) <0x000f0> at Server.Core.VerifySerialization () <0x00044> at Server.ScriptCompiler.Compile (bool) <0x0029f> at Server.Core.Main (string[]) <0x00d39> |
|
|
|
|
|
#32 (permalink) |
|
Newbie
|
Thank you for this tuto, I will try it now.
Just a problem, the link you give for the patches on runuo-forge is death? Is it an important patch? Thank you. Report : I downloaded the last RunUO2-RC2-src from the SVC : Code:
$ svn checkout http://svn.runuo.com/repos/runuo/devel/ Code:
$ gmcs -out:runuo.exe -d:MONO -optimize+ -unsafe -r:System,System.Configuration.Install,System.Data,System.Drawing,System.EnterpriseServices,System.Management,System.Security,System.ServiceProcess,System.Web,System.Web.Services,System.Windows.Forms,System.Xml -nowarn:219 -recurse:Server/*.cs ![]() Code:
Server/Item.cs(1899,37): warning CS0169: The private method `Server.Item.SetSaveFlag(ref Server.Item.SaveFlag, Server.Item.SaveFlag, bool)' is never used Server/Timer.cs(380,36): warning CS0414: The private field `Server.Timer.m_QueueCountAtSlice' is assigned but its value is never used Server/ScriptCompiler.cs(520,30): warning CS0169: The private method `Server.ScriptCompiler.LoadScriptedAssembly(System.Collections.Generic.List<System.Reflection.Assembly>, string, Server.ScriptCompiler.Compiler, bool)' is never used Server/Gumps/Gump.cs(370,32): warning CS0169: The private method `Server.Gumps.Gump.Compile()' is never used Server/Persistence/FileQueue.cs(39,37): warning CS0414: The private field `Server.FileQueue.Chunk.offset' is assigned but its value is never used Compilation succeeded - 5 warning(s) Code:
$ mono runuo.exe RunUO - [www.runuo.com] Version 2.0, Build 3052.39033 Core: Running on .NET Framework Version 2.0.50727 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. The returns of the two --debug commands are the same as this one above ![]() Thanks for your help ![]() Regards, Scriptiz ps: I got this Mono version : Code:
$ mono -V Mono JIT compiler version 1.2.6 (tarball) Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com TLS: __thread GC: Included Boehm (with typed GC) SIGSEGV: altstack Notifications: epoll Architecture: x86 Disabled: none Last edited by Scriptiz; 05-10-2008 at 06:06 PM. |
|
|
|
|
|
#34 (permalink) | |
|
Newbie
|
Quote:
Do you get the RunUO Version from the SVN? Can you give us the command you use to compile RunUO? Mine is this one in this one when the files are in the subdirectory Server/*.cs : Code:
gmcs -out:runuo.exe -d:MONO -optimize+ -unsafe -r:System,System.Configuration.Install,System.Data,System.Drawing,System.EnterpriseServices,System.Management,System.Security,System.ServiceProcess,System.Web,System.Web.Services,System.Windows.Forms,System.Xml -nowarn:219 -recurse:Server/*.cs ![]() Check if there is no whitespace between the namespaces used in your compile lines (like this : "System.Web.Services,System.Windows.Forms") Last edited by Scriptiz; 05-11-2008 at 03:28 AM. |
|
|
|
|
|
|
#35 (permalink) | |||
|
Newbie
Join Date: May 2008
Posts: 15
|
mono -V:
Quote:
SVN: Quote:
Quote:
Last edited by jdogherman; 05-11-2008 at 10:30 AM. |
|||
|
|
|
|
|
#36 (permalink) | |
|
Newbie
|
Quote:
It work with version 1.2.6 of Mono on my Ubuntu... Haven't tried with 1.9.1 ![]() Try with this command lines to compile : Code:
gmcs -out:runuo.exe -d:MONO -optimize+ -unsafe -r:System,System.Configuration.Install,System.Data,System.Drawing,System.EnterpriseServices,System.Management,System.Security,System.ServiceProcess,System.Web,System.Web.Services,System.Windows.Forms,System.Xml -nowarn:219 -recurse:Server/*.cs Instead it doesn't work, try to compile it with version 1.2.6 of Mono. |
|
|
|
|
|
|
#38 (permalink) |
|
Newbie
|
What is your distribution?
If it's a Debian (or Debian-like), just hit in a terminal : apt-get remove mono On other distributions, find the way to uninstall or delete mono (there are many community to help you work around on your distribution) Then go on : Mono 1.2.6 Downloads To get the 1.2.6 version of Mono |
|
|
|
|
|
#39 (permalink) |
|
Newbie
Join Date: May 2008
Posts: 15
|
well i unistalled mono
then I reinstalled 1.2.6 but it didnt install gmcs so I apt-get mono-gmcs and installed it and now when i try to compile i get error CS0006: cannot find metadata file `System.Data' error CS0006: cannot find metadata file `System.Web' error CS0006: cannot find metadata file `System.Web.Services' error CS0006: cannot find metadata file `System.Windows.Forms' Compilation failed: 4 error(s), 0 warnings I am using ubuntu 8.04 |
|
|
|
|
|
#41 (permalink) |
|
Newbie
|
Here is a compiled version of Devel 295 wich work
![]() http://demango.ovh.org/RunUO-linux_scriptiz.tar.gz Don't forget to read the README file or it won't work ![]() The Scripts are thoses from Devel, and you have to change the DataPath.cs to your UO directory. |
|
|
|
|
|
#42 (permalink) | |
|
Newbie
Join Date: May 2008
Posts: 15
|
Ok... I made it further (with Scriptiz build) but I have a couple of questions.
How can I Download the latest little fixes and how do I Install UO ML. I assume its the reason i get a fatal error when i try to $ mono runuo.exe Quote:
|
|
|
|
|
|
|
#44 (permalink) |
|
Newbie
|
The last fixes are applied in the build I give you.
If you have UO ML installed and you can run it on Linux, open the file located in Scripts/Misc/DataPath.cs and replace the line CustomPath = ""; by the path where you installed UO. By default it's something like this : Code:
CustomPath = "/home/your_session_name/.wine/drive_c/Program\ Files/EA\ Games/Ultima\ Online\ Mondain's\ Legacy/"; ![]() The error you get is due to a misconfiguration of your DataPath.cs, give it the good path to your UO installation and it will work fine ![]() If you read you're log on RunUO Console : Code:
tiledata.mul was not found Make sure your Scripts/Misc/DataPath.cs is properly configured ![]() |
|
|
|
|
|
#45 (permalink) | |
|
Newbie
Join Date: May 2008
Posts: 15
|
Ok i got it to work I was putting Justin rather than justin (stupid mistake)
And I got it to load I created a user and password and then it just sat there so i ctrl+c and got out then i tried to get back it and it gives me an error Quote:
|
|
|
|
|