AntiOfflineRaid

Moved

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

5/5, 32 likes
  1. I've managed to get the damage scale working.
     
  2. this plugin is nearly perfect for what we are doing just needs something along these lines.
    if player structure takes Z amount of damage X minutes before logout of player, player structure can continue to take damage for Y minutes after logout, and player structure currently in Y window can extend damage window Y by applying XX damage in within YY minutes

    thanks for a great plugin!
     
  3. Spq

    Spq

    hi. what does the 20% protection mean? 20% more material to be bombarded?
     
  4. this plugin doesn't work at all
    [DOUBLEPOST=1527356212][/DOUBLEPOST]
    ur plugin doesn't work anymore :( too bad
     
  5. how did u do?
     
  6. after the rust update I get this:
    Code:
    (14:30:49) | Failed to call hook 'OnEntityTakeDamage' on plugin 'AntiOfflineRaid v0.3.4' (FormatException: Input string was not in a correct format.)
      at System.Number.StringToNumber (System.String str, System.Globalization.NumberStyles options, System.Number+NumberBuffer& number, System.Globalization.NumberFormatInfo info, System.Boolean parseDecimal) [0x00057] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at System.Number.ParseInt32 (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00013] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at System.Int32.Parse (System.String s) [0x00007] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at System.Linq.Enumerable+SelectEnumerableIterator`2[TSource,TResult].ToList () [0x0001b] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0
      at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0
      at Oxide.Plugins.AntiOfflineRaid.scaleDamage (System.UInt64 targetID) [0x000fc] in <564c8272a678460b965721af94cb57b7>:0
      at Oxide.Plugins.AntiOfflineRaid.OnStructureAttack (BaseEntity entity, HitInfo hitinfo) [0x00043] in <564c8272a678460b965721af94cb57b7>:0
      at Oxide.Plugins.AntiOfflineRaid.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitInfo) [0x00022] in <564c8272a678460b965721af94cb57b7>:0
      at Oxide.Plugins.AntiOfflineRaid.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00311] in <564c8272a678460b965721af94cb57b7>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <17b9f46063fe4ac9ae4a1000712647ce>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ba44835247a74c58bf6cabef8b441b56>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ba44835247a74c58bf6cabef8b441b56>:0
    (14:30:49) | Calling 'OnEntityTakeDamage' on 'AntiOfflineRaid v0.3.4' took 101ms
    (14:30:49) | Failed to call hook 'OnEntityTakeDamage' on plugin 'AntiOfflineRaid v0.3.4' (FormatException: Input string was not in a correct format.)
      at System.Number.StringToNumber (System.String str, System.Globalization.NumberStyles options, System.Number+NumberBuffer& number, System.Globalization.NumberFormatInfo info, System.Boolean parseDecimal) [0x00057] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at System.Number.ParseInt32 (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00013] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at System.Int32.Parse (System.String s) [0x00007] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at System.Linq.Enumerable+SelectEnumerableIterator`2[TSource,TResult].ToList () [0x0001b] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0
      at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0
      at Oxide.Plugins.AntiOfflineRaid.scaleDamage (System.UInt64 targetID) [0x000fc] in <564c8272a678460b965721af94cb57b7>:0
      at Oxide.Plugins.AntiOfflineRaid.OnStructureAttack (BaseEntity entity, HitInfo hitinfo) [0x00043] in <564c8272a678460b965721af94cb57b7>:0
      at Oxide.Plugins.AntiOfflineRaid.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitInfo) [0x00022] in <564c8272a678460b965721af94cb57b7>:0
      at Oxide.Plugins.AntiOfflineRaid.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00311] in <564c8272a678460b965721af94cb57b7>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <17b9f46063fe4ac9ae4a1000712647ce>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ba44835247a74c58bf6cabef8b441b56>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ba44835247a74c58bf6cabef8b441b56>:0
    (14:30:49) | Calling 'OnEntityTakeDamage' on 'AntiOfflineRaid v0.3.4' took 105ms
    (14:30:49) | Calling 'OnEntityTakeDamage' on 'AntiOfflineRaid v0.3.4' took average 2380ms
     
  7. How do I use the clan share option? I mean I set it on "true" but it doesn't work :/
    [DOUBLEPOST=1528841271][/DOUBLEPOST]My message is a bit rude sorry ^^' I use the rust:IO clan mods and it still takes the builder of the structure to determine if it can take damage or not :/
     
  8. Weird, works for us, do you have it set to first or last member offline, do /ao playername to find out their damage scale to confirm
     
  9. How does this plugin work in the means of if you raiding someone and he logs off, does the damage protection kick in ?
     
  10. Depends on how you set the config, its all in the overview dawg ;)
     
  11. Any chance you can add the functionality to also register people authorised on the tool cupboard / people who have building privlidge and not just clans / the object owner? So if someone who is on the tool cupboard is online the base also becomes raidable?
     
  12. Just get dynamic cupboard share plugin and enforce everyone that auths has to be in the clan ;)
     
  13. Thank you! You're a life saver!
     
  14. doesnt seem to work anymore
     
  15. Works fine
     
  16. there is a bug with AFK and cooldown if u modify the values players get offline anyway.
    If i set the default values it works fine.
    [DOUBLEPOST=1531871201][/DOUBLEPOST]
    there is a bug with AFK and cooldown if u modify the value players get offline anyway.
    If i set the default value it works fine.
     
    Last edited by a moderator: Jul 18, 2018
  17. Is there a way to share the ownership to everyone who is authorized on the cupboard?

    A function like cupboardshare or so ^^
     
  18. Make the possibilities of friends. Friends built a house 50/50, and if one is protected, then the floor of the house is only in defense. Synchronize protection between friends
     
  19. Please, help.
    How to make:
    Player in the network = 0% damage
    Player is offline = 100% damage.