Hell Raiser

[SOLVED] Surveillance Logs infiSTAR

13 posts in this topic

@infiSTAR

I am having trouble adding this to stop the antihack spamming in the surveillance log. 

It is spamming when a notification goes to out every player telling them about the mission. The only 2 things added to the Mission file is :

Spoiler

This to the description.ext :

 

class CfgNotifications
{
  class Success
  {
      description = "%1";
      title = "Success";
      iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa";
      iconText = "";
      color[] = {0.7, 0.93, 0, 1};
      duration = 5;
      priority = 0;
      difficulty[] = {};
  };
  class Whoops
  {
      description = "%1";
      title = "Error";
      iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa";
      iconText = "";
      color[] = {0.7, 0.93, 0, 1};
      duration = 5;
      priority = 0;
      difficulty[] = {};
  };
    class ZCP_Init
    {
            description = "%1";
            title = "ZCP Spawned";
            iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa";
            iconText = "";
            color[] = {0.7, 0.93, 0, 1};
            duration = 5;
            priority = 0;
            difficulty[] = {};
    };
    class ZCP_Capped
    {
        description = "%1";
        title = "ZCP Capped";
        iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa";
        iconText = "";
        color[] = {0.7, 0.93, 0, 1};
        duration = 5;
        priority = 0;
        difficulty[] = {};
    };
    class ZCP_Capping
    {
        description = "%1";
        title = "ZCP alert";
        iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa";
        iconText = "";
        color[] = {0.7, 0.93, 0, 1};
        duration = 5;
        priority = 0;
        difficulty[] = {};
    };
};

and

Spoiler

This added as a sqf and called from the init.sqf file :

 

"PV_ZCP_zupastic" addPublicVariableEventHandler {
    private["_messageArray","_messageString"];
    _messageArray = _this select 1;
    _messageArrayNotification = _messageArray select 1;
    _messageString = _messageArray select 2;
    [_messageString,_messageArrayNotification] call BIS_fnc_showNotification;
    {
        systemChat format["%1",_x];
    }count _messageArrayNotification;
};
 

I am sure I am having a brain fart, but I cannot see what to add and where :( 

Share this post


Link to post
Share on other sites

Sorry but what is it that the anti-hack spams?

Share this post


Link to post
Share on other sites
Advertisement

 

On 3/9/2016 at 7:43 PM, C][G GhostTown™ said:

Anyone have a solution for this 

  Reveal hidden contents


16:44:32 "<infiSTAR.de>SL| C][G CoastTown | Coasttown(76561198123726886) | 0h 7min 54s | Hacked: showNotification - ZCP Bravo capbase set up. Capture for 5 min!   [08-Mar-2016 12-33-10 - v0039B]"


16:44:32 "<infiSTAR.de>SL| Hendi | Hendi(76561197970222034) | 0h 7min 54s | Hacked: showNotification - ZCP Bravo capbase set up. Capture for 5 min!   [08-Mar-2016 12-33-10 - v0039B]"


16:44:32 "<infiSTAR.de>SL| Psyclone | Phsyclone(76561198058298076) | 0h 7min 54s | Hacked: showNotification - ZCP Bravo capbase set up. Capture for 5 min!   [08-Mar-2016 12-33-10 - v0039B]"


16:44:32 "<infiSTAR.de>SL| Cockney Reeper | Cockney Reeper(76561198002307066) | 0h 7min 54s | Hacked: showNotification - ZCP Bravo capbase set up. Capture for 5 min!   [08-Mar-2016 12-33-10 - v0039B]"


16:44:32 "<infiSTAR.de>SL| RainbowPilot | Bo Pilot(76561197967983191) | 0h 7min 54s | Hacked: showNotification - ZCP Bravo capbase set up. Capture for 5 min!   [08-Mar-2016 12-33-10 - v0039B]"


16:44:32 "<infiSTAR.de>SL| BobLeeSwaggerENG | Ragnarök(76561198050249639) | 0h 7min 54s | Hacked: showNotification - ZCP Bravo capbase set up. Capture for 5 min!   [08-Mar-2016 12-33-10 - v0039B]"

 

 

Share this post


Link to post
Share on other sites

BIS_fnc_showNotification is checked for because it is used in many hack menus - I will add an option - to turn it off/on :)

Share this post


Link to post
Share on other sites

or use DMS notifications :)

DMS_fnc_BroadcastMissionStatus

 

1 person likes this

Share this post


Link to post
Share on other sites
4 minutes ago, second_coming said:

or use DMS notifications :)

DMS_fnc_BroadcastMissionStatus

 

:rock:

Share this post


Link to post
Share on other sites
Advertisement
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.