Logging map marker creation

Logging map marker creation

« posted: Aug 18, 2014, 03:45 PM »
Today, a player on my server are using map makers to spam the server. Is there any way to log maker creation or double click event?
  • Offline AgentRev
  • Developer
  • Veteran
  • ******
  • Posts: 2345

Re: Logging map marker creation

« Reply #1 posted: Aug 18, 2014, 03:58 PM »
Unfortunately, I don't really think that's possible.
  • Offline CREAMPIE
  • Armaholic
  • Veteran
  • ******
  • Posts: 1077
  • ^_^;;

Re: Logging map marker creation

« Reply #2 posted: Aug 19, 2014, 08:09 AM »
You or any player can also delete these markers by pressing Del over them ;)

- from the grassy knoll -

Re: Logging map marker creation

« Reply #3 posted: Aug 19, 2014, 02:40 PM »
I know that. But I want to find out who did it.  ;)
  • Offline lodac
  • Hardened
  • ****
  • Posts: 220
  • TOP Arma Server Admin

Re: Logging map marker creation

« Reply #4 posted: Oct 10, 2014, 06:55 PM »

TOPArma Mission - Share your mission on GitHub
  • Offline AgentRev
  • Developer
  • Veteran
  • ******
  • Posts: 2345

Re: Logging map marker creation

« Reply #5 posted: Oct 10, 2014, 10:55 PM »
Holy shit, such a complicated approach when BIS could simply add "MarkerAdded" and "MarkerRemoved" event handlers... #bisdontcare #bisdontgiveashit
  • Offline lodac
  • Hardened
  • ****
  • Posts: 220
  • TOP Arma Server Admin

Re: Logging map marker creation

« Reply #6 posted: Oct 10, 2014, 11:01 PM »
I read through the comments and noticed someone created a serverside pbo. I am going to check it out and see if I can get it to write to the db.

I'll share what I find, as it will be server-side, I'd like to get away from more client-side download.

TOPArma Mission - Share your mission on GitHub
  • Offline AgentRev
  • Developer
  • Veteran
  • ******
  • Posts: 2345

Re: Logging map marker creation

« Reply #7 posted: Oct 10, 2014, 11:07 PM »
Yeah well basically all that thing does is pack the marker logging code in a string a send it to the client... Which means that it simply moves downloading to the "Receiving data" step instead of the PBO download.

If you want, you can just grab out that code from here and invoke it directly from A3Wasteland_settings\init.sqf, but change the last code block to this, otherwise it's gonna constantly spam the chat:

Code: [Select]
0 = 0 spawn {
"MrkOpPV" addPublicVariableEventHandler { diag_log (_this select 1) };
};