mcs -target:library -out:`pwd`/Ultima.dll -r:System.Drawing.dll -nowarn:0618,0219,0414,1635 -d:MONO -d:ServUO -d:NEWTIMERS -nologo -optimize -unsafe -recurse:`pwd`/Ultima/*.cs
mcs -win32icon:`pwd`/Server/servuo.ico -r:`pwd`/Ultima.dll,System.Drawing.dll -nowarn:0618,0219,0414,1635 -target:exe -out:`pwd`/ServUO.exe -d:MONO -d:ServUO -d:NEWTIMERS -nologo -optimize -unsafe -recurse:`pwd`/Server/*.cs
echo "#!/bin/sh" > `pwd`/ServUO.sh
echo "mono `pwd`/ServUO.exe" >> `pwd`/ServUO.sh
chmod a+x `pwd`/ServUO.sh
sed -i.bak -e 's/<!--//g; s/-->//g' ServUO.exe.config
`pwd`/ServUO.sh
ServUO - [
https://www.servuo.com] Version 0.5, Build 7265.28237 - Build on 11/22/2019 3:41:14 PM UTC - Release
Core: Running with arguments: -noconsole
Core: Optimizing for 24 64-bit processors
Core: Unix environment detected
Core: Compiled for MONO and running on 6.4.0.198 (tarball Tue Sep 24 01:20:06 UTC 2019)
RandomImpl: SimpleRandom (Software)
Core: Loading config...
Scripts: Compiling C# scripts...Finished with: 0 errors, 4 warnings
Warnings:
+ Misc/Email.cs:
CS0618: Line 36: `System.Net.Mail.SmtpClient' is obsolete: `SmtpClient and its network of types are poorly designed, we strongly recommend you use
https://github.com/jstedfast/MailKit and
https://github.com/jstedfast/MimeKit instead'
CS0618: Line 50: `System.Net.Mail.SmtpClient' is obsolete: `SmtpClient and its network of types are poorly designed, we strongly recommend you use
https://github.com/jstedfast/MailKit and
https://github.com/jstedfast/MimeKit instead'
+ Services/Reports/Rendering/HtmlRenderer.cs:
CS0618: Line 194: `System.TimeZone' is obsolete: `System.TimeZone has been deprecated. Please investigate the use of System.TimeZoneInfo instead.'
CS0618: Line 194: `System.TimeZone' is obsolete: `System.TimeZone has been deprecated. Please investigate the use of System.TimeZoneInfo instead.'
CS0618: Line 243: `System.TimeZone' is obsolete: `System.TimeZone has been deprecated. Please investigate the use of System.TimeZoneInfo instead.'
CS0618: Line 243: `System.TimeZone' is obsolete: `System.TimeZone has been deprecated. Please investigate the use of System.TimeZoneInfo instead.'
+ Services/Town Cryer/Gumps/TownCryerGuildGump.cs:
CS0618: Line 38: `System.TimeZone' is obsolete: `System.TimeZone has been deprecated. Please investigate the use of System.TimeZoneInfo instead.'
+ Services/Town Cryer/Gumps/CreateGuildEntryGump.cs:
CS0618: Line 51: `System.TimeZone' is obsolete: `System.TimeZone has been deprecated. Please investigate the use of System.TimeZoneInfo instead.'
Scripts: Verifying...
Finished (5780 items, 1353 mobiles, 3 customs) (1.87 seconds)
Config: Warning, using default value for DataPath.CustomPath
Enter the Ultima Online directory:
> /home/cadaver1/uoclassic/
DataPath: /home/cadaver1/uoclassic/
Regions: Loading...done
World: Loading...
...done (0 items, 0 mobiles, 0 customs) (0.02 seconds)
tiledata.mul was not found
Make sure your Scripts/Misc/DataPath.cs is properly configured
After pressing return an exception will be thrown and the server will terminate
Error:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Server.TileData' threw an exception. ---> System.Exception: TileData: not found
at Server.TileData..cctor () [0x0039e] in <2a7ab98da6524b0897c56d58390ec1c2>:0
--- End of inner exception stack trace ---
at Server.Multis.HouseTeleporterTile.Initialize () [0x00000] in <6b22e6ed6a3243dfb855fe5470855b72>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <285579f54af44a2ca048dad6be20e190>:0
--- End of inner exception stack trace ---
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in <285579f54af44a2ca048dad6be20e190>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) <0x7f41f85fe810 + 0x00040> in <285579f54af44a2ca048dad6be20e190>:0
at Server.ScriptCompiler.Invoke (System.String method) [0x00092] in <2a7ab98da6524b0897c56d58390ec1c2>:0
at Server.Core.Main (System.String[] args) [0x00647] in <2a7ab98da6524b0897c56d58390ec1c2>:0
This exception is fatal, press return to exit
Killed
Makefile:19: recipe for target 'run' failed
make: *** [run] Error 137