Cloud22

Flag Hacking 1.0.4

37 posts in this topic

Made yesterday. It utilizes CfgExileDelayedActions for optimal performance (like exile does it).
If the hack succeeds it picks a random vehicle and takes it out of the garage. I'm too lazy to give my fix claimVehicleOwnership but if you feel like it, you can fix it and submit a pull request/ do whatever.

https://github.com/Cloudhax23/Exile/tree/master/FlagHacking

Anything named compile needs to be compiled with missionNamespace. Pretty much add stuff to your configs. (someone else can make an install guide).
Credits: Exile

Edited by Cloud22
  • Like 10

Share this post


Link to post
Share on other sites
Advertisement
13 hours ago, MrUnique93 said:

The serverfiles, where do i have to drop them? in the main directory? 

No, you need to compile them serverside.

Share this post


Link to post
Share on other sites

Im getting this error when hack flag ..

12:26:00 Error in expression <dVehicles", []];
_storedVehicleRandom = selectRandom (_storedVehicles);
_index =>
12:26:00   Error position: <selectRandom (_storedVehicles);
_index =>
12:26:00   Error selectrandom: Type String, expected Array
12:26:00 ExileServer_object_flag_network_hackFlagRequest.sqf, line 47

 

 

 

 

Share this post


Link to post
Share on other sites
7 hours ago, Grayz_lost said:

Im getting this error when hack flag ..

12:26:00 Error in expression <dVehicles", []];
_storedVehicleRandom = selectRandom (_storedVehicles);
_index =>
12:26:00   Error position: <selectRandom (_storedVehicles);
_index =>
12:26:00   Error selectrandom: Type String, expected Array
12:26:00 ExileServer_object_flag_network_hackFlagRequest.sqf, line 47

 

 

 

 

Ensure you did everything correctly. The array for sure is not a string.

Share this post


Link to post
Share on other sites

@Cloud22

Hey thanks for this!
 

Just a noob question though, what do I do with "FlagHackingCompiles" inside "Exile.MapName", do I PBO it and place it in "@ExileServer"? Or do I place it in my mission file?

Share this post


Link to post
Share on other sites
10 minutes ago, NoFocksGiven said:

@Cloud22

Hey thanks for this!
 

Just a noob question though, what do I do with "FlagHackingCompiles" inside "Exile.MapName", do I PBO it and place it in "@ExileServer"? Or do I place it in my mission file?

That folder is to be compiled somewhere server side. Technically you can put it in the missionfile and compile it to the server, but I do it in my exile_server.pbo.

Share this post


Link to post
Share on other sites
23 minutes ago, Cloud22 said:

That folder is to be compiled somewhere server side. Technically you can put it in the missionfile and compile it to the server, but I do it in my exile_server.pbo.

Getting a green bar with SCALAR and NAN%

Edited by NoFocksGiven

Share this post


Link to post
Share on other sites

Just a quick time saver for anyone compiling the files and stuff. Please note you'll need to create these folders and move the relevant files to them but that's the easy bit.

Add this to your init.sqf (or create one if you don't have one already): https://pastebin.com/y7mZBWz6

And don't forget to add the CustomCode override and the DelayedActions stuff to your mission file config.cpp.

  • Like 3

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.