Rust Players Killed

Discussion in 'Plugin Requests' started by tomhud, Dec 16, 2017.

  1. can anyone do a plugin so if we type lets say for example /kills
    it will show the people u have killed but also the people who have killed u
    So it will show 2 lists on same page
    Killed Kill

    Blah blah MrSmith
    blah blah MrsJones
    Weeb
    weed
     
  2. Sure you can keep track of data of an individual person's kills and deaths including the other player's names, but this just sounds hugely abundant. Imagine someone having over 200 deaths and therefore over 200 names in a single file attributed to his steamid.

    Just use DeathNotes's chat instead which is logged through your server's files already.
     
  3. true what u say but it could be limited to say the last 10 deaths u had
    I will check deathnotes but that is not for each player - its all of them
     
  4. Aside from storing 200 names per player, on the subject of tracking kills/killers... in my mods I find it difficult to nail down exactly who the killer is/was without tracking every hit to every player from every player, which you kind of have to do due to frequent bleed-outs, unless of course you don't count those, which skews the results IMO.. although not impossible but the way I see it it may be somewhat resource intensive, especially when there are a large number of players. Of course there may be methods under the covers that I am unaware of.
     
  5. Have you tried using
    Code:
    void OnEntityDeath(BaseCombatEntity entity, HitInfo info)
    ? Worked for me in my damage/kill logs.

    Just remember to check that it is a player.
     
  6. from what I remembered, the hitinfo doesn't have the information I needed when a player bled out.
     
  7. I'm pretty sure that hook is only called when they die, even if they bleed out.
     
  8. It's not the player that is dying that I am worried about, it's the player's killer. The hitinfo is different I believe, when the player bleeds out and does not supply the appropriate killer's info thus not awarding the kill to them.
     
  9. I'm fairly certain you do get that information.