AntiOfflineRaid

Moved

Total Downloads: 6,124 - First Release: Nov 17, 2015 - Last Update: Mar 1, 2018

5/5, 32 likes
  1. Yeah, I'll just get my money back from my host because I think it's ridiculous that they didn't have an up to date server when I purchased it today. And when I went to update it through their control panel, it was supposed to be the latest, but I see that it isn't. Thanks for your help though! I appreciate it.
     
  2. Can it be made possible that if multiple players build the base that the protection is be triggered by any of the builders? Now when some players build something together. When one players goes offline, parts of the building are protected and some are not.
     
  3. Getting a lot of these errors when someone attacks a base. Might be related to NoEscape plugin?

    Code:
    (22:48:42) | Failed to call hook 'OnEntityTakeDamage' on plugin 'AntiOfflineRaid v0.2.8' (NullReferenceException: Object reference not set to an instance of an object)
    (22:48:42) | Failed to call hook 'OnEntityTakeDamage' on plugin 'AntiOfflineRaid v0.2.8' (NullReferenceException: Object reference not set to an instance of an object)
    (22:48:43) | Failed to call hook 'OnEntityTakeDamage' on plugin 'AntiOfflineRaid v0.2.8' (NullReferenceException: Object reference not set to an instance of an object)
    (22:48:44) | Failed to call hook 'OnEntityTakeDamage' on plugin 'AntiOfflineRaid v0.2.8' (NullReferenceException: Object reference not set to an instance of an object)
    (22:48:45) | Failed to call hook 'OnEntityTakeDamage' on plugin 'AntiOfflineRaid v0.2.8' (NullReferenceException: Object reference not set to an instance of an object)
    (22:48:46) | Failed to call hook 'OnEntityTakeDamage' on plugin 'AntiOfflineRaid v0.2.8' (NullReferenceException: Object reference not set to an instance of an object)
     
  4. Hello,

    Not having understood everything because my English is really too bad, my configuration is' correct:
    Code:
    {
      "afkMinutes": 10,
      "clanFirstOffline": false,
      "clanShare": true,
      "cooldownMinutes": 30,
      "damageScale": {
        "0.5": 1,
        "2": 0.1,
        "3": 0.2,
        "4": 0.4,
        "5": 0.5,
        "6": 0.6,
        "12": 0.8,    
        "24": 1,
        "48": 1.5,
        "72": 2
      },
      "interimDamage": 1.0,
      "minMembers": 2,
      "playSound": false,
      "prefabs": [
        "door.hinged",
        "door.double.hinged",
        "window.bars",
        "floor.ladder.hatch",
        "floor.frame",
        "wall.frame",
        "shutter",
        "wall.external",
        "gates.external"
      ],
      "showMessage": true,
      "sound": "assets/prefabs/weapon mods/silencers/effects/silencer_attach.fx.prefab",
      "VERSION": "0.2.8"
    }
    Code:
    First 30 minutes offline - 100% damage
    Between 30 and 120 minutes offline - 10% damage
    Between 2 and 3 hours offline - 20% damage
    Between 3 and 4 hours offline - 40% damage
    Between 4 and 5 hours offline - 50% damage
    Between 5 and 6 hours offline - 60% damage
    Between 6 and 12 hours offline - 80% damage
    Between 12 and 24 hours offline - 100% damage
    Between 24 and 48 hours offline - 150% damage
    After 72 hours offline - 200% damage
     
  5. Calytic

    Calytic Community Admin Community Mod

    Calytic updated AntiOfflineRaid with a new update entry:

    0.2.9

     
  6. Calytic, can you answer me please for help?

    My english is bad... i don't understand,i use google for write, translate etc... ^^
     
  7. hey there anti offline raid doesnt know wether they are online or not
     
  8. Getting same reports.
     
  9. This plugin is not working and from reports has not been working for the last couple of weeks...

    I don't know if it's conflicting with other plugins but I'm getting the following errors:

    Code:
    [SERVER v1.0.24] Console: warning CS1701: Assuming assembly reference `Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' matches assembly `Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. You may need to supply runtime policy
    AntiOfflineRaid.cs(173,26): warning CS0219: The variable `ts' is assigned but its value is never used
    AntiOfflineRaid.cs(46,15): warning CS0414: The private field `Oxide.Plugins.AntiOfflineRaid.lastOnlineTimer' is assigned but its value is never used
    After further investigation it appear to be working but the AFK timer will break the plugin. Setting that to 0 will fix it for now I think...
     
    Last edited by a moderator: Mar 12, 2017
  10. i dont get that issue tbh its working now :)
     
  11. It's been working but with last nights update the bases seem to have 100% Protection :eek:
     
  12. it seems the buildings on my server are protected if the player is ONLINE not tbe other wat around

    any ideas???
     
  13. I'm having the same issue. I've been online for like an hour and I can't do damage to my own building. Says its protected.

    I want damage done after 12 hours. Before 12 hours, 0 damage done.
    This is what I have in the config file:
    Code:
    {
      "afkMinutes": 0,
      "clanFirstOffline": true,
      "clanShare": true,
      "cooldownMinutes": 10,
      "damageScale": {
        "1": 0,
        "12": 1,
        "3": 0,
        "48": 1,
        "6": 0
      },
      "interimDamage": 0.0,
      "minMembers": 1,
      "playSound": false,
      "prefabs": [
        "door.hinged",
        "door.double.hinged",
        "window.bars",
        "floor.ladder.hatch",
        "floor.frame",
        "wall.frame",
        "shutter",
        "wall.external",
        "gates.external"
      ],
      "showMessage": true,
      "sound": "assets/prefabs/weapon mods/silencers/effects/silencer_attach.fx.prefab",
      "VERSION": "0.2.9"
    }
     
  14. I performed a fresh install of Rust and resolved another more serious issue I had.
    Pretty much all the plugins are working except for 3, including AntiOffLineRaid, NightLantern and DayVote. Any attempt to type anything results in 'Unknown Command'

    Can someone eyeball my details, or possibly see a link as to the cause please?

    Protocol: 1976.142.1
    Build Version: 1198.75
    Build Date: Thursday, March 23, 2017 5:59:59 PM
    Unity Version: 5.4.2f2
    Changeset: 19854
    Branch: /main Oxide Version: 2.0.3159
     
  15. Wulf

    Wulf Community Admin

    Check your oxide/logs for errors.
     
  16. Hello,

    i try to use that Plugin but i doesen work for me. I Install it to my Plugins Folder and change a bit the Json file. But ingame doesen happens after reload the plugin.

    This is my json File:
    Code:
    {
        "afkMinutes": 60,
        "clanFirstOffline": false,
        "clanShare": true,
        "cooldownMinutes": 45,
        "damageScale": {
            "0.5": 1,
            "2": 0.2,
            "4": 0.4,
            "6": 0.6,
            "12": 0.8,
            "24": 1,
            "48": 0.6
        },
        "interimDamage": 0.0,
        "minMembers": 1,
        "playSound": true,
        "prefabs": [
            "door.hinged",
            "door.double.hinged",
            "window.bars",
            "floor.ladder.hatch",
            "floor.frame",
            "wall.frame",
            "shutter",
            "wall.external",
            "gates.external"
        ],
        "showMessage": true,
        "sound": "assets/prefabs/weapon mods/silencers/effects/silencer_attach.fx.prefab",
        "VERSION": "0.2.9"
    }
    Thanks for help
     
    Last edited by a moderator: Apr 5, 2017
  17. Not sure if this will help anyone update the plugin, but changing the variable for:
    "afkMinutes": 10,
    Will switch the AntiOfflineRaid on after x minutes.

    So I've set the time on my server to 120mins:
    "afkMinutes": 120,
    so the protection stays OFF while the player is online (at least for 120mins). I know this is not its original function, but it seems to work. The plugin seems to think the player is AFK. and will protect the base after the x mins (even when the player is still online).
     
  18. Can someone help me? Does it work for u guys? If it works pls explain me how it will work for me too.
     
  19. Ive got some errors, pls help me

    Code:
    (18:07:54) | Failed to call hook 'OnPlayerInput' on plugin 'AntiOfflineRaid v0.2.9' (NullReferenceException: Object reference not set to an instance of an object)
    (18:07:54) | Failed to call hook 'OnPlayerInput' on plugin 'AntiOfflineRaid v0.2.9' (NullReferenceException: Object reference not set to an instance of an object)
    (18:07:54) | Failed to call hook 'OnPlayerInput' on plugin 'AntiOfflineRaid v0.2.9' (NullReferenceException: Object reference not set to an instance of an object)
    (18:07:54) | Failed to call hook 'OnPlayerInput' on plugin 'AntiOfflineRaid v0.2.9' (NullReferenceException: Object reference not set to an instance of an object)
    (18:07:54) | Failed to call hook 'OnPlayerInput' on plugin 'AntiOfflineRaid v0.2.9' (NullReferenceException: Object reference not set to an instance of an object)
    (18:07:54) | Failed to call hook 'OnPlayerInput' on plugin 'AntiOfflineRaid v0.2.9' (NullReferenceException: Object reference not set to an instance of an object)
    (18:07:54) | Failed to call hook 'OnPlayerInput' on plugin 'AntiOfflineRaid v0.2.9' (NullReferenceException: Object reference not set to an instance of an object)
     
  20. Some fixes or can anybody help me?