1. Hello forum users,
    I have recently installed oxide 2 (with rust experimental) on windows server 2012 r2 and i cannot get .cs plugins to work i can get .lua plugins to work. I have attached a fresh log with my latest run and also a list with links of my plugins. Any help is appreciated. (PS: if there is any dependency's then please tell me)

    Thanks rtm516
     

    Attached Files:

  2. you got the plugins in the right place?
     
  3. Wulf

    Wulf Community Admin

    @rtm516, if you can, please try running the CSharpCompiler.exe directly from a cmd prompt and let us know what the output is.

    The issue is that the compiler is erroring, probably because either a dependency issue or something is keeping it from spawning.
     
  4. My plugins are in rustserver\server\homeserver\oxide\plugins
    and my output from CSharpCompiler.exe is
    Code:
    E:\SteamServer's\steamapps\common\rustserver>CSharpCompiler.exe
    error CS2008: No files to compile were specified
    Compilation failed: 1 error(s), 0 warnings
    With a file
    Code:
    E:\SteamServer's\steamapps\common\rustserver>CSharpCompiler.exe E:\SteamServer's
    \steamapps\common\rustserver\server\homeserver\oxide\plugins\RemoverTool.csUnhandled Exception:
    System.ArgumentOutOfRangeException: Cannot be negative.
    Parameter name: length
      at System.String.Substring (Int32 startIndex, Int32 length) [0x00000] in <filename unknown>:0
      at Mono.CSharp.StaticLoader..ctor (Mono.CSharp.StaticImporter importer, Mono.CSharp.CompilerContext compiler, System.Collections.Generic.Dictionary`2 referenceFiles) [0x00000] in <filename unknown>:0
      at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0
      at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0
    [ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: Cannot be negative.
    Parameter name: length
      at System.String.Substring (Int32 startIndex, Int32 length) [0x00000] in <filenameunknown>:0
      at Mono.CSharp.StaticLoader..ctor (Mono.CSharp.StaticImporter importer, Mono.Charp.CompilerContext compiler, System.Collections.Generic.Dictionary`2 referenceFiles)[0x00000] in <filename unknown>:0
      at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0
      at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filenameunknown>:0
    PS: i tried to format it a bit better by removing extra newlines
     
    Last edited by a moderator: Jan 1, 2016
  5. Would a full reinstall fix this?
     
  6. Dunno could try but would prefer not 2. I have already manually removed oxide, replaced files back to orig and put in again with no luck
     
  7. It's out of my skill set. I can only suggest what I've done to fix oxide. Wulf should be able to fix it
     
  8. Wulf

    Wulf Community Admin

    Please try the latest Oxide snapshot, either via your host's control panel or via https://github.com/OxideMod/Snapshots/raw/master/Oxide-Rust.zip.

    We added some additional debug output to try to find a solution.
     
  9. ok trying that now. FYI: i host the server my self so i have full access to everything on the machine

    Edit: i tried with just 1 .cs file and it still doesn't work, i attached logs and csharpcompiler.exe output that u told me to do before

    Edit2: i also notice that when it gets stuck with the .cs plugin i dont get any console output and the cpu usage drops to 0% whereas ram stays as like 167mb
    [DOUBLEPOST=1451665349,1451643691][/DOUBLEPOST]Please i realy need this fixing
     

    Attached Files:

  10. Wulf

    Wulf Community Admin

    Ahh, your path appears to be messing it up. Install the server in a path without a ' (apostrophe) in it.
     
  11. Yea that fixed it thanks