1. Hi Guys,

    Since I'm using the AntiCheat plugin, should I keep this OFF?

    antihack.enabled false

    Thanks,
    TheDoc
     
  2. As far as I can tell the plugin will set antihack.enabled to false automatically.
     
  3. It does not, I searched the code for it. Also if you type in console antihack.enabled after it's loaded it's still TRUE. So no it does not do that.
     
  4. Needs to be false setting it to true will cause your server to lag a lot
     
  5. You must manualy turn it off othervise the plugin will lag the server or even corupt some files.
     
  6. Wulf

    Wulf Community Admin

    Why would it corrupt files?
     
  7. It hapened to me once, it interfeared with the "normal" anti hack and i had to reinstall the server
     
  8. Wulf

    Wulf Community Admin

    It shouldn't cause any save corruption though, neither should lag.
     
  9. Ok, but it did happen to me so yeah....
     
  10. We are talking about this plugin, right: R-AntiCheat for Rust | Oxide
    The following code snippet is part of the plugin above:
    Code:
    void OnServerInitialized()
    {
        serverInitialized = true;
        if(Jail != null) jailExists = true;
             
        LoadData();    timer.Once(1f, () => RefreshPlayers());    ConsoleSystem.Run.Server.Normal("antihack.enabled false");
        // timer.Once(0.1f, () => ConsoleSystem.Run.Server.Normal("event.open"));
        // timer.Once(0.1f, () => ConsoleSystem.Run.Server.Normal("event.start"));
        //ConsoleSystem.Run.Server.Normal("ai.move false");
        //ConsoleSystem.Run.Server.Normal("ai.think false");
    }
    I didn't look into what the following line does exactly, but it does look like it would be setting antihack.enabled to false:
    Code:
    ConsoleSystem.Run.Server.Normal("antihack.enabled false");
    I guess I'm wrong though.
     
  11. You are right
     
  12. The plugin does need a rewrite
     
  13. Hi, I'm trying to disable antihack.enabled, but he says that there is no such command. Due to the work of this atichita server lags behind and falls FPS from 150 to 16