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
Solved Exception while starting compiler (bad server path)
Discussion in 'Rust Discussion' started by rtm516, Dec 31, 2015.
-
Attached Files:
-
-
you got the plugins in the right place?
-
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.
-
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
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
Last edited by a moderator: Jan 1, 2016 -
Would a full reinstall fix this?
-
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
-
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
-
Wulf Community Admin
We added some additional debug output to try to find a solution. -
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 fixingAttached Files:
-
-
Wulf Community Admin
-
Yea that fixed it thanks