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 07-23-2008, 09:58 AM   #76 (permalink)
Newbie
 
Join Date: Jul 2008
Age: 31
Posts: 52
Default

Yups i dont have wine and the whole uo installed on my server either its only needed if u want to play the uo client only the files in the datapath.cs
Vince-Lithium is offline   Reply With Quote
Old 07-23-2008, 05:05 PM   #77 (permalink)
Newbie
 
Join Date: May 2008
Posts: 46
Default

i had 2 errors with gmsc...

Code:
/Server/Item.cs(822,26): error CS0103: The name `Ultima' does not exist in the current context
./Server/Item.cs(832,17): error CS0103: The name `Ultima' does not exist in the current context
Compilation failed: 2 error(s), 0 warnings
Rivet is offline   Reply With Quote
Old 07-23-2008, 05:11 PM   #78 (permalink)
Newbie
 
Join Date: Jul 2008
Location: Poland, Warsaw
Age: 17
Posts: 40
Send a message via AIM to pziemczyk Send a message via Skype™ to pziemczyk
Default

Quote:
Originally Posted by Rivet View Post
i had 2 errors with gmsc...

Code:
/Server/Item.cs(822,26): error CS0103: The name `Ultima' does not exist in the current context
./Server/Item.cs(832,17): error CS0103: The name `Ultima' does not exist in the current context
Compilation failed: 2 error(s), 0 warnings
You dont have file Ultima.dll
__________________
Coming soon will show a new pvp server..
Evil Wars..
pziemczyk is offline   Reply With Quote
Old 07-23-2008, 05:24 PM   #79 (permalink)
Newbie
 
Join Date: May 2008
Posts: 46
Default

wherer can i get this one?
Rivet is offline   Reply With Quote
Old 07-24-2008, 05:25 PM   #80 (permalink)
Newbie
 
Join Date: Jul 2008
Age: 31
Posts: 52
Default

i cant recal i needed ultima.dll do u run boxserver or some?
Vince-Lithium is offline   Reply With Quote
Old 07-30-2008, 09:40 PM   #81 (permalink)
Lurker
 
Join Date: Jul 2008
Age: 20
Posts: 2
Default

Hi, I've searched on the forum and couldn't find an answer for this problem:

Code:
./Serialization.cs(33,14): error CS0234: The type or namespace name `Guilds' does not exist in the namespace `Server'. Are you missing an assembly reference?
./Serialization.cs(138,62): error CS0246: The type or namespace name `Item' could not be found. Are you missing a using directive or an assembly reference?
Compilation failed: 2 error(s), 0 warnings
I downloaded the RC2 zip on the website and overwrote the files with the present on the two fixes given on the first post.
What am i missing?

Last edited by RWaltenberg; 07-30-2008 at 09:49 PM.
RWaltenberg is offline   Reply With Quote
Old 07-31-2008, 11:47 AM   #82 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 14
Default

RunUO 2 RC 2 (files attached copied)
Mono v 1.2.6
Ubuntu Hardy Heron
Using the command in the first post.

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:*.cs
error CS0006: cannot find metadata file `System.Windows.Forms'
Compilation failed: 1 error(s), 0 warnings
What can i do? Thanks
sharaazad is offline   Reply With Quote
Old 07-31-2008, 11:56 AM   #83 (permalink)
Forum Expert
 
RavonTUS's Avatar
 
Join Date: Aug 2004
Location: in a house.
Age: 39
Posts: 587
Send a message via ICQ to RavonTUS Send a message via AIM to RavonTUS
Default

Quote:
Originally Posted by sharaazad View Post
error CS0006: cannot find metadata file `System.Windows.Forms'

What can i do? Thanks
Make sure you have these libraries are installed too...libmono-microsoft-build2.0-cil and libmono-microsoft8.0-cil.

-Ravon
__________________

Will RunUO work on Linux? Yes
RavonTUS is offline   Reply With Quote
Old 07-31-2008, 12:51 PM   #84 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 14
Default

Quote:
Originally Posted by RavonTUS View Post
Make sure you have these libraries are installed too...libmono-microsoft-build2.0-cil and libmono-microsoft8.0-cil.

-Ravon
Thx , now it starts compile but:

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:*.cs
./Serialization.cs(33,14): error CS0234: The type or namespace name `Guilds' does not exist in the namespace `Server'. Are you missing an assembly reference?
./Serialization.cs(33,1): error CS0246: The type or namespace name `Server.Guilds' could not be found. Are you missing a using directive or an assembly reference?
./Serialization.cs(138,62): error CS0246: The type or namespace name `Item' could not be found. Are you missing a using directive or an assembly reference?
Compilation failed: 3 error(s), 0 warnings
I replaced original files in runuo 2 rc 2 with genuary, first, and february , second, files.
sharaazad is offline   Reply With Quote
Old 08-01-2008, 09:21 AM   #85 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 14
Default

I downloaded the latest svn and it compiles(applied only the latest fix). My server works well
Thx
sharaazad is offline   Reply With Quote
Old 08-01-2008, 10:39 AM   #86 (permalink)
Forum Expert
 
Join Date: Dec 2006
Location: Southern Utah
Age: 28
Posts: 763
Send a message via Yahoo to greywolf79
Default

