This ServUO repo is the same Pub 54 that was released through GitHub, which includes the Third-Party content that was removed/changed in and after Pub 57. This was only added by request from community members to merge into the current and future repos.
Currently @Thagoras and I are the only ones "supporting" this repo.
If you would like to contribute, contact me via PM here or GitHub.
Our goal is to support the contents of this repo only. (if needed)
 
Helping a friend figure some things out, running Pub54, when I run Makefile, getting the following error.
I set Datapath.cfg and Datapath.cs to the mul folder.


ServUO Pub 54:
ServUO - [http://www.servuo.com] Version 0.5, Build 8061.19929
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 <53bdd705348c4087af9044812f3f5107>:0
  at Server.ScriptCompiler.Compile (System.Boolean debug, System.Boolean cache) [0x00034] in <53bdd705348c4087af9044812f3f5107>:0
  at Server.Core.Main (System.String[] args) [0x004dd] in <53bdd705348c4087af9044812f3f5107>:0
This exception is fatal, press return to exit
 
Helping a friend figure some things out, running Pub54, when I run Makefile, getting the following error.
I set Datapath.cfg and Datapath.cs to the mul folder.


ServUO Pub 54:
ServUO - [http://www.servuo.com] Version 0.5, Build 8061.19929
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 <53bdd705348c4087af9044812f3f5107>:0
  at Server.ScriptCompiler.Compile (System.Boolean debug, System.Boolean cache) [0x00034] in <53bdd705348c4087af9044812f3f5107>:0
  at Server.Core.Main (System.String[] args) [0x004dd] in <53bdd705348c4087af9044812f3f5107>:0
This exception is fatal, press return to exit
I *think* you only need (and possibly only should) change the CFG files in Pub 54 and beyond.
Anyone else feel free to correct me.

But, one reason is that the path is typed incorrectly. Make sure the / is correct.

Another is that you might have set the cs file first and then the cfg file and that is the issue.
So if you set the CS file first, set it back to the default and then change the CFG file and see what happens.
Hopefully this helps.
 
I dont have a pub 54 floating around,

but look into ScriptCompiler.
Inside the CompileCSScripts method you will probably have something like

Code:
#if Mono
    path = "";
    ....

that is kinda legacy code for mono, at some point this was not needed anymore for mono
 
ok, went with another copy of Pub54 of Datapath.cfg, Datapath.cs, and ScriptCompiler.cs, still getting above error. And yes, commented out the section you suggested above.
 
well it has nothing to do with files, but it is the ScriptCompiler that cant find cs files, like I said it is related to the part I posted, but I did alter that a long time ago for unix / mono and I dont have the pub54 version on hand anymore
 
Back