A friend has this server that I wish to clean up some. I know Linux would be great for this fishing trip. When I run make, I get the following error output.


ServUO Server:
ServUO - [http://www.servuo.com] Version 0.5, Build 8051.14389
Publish 54
Core: Optimizing for 8 64-bit processors
Core: Unix environment detected
RandomImpl: SimpleRandom (Software)
Core: Loading config...
Scripts: Compiling C# scripts...Error:
System.ArgumentException: Path is empty
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x00027] in <533173d24dae460899d2b10975534bb0>:0
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <533173d24dae460899d2b10975534bb0>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.File.OpenRead (System.String path) [0x00000] in <533173d24dae460899d2b10975534bb0>:0
  at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00023] in <9c6e2cb7ddd8473fa420642ddcf7ce48>:0
  at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00006] in <9c6e2cb7ddd8473fa420642ddcf7ce48>:0
  at Server.ScriptCompiler.CompileCSScripts (System.Boolean debug, System.Boolean cache, System.Reflection.Assembly& assembly) [0x001c8] in <10358c2cf6ee4ac6a500b8cf0bbd4121>:0
  at Server.ScriptCompiler.Compile (System.Boolean debug, System.Boolean cache) [0x00034] in <10358c2cf6ee4ac6a500b8cf0bbd4121>:0
  at Server.Core.Main (System.String[] args) [0x004dd] in <10358c2cf6ee4ac6a500b8cf0bbd4121>:0
This exception is fatal, press return to exit
 
Well you will need to take a look at scriptcompiler.cs and check the way the path is set in mono, at some point it changed in mono I believe so maybe its that or idk.
 
Found a solution, in ScriptCompiler.cs file, needed to change this line:
CompilerResults results = provider.CompileAssemblyFromFile( parms, "" );
To this line:
CompilerResults results = provider.CompileAssemblyFromFile( parms, files );

Compiles fine now, lets see how long my luck holds out.
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back