There really needs autoban for the killings with Hunting Bow. Many cheaters use Silent Aim and kill from 200/300 meters with Hunting Bow but are not banned, and, in the config file of AntiCheat, I put maximum range of 155 meters.
R-AntiCheat [Unmaintained]
Discussion in 'Plugin Support' started by Reneb, Sep 9, 2014.
-
-
@Reneb, just a quick question... Does the "Anti SleepingBag through Walls" makes our lives easier because it makes the plugin "sleepover" unnecessary? Since there no other way to glitch and put a sleeping bag inside of someones house?
I was wondering if there would need a remake of the Sleepover... -
I'm Not coding for legacy anymore
-
Reneb,
Please plug-in for the arena without arena ... very boring on the server (. -
Wulf Community Admin
For those using the latest Oxide snapshot, use the below version with the unnecessary imports removed.
Attached Files:
-
-
Hello, I've rented a VPS which I have installed Windows Server 2012 R2 64-bit on.
I installed SteamCMD, downloaded Rust files and then downloaded Oxide. Everything seemed to work out fine. Suddenly, my server was ddosed + there were some other issues with the server at the time, so we had to revert / go into rescue mode.
After this incident I wasn't able to start my server without getting "CSharpCompiler.exe crashed" error.
I removed plugins one by one, and I found out that I couldn't start the server if RemoverTool.cs was installed.
It works if I remove the RemoverTool plugin before starting the server, and then installing the plugin after the server has been launched.
Now I am getting a lot of errors and my AntiCheat plugin is not really working.
These errors come very frequently:
Code:(10:29:12) | [Oxide] 10:29 AM [Error] Failed to call hook 'OnPlayerConnected' on plugin 'Rust Legacy Core' (NullReferenceException: Object reference not set to an instance of an object)(10:33:46) | [Oxide] 10:33 AM [Error] Failed to call hook 'OnServerInitialized' on plugin 'AntiCheat' (NullReferenceException: Object reference not set to an instance of an object)(15:57:07) | [Oxide] 3:57 PM [Error] Failed to call hook 'cmdChatTeleport' on plugin 'AdminTeleportation' (NullReferenceException: Object reference not set to an instance of an object)
Could it be a problem with .NET Framework or something on my PC? I tried downloading Rust files again using SteamCMD and I downloaded the newest release of Oxide 2.0 for Legacy, but that still didn't fix the issue. I have also updated to the newest Windows Updates without success..
If you need any more info, please let me know.
NOTE: I just noticed that the post was merged into this thread. However, I also get this error:
Code:(15:57:07) | [Oxide] 3:57 PM [Error] Failed to call hook 'cmdChatTeleport' on plugin 'AdminTeleportation' (NullReferenceException: Object reference not set to an instance of an object)
Last edited by a moderator: May 21, 2015 -
I've been trying to add so people without Rcon access can see when someone gets detected by Anticheat, as some doesn't get banned because the hacker know when to take a little "break"
Code:static void AntiCheatBroadcastAdmins(string message) { if (!broadcastAdmins) return; foreach (PlayerClient player in PlayerClient.All) { if (player.netUser.CanAdmin()) ConsoleNetworker.SendClientCommand(player.netPlayer, "chat.add AntiCheat \"" + message + "\""); } }
Tried adding that but only broke the plugin. Yes i'm a noob, thanks in advance for any help!Last edited by a moderator: May 22, 2015 -
i'm not sure you really want all the players to see it, or the hackers could also see it ^^
-
Of course i don't want everyone to see it, i mean i want my mods to see whenever someone is detected. Hence why i tried to add the "cananticheat" permission into the code. This is what i tried, but only broke it
Code:static void AntiCheatBroadcastAdmins(string message) { if (!broadcastAdmins) return; foreach (PlayerClient player in PlayerClient.All) { if (player.netUser.CanAdmin()) if permission.UserHasPermission(netuser.playerClient.userID.ToString(), "cananticheat"); ConsoleNetworker.SendClientCommand(player.netPlayer, "chat.add AntiCheat \"" + message + "\""); } }
-
Code:
static void AntiCheatBroadcastAdmins(string message) { if (!broadcastAdmins) return; foreach (PlayerClient player in PlayerClient.All) { if (player.netUser.CanAdmin() || permission.UserHasPermission(player.userID.ToString(), "cananticheat")) ConsoleNetworker.SendClientCommand(player.netPlayer, "chat.add AntiCheat \"" + message + "\""); } }
-
Thanks Reneb
[DOUBLEPOST=1432486551,1432334257][/DOUBLEPOST] -
maybe it's:
player.userID.ToString()
=>
player.userid.ToString()
sorry i can't have the rust code with no so i don't remember and can't check -
Code:
[Oxide] 11:00 PM [Warning] Ignored obsolete game extension reference 'Oxide.Ext.RustLegacy' in plugin 'AntiCheat' [Oxide] 11:00 PM [Error] Plugin failed to compile: AntiCheat (leaving previous version loaded) [Oxide] 11:00 PM [Error] AntiCheat plugin failed to compile! [Oxide] 11:00 PM [Error] AntiCheat.cs(820,86): error CS1061: Type `PlayerClient' does not contain a definition for `userid' and no extension method `userid' of type `PlayerClient' could be found. Are you missing an assembly reference? [Oxide] 11:00 PM [Info] Unloaded plugin AntiCheat v2.0.13 by Reneb [Oxide] 11:00 PM [Error] Unable to load AntiCheat. AntiCheat.cs(820,86): error CS1061: Type `PlayerClient' does not contain a definition for `userid' and no extension method `userid' of type `PlayerClient' could be found. Are you missing an assembly reference?
-
I'm sorry i cant help you more atm, you should as' mughisi or wulfspider
-
I use Reneb's Anticheat on my server, and i'd love to be able to broadcast the Anticheat messages to my mods who only have flags.
Reneb suggested to do this:
Code:static void AntiCheatBroadcastAdmins(string message) { if (!broadcastAdmins) return; foreach (PlayerClient player in PlayerClient.All) { if (player.netUser.CanAdmin() || permission.UserHasPermission(player.userID.ToString(), "cananticheat")) ConsoleNetworker.SendClientCommand(player.netPlayer, "chat.add AntiCheat \"" + message + "\""); } }
Code:[Oxide] 11:00 PM [Warning] Ignored obsolete game extension reference 'Oxide.Ext.RustLegacy' in plugin 'AntiCheat' [Oxide] 11:00 PM [Error] Plugin failed to compile: AntiCheat (leaving previous version loaded) [Oxide] 11:00 PM [Error] AntiCheat plugin failed to compile! [Oxide] 11:00 PM [Error] AntiCheat.cs(820,86): error CS1061: Type `PlayerClient' does not contain a definition for `userid' and no extension method `userid' of type `PlayerClient' could be found. Are you missing an assembly reference? [Oxide] 11:00 PM [Info] Unloaded plugin AntiCheat v2.0.13 by Reneb [Oxide] 11:00 PM [Error] Unable to load AntiCheat. AntiCheat.cs(820,86): error CS1061: Type `PlayerClient' does not contain a definition for `userid' and no extension method `userid' of type `PlayerClient' could be found. Are you missing an assembly reference?
So does anyone have a clue how i can make this work? Thanks in advance -
player.userID.ToString()
should have worked :x -
Tried it again, got a different Error this time tho.
Code:[Oxide] 11:22 PM [Warning] Ignored obsolete game extension reference 'Oxide.Ext.RustLegacy' in plugin 'AntiCheat' [Oxide] 11:22 PM [Error] Plugin failed to compile: AntiCheat (leaving previous version loaded) [Oxide] 11:22 PM [Error] AntiCheat plugin failed to compile! [Oxide] 11:22 PM [Error] AntiCheat.cs(820,50): error CS0120: An object reference is required to access non-static member `Oxide.Plugins.RustLegacyPlugin.permission'
-
How user's report that he got banned for putting sleeping bag under his Wood Stairs > rSleepHack (WoodStairs)
-
Code:
"Sleeping Bag Hack: Punish ": true,
Code:"Sleeping Bag Hack: Punish ": false,
Last edited by a moderator: Jun 4, 2015