Hello,
Starting a server, trying to use a few plugins on it, however when I import the .cs files to /oxide/plugins/, the console gives the following -
ExType: TypeInitializationException
Added '// Reference: System.Drawing' in plugin 'SignArtist'
[DEBUG] Load requested for plugin which is already loading: InstantCraft
BaseException: (Exception: Magic number is wrong: 542) at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x00028] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0005f] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.TermInfoDriver..ctor (System.String term) [0x00055] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.ConsoleDriver..cctor () [0x0004d] in <eae584ce26bc40229c1b1aa476bfa589>:0
Compiler may not be set as executable; chmod +x or 0744/0755 required
Error while compiling: compiler version couldn't be started
Error while compiling: compiler version couldn't be started
Error while compiling: compiler version couldn't be started
Exception while starting compiler version : (Exception: Magic number is wrong: 542) at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x00028] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0005f] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.TermInfoDriver..ctor (System.String term) [0x00055] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.ConsoleDriver..cctor () [0x0004d] in <eae584ce26bc40229c1b1aa476bfa589>:0
Error while compiling: compiler version couldn't be started
Error while compiling: compiler version couldn't be started
Error while compiling: compiler version couldn't be started
Error while compiling: compiler version couldn't be started
Error while compiling: compiler version couldn't be started
Error while compiling: compiler version couldn't be started
Error while compiling: compiler version couldn't be started
Error while compiling: compiler version couldn't be started
Error while compiling: compiler version couldn't be started
I have downloaded and unzipped the Linux version of Oxide. I cannot find any compiler file, so I assumed it was Assembly-CSharp.dll and used sudo chmod u+x Assembly-CSharp.dll.
Can someone advise? Thanks.