Howman

Initiate
First, I'm sorry for my poor English and my solutions are not absolute.

Yesterday, I ran ServUO successfully under my ubuntu 12.04 LTS system.
I think critical issues are installation of mono3 and kernel32 exception.
here is solution of above issue.

1. mono3 install in ubuntu 12.04 LTS
Source: http://www.meebey.net/posts/mono_3.0_preview_debian_ubuntu_packages/

Add this line to your /etc/apt/sources.list file:

deb http://debian.meebey.net/experimental/mono /

Now update the APT database and install mono-complete from that repository:
apt-get update
apt-get install mono-complete

2. Solution of kernel32 exception
I found different code between ServUO and RunUO about dll load of kernel32.
The main problem is SafeNativeMethods.QueryPerformanceCounter(out t);
In RunUO, We put option -D with MONO in compile time.
Then avoid start the SafeNativeMethods function in Main.cs, but ServUO did not use that option.

Here is changed my code.
// TODO: Unreliable with certain system configurations.
/*if (_HighRes)
{
SafeNativeMethods.QueryPerformanceCounter(out t);
}
else
{
t = DateTime.UtcNow.Ticks;
}
return (long)(t * _Frequency);
*/

#if !MONO
if (_UseHRT && _HighRes)
{
long t = 0;
SafeNativeMethods.QueryPerformanceCounter(out t);
return (long)((double)t * _Frequency);
}
else
#endif
return (long)((double)DateTime.UtcNow.Ticks * 0.0001);
 

Active Shards

  • Unchained
    Custom (Classic)
    • Players
    • 110 Online
    • 273 Peak
  • Insane UO
    Endless Journey
    • Players
    • 98 Online
    • 128 Peak
  • UO Eventine
    Custom (Classic)
    • Players
    • 93 Online
    • 137 Peak
  • The Crossroads
    Mondain's Legacy
    • Players
    • 77 Online
    • 190 Peak
  • UO: New Renaissance
    Custom (Classic)
    • Players
    • 41 Online
    • 85 Peak
  • UO Phoenix
    Custom (Classic)
    • Players
    • 34 Online
    • 48 Peak
  • Arth
    Custom (Modern)
    • Players
    • 31 Online
    • 46 Peak
  • UO Enigma
    Custom (Modern)
    • Players
    • 22 Online
    • 172 Peak
  • CALYPSO
    Custom (Modern)
    • Players
    • 17 Online
    • 30 Peak
  • Pandora
    Custom (Modern)
    • Players
    • 15 Online
    • 32 Peak

Donations

Total amount
$0.00
Goal
$500.00
Back