Jump to content

[ASH] Anti-SafeHack


Demellion

Recommended Posts

Safe or Lockbox Antiglitch

Tested on Vanilla 0.3.7 server-client script.

What this script does:

  • Disallows player access to a locked vault via weaponholder glitch; random inventory access; accesing locked vault through unlocked vault nearby and etc...
  • Server-wide announcements, bans and kicks by desire.
  • Log for activity that may avoid the ban or kick

Requirements:

  • Battleye default filters active
  • (Optional) infiSTAR extensions: ARMA_LOG, ARMA_BAN

Installation:

Create compile folder in the root of your MPMissions and put all scritps inside:

https://github.com/Demellion/DayZ_Epoch_plus/tree/Arma3_epoch/a3_demellion_code

init.sqf:

// Server
if !(hasInterface) then {
	[] execVM "compile\fn_ASHserver.sqf"; 
};

// Client
if(hasInterface) then {
	[] execVM "compile\fn_ASHclient.sqf";
};

Filter: battleye\remoteexec.txt:

5 "" !"call BIS_fnc_showNotification;"

Customization:

How to customize bans/kick option: in fn_ASHclient:

Change to desired way

_reaction = 1; // 0 - ban, 1 - kick, 2 - log

This is 95% effective againts any breaches and totally lightweight to client.

If you have any improvements suggestions - just PM me. 

Link to comment
Share on other sites

16 hours ago, Demellion said:

No idea what you talking about. Post me some repository containing similar code.

This is based on infiSTAR's fix

10 hours ago, kayzee said:

think some guys need to read or learn to read, which part of his post did he say it was his scrpt even if its his or not, who gives a f**k, hes onlt trying to help, its about time people start appreciating others

It's good manners if using others code to credit them, even if it's just their idea you've used to create your own. 

Link to comment
Share on other sites

Just now, Brian Soanes said:

This is based on infiSTAR's fix

It's good manners if using others code to credit them, even if it's just their idea you've used to create your own. 

The only things I used are the extensions themselves, not the code. I asked you to post something prooving - you posted nothing. I didnt see any infiSTAR fixes around this, especially in that method, so never used one. The code and methods are written in my personal manner.

Second part of it - Im constantly using infiSTAR and never seen any protection around vaults. Only inspected something about shelves.

Link to comment
Share on other sites

2 minutes ago, Brian Soanes said:

Ok fair enough bud, but Chris did release a fix for it and this is very similar codewise.

Ill inspect that. If its really close to similar, anyways it will not match. The proximity is based on that we both might use nearestObject way - which is the most effective and unlaggy way. 

Link to comment
Share on other sites

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
  • Discord

×
×
  • Create New...