AntiOfflineRaid

Moved

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

5/5, 32 likes
  1. @Calytic Looks like the gui message is buggy, sometimes works, most of the time doesn't even though players are offline and have ao data.
     
  2. I'm using this damage scale:

    Code:
      "damageScale": {
        "1": 0.5,
        "24": 1.0
      },
    Now, when I damage a structure of one of my players, it says the building is protected at 50%. But the player has been offline for almost 22 hours now:

    Code:
      "7656119829979****": {
        "userid": 7656119829979****,
        "lastOnlineLong": -8587253917837509158,
        "Days": 0.91257759464120369,
        "Minutes": 1314.1117365666667,
        "Hours": 21.901862278333333
      },
    I've expected the protection to be at ~10%.

    What's causing this, and what can I do to fix that?
     
  3. Calytic

    Calytic Community Admin Community Mod

    It doesn't scale like that, you have to enter in each scale at every individual hour.
     
  4. Ah, I was under the impression that it uses a Unity AnimationCurve. So it should work if I specify all the 24 hours instead?
     
  5. Calytic

    Calytic Community Admin Community Mod

  6. Calytic

    Calytic Community Admin Community Mod

    Calytic updated AntiOfflineRaid with a new update entry:

    0.2.6

     
  7. Same error as with Ent owner plugin

    Code:
    (02:05:33) | [Oxide] 18:05 [Error] AntiOfflineRaid.cs(942,48): error CS1061: Type `Oxide.Core.Libraries.Covalence.IPlayerManager' does not contain a definition for `FindPlayerById' and no extension method `FindPlayerById' of type `Oxide.Core.Libraries.Covalence.IPlayerManager' could be found. Are you missing an assembly reference?
     
  8. Wulf

    Wulf Community Admin

    The update is for a newer Oxide build, probably should have been noted.
     
  9. Just tried to add plugin and got the error
    Code:
    [Oxide] 21:18 [Error] AntiOfflineRaid plugin failed to compile!
    [Oxide] 21:18 [Error] AntiOfflineRaid.cs(942,48): error CS1061: Type `Oxide.Core.Libraries.Covalence.IPlayerManager' does not contain a definition for `FindPlayerById' and no extension method `FindPlayerById' of type `Oxide.Core.Libraries.Covalence.IPlayerManager' could be found. Are you missing an assembly reference?
    [Oxide] 21:18 [Error] EntityOwner plugin failed to compile!
    [Oxide] 21:18 [Error] EntityOwner.cs(1750,48): error CS1061: Type `Oxide.Core.Libraries.Covalence.IPlayerManager' does not contain a definition for `FindPlayerById' and no extension method `FindPlayerById' of type `Oxide.Core.Libraries.Covalence.IPlayerManager' could be found. Are you missing an assembly reference?
    [Oxide] 21:18 [Error] EntityOwner plugin failed to compile!
    [Oxide] 21:18 [Error] EntityOwner.cs(1750,48): error CS1061: Type `Oxide.Core.Libraries.Covalence.IPlayerManager' does not contain a definition for `FindPlayerById' and no extension method `FindPlayerById' of type `Oxide.Core.Libraries.Covalence.IPlayerManager' could be found. Are you missing an assembly reference?
     
    Last edited by a moderator: Oct 21, 2016
  10. Looks like the plugin still works even with the oxide version being lower, will wait til low pop to apply, thanks
     
  11. Wulf

    Wulf Community Admin

    Please see the post above your post.
     
  12. [Oxide] 20:47 [Error] AntiOfflineRaid.cs(709,44): error CS1929: Type `Oxide.Core.Libraries.Covalence.IPlayerManager' does not contain a member `GetPlayer' and the best extension method overload `UnityEngine.ArgEx.GetPlayer(this ConsoleSystem.Arg, int)' requires an instance of type `ConsoleSystem.Arg'

    Not sure if this is a slightly different error @Wulf. Is this also Oxide related?
     
  13. Seems broken again. Prob because latest and last version of entity owner won't compile.
     
    Last edited by a moderator: Nov 6, 2016
  14. Oxide] 15:54 [Error] Error while compiling AntiOfflineRaid.cs(709,44): error CS1929: Type `Oxide.Core.Libraries.Covalence.IPlayerManager' does not contain a member `GetPlayer' and the best extension method overload `UnityEngine.ArgEx.GetPlayer(this ConsoleSystem.Arg, int)' requires an instance of type `ConsoleSystem.Arg'

    Hello i got this error, someone can help me pls?
     
  15. Not getting any erros but all I get when I use /ao for a player even if i type their name correctly in full is no player found
     
  16. @Calytic Any chance of a fix? Doesn't seem to be working

    upload_2016-11-8_2-2-24.png

    Shot loads of bases, prodded then Ao'd em, everyone is no player found.
     
  17. Calytic

    Calytic Community Admin Community Mod

    Calytic updated AntiOfflineRaid with a new update entry:

    0.2.7

     
  18. AO check working but message still not

    upload_2016-11-8_20-12-4.png

    Code:
    {
      "afkMinutes": 5,
      "clanFirstOffline": false,
      "clanShare": true,
      "cooldownMinutes": 10,
      "damageScale": {
        "1": 0.3,
        "24": 0.4,
        "48": 0.5,
        "72": 1.0
      },
      "interimDamage": 1.0,
      "minMembers": 2,
      "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.7"
    }
     
  19. huw to make the offline raid like more no raid on foundation when a player is offline when the player come online the player can remove the foundation !
     
  20. @Calytic any help with the message issue?