WaterLimits

Moved

Total Downloads: 1,119 - First Release: Sep 8, 2016 - Last Update: May 27, 2017

5/5, 13 likes
  1. Wulf

    Wulf Community Admin

  2. Spicy updated WaterDisconnect with a new update entry:

    1.1.0

     
  3. Hi
    It will be great if you add some options in config, to broadcast LoggedOutUnderwater, PlayerWasKilled etc to true or false:)
     
  4. At the moment, the plugin logs to console and doesn't broadcast. Are you asking me to add a chat broadcast feature or add functionality to toggle the console messages?
     
  5. Yes chat broadcast feature true or false in config.
    When player will disconnect in water, and leave game will be good too, if he have some information, why he was killed:)
     
  6. Spicy updated WaterDisconnect with a new update entry:

    1.1.1

     
  7. And i have last question.


    ["Damage"] = true,
    ["DamageAmount"] = 10,

    Every second will deal 10 damage or both?
     
  8. That will deal 10 damage when they disconnect underwater. If you want it to hurt them on a timer, I can add that.
     
  9. It would be great if the damage was applied every second.

    If it is not difficult to add a damage over time, as I wrote above, please
     
    Last edited by a moderator: Sep 9, 2016
  10. Add please :)
     
  11. Is there a way to have this addon do like 10 damage every lets say 10min? I want players to be killed for logging out in water but I also understand that players sometimes get disconnected and I dont want them to be killed straight off.
     
  12. Not right now, I don't have a lot of time and motivation. I'll add it some day though.
     
  13. hi
    Im using your plg

    but 2 things:

    can you make configurable the range of water that will kill you?
    because is setter to deep, ppl sleeping on the first meters of water are totaly under water but they dont die.

    and second thing, can you make that the person will be taking damage something like 30 per hour, then in 3 hours ingame will be dead, more realistic.


    thank you for your work
     
  14. Wulf

    Wulf Community Admin

    Wulf updated WaterDisconnect with a new update entry:

    2.0.0

     
  15. Wulf thanks!

    Can be possibe to change this:
    !player.IsHeadUnderwater()
    to something like
    !player.IsFootUnderwater() or !player.IsLegsUnderwater()

    because I think Head underwater is when you are VERTICAL around 2 meters of water deep
    then you go sleep and the body is very hide,
    but if you put a "detector" around FOOTS or LEGS then will be better and realistic, you can not Sleep in 20 centimeter of water realy

    If its possible just tell me and I will try
     
  16. Wulf

    Wulf Community Admin

    I don't think so, but I'll look.
     
  17. Or maybe simply allow to change offset below the head via config.
     
  18. Can be done?
    What I need modify? I want try

    In other way, the plugin is giving error:
    Code:
    (20:17:35) | [Oxide] 20:17 [Error] Failed to run a 20.00 timer in 'WaterDisconnect v2.0.0' (NullReferenceException: )
    (20:17:35) | [Oxide] 20:17 [Debug]   at (wrapper managed-to-native) UnityEngine.Component:get_transform ()
      at BaseCombatEntity.Hurt (Single amount, DamageType type, .BaseEntity attacker, Boolean useProtection) [0x00000] in <filename unknown>:0
      at BaseCombatEntity.Hurt (Single amount) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.WaterDisconnect+<OnPlayerDisconnected>c__AnonStorey0.<>m__0 () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <filename unknown>:0
    (20:17:36) | 201.213.171.109:53964/76561198260756405/Gruñeme disconnecting: closing
     
  19. Sorry, I don't have enough knowledge to modify. Let's wait Wulf.
     
  20. Wulf

    Wulf Community Admin

    Wulf updated WaterDisconnect with a new update entry:

    2.1.0