AntiOfflineRaid

Moved

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

5/5, 32 likes
  1. I really wish this didn't restart the timers after a restart.
     
  2. Hi! Just one question:
    What's this?:
    Code:
    (21:15:02) | [Oxide] 20:15 [Error] Failed to run a 3.00 timer in 'AntiOfflineRaid v0.2.4' (NullReferenceException: Object reference not set to an instance of an object)
    (21:15:02) | [Oxide] 20:15 [Debug] at Oxide.Plugins.AntiOfflineRaid.HideMessage (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.AntiOfflineRaid+<ShowMessage>c__AnonStorey0.<>m__0 () [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <filename unknown>:0
     
  3. Calytic

    Calytic Community Admin Community Mod

    Yes. This plugin doesn't keep track of active raids. It only tracks player offline/afk time and scales/mitigates damage accordingly.
    [DOUBLEPOST=1475441248][/DOUBLEPOST]
    It's an error message.

    How To: Report Bugs | Oxide
    [DOUBLEPOST=1475441334][/DOUBLEPOST]
    What do you mean? What timers?
     
  4. After update day (basically the only time we do a restart) No one has protection until they've come on and gone off again. The data file resets. It's been like this since we've had it.

    Scrolled through it and supposedly no one hasn't been online for 4 days. auto purge has similar glitches.
     
  5. Calytic

    Calytic Community Admin Community Mod

    What? There is no code which resets the datafile under any circumstances.
     
  6. Not saying it's intentional, it just happens, a lot.
     
  7. Calytic

    Calytic Community Admin Community Mod

    I'm not sure I really understand. I want to help you but I need to figure out what is happening.

    Which one of the following is happening?

    1. Players who are online when the server shuts down must login after the restart to get protection
    2. Any player, regardless if they are online at the shutdown, must login after the restart to get protection

    Do you run "server.save" before you shutdown?
     
  8. 2 and yes.
     
  9. Calytic

    Calytic Community Admin Community Mod

    Okay, thank you. That is not the intended behavior. I will try to replicate it.
     
  10. Would it be possible to add a feature that expanded the time you are allowed to raid if someone disconnects during a raid?
     
  11. That's the cooldown timer. I have mine at 10 mins
     
  12. Glitches :p
     
  13. Yes captain obvious.

    I was wondering if it was possible to have to seperate timers.
    One for how long untill you get protection (normal)
    One for how long you get protection if you log out during a raid or combat
     
  14. Calytic

    Calytic Community Admin Community Mod

    This plugin does not track active raids. I could possibly do an integration with Raid Notes.
     
  15. @Calytic What's to stop people just having 1 man clans and forever be protected if an admin had set the minimum to 2?

    I guess clans would have to be changed to only allow clans to exist if there's at least 2 people in them.
     
  16. Calytic

    Calytic Community Admin Community Mod

    That is why it is configurable. :)
     
  17. How is it configurable to accomodate that?
     
  18. Calytic

    Calytic Community Admin Community Mod

    You can set "minMembers" to whatever you like :)
     
  19. 1 question, 1 problem

    Question - is there anyway to add the permission to say Server Rewards, so a player can buy offline protection?

    Problem - 2 players 1 base, 1 guy owns base, goes offline, player 2 cant be raided while 1 is offline as they are not clanned. Using clans/friends/building owners, none seem to detect the other guy living there by using lets say doors, or the toolcupboard.

    is shop possible, and is there a fix for my issue?

    Cheers
     
  20. ignore.
     
    Last edited by a moderator: Oct 9, 2016