Jump to content
Sign in to follow this  
DeathCobra

Log kill messages

Recommended Posts

Hey guys,

I'm running a Dayz server and have problems with hackers. I'm not able to identify them with the stock logfiles, but I saw logs like this elsewere:

16:24:27 "4335.86 seconds: Dr Aquafresh (WEST) has been killed by Goatie22 (WEST). Dr Aquafresh position: [5067.54,3007.31,0.00140381] (GRID 0506703007). Goatie22 position: [5068.31,3006.38,0.00143433] (GRID 0506803006). Distance between: 1.21024 meters. Near players (100m): ["Goatie22","Powell","RiceBoi","Chris","Kingslayer"]"

How do I enable those?

Share this post


Link to post
Share on other sites

It's the output from an eventhandler (EH), probably the "killed" one.

An EH can be added to each unit and when something happens to that unit, you can run some code.

https://community.bistudio.com/wiki/addEventHandler

and

https://community.bistudio.com/wiki/ArmA_2:_Event_Handlers#Killed

So in this case, every player has a "killed" EH added to them and when that EH is activated (by the unit being killed) it can capture the data and using diag_log and format, it can put the nice easy to read stuff you see in the RPT file.

https://community.bistudio.com/wiki/diag_log

and

https://community.bistudio.com/wiki/format

Share this post


Link to post
Share on other sites
It's the output from an eventhandler (EH), probably the "killed" one.

An EH can be added to each unit and when something happens to that unit, you can run some code.

https://community.bistudio.com/wiki/addEventHandler

and

https://community.bistudio.com/wiki/ArmA_2:_Event_Handlers#Killed

So in this case, every player has a "killed" EH added to them and when that EH is activated (by the unit being killed) it can capture the data and using diag_log and format, it can put the nice easy to read stuff you see in the RPT file.

https://community.bistudio.com/wiki/diag_log

and

https://community.bistudio.com/wiki/format

so how can this been enabeld? do we have to write something and add it to the server, or in the config?

Share this post


Link to post
Share on other sites
so how can this been enabeld? do we have to write something and add it to the server, or in the config?

If anyone has the answer to this I am also very interested!

Share this post


Link to post
Share on other sites

what information do you actually need / would be helpful to get logged?

Share this post


Link to post
Share on other sites
what information do you actually need / would be helpful to get logged?

Basically I need time, killer and killed person. Location would be nice, but not a must have.

I get reports from player "A guy teleported himself to us and killed some guys". With the logs as of now, I can't react to this.

Share this post


Link to post
Share on other sites

If you're talking about DayZ games, then you're out of luck. Messing with the mission file is probably in contravention of one of their rules.

Share this post


Link to post
Share on other sites

Good point Tankbuster. I could make such server side addon (in fact did most of the work already), but you cannot use it for dayZ.

Share this post


Link to post
Share on other sites

Yeah, I fear the only way forward for this is to persuade Rocket to implement this in the mission file or the mission's addon pack. That said, the newest beta does appear, on the surface at least, to enable some logging of scripts and units that clients are creating.

Share this post


Link to post
Share on other sites
Yeah, I fear the only way forward for this is to persuade Rocket to implement this in the mission file or the mission's addon pack. That said, the newest beta does appear, on the surface at least, to enable some logging of scripts and units that clients are creating.

it is frustrating because rocket&company require "proof" to ban and it seems impossible to attain it.

i am such a n00b i do not even know where to find any logs that may be generated...

i would appreciate someone pointing me in the right direction

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×