Jump to content

[WIP]Unofficial PHP Battleye Builder


Dwarfer

Recommended Posts

Unofficial PHP Battleye Builder

 

Q. What is it
A. It builds the epoch BE filters from a default set
 
Q. OK so what does it do.
A. It builds the epoch BE filters from a default set AND applies any modification you want to make by merging them
 
 

** ALWAYS TAKE BACKUPS ITS YOUR OWN FAULT IF SOMETHING GOES WRONG AND YOU DON'T HAVE ONE **

 
Features
  • Merge custom filters with the default epoch ones
  • pull the default filters from the Github for better automation
  • Override the BE filter level using the merge file
  • automatically writes the publicvariable.txt.original to work alongside Watchdog
 
an example output from the run
$ php bebuilder.php
Building addbackpackcargo.txt
        Writing default addbackpackcargo.txt
Building addmagazinecargo.txt
        Writing default addmagazinecargo.txt
Building addweaponcargo.txt
        Writing default addweaponcargo.txt
Building attachto.txt
        Merging the diffs writing attachto.txt
Building createvehicle.txt
        Writing default createvehicle.txt
Building deleteVehicle.txt
        Writing default deleteVehicle.txt
Building mpeventhandler.txt
        Writing default mpeventhandler.txt
Building publicvariable.txt
        Merging the diffs writing publicvariable.txt
Building publicvariableval.txt
        Writing default publicvariableval.txt
Building remotecontrol.txt
        Writing default remotecontrol.txt
Building remoteexec.txt
        Writing default remoteexec.txt
Building scripts.txt
        Merging the diffs writing scripts.txt
Building selectplayer.txt
        Writing default selectplayer.txt
Building setdamage.txt
        Merging the diffs writing setdamage.txt
Building setpos.txt
        Writing default setpos.txt
Building setvariable.txt
        Merging the diffs writing setvariable.txt
Building setvariableval.txt
        Writing default setvariableval.txt
Building teamswitch.txt
        Writing default teamswitch.txt
Building waypointcondition.txt
        Writing default waypointcondition.txt
Building waypointstatement.txt
        Writing default waypointstatement.txt

Link to comment
Share on other sites

Some Examples

 

In this example we merge the following lines into scripts.txt

7 "BIS_fnc_" !"_customData = player getVariable [\"BIS_fnc_setTaskLocal_customData\",[]]"
7 "BIS_fnc_dynamictext" !"[safezoneY + safezoneH - 0.8,0.7]"
7 exec !"DMR_fnc_" !="execVM \"\A3\Soft_F_Bootcamp\Offroad_01\scripts\randomize_colors.sqf\"" !="execVM \"\A3\soft_f_gamma\Offroad_01\scripts\randomize_doors.sqf\"" !="execVM \"\A3\soft_f_gamma\van_01\scripts\clock.sqf\"" !="execVM \"IgiLoad\IgiLoad.sqf\""
7 setvelocity !"smoke" !"domnr" !"bis_fnc_halo_vel"
7 playableunits !"round diag_fps, (count playableUnits), _health, _hunger, _thirst, EPOCH_playerCrypto, _rshrs"
7 showCommandingMenu !"#USER:BOB"

In this example we have changed the level to 3 to just log and detect in setvariable.txt

3 "" !"default_mass"
Link to comment
Share on other sites

  • 4 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...