Jump to content

Easy Kill feed/messages w/study & bury body function (Beta)


Halvhjearne

Recommended Posts

Hi i have problem from your script

BattlEye Server: Script Log: #0 Lukas (9319123ec6f9c461cae00c0027369710) - #51 "Altis\addons\messages\HALV_studybodyloop.sqf"

22:25:34 ;

22:25:34

22:25:34 player addEventHandler ["HandleDamage",{(_this select 0) setVariable ["HALVWTD""

How can i fix this ?

 

switch off study body fuction, i need to update the instructions anyway, since it dosnt work propper what i already did.

Link to comment
Share on other sites

... did anyone with default antihack test this?

 

untested, but i think with default antihack you can still have the study body function working ...

 

if you delete line nr 3 in HALV_studybodyloop.sqf and in your security_checks.h find this line:

HandleDamage = "";

try change it to this:

HandleDamage = "(_this select 0) setVariable ['HALVWTD',(_this select 1),true];";

next come back and tell me if it works ...

Link to comment
Share on other sites

Ok I have tested this, when I remove line 3 from HALV_studybodyloop being  _HALV_studyaction = -1;  I get no option to study the body,
the HandleDamage line seemed to stop me from getting banned until I studied a body then I got banned. hope this helps



b_560_95_1.png

Link to comment
Share on other sites

Ok I have tested this, when I remove line 3 from HALV_studybodyloop being  _HALV_studyaction = -1;  I get no option to study the body,

the HandleDamage line seemed to stop me from getting banned until I studied a body. hope this helps

b_560_95_1.png

 

update with newest files on github and disregard the line to remove, since i already removed it now ...

Link to comment
Share on other sites

I got this when I bury body. 

27.05.2015 05:10:52: Azriel (IP:XXXXXXXXXXXXX) GUID:XXXXXXXXXXXXXXXXXX - #23 "Of) then {
_box addItemCargoGlobal [_x,1];
} else {
_box addWeaponCargoGlobal [_x,1];
};
};
case (isClass (configFile >> "cfgMag"

So I have switch it of for now.

Link to comment
Share on other sites

So I have this installed but we are getting kicked for this. If we/someone get killed and and when the message pops up.

 

30.05.2015 05:50:33: LargeOne (IP:XXXXXXXXXXXXXXXXX) GUID:XXXXXXXXXXXXXXXXX - #1 "2.0],[safezoneY + 0.01 * safezoneH,0.3],30,0.5] spawn BIS_fnc_dynamicText;};
case "typetext2":{
[
[
[(_message select 0),"align "
30.05.2015 05:50:33: Azriel (IP:XXXXXXXXXXXXXXXXX) GUID:XXXXXXXXXXXXXXXXX - #1 "2.0],[safezoneY + 0.01 * safezoneH,0.3],30,0.5] spawn BIS_fnc_dynamicText;};
case "typetext2":{
[
[
[(_message select 0),"align "

So how would the BE filter look to this.
 
The code that activates the kick is in the Halv_fnc_message_players.sqf file.
It looks like this.
 

 
	case "globalchat":{_sender globalChat _message;};
	case "sidechat":{_sender sideChat _message;};
	case "systemchat":{systemChat _message;};
	case "hint":{hint _message;};
	case "hintsilent":{hintSilent _message;};
	case "titletext":{titleText _message;};
	case "cuttext":{cutText _message;};
	case "dynamictext":{[_message,[safezoneX + 0.01 * safezoneW,2.0],[safezoneY + 0.01 * safezoneH,0.3],30,0.5] spawn BIS_fnc_dynamicText;};
	case "typetext2":{
		[
			[
				[(_message select 0),"align = 'center' size = '1' font='PuristaBold'"],
				["","<br/>"],
				[(_message select 1),"align = 'center' size = '0.5'"]
			]
		] spawn BIS_fnc_typeText2;
	};
};

As I suck major on this filter stuff, and I have tryed to read about it and fail major on it, any help would be much much appreciated.

Link to comment
Share on other sites

Hi 

 

I get a Battleyekick when I push bury body

 

#26 "Of) then {
_box addItemCargoGlobal [_x,1];
} else {
_box addWeaponCargoGlobal [_x,1];
};
};
case (isClass (configFile >> "cfgMag"

 

pls help me what I must write in line 27.

 

Mfg Burschy

 

edit:

 

I have found THX

Link to comment
Share on other sites

Hi hope you can help, as usual great script, have one small issue with study body

 

case ((getText(configFile >> "cfgVehic"
02.06.2015 12:49:45: xxxxxxxxxxx - #26 " (isClass (configFile >> "cfgMagazines" >> _x)): {
_box addMagazineCargoGlobal [_x,1];
};
case ((getText(configFile >> "cfgVehic"

 

For the life of me we cant figure it out. Using stock AH

 

Simon

 

edit its  BattlEye: Script Restriction #26

 

p.s. I love yours and suppe' scripts, i am very new to this stuff, but your stuff is great and instal instructions even better, have you not concidered putting all your scripts together into 1 fantastic pbo. (i dont even know if that is possible, just thinking out loud)

Link to comment
Share on other sites

  • 2 weeks later...

Hey Halv,

Bug found by my research team.

Thanks to Razor for his reproducing the exploit in game over and over and over LOLS

If dead player stays in body during counter, the killer or group buddy can continue to bury body over and over and over to produce the persons items over and over.

If I remove this from the code can I turn this off?

removeFromRemainsCollector[_corpse];
_corpse setDammage 1;
deleteVehicle _corpse;

if(count _list > 0)then{
	_box = createVehicle ["groundWeaponHolder", (getPosATL player), [], 0, "CAN_COLLIDE"];
	_cluttercutter = createVehicle ["Land_ClutterCutter_medium_F", (getPosATL player), [], 0, "CAN_COLLIDE"];

	{
		switch (true) do
		{
			case (isClass (configFile >> "CfgWeapons" >> _x)): {
				_kindOf = [(configFile >> "CfgWeapons" >> _x),true] call BIS_fnc_returnParents;
				if ("ItemCore" in _kindOf) then {
					_box addItemCargoGlobal [_x,1];
				} else {
					_box addWeaponCargoGlobal [_x,1];
				};
			};
			case (isClass (configFile >> "cfgMagazines" >> _x)): {
				_box addMagazineCargoGlobal [_x,1];
			};
			case ((getText(configFile >> "cfgVehicles" >> _x >>  "vehicleClass")) == "Backpacks"): {
				_box addBackpackCargoGlobal [_x,1];
			};
		};
	}forEach _list;

	[_box,_cluttercutter]spawn{
		_WH = _this select 0;
		_WH2 = _this select 1;
		waitUntil{sleep 1;(_WH distance player > 150 || isNull player || !alive player)};
		clearWeaponCargoGlobal _WH;
		clearMagazineCargoGlobal _WH;
		clearBackpackCargoGlobal  _WH;
		clearItemCargoGlobal _WH;
		deleteVehicle _WH;
		deleteVehicle _WH2;
	};
};
Link to comment
Share on other sites

  • 2 weeks later...

Can sombody tell me the positions of this display methods?

 

_HALV_KillFeedsideChat  = false; // okay side
_HALV_KillFeedglobalChat = true; // global chat
_HALV_KillFeedsystemChat = false; // where?
_HALV_KillFeedtitleText  = false; // center of display top aligned?
_HALV_KillFeedcutText  = false; // where?
_HALV_KillFeedhint   = false; // where?
_HALV_KillFeedhintSilent = false; // ????
_HALV_KillFeeddynamictext = true; // ?

 

Thanks :)

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
×
×
  • Create New...