Jump to content

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


Halvhjearne

Recommended Posts

 

Hello
 
I added your easy kill messages to my server but I can't seem to get them working.
 
I created a new folder "addons" and a sub folder "messages" and placed those folders into my MPMISSIONS root folder. 
I tried to add [] execVM "addons\messages\init.sqf"; to the top of my inti.sqf and the messages do not work. I then added

[] execVM "addons\messages\init.sqf";

to the bottom of my init and that did not work. 

 
Any suggestions

 

I'm having the same problem. They were working, and then they stopped.

Link to comment
Share on other sites

added:

 

study body function (can be switched on / off) - idea by Tobias Solem

edits for my spawn system near dead block to work

possibility to send BIS_fnc_typeText2 messages (alltho not currently used for anything)

 

fixed:

 

sappers showing "Error: No vehicle" and distance 156+e32? in killfeed - it will now show killed by sapper, explosion as weapon and distance will be 0

 

study body currently works like this:

 

if a body is found you get the blue study body scroll action, if pressed on ai it will say:

This body is unrecognizable ...

if pressed on a player then depending on how he was killed and how fresh the body is it will say something like:

The Name was Tobias Solem
Cause of death: Body Hits From a L85A2
This player died only minutes ago, the body is warm and the blood is fresh!

have fun ...

Link to comment
Share on other sites

show me your init on pastebin or something, but most likely you installed something in a wierd way

 

 

Certainly 

if (isServer) then {

    fn_getBuildingstospawnLoot = compile preProcessFileLineNumbers "LSpawner\fn_LSgetBuildingstospawnLoot.sqf";
    LSdeleter = compile preProcessFileLineNumbers "LSpawner\LSdeleter.sqf";
    execVM "LSpawner\Lootspawner.sqf";
};
 
if(hasInterface)then{execVM "semClient.sqf"};
 
//Kill Messages 
[] execVM "addons\messages\init.sqf";
 
if (!isDedicated) then {
"VEMFChatMsg" addPublicVariableEventHandler {
[
[
[((_this select 1) select 0),"align = 'center' size = '1' font=PuristaBold'],
["","<br/>"],
[((_this select 1) select 1),"align = 'center' size = '0.5'"]
]
] spawn BIS_fnc_typeText2;
VEMFChatMsg = nil;
};
};
// WICKED AI
[] execVM "wai\remote.sqf";
 
//Status Bar
[] execVM "scripts\fn_statusBar.sqf"; 
 
#include "A3EAI_Client\A3EAI_initclient.sqf";

 
Any help would be greatly appreciated 
Link to comment
Share on other sites

 

Certainly 

if (isServer) then {

    fn_getBuildingstospawnLoot = compile preProcessFileLineNumbers "LSpawner\fn_LSgetBuildingstospawnLoot.sqf";
    LSdeleter = compile preProcessFileLineNumbers "LSpawner\LSdeleter.sqf";
    execVM "LSpawner\Lootspawner.sqf";
};
 
if(hasInterface)then{execVM "semClient.sqf"};
 
//Kill Messages 
[] execVM "addons\messages\init.sqf";
 
if (!isDedicated) then {
"VEMFChatMsg" addPublicVariableEventHandler {
[
[
[((_this select 1) select 0),"align = 'center' size = '1' font=PuristaBold'],
["","<br/>"],
[((_this select 1) select 1),"align = 'center' size = '0.5'"]
]
] spawn BIS_fnc_typeText2;
VEMFChatMsg = nil;
};
};
// WICKED AI
[] execVM "wai\remote.sqf";
 
//Status Bar
[] execVM "scripts\fn_statusBar.sqf"; 
 
#include "A3EAI_Client\A3EAI_initclient.sqf";

 
Any help would be greatly appreciated 

 

 

not sure why its not working for you, do you get any error messages in server or client rpt's?

Link to comment
Share on other sites

 

as far as i can see its not loading at all and there are no error messages about the script, try move the line above the if(hasInterface)then line, besides that i cant see any reason for it not to work other than if you did not update the actual files on your server.

Link to comment
Share on other sites

as far as i can see its not loading at all and there are no error messages about the script, try move the line above the if(hasInterface)then line, besides that i cant see any reason for it not to work other than if you did not update the actual files on your server.

thanks man I will try your suggestion

Link to comment
Share on other sites

Runs fine, needs

 

!"HandleDamage" on addEventHandler in scripts.txt

 

and

 

!="halvwtd"

 

in setvariable.txt

 

Did that, which stopped the battleye kicks, however AH apparently doesn't allow HandleDamage so instead of getting a script restriction anyone that isn't an admin gets autobanned as a hack attempt. 

Link to comment
Share on other sites

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

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 ?

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...