1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

server crashing, being a pain in my **vjofufgvjlhv**

Discussion in 'General Discussion' started by john burns, Nov 10, 2017.

  1. john burns
    Offline

    john burns Member

    Joined:
    Mar 12, 2014
    Messages:
    621
    Likes Received:
    15
    getting this error file, it was working until i messed with one of the cooking script files.


    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 <383bd71b6d054ccb9f30e1332ba5afc1>:0
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <383bd71b6d054ccb9f30e1332ba5afc1>: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 <383bd71b6d054ccb9f30e1332ba5afc1>:0
    at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00023] in <eeea71827a97498eaae6e6ab9e96cfd4>:0
    at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00006] in <eeea71827a97498eaae6e6ab9e96cfd4>:0
    at Server.ScriptCompiler.CompileCSScripts (System.Boolean debug, System.Boolean cache, System.Reflection.Assembly& assembly) [0x001c8] in <7011e3ca9c46407a881d569c2651574c>:0
    at Server.ScriptCompiler.Compile (System.Boolean debug, System.Boolean cache) [0x00034] in <7011e3ca9c46407a881d569c2651574c>:0
    at Server.Core.Main (System.String[] args) [0x004c4] in <7011e3ca9c46407a881d569c2651574c>:0
    This exception is fatal, press return to exit
     
  2. xG00BERx
    Offline

    xG00BERx Active Member

    Joined:
    Jan 6, 2014
    Messages:
    339
    Likes Received:
    36
    what did you edit and such? Post a copy of your cooking script maybe?
     
  3. PyrO
    Offline

    PyrO Active Member

    Joined:
    Jan 27, 2015
    Messages:
    768
    Likes Received:
    38
    I am very sure you use mono, and you did update it since the last compile. If I recall right it was this.
    In ScriptCompiler.cs

    change
    Code (C#):
    1. CompilerResults results = provider.CompileAssemblyFromFile( parms, "" );
    to
    Code (C#):
    1. CompilerResults results = provider.CompileAssemblyFromFile( parms, files );
    dont forget to recompile your server after that.
     
  4. john burns
    Offline

    john burns Member

    Joined:
    Mar 12, 2014
    Messages:
    621
    Likes Received:
    15
    sorry if it took so long, dealing with personal stuff. but i edited this script from cooking expansion, server went crazy, put back original file, same thing.

    here is the milk script i edited--------
     

    Attached Files:

  5. john burns
    Offline

    john burns Member

    Joined:
    Mar 12, 2014
    Messages:
    621
    Likes Received:
    15
    when the server crashed after i edited that script, i put the original back in. and that did not fix the problem.
     
  6. PyrO
    Offline

    PyrO Active Member

    Joined:
    Jan 27, 2015
    Messages:
    768
    Likes Received:
    38
    Did you do what I wrote yesterday?
     
  7. john burns
    Offline

    john burns Member

    Joined:
    Mar 12, 2014
    Messages:
    621
    Likes Received:
    15
    yeah, no success.
    that code had already been done.
     
  8. arvoreen
    Offline

    arvoreen Member

    Joined:
    Aug 20, 2014
    Messages:
    70
    Likes Received:
    1
    When you try something someone suggests and it breaks, you should post the errors produced by that instead of just going back to what was broken before.

    Are you running on linux with mono? If so, what version of mono? I had the same error about empty path after updating mono to the latest version, and editing ScriptCompiler.cs in the SERVER core, then recompiling the server, fixed it. If it didn't work for you, you should post the new errors you received, as it should have worked. Pretty sure your milk file wouldn't cause the script compiler to crash right off like that with that error, so I doubt that's the problem.
     
Similar Threads: server crashing
Forum Title Date
Windows Support Server Crashing after a createworld May 31, 2016
Windows Support Server crashing. May 17, 2016
General Discussion Server crashing going to custom map Nov 13, 2015
Script Support Server crashing when creatures goes over custom teleport. Jun 4, 2015
3rd Party Support CentrED+ server config Dec 4, 2017
ServUO Discussion Server Crashes when player uses this command(Fixed) Dec 3, 2017
Script Support How to ''lock'' server so people cant join? Nov 30, 2017