alchemy

Member
ServUO Version
Publish Unknown
Ultima Expansion
Mondain's Legacy
Crazy question,but I have to ask it to make sure....

I have a RUNUO 1.0 server running since this first release.
There was so many modification everywhere that upgrading to Runuo 2.0 was not possible.

Has anyone ever try to recompile the core RUNUO 1.0 to an upper versioan of DotNet ? (like 2.0 or upper)
 
OK, I've done it, I have a RUNUO 1.0 .Net 3.5 compatible.
(this small change allows http requests to be available...)
 
To build RUNUO 1.0 core server executable on mono-csc (linux) based on associated latest .Net

First change this in Main.cs:
C#:
        public static string ExePath
        {
            get
            {
                if ( m_ExePath == null )
                    m_ExePath = Process.GetCurrentProcess().MainModule.FileName;
                return m_ExePath;
            }
        }

into this:
C#:
        public static string ExePath
        {
            get
            {
                if ( m_ExePath == null )
#if !MONO
                    m_ExePath = Process.GetCurrentProcess().MainModule.FileName;
#endif
#if MONO
                    m_ExePath = Environment.GetCommandLineArgs()[0];
#endif
                return m_ExePath;
            }
        }



Then in Server directory, you can use this to compile with no more issues:
Code:
mono-csc /optimize /unsafe /t:exe /out:RunUO.exe /recurse:*.cs -D:MONO
 

Active Shards

Donations

Total amount
$80.00
Goal
$1,000.00
Back