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 10-07-2007, 03:18 AM   #1 (permalink)
Lurker
 
Join Date: Oct 2007
Posts: 3
Angry I tryed everything..

Hi,

Im running the newest Ubuntu Linux with Mono JIT compiler version 1.2.3.1. I've been searching trought the forum for Installation Guides and found this: RunUO 2.0 svn181 built by Linux for Linux
ofc it failed.

Then i saw that Ryan said the RunUO 2.0 works on Mono, so:

PHP Code:
mono RunUO.exe 
and i get this:

Code:
Error:
System.EntryPointNotFoundException: SetConsoleCtrlHandler
  at (wrapper managed-to-native) Server.Core:SetConsoleCtrlHandler (Server.Core/ConsoleEventHandler,bool)
  at Server.Core.Main (System.String[] args) [0x00000]
This exception is fatal, press return to exit

** (RunUO.exe:18854): WARNING **: exception inside UnhandledException handler: Cannot cast from source type to destination type.

Then i tried the latest SVN revision 263. and tried to compile it like this:
PHP Code:
 gmcs -d:MONO -unsafe+ -optimize- -t:exe -out:RunUO.exe -recurse:Server/*.cs 
and i get this:

Code:
error CS2001: Source file `Server/*.cs' could not be found
error CS2008: No files to compile were specified
Compilation failed: 2 error(s), 0 warnings
Any ideas?
StatusD_ is offline   Reply With Quote
Old 10-07-2007, 06:56 AM   #2 (permalink)
Forum Expert
 
Join Date: Mar 2004
Location: Germany
Age: 22
Posts: 298
Default

The error says probably everything: you are in the wrong directory. Look at the "-Recurse:" parameter
__________________
RunUO RemoteAdmin - Control your shard remotely and keep an eye on the page queue
MulEditor - Modify gump, art, tiledata, multimap, localization files and map/statics.
CentrED - A Client/Server based multi-user map editor.
floppydisc is offline   Reply With Quote
Old 10-07-2007, 09:02 PM   #3 (permalink)
Forum Expert
 
Courageous's Avatar
 
Join Date: Nov 2005
Location: San Diego, CA
Posts: 1,824
Default

One of the things I had to learn as a young man was to pause, catch my breath, and actually read what the compiler was saying.

C//
Courageous is offline   Reply With Quote
Old 10-10-2007, 12:18 AM   #4 (permalink)
Lurker
 
Join Date: Oct 2007
Posts: 3
Default

of ffs.. i just pasted the wrong line.. it does notwork even if its a right directory

gmcs -out:../runuo.exe -d:MONO -optimize+ -unsafe -r :System,System.Configuration.Install,System.Data,S ystem.Drawing,System.Enterpris eServices,System.Management,System.Runtime.Remotin g,System.Runtime.Serialization .Formatters.Soap,System.Security,System.ServicePro cess,System.Web,System.Web.Ser vices,System.Windows.Forms,System.Xml -nowarn:219 -recurse:Server/*.cs


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), 0 warnings
StatusD_ is offline   Reply With Quote
Old 10-10-2007, 03:40 AM   #5 (permalink)
Newbie
 
Join Date: Aug 2004
Age: 24
Posts: 35
Default

mono 1.2.5 should be used, not 1.2.3.1
seirge is offline   Reply With Quote
Old 10-10-2007, 09:15 AM   #6 (permalink)
Lurker
 
Join Date: Oct 2007
Posts: 3
Default

Quote:
Originally Posted by seirge View Post
mono 1.2.5 should be used, not 1.2.3.1
Are you saying that with Mono 1.2.5 the newest RunUO 2.0 will work instantly like Ryan promised?
StatusD_ is offline   Reply With Quote
Old 10-10-2007, 09:19 AM   #7 (permalink)
Forum Expert
 
Join Date: Mar 2004
Location: Germany
Age: 22
Posts: 298
Default

Quote:
Originally Posted by StatusD_ View Post
Are you saying that with Mono 1.2.5 the newest RunUO 2.0 will work instantly like Ryan promised?
Just try it. But obviously some of the fixes of Mono 1.2.5 are required.
__________________
RunUO RemoteAdmin - Control your shard remotely and keep an eye on the page queue
MulEditor - Modify gump, art, tiledata, multimap, localization files and map/statics.
CentrED - A Client/Server based multi-user map editor.
floppydisc 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