Hi. I'm newbie here. May I ask you something...
I'm in trouble with compile

I did install mono through port. : version 4.8.1
I use csh.
I didn't installed XSpawner yet.

What I did is...
1. Just "make"
1.1. git clone https://github.com/ServUO/ServUO
1.2.edit files, then "make" ("gmake" results in same trouble)
1.2.1. edit "Makefile" : I deleted "mono64" then just "mono" is made alive.
1.2.2. edit "Config/DataPath.cfg" : I wrote my UO path like "CustomPath=/home/myhome/bin/UltimaOnlineClassic"
1.3. result is
1.3.1. Ultima.dll is successfully passed/made.
1.3.2. ServUO.MONO.exe and ~~.sh files are successfully passed/made.
1.3.3. but, starting server doesn't work.
1.3.3.1. "SIGSEGV" error happens in most cases.
1.3.3.1. rarely "Do you want to create the owner account now?" is comming.
1.3.3.1.1. yes → Error code 137
1.3.3.1.2. no →Error code 137

2. I compile Ultima.dll and ~.exe seperately with different compile option which is referred in other threads.
2.1. Ultima.dll → successfully compiled
mcs -sdk:4.5 -out:Ultima.dll -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 -target:library -nowarn:219,414 -recurse:Ultima/'*.cs'
2.2. ServUO.exe → successfully compiled
mcs -sdk:4.5 -out:ServUO.exe -d:MONO -d:NEWPARENT -d:NEWTIMERS -d:ServUO -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,Ultima.dll -nowarn:219,414 -recurse:Server/'*.cs'
2.3. mono ServUO.exe → errored like follow.
================================================================================
ServUO - [https://www.servuo.com] Version 0.5, Build 6504.25529
Core: Running with arguments: -noconsole
Core: Optimizing for 2 64-bit processors
Core: Unix environment detected
RandomImpl: SimpleRandom (Software)
Core: Loading config...
Scripts: Compiling C# scripts...Failed with: 6 errors, 0 warnings
Errors:
+ Items/Consumables/BankCheck.cs:
CS0115: Line 129: `Server.Items.BankCheck.OnAdded(Server.IEntity)' is marked as an override but no suitable method found to override
+ Items/Consumables/Gold.cs:
CS0115: Line 52: `Server.Items.Gold.OnAdded(Server.IEntity)' is marked as an override but no suitable method found to override
+ Services/XmlSpawner/XMLSpawner Support/StaffCloak.cs:
CS0115: Line 47: `Server.Items.StaffCloak.OnAdded(Server.IEntity)' is marked as an override but no suitable method found to override
CS0115: Line 79: `Server.Items.StaffCloak.OnRemoved(Server.IEntity)' is marked as an override but no suitable method found to override
+ Services/XmlSpawner/XmlSpawner Core/XmlQuest/XmlQuestHolder.cs:
CS0115: Line 507: `Server.Items.XmlQuestHolder.OnAdded(Server.IEntity)' is marked as an override but no suitable method found to override
+ Services/XmlSpawner/XmlSpawner Core/XmlQuest/XmlQuestToken.cs:
CS0115: Line 560: `Server.Items.XmlQuestToken.OnAdded(Server.IEntity)' is marked as an override but no suitable method found to override
CS0115: Line 94: `Server.Items.XmlQuestTokenPack.OnAdded(Server.IEntity)' is marked as an override but no suitable method found to override
+ Services/XmlSpawner/XmlSpawner Core/XmlQuest/XmlQuestBook.cs:
CS0115: Line 182: `Server.Items.XmlQuestBook.OnAdded(Server.IEntity)' is marked as an override but no suitable method found to override
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
================================================================================

Please. anybody help me.
ps) sorry for my poor English.
 
Bit of a late response, but just remove the override from those methods. Mono is a bit more finicky than the .net framework when it comes to having override on a method that has nothing to override, .net lets you get away with just a warning.
 
Back