Jump to content
Sign in to follow this  
jw custom

Fix for current annoyance hack/plague

Recommended Posts

Add this to your init.sqf

[] spawn
{
 while {true} do
 {
   "BIS_fnc_MP_packet" addPublicVariableEventHandler {};
   BIS_fnc_MP = {};
   "bis_fnc_param"  addPublicVariableEventHandler {};
   bis_fnc_param = {};
   sleep 0.123;
 };
};

This seems to work for now.

*EDIT*

If you are using these functions in your mission this fix will break it!!!

Edited by JW Custom

Share this post


Link to post
Share on other sites

We we're running this, with no luck.

bis_fnc_recompile = {};
bis_fnc_recompile = dummyFunction;
publicVariable "bis_fnc_recompile";
"bis_fnc_recompile" addPublicVariableEventHandler {};
bis_fnc_recompile=x;

BIS_fnc_MPexec = {};
BIS_fnc_MPexec = dummyFunction;
publicVariable "BIS_fnc_MPexec";
"BIS_fnc_MPexec" addPublicVariableEventHandler {};
BIS_fnc_MPexec=x;

BIS_fnc_MP = {};
BIS_fnc_MP = dummyFunction;
publicVariable "BIS_fnc_MP";
"BIS_fnc_MP" addPublicVariableEventHandler {};
BIS_fnc_MP=x;

BIS_fnc_MP_packet = {};
BIS_fnc_MP_packet = dummyFunction;
publicVariable "BIS_fnc_MP_packet";
"BIS_fnc_MP_packet" addPublicVariableEventHandler {};
BIS_fnc_MP_packet=x;

BIS_fnc_param = {};
BIS_fnc_param = dummyFunction;
publicVariable "BIS_fnc_param";
"BIS_fnc_param" addPublicVariableEventHandler {};
BIS_fnc_param=x;

_hitter = {};
_hitter = dummyFunction;
publicVariable "_hitter";
"_hitter" addPublicVariableEventHandler {};
_hitter=x;

_recomp = {};
_recomp = dummyFunction;
publicVariable "_recomp";
"_recomp" addPublicVariableEventHandler {};
_recomp=x;

BIS_fnc_playerName = {};
BIS_fnc_playerName = dummyFunction;
publicVariable "BIS_fnc_playerName";
"BIS_fnc_playerName" addPublicVariableEventHandler {};
BIS_fnc_playerName=x;

hitter = {};
hitter = dummyFunction;
publicVariable "hitter";
"hitter" addPublicVariableEventHandler {};
hitter=x;

BIS_ = {};
BIS_ = dummyFunction;
publicVariable "BIS_";
"BIS_" addPublicVariableEventHandler {};
BIS_=x;

_layer = {};
_layer = dummyFunction;
publicVariable "_layer";
"_layer" addPublicVariableEventHandler {};
_layer=x;

_ltxt = {};
_ltxt = dummyFunction;
publicVariable "_ltxt";
"_ltxt" addPublicVariableEventHandler {};
_ltxt=x;

[] spawn {

while {true} do {

	bis_fnc_recompile = {};
	bis_fnc_recompile = dummyFunction;
	publicVariable "bis_fnc_recompile";
	"bis_fnc_recompile" addPublicVariableEventHandler {};
	bis_fnc_recompile=x;

	BIS_fnc_MPexec = {};
	BIS_fnc_MPexec = dummyFunction;
	publicVariable "BIS_fnc_MPexec";
	"BIS_fnc_MPexec" addPublicVariableEventHandler {};
	BIS_fnc_MPexec=x;

	BIS_fnc_MP = {};
	BIS_fnc_MP = dummyFunction;
	publicVariable "BIS_fnc_MP";
	"BIS_fnc_MP" addPublicVariableEventHandler {};
	BIS_fnc_MP=x;

	BIS_fnc_MP_packet = {};
	BIS_fnc_MP_packet = dummyFunction;
	publicVariable "BIS_fnc_MP_packet";
	"BIS_fnc_MP_packet" addPublicVariableEventHandler {};
	BIS_fnc_MP_packet=x;

	BIS_fnc_param = {};
	BIS_fnc_param = dummyFunction;
	publicVariable "BIS_fnc_param";
	"BIS_fnc_param" addPublicVariableEventHandler {};
	BIS_fnc_param=x;

	_hitter = {};
	_hitter = dummyFunction;
	publicVariable "_hitter";
	"_hitter" addPublicVariableEventHandler {};
	_hitter=x;

	_recomp = {};
	_recomp = dummyFunction;
	publicVariable "_recomp";
	"_recomp" addPublicVariableEventHandler {};
	_recomp=x;

	BIS_fnc_playerName = {};
	BIS_fnc_playerName = dummyFunction;
	publicVariable "BIS_fnc_playerName";
	"BIS_fnc_playerName" addPublicVariableEventHandler {};
	BIS_fnc_playerName=x;

	hitter = {};
	hitter = dummyFunction;
	publicVariable "hitter";
	"hitter" addPublicVariableEventHandler {};
	hitter=x;

	BIS_ = {};
	BIS_ = dummyFunction;
	publicVariable "BIS_";
	"BIS_" addPublicVariableEventHandler {};
	BIS_=x;

	_layer = {};
	_layer = dummyFunction;
	publicVariable "_layer";
	"_layer" addPublicVariableEventHandler {};
	_layer=x;

	_ltxt = {};
	_ltxt = dummyFunction;
	publicVariable "_ltxt";
	"_ltxt" addPublicVariableEventHandler {};
	_ltxt=x;
};
};

Share this post


Link to post
Share on other sites

Well i got on some server and got infected, then i started a mp mission i'm in progress making and got that latest "message" thing. I then compiled mission with the snippet i posted and the "message" thing was gone!!

I was only able to test as server/host so maybe it's different as client, i dunno.

Share this post


Link to post
Share on other sites
Well i got on some server and got infected, then i started a mp mission i'm in progress making and got that latest "message" thing. I then compiled mission with the snippet i posted and the "message" thing was gone!!

I was only able to test as server/host so maybe it's different as client, i dunno.

It is different, because you weren't instantly re-infected by another client.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×