|
||
|
|||||||
| Server Support on Mono Forum dedicated to RunUO 2.0 on Mono. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Administrator
Join Date: Jan 2003
Location: Northern Virginia
Posts: 1,554
|
Using Mono 1.2.5:
1. You must have some form of libc and libz installed on your system. 2. Mono must be in your path. 3. You will need a copy of the mul/idx files listed in "Scripts\Misc\DataPath.cs". Known Issues: 1. Mono does not like a class containing two methods with the same name that differ only by a generic parameter. This means you will need to patch "Serialization.cs" and modify any affected Script files. 2. Mono increments pointers by 4 bytes no matter what the underlying type is in unsafe code when using the "++" operator. This is already accounted for in RunUO, but I am noting it here so it can be tested in future versions. 3. Generic commands do not work and will crash the Mono runtime. The issue occurs when we call Extensions.Parse from the commands area, global, region, online, etc. I have not found a workaround for this yet. 4. Documentation generation does not work. I haven't investigated the issue. Compiling: Here is how I compile the core: Code:
$ ~/mono-1.2.5/bin/gmcs -d:MONO -unsafe+ -optimize- -t:exe -out:RunUO.exe -recurse:Server/*.cs Here is how I start RunUO: Code:
$ PATH=~/mono-1.2.5/bin ~/mono-1.2.5/bin/mono RunUO.exe Last edited by Mark; 09-14-2007 at 06:56 PM. |
|
|
|
|
|
#2 (permalink) |
|
Forum Expert
Join Date: Oct 2002
Posts: 508
|
Code:
xxxx@xxxx:~/ultimaonline/devel$ gmcs -d:MONO -unsafe+ -optimize- -t:exe -out:RunUO.exe -recurse:Server/*.cs Server/Main.cs(451,16): warning CS0219: The variable `ms' is assigned but its value is never used Server/Map.cs(1797,12): warning CS0219: The variable `start' is assigned but its value is never used Server/Mobile.cs(8728,11): warning CS0219: The variable `oldRegion' is assigned but its value is never used Server/MultiData.cs(108,12): warning CS0219: The variable `extra' is assigned but its value is never used Server/Utility.cs(1252,104): error CS0030: Cannot convert type `TInput' to `TOutput' Server/Utility.cs(1252,104): The type has two conflicting definitions, one comes from RunUO, Version=0.0.0.0, Culture=neutral and the other from RunUO, Version=0.0.0.0, Culture=neutralerror) Compilation failed: 1 error(s), 4 warnings Am I doing something wrong, or do I have to patch Utility.cs...? I thought it worked directly out of the repository. Any ideas would be great.
__________________
Fueled by Bawls :cool: |
|
|
|
|
|
#4 (permalink) |
|
Lurker
Join Date: Sep 2007
Age: 21
Posts: 9
|
antidoto@antidoto-desktop:~/Desktop/RunUO2$ gmcs -d:MONO -unsafe+ -optimize- -t:exe -out:RunUO.exe -recurse:Server/*.cs
Server/Utility.cs(1,1): error CS1646: Keyword, identifier, or string expected after verbatim specifier: @ Compilation failed: 1 error(s), 0 warnings antidoto@antidoto-desktop:~/Desktop/RunUO2$ I have Ubuntu 7.04 What's the metter? Excuse me for my erorr... |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|