I got that error:
[Oxide] 1:57 AM [Error] Plugin failed to compile: AntiCheat (leaving previous version loaded)
[Oxide] 1:57 AM [Error] AntiCheat plugin failed to compile!
[Oxide] 1:57 AM [Error] AntiCheat.cs(376,15): error CS1525: Unexpected symbol `double'
How ca I know in which line I have the error?
And which programing enviroment do you recomend me to compile c# plugins?
Unexpected symbol `double' when editing plugin
Discussion in 'Rust Development' started by cibal, Aug 2, 2015.
-
Wulf Community Admin
It says which line in the error, 376. The plugin compiles fine though, did you edit it?
-
I was changing the punish option when there are no admins online to be more agressive, can I?
-
Wulf Community Admin
You can, but I'd recommend knowing a bit about C#. -
you can edit most everything from the config files.
-
I know a a bit of C and C# is very similar.
The problem is that I want to change the config every time there is no admin connected, so I have to modify the "OnPlayerInit" and the "OnPlayerDisconnected" to check if he is an admin and change the config not to change the config file manually every time -
I use MonoDevelop's Xamarin Sudio's IDE. I am a beginner, and Brackey's C# tutorials has taught me a lot in the past day. Honestly.
-
I will try it thanks a lot
[DOUBLEPOST=1438601421,1438590038][/DOUBLEPOST](IOException: Sharing violation on path...)
What does it means? -
http://oxidemod.org/threads/warp-system.6346/page-11 Read this page.. should help./
-
similar errors to the first one you showed, appear when you forgot a ; at the end of a line
-
But it is a .lua plugin so do not have ";"
-
AntiCheat is C# as I know
