• 0
Sign in to follow this  
Followers 0
Redfutz

ExAd Installation Confusion

Question

I tried a few times to install ExAd to my Exile Altis server, I rand in to a few problems along the way and was hoping for some help!

 

first one was after following the video for core installation, I then wanted to add hacking.

So I tried to follow the steps in the Installation.md's but ran into some confusing wording that wasn't self explanatory. I tried my best to decode and make it work, but in the end some of these confusing bits made my server not start. I had to start over from a back up I made just prior to installations of ExAd.

 

The first problem I came into while following the installation chronologically was the question of how to reword the grinding actions classes.

* In "config.cpp" find ("CfgInteractionMenus") and add the actions you want used. If you don't want to use a specific action e.g. hacking safe just ignore adding it.  
Available actions are  
	* HackVG -> ("CfgInteractionMenus" >> "Flag" >> "Actions" >> "HackVG")
	* HackSafe -> ("CfgInteractionMenus" >> "Safe" >> "Actions" >> "HackSafe")
	* StopHack -> ("CfgInteractionMenus" >> "Laptop" >> "Actions" >> "StopHack")  
  
Example
```cpp
class Flag
	{
	targetType = 2;
	target = "Exile_Construction_Flag_Static";

	class Actions 
	{
		class HackVG : ExileAbstractAction
		{
			title = "Hack Virtual Garage";
			condition = "call ExAd_fnc_canHackVG";
			action = "_this spawn ExAd_fnc_startHack";
		};
	};
};

I can understand what he meant by it being an example, but I could not figure out just by reading how to add the "StopHack" action.

I know I am supposed to copy and paste in words from above into the sample class and then paste the new class below where the sample should be.

 

The second problem I have is the tutorials reference needing [XM8] which I assume is really outdated as XM8 is default Exile (now?), and maybe it wasn't when this mod(ExAd) was put together?

3rd; This is a file. ExAd>docs>XM8>

#Create Apps 

To create an app you need follow 4 simple steps

1. 

2.

3.

4.

 

 

What I am getting at is the entire mod's installation guide(s) are confusing as crap for someone who has not installed more than 5 mods before! I have used this mod on other servers and enjoyed it very much! I would love it have it on my server soon! Any help with the subject would be greatly appreciated, thanks!

 

 

 

Share this post


Link to post
Share on other sites

10 answers to this question

  • 0

The hack type goes under that class. So "Hack Safe" goes under Class Safe.

    class Safe
    {
        targetType = 2;
        target = "Exile_Container_Safe";

        class Actions 
        {   
            class HackSafe : ExileAbstractAction
            {
                title = "Hack Safe";
                condition = "call ExAd_fnc_canHackSafe";
                action = "_this spawn ExAd_fnc_startHack";
            };
        };
    };

"Interrupt Hack" goes under Class Laptop using the same method above. If you want to change what it says, all you have to do is edit what is in quotations. An Example for "Hack Safe" could be "Get'er Done!". 

Ignore that creatApp.md file. Creating apps, or adding apps is done in the Config.cpp also under Class CfgXM8. You start off by adding the app name to the extraApps [] = {"AppName1","AppName2"}; line

From there we tie the actions to the name when its called in a class name. So we add class AppName1 followed by some conditions.
One of ExAds is the class Server_VG

Spoiler

class ExAd_VG 
    {
        title = "Virtual Garage";
        controlID = 50000;                    //IDC:50000 -> 50015 || These need to be unique and out of range from each other 
        logo = "ExadClient\XM8\Apps\VG\Icon_VG.paa";
        onLoad = "ExAdClient\XM8\Apps\VG\onLoad.sqf";
        onOpen = "ExAdClient\XM8\Apps\VG\onOpen.sqf";
        onClose = "ExAdClient\XM8\Apps\VG\onClose.sqf";
    };

In there we give it a display name, "Virtual Garage", a unique ID number (controlID), a picture to display to the user (logo), what to do when loaded, what to do when opened, and what to do when closed. 

The class Server_Info is a bit more strait forward. 
 

Spoiler

class Server_Info
    {
        title = "Server Info";
        controlID = 50100;                    //IDC:50100 -> 50102 || These need to be unique and out of range from each other
        logo = "ExadClient\XM8\Apps\Info\Icon_SI.paa";
        quickFunction = "createDialog 'RscDisplayServerInfoMenu'";
    };

Here we has some of the same. The class name, it's display name, the unique ID, a picture, but now instead of individual scripts, it's all one function that controls everything. We a creating a new Display for the user, in this case a Server Info Menu. 

Now I can change the Title to anything I want, just like I can change "Interrupt Hack" to anything I want. Just take your time with each folder and follow the Installation.md for each folder.

Share this post


Link to post
Share on other sites
  • 0

in BattlEye\Scripts I am supposed to copy over some lines, but I cant find "DrawLine3D"

is it safe to just add a new line like this;?

from "drawLine3D         !="drawLine3D [cursorTarget modelToWorld [""

to

7 drawLine3D !="drawLine3D [cursorTarget modelToWorld ["

I don't know much about adding to BattlEye, so I am being safe :D

thanks for the help

 

 

Share this post


Link to post
Share on other sites
Advertisement
  • 0

@Beowulfv, I was wandering how to modify each class, does this look right?

I replaced parts of each line. This is an example of what I replaced. Not sure if I put the correct words in there.

the words I changed are where I put "HERE"

class HERE : ExileAbstractAction
		{
			title = "HERE";
			condition = "call ExAd_fnc_canHERE";
			action = "_this spawn ExAd_fnc_HERE";
		};

For Hack Safe

class HackSafe : ExileAbstractAction
		{
			title = "Hack Safe";
			condition = "call ExAd_fnc_canHackSafe";
			action = "_this spawn ExAd_fnc_startHack";
		};

For Stop Hack

class StopHack : ExileAbstractAction
		{
			title = "Stop Hack";
			condition = "call ExAd_fnc_canStopHack";
			action = "_this spawn ExAd_fnc_stopHack";
		};

 

Share this post


Link to post
Share on other sites
  • 0

@Beowulfv , everything looks right to me, but It does nothing in-game.

I am in another player's territory.

I have a base laptop in my inventory.

I have the folder "Hacking" in exile.altis.pbo > ExAdClient

I have exad_hacking.pbo in @ExileServer > addons

I uncommented "#include "Hacking\CfgFunctions.cpp"" in CfgFunctions.cpp

I added the 3 different classes, 1 under Safe, 1 under Flag, and 1 under Laptop

I don't see what I am missing or typed wrong, do you see anything?

 

 

5dc76161476eab40e8744d685157bdca.png

258d2edc8ca6111ca1c5bbbeeb23c988.png

339bc59b077d099c5d9d2e9849784bab.png

8569ab1acb3b9826f01e27453f22c495.png

a400d366d4540b05a97f009fb4c57412.png

bc394beaec566d142fdd071f1db829eb.png

bc750c87d6d402f8d85088fb5b0bf9c9.png

c0e7a0ac0e937c2a974441469018a7ac.png

d8a6a0ad0b2f89d807c36b92eca1a71c.png

Share this post


Link to post
Share on other sites
  • 0

If you look away from the object, run a few steps and run back, does it still not show up? It could be a latency issue.

Do your RPT logs show any errors in them?

Share this post


Link to post
Share on other sites
  • 0

@BeowulfvI tried running around like you said, and I checked the rpt logs, no errors and still nothing came up for hacking safes/flags :l

Share this post


Link to post
Share on other sites
  • 0

Yeah, I wasn't even thinking about the player requirement. Change it to 1 and see what happens.

Share this post


Link to post
Share on other sites
  • 0

WOW, you know I've played on servers and have raided bases but some how when I transitioned from server player to server owner, some how that one did not cross my mind! Thank you both! @Beowulfv , and @SeanJSOS you two really have saved the day! :D

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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.