At first i thought it was just a single plugin that had issues when i updated it.
But i removed that plugin, even restarted server and now when i add a different plugin i get the same "plugin failed to compile".
from the compiler log.Code:[SERVER v1.0.20] Started as service [SERVER v1.0.20] Running as service [SERVER v1.0.20] Got Message: Ready [SERVER v1.0.20] Got Message: Compile [SERVER v1.0.20] Console: KillFeed.cs(1510,38): warning CS0472: The result of comparing value type `UnityEngine.Vector3' with null is always `true' error CS1705: Assembly `Oxide.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' depends on `Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' which has a higher version number than referenced assembly `Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' C:\server\rustdedicated\Oxide.Core.dll (Location of the symbol related to previous error) error CS1705: Assembly `Oxide.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' depends on `protobuf-net, Version=2.0.0.668, Culture=neutral, PublicKeyToken=257b51d87d2e4d67' which has a higher version number than referenced assembly `protobuf-net, Version=2.0.0.622, Culture=neutral, PublicKeyToken=257b51d87d2e4d67' C:\server\rustdedicated\Oxide.Core.dll (Location of the symbol related to previous error)[SERVER v1.0.20] Connection closed. [SERVER v1.0.20] Shutdown
It feels like i must of done something wrong, but i have seen others having the same compiler issue but nobody writing about a solution or what went wrong.
[DOUBLEPOST=1452966051][/DOUBLEPOST]and while i wondered if maybe the oxide.core.dll file was a problem..
i took my already downloaded oxide update (i patched it a few minutes after the last release) and pasted it over the files in the folders i already had, replacing the files in there (except a few files in x64 that was in use)
And then i did a oxide.reload DeathNotes (one of the plugins i had a issue with)
And now it loads... something must of been missed when i patched. but now it works.
So. tomorrow early morning i am shutting down my server with not so many people and doing a replacement for all files again just to be 100% sure all is good with the oxide files.
Hope this fixes stuff for others that googles, i have no idea how this happened but i am guessing some files just didnt get patched when i patched.
Solved Plugin failed to compile (Oxide outdated)
Discussion in 'Rust Discussion' started by HelloKitty, Jan 16, 2016.
-
Wulf Community Admin
Oxide should only be updated/installed when your server is fully shutdown. The error is most likely due to an outdated build where the compiler had issues. The warnings in the compiler log can be ignored though.
-
1. the error was from "today" when i had issues compiling.
2. i totaly agree that oxide should be patched with a completely shutdown server.
3. i did this emergency fix only because i didnt want to restart the server with 80 people playing.
I would also not recommend doing what i did unless someone really wants to take the risks of half-updating.
As it can give in worst case scenarios a corrupt save or corrupt files when you try and patch things that is in use.
Im going to shutdown the server this morning and patch it propperly.
But now i know why the compiler had issues (probably).
One of the files was of the former oxide version from before this weeks serverpatch.
Anywho. now this problem is solved.
And Wulf, you are seriously spending ALOT of time helping people.
I thank you, you have helped me indirectly MANY times when you helped others and i searched the forums and found your replyes.
Much appreciated your work is.
-
Wulf Community Admin