1. Would it be possible to get a mod that writes to a log what players opened/closed doors and ladder hatches along with the time that it was done?

    I've had a few incidents on my servers where bases have got raided and people have got to loot rooms with the hatches still intact.

    One side say the hatches were open, other says it was closed.

    From the standard logs/boxlooter logs you can't accurately tell who's telling the truth when neither have video recordings of their game sessions.
     
  2. It can be done with OnDoorOpened function.
    If player is not owner this door, then add player in logs.
    But, I don't know how make logs readable and usable for admins.
    Because doors so many and we only can see their ID and position.
     
  3. It would be useful if all players are added to the log, even the owners. In this case the raiders said one of their players had closed the hatch after they raided which was ultimately the thing we were trying to check. If the hatch was closed after the raid then the raiders raided the base legitimately. If the hatch was closed prior to the raid then they got in illegitimately as no explosives were used to get through that part of the base.
    Position would be fine as our server is modded and gives us the position on screen.
    Not sure how to check the ID though
     
  4. How raiders can open doors/hatches if they are locked?
    I dont understand this part.
     
  5. That's what I was trying to find out.
    Below was the situation

    From the raiders side,

    They blew through the walls to get inside the base with explosives (walls have splash damage which supports this)
    They then said that the ladder hatches were left open by a member of the base owner's group
    Due to them been in an open state, they then simply went up to the loot room via the open hatches
    They then said that the hatches were closed by one of the base owners long after the raid had occurred (the standard logs do show one of the base owner players being online several times a few hours after the raid)

    From the base owners side,

    They say the hatches were always closed so that during the raid, the raiders shouldn't have been able to get to the loot without blowing through the hatches. They think the raiders had either noclip or used something similar to the masterkey plugin where they can open any doors/hatchets and got in that way. They said that the player that came online after the raid didn't close the hatches and that they were not previously open.

    So long story short, raiders say the hatches were left open, base owners say they were closed and the raiders cheated to get to the loot


    With the above request, it would be possible to see what state the hatches were in at the time of the raid and whether or not the base owner's player closed the hatch after the raid and are just being salty about it
     
  6. Okay, I think, that I understand you :D
    Logs can be like
    Code:
    DOORS {
    ID: xx
    { position: xyz; lastplayerclose: id; lastplayeropened: id; authorized: id, id, ... id }
    I think, that it can be help with same problems, like yours
     
  7. Yeah that would be great if it had the time. That'd be exactly what we'd need
     
  8. For what we need time, if we will be know who authorized?
     
  9. Just who opened/closed the door should do.

    From the scenario I gave above, the raid happened at 2AM, the base owner's player came on around 9AM whereas the rest of the base owner's clan came on at 5PM. If the door was opened/closed around 9AM, then we could prove that the raiders were telling the truth.
     
  10. Will you be making this @serezhadelaet ? If you don't I might pick it up.
     
  11. Okay, you can do. I don't fully know how work with Data right now.
    But if you need some help, I will help as I can :)