Does only the SVN work on linux ? I am wanting to get my RC2 shard to run on it, would the mods also work for this?


GreyWolf.
greywolf79 is offline   Reply With Quote
Old 08-01-2008, 03:14 PM   #87 (permalink)
Newbie
 
Join Date: Jul 2008
Age: 31
Posts: 52
Default

Quote:
Originally Posted by greywolf79 View Post
Does only the SVN work on linux ? I am wanting to get my RC2 shard to run on it, would the mods also work for this?


GreyWolf.

RC2 didnt work for me the latest svn does so .......
Vince-Lithium is offline   Reply With Quote
Old 08-05-2008, 07:07 AM   #88 (permalink)
Newbie
 
Join Date: May 2008
Posts: 46
Default

i`ve checked all files, i have Ultima.dll, but it still not works. I think, it happens, because i updated core code with ML patch, but i very need this update =\
Rivet is offline   Reply With Quote
Old 08-12-2008, 06:13 AM   #89 (permalink)
Newbie
 
Scriptiz's Avatar
 
Join Date: Oct 2006
Location: Belgium
Posts: 37
Send a message via MSN to Scriptiz
Default

Be sure to have Mono 1.2.9

Then download the file I gived in link in a post of me on page 2 or 3 I think.

Edit the DataPatch.cs script to edit the CustomPatch="..." to put your UO installation dir into.

And run "mono runuo.exe" it shoud work.

If it crash when you or a client open a gump, make a symbolic link like this :

ln -s /usr/lib/libz.so.1 /usr/libz.so

(with root privileges)

Good luck
Scriptiz is offline   Reply With Quote
Old 09-18-2008, 04:19 PM   #90 (permalink)
Forum Expert
 
Join Date: Dec 2006
Location: Southern Utah
Age: 28
Posts: 763
Send a message via Yahoo to greywolf79
Default

This is the error I get (I downloaded all the fixes and evrything into my shard and got all the files needed to run the shard according to the list you provided).

It does not even load the shard or compile it, I get this when I do the gmcs command...

Code:
root@GreyWolf79-desktop:/home/GreyWolf79# System.Drawing,System.EnterpriseServices,System.Ma nagement, System.Security,System.ServiceProcess,System.Web, System.Web.Services,System.Windows.Forms,System.Xm l -nowarn:219 -recurse:*.cs
bash: System.Drawing,System.EnterpriseServices,System.Ma: command not found
root@GreyWolf79-desktop:/home/GreyWolf79#
I am running ubuntu 8.04 with latest wine and I saw that it listed the mono package as 1.2.6 I think (but just downloaded it with apt-get install mono as the command last night)... I am new to linux, I know some of the basic stuff but still a noob overall I think.

GreyWolf.
greywolf79 is offline   Reply With Quote
Old 09-23-2008, 10:38 PM   #91 (permalink)
Forum Expert
 
RavonTUS's Avatar
 
Join Date: Aug 2004
Location: in a house.
Age: 39
Posts: 587
Send a message via ICQ to RavonTUS Send a message via AIM to RavonTUS
Default

Greetings,

That command should start with gmcs and be one big long line, not two. Also make sure you have gmcs v2 (for .net 2) installed.

-Ravon
__________________

Will RunUO work on Linux? Yes
RavonTUS is offline   Reply With Quote
Old 09-23-2008, 11:33 PM   #92 (permalink)
Forum Expert
 
Join Date: Dec 2006
Location: Southern Utah
Age: 28
Posts: 763
Send a message via Yahoo to greywolf79
Default

I am having trouble getting the .net framework to install. I have wine (latest available) installed and when I go to install the .net framework it says there is an error installing and stops the install... I use ubuntu 8.04.

GreyWolf.
greywolf79 is offline   Reply With Quote
Old 09-25-2008, 06:39 AM   #93 (permalink)
Newbie
 
karth's Avatar
 
Join Date: Nov 2003
Posts: 17
Default

I'd like to give some small updates to the existing howto in the first post.
  • A minor modification is to be made in Server/Utility.cs in order to make RunUO2SVN rev. 300 compile on a linux platform running Mono 1.9.1

    Code:
    @ line 1250
    
    #if MONO
                    public static List<TOutput> CastConvertList<TInput, TOutput>( List<TInput> list ) where TInput : class where TOutput : class
                    {
                            return list.ConvertAll<TOutput>( new  Converter<TInput, TOutput>( delegate( TInput value ) { return value as TOutput; } ) );
                    }
    
    #else
                    public static List<TOutput> CastConvertList<TInput, TOutput>( List<TInput> list ) where TOutput : TInput
                    {
                            return list.ConvertAll<TOutput>( new Converter<TInput, TOutput>( delegate( TInput value ) { return (TOutput)value; } ) );
                    }
    
    #endif
    source: http://lists.ximian.com/pipermail/mo...ry/034199.html
  • I don't understand the need of Wine here. Running the server works out of the box with Mono 1.9.1, since it is a native port on .NET. Wine does not have good "original windows .NET" support. Just run the server with
    Code:
    mono runuo.exe

Last edited by karth; 09-25-2008 at 07:57 AM.
karth 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