happydayz

[XM8 APP] Enigma XM8 Security

116 posts in this topic

 

[XM8 APP] Enigma XM8 Security

 

 

XM8 App that allows you to view and remote control  your bases security cameras on your XM8.

Comes with an alarm that can be activated to scare off any would be burglars!

Nightvision & Thermal Vision included (Thermal can be disabled)

 

Requires: xm8Apps by @Shix to work! Get it HERE!

 

Download XM8 Security:

https://github.com/happydayz-enigma/Enigma_Exile_XM8Security

 

This is an extension of the Exile Base Security System. As such it contains several edited Exile Files.

The First Publish of these files incorrectly implied that I created their works. This was NEVER the intention!

This has now been corrected and their works have been credited. Thanks Exile Devs for your Fantastic Work!

Support Further Development

 

Battleye Filters with thanks to @Austin

Spoiler

Scripts.txt

line 24 or that starts with 7 allMissionObjects put

!=_countcameras = count _basecameras;\n};\n};\n}\nforEach (allMissionObjects \"Exile_Construction_Flag_Static\""
Line 37 or that starts with 7 CamCreate put

!="_this select 1) then\n{\n\nExileClientCameraObject = \"camera\" camCreate _startPosition;\n\n};\n\nExileClientCameraObject camSetPos _sta"
Line 14 or that starts with 7 remoteExec put

!="on) exitWith {\n\n[_range,_lightsource,player,alarmlightson] remoteExec [\"ExileSecurity_AlarmLights\", -2];\n};\n\n[_range,_lightsourc"
SetVariable.txt

Line 2 or that starts with 7 "" put

!="alarmactivated"

 

README

Spoiler

# Enigma_Exile_XM8Security
Exile XM8 Security App

Built using Exile Code for use inside Exile!


Changelog:

14/03/16 - V1.0 Released 
- Known client RPT bug.... If you know a solution contact me!
- Sometimes the camera will not respond to you moving it. Reopen xm8.




////////////////////////////////////////////////////////////////////

First install xm8Apps by Shix -- http://exile.majormittens.co.uk/topic/9040-xm8-apps/

////////////////////////////////////////////////////////////////////


////////////////////////////////////////////////////////////////////

Then go inside the xm8Apps folder and open -- XM8Apps_Init.sqf

////////////////////////////////////////////////////////////////////


////////////////////////////////////////////////////////////////////

Next o to one of the apps buttons - This example uses App 1!
Make it look like it does below: 

////////////////////////////////////////////////////////////////////



////////////////////////////////////////////////////////////////////

(NOTE: If you are NOT using App 1 remember to change the _app1Text 
and _app1Logo and app1_action variable names!)

////////////////////////////////////////////////////////////////////



//App 1
_app1Text = "XM8Security";
_app1Logo = "xm8Apps\ExileSecurity\Images\ExileSecurity.paa";
app1_action = {
[] spawn ExileSecurity_Territory;
}; 




////////////////////////////////////////////////////////////////////

Next go to your mission files init.sqf (if you have one) and add

////////////////////////////////////////////////////////////////////

[] execVm "xm8Apps\ExileSecurity\Init.sqf";	


////////////////////////////////////////////////////////////////////

If you DO NOT have an init.sqf then use the one inside the download
and place it in the root of your mission file!

////////////////////////////////////////////////////////////////////



Vanilla Exile (No Infistar)

////////////////////////////////////////////////////////////////////

Go to your Description.ext and find:

////////////////////////////////////////////////////////////////////


class CfgRemoteExec
{
    class Functions
{
        mode = 1;
        jip = 0;
        class ExileServer_system_network_dispatchIncomingMessage     { allowedTargets=2; };
    };
    class Commands
    {
		mode=0;
		jip=0;
    };
};


////////////////////////////////////////////////////////////////////

Change it to read:

////////////////////////////////////////////////////////////////////

class CfgRemoteExec
{
    class Functions
{
        mode = 1;
        jip = 0;
        class ExileServer_system_network_dispatchIncomingMessage     { allowedTargets=2; };
		class ExileSecurity_AlarmLights { allowedTargets=1; };		
    };
    class Commands
    {
		mode=0;
		jip=0;
    };
};



////////////////////////////////////////////////////////////////////

If you DONOT use Infistar then your installation is complete!

////////////////////////////////////////////////////////////////////






Exile WITH Infistar:

////////////////////////////////////////////////////////////////////

Locate inside your mission file: CfgRemoteExec.hpp
Inside it will show:

////////////////////////////////////////////////////////////////////


class CfgRemoteExec
{
	class Functions
	{
		mode = 1;
		jip = 0;
		class fnc_AdminReq { allowedTargets=2; };
		class ExileServer_system_network_dispatchIncomingMessage { allowedTargets=2; };
	};
	class Commands
	{
		mode=0;
		jip=0;
	};
};



////////////////////////////////////////////////////////////////////

Change it to read:

////////////////////////////////////////////////////////////////////


class CfgRemoteExec
{
	class Functions
	{
		mode = 1;
		jip = 0;
		class fnc_AdminReq { allowedTargets=2; };
		class ExileServer_system_network_dispatchIncomingMessage { allowedTargets=2; };
		class ExileSecurity_AlarmLights { allowedTargets=1; };			
	};
	class Commands
	{
		mode=0;
		jip=0;
	};
};



////////////////////////////////////////////////////////////////////

Now go to your Infistar EXILE_AHAT_CONFIG.hpp!
Find the linfes:

////////////////////////////////////////////////////////////////////

/* Use IDD White-List ? */ UDW = true;
/* allowedIDDs: Insert IDDs here to prevent them from being closed! */
allowedIDDs[] =
{
	/* default idds */
	0,4,5,6,8,12,18,24,49,54,55,70,160,174,999,131,

	/* exile idds */
	63,301,602,20016,20017,20018,20019,20020,20021,20023,20024,24000,24001,24002,24004,
	24005,24006,24007,24008,24010,24011,24012,24014,24015,24025,24026,24027,



	
////////////////////////////////////////////////////////////////////

(followed by a much longer list of idds)

////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////

If you have ------ UDW = true; -------- then u must add my ID's to this list:

////////////////////////////////////////////////////////////////////

	/* XM8 Security App */
	5007,7000,7001,6000,6001,6002,6003,6004,6005,6006,6007,6008,6009,6010,6011,6012,6013,
	6014,6015,6016,6017,6018,6019,6020,6021,6022,6023,6024,6025,6026,6027,6028,6029,




////////////////////////////////////////////////////////////////////

It should now look something like this:

////////////////////////////////////////////////////////////////////

/* Use IDD White-List ? */ UDW = true;
/* allowedIDDs: Insert IDDs here to prevent them from being closed! */
allowedIDDs[] =
{
	/* default idds */
	0,4,5,6,8,12,18,24,49,54,55,70,160,174,999,131,

	/* exile idds */
	63,301,602,20016,20017,20018,20019,20020,20021,20023,20024,24000,24001,24002,24004,
	24005,24006,24007,24008,24010,24011,24012,24014,24015,24025,24026,24027,
	
	/* XM8 Security App */
	5007,7000,7001,6000,6001,6002,6003,6004,6005,6006,6007,6008,6009,6010,6011,6012,6013,
	6014,6015,6016,6017,6018,6019,6020,6021,6022,6023,6024,6025,6026,6027,6028,6029,
	
////////////////////////////////////////////////////////////////////
	
	//Followed by lots more IDs
	
////////////////////////////////////////////////////////////////////


////////////////////////////////////////////////////////////////////

Your Install is now complete!

////////////////////////////////////////////////////////////////////

 

 

Edited by happydayz
  • Like 17

Share this post


Link to post
Share on other sites
Advertisement

Something does not work in this version of me. Nothing happens by pressing a button in the PPC. Old version works.

Edited by xface

Share this post


Link to post
Share on other sites

Getting spammed with this : 

 

Spoiler

23:21:19   Error Undefined variable in expression: exilesecurity
23:21:19 File mpmissions\__CUR_MP.Napf\xm8Apps\XM8Apps_Init.sqf, line 70
23:21:22 Error in expression <ty.paa"; 
app9_action = {[] spawn {call ExileSecurity}};


_app10Text = "App 10">
23:21:22   Error position: <ExileSecurity}};


_app10Text = "App 10">
23:21:22   Error Undefined variable in expression: exilesecurity
23:21:22 File mpmissions\__CUR_MP.Napf\xm8Apps\XM8Apps_Init.sqf, line 70
23:21:29 Error in expression <ty.paa"; 
app9_action = {[] spawn {call ExileSecurity}};


_app10Text = "App 10">
23:21:29   Error position: <ExileSecurity}};


_app10Text = "App 10">
23:21:29   Error Undefined variable in expression: exilesecurity
23:21:29 File mpmissions\__CUR_MP.Napf\xm8Apps\XM8Apps_Init.sqf, line 70
23:21:31 Error in expression <ty.paa"; 
app9_action = {[] spawn {call ExileSecurity}};


_app10Text = "App 10">
23:21:31   Error position: <ExileSecurity}};


_app10Text = "App 10">
23:21:31   Error Undefined variable in expression: exilesecurity
23:21:31 File mpmissions\__CUR_MP.Napf\xm8Apps\XM8Apps_Init.sqf, line 70
23:21:36 Error in expression <ty.paa"; 
app9_action = {[] spawn {call ExileSecurity}};


_app10Text = "App 10">
23:21:36   Error position: <ExileSecurity}};


_app10Text = "App 10">
23:21:36   Error Undefined variable in expression: exilesecurity
23:21:36 File mpmissions\__CUR_MP.Napf\xm8Apps\XM8Apps_Init.sqf, line 70

 

//App 9
_app9Text = "XM8Security"; 
_app9Logo = "xm8Apps\ExileSecurity\Images\ExileSecurity.paa"; 
app9_action = {[] spawn {call ExileSecurity}};

 

Edited by ElDubya

Share this post


Link to post
Share on other sites

not working for me :(

 

i follow the instrution but nothing, the only one in the apps are an lock icon

 

 

laptop and cameras are working with the laptop, bu tnot with the app

Share this post


Link to post
Share on other sites
6 hours ago, ElDubya said:

Getting spammed with this : 

 

  Reveal hidden contents


23:21:19   Error Undefined variable in expression: exilesecurity
23:21:19 File mpmissions\__CUR_MP.Napf\xm8Apps\XM8Apps_Init.sqf, line 70
23:21:22 Error in expression <ty.paa"; 
app9_action = {[] spawn {call ExileSecurity}};


_app10Text = "App 10">
23:21:22   Error position: <ExileSecurity}};


_app10Text = "App 10">
23:21:22   Error Undefined variable in expression: exilesecurity
23:21:22 File mpmissions\__CUR_MP.Napf\xm8Apps\XM8Apps_Init.sqf, line 70
23:21:29 Error in expression <ty.paa"; 
app9_action = {[] spawn {call ExileSecurity}};


_app10Text = "App 10">
23:21:29   Error position: <ExileSecurity}};


_app10Text = "App 10">
23:21:29   Error Undefined variable in expression: exilesecurity
23:21:29 File mpmissions\__CUR_MP.Napf\xm8Apps\XM8Apps_Init.sqf, line 70
23:21:31 Error in expression <ty.paa"; 
app9_action = {[] spawn {call ExileSecurity}};


_app10Text = "App 10">
23:21:31   Error position: <ExileSecurity}};


_app10Text = "App 10">
23:21:31   Error Undefined variable in expression: exilesecurity
23:21:31 File mpmissions\__CUR_MP.Napf\xm8Apps\XM8Apps_Init.sqf, line 70
23:21:36 Error in expression <ty.paa"; 
app9_action = {[] spawn {call ExileSecurity}};


_app10Text = "App 10">
23:21:36   Error position: <ExileSecurity}};


_app10Text = "App 10">
23:21:36   Error Undefined variable in expression: exilesecurity
23:21:36 File mpmissions\__CUR_MP.Napf\xm8Apps\XM8Apps_Init.sqf, line 70

 


//App 9
_app9Text = "XM8Security"; 
_app9Logo = "xm8Apps\ExileSecurity\Images\ExileSecurity.paa"; 
app9_action = {[] spawn {call ExileSecurity}};

 

Check your init.sqf is executing the init.sqf in my folder

Share this post


Link to post
Share on other sites

I think that the line in the file xm8Apps\ExileSecurity\Init.sqf is missing ['ExileSecurity', 'xm8Apps\ExileSecurity\ExileSecurity.sqf'],  in the github source

  • Like 1

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.