moosemilker Posted June 7, 2015 Report Share Posted June 7, 2015 How do you know this? How do you know this? Because I could easily reproduce the issue any time without this script, and so could he players on my servers. All people able to reproduce the exploding help bug can no longer reproduce the issue with ScaRR's script installed. Thanks again, ScaRR KPABATOK 1 Link to comment Share on other sites More sharing options...
DirtySanchez Posted June 7, 2015 Report Share Posted June 7, 2015 Hi there, this script is not for the getin explosions but for the Taru's heli rotor damage when you lift a vehicle. I have another script for protecting the heli when a player gets into the pilot seat or when the heli's locality changes which can also cause it to explode. The script is in testing and seem to work. You are welcome to try it out and let me know if it works for you. OX3_GetInProtect.sqf /* File: OX3_GetInProtect.sqf Author: ScaRR Date: 2 June 2015 Description: This script protects helis when a player gets close to a vehicles and the locality changes, at times this can cause a vehicle to explode or when the player gets into the pilot seat. This script could possibly be optimised a bit more and needs further testing. BE filters: setvariable.txt append !="added_EHProtect" !="GotIn" !="LocalChanged" Installation: Copy into your scripts folder, add this line to your init.sqf, execVM \"scripts\OX3_GetInProtect.sqf"; PLEASE KEEP CREDITS - THEY ARE DUE TO THOSE WHO PUT IN THE EFFORT! */ if(isServer) exitWith {}; fn_GetTime = { private ["_time"]; _time = parseNumber("micro_time" callExtension str diag_tickTime); _time }; fn_handleGetIn = { private ["_vehicle","_seat"]; _vehicle = _this select 0; _seat = _this select 1; if(_seat == "driver")then{ _vehicle setVariable ["GotIn",true]; //_vehicle setVariable ["GotInTime",call fn_GetTime]; _vehicle allowDamage false; }; }; fn_handleLocal = { private ["_vehicle","_local"]; _vehicle = _this select 0; _local = _this select 1; if(_local)then{ _vehicle setVariable ["LocalChanged",true]; _vehicle allowDamage false; }; }; diag_log "[OX3] - Vehicle get in pilot protection"; while {true} do { { if (!(_x getVariable ["added_EHProtect",false])) then { _x addEventHandler ["GetIn", {_this call fn_handleGetIn;}]; _x addEventHandler ["Local", {_this call fn_handleLocal;}]; _x setVariable ["added_EHProtect",true]; }; if( (_x getVariable["GotIn",false]) || (_x getVariable["LocalChanged",false])) then{ //_gotInTime = _x getVariable["GotInTime",0]; //_now = call fn_GetTime; //diag_log format["OX3 - Got in step 2 %1 %2",_gotInTime,_now]; // if(_now > (_gotInTime + 5))then{ sleep 3; _x allowDamage true; _x setVariable ["GotIn",false]; _x setVariable ["LocalChanged",false]; //_x setVariable ["GotInTime",0]; //}; }; }forEach vehicles; uiSleep 1; }; Let me know how it goes. Hope it helps :)Hey Scarr,Thank you for your work on this issue.I am currently testing out this heli protection script on DP for the last 2 restarts.So far so good man! I will update with a new reply tomorrow afternoon/evening after 24 hours of testing Link to comment Share on other sites More sharing options...
KPABATOK Posted June 7, 2015 Report Share Posted June 7, 2015 Ok then, we should really make a sticky of this fix, even though, rather temporary fix I would call, and let the server admins know. Because why have a fix and not share it? It is like finding cure for cancer and keeping for yourself. No point in that. Link to comment Share on other sites More sharing options...
cring0 Posted June 7, 2015 Report Share Posted June 7, 2015 Ok then, we should really make a sticky of this fix, even though, rather temporary fix I would call, and let the server admins know. Because why have a fix and not share it? It is like finding cure for cancer and keeping for yourself. No point in that.Or even show BI how its being fixed so they can fix the core issue eh? Link to comment Share on other sites More sharing options...
MechDan Posted June 8, 2015 Report Share Posted June 8, 2015 Yeah this really needs a sticky post and detailed instructions on setting it up, all server owners need to know this and the step by step on getting it working. I'm sure I can fumble it to work, but step by step makes it much easier :D KPABATOK 1 Link to comment Share on other sites More sharing options...
ScaRR Posted June 8, 2015 Report Share Posted June 8, 2015 Hey Scarr, Thank you for your work on this issue. I am currently testing out this heli protection script on DP for the last 2 restarts. So far so good man! I will update with a new reply tomorrow afternoon/evening after 24 hours of testing Hey, good to hear it is working. Thanks for the feedback. :) Link to comment Share on other sites More sharing options...
ScaRR Posted June 8, 2015 Report Share Posted June 8, 2015 Yeah this really needs a sticky post and detailed instructions on setting it up, all server owners need to know this and the step by step on getting it working. I'm sure I can fumble it to work, but step by step makes it much easier :D Hey, I have posted a new this and modified the script slightly. Link to comment Share on other sites More sharing options...
KPABATOK Posted June 8, 2015 Report Share Posted June 8, 2015 And with this new arma update bugemia keeps fixing stuff that isn't broken and breaking things that work just fine since 1999.... classic. Sell this script to them, maybe they will include it in 2017th arma 3 update moosemilker 1 Link to comment Share on other sites More sharing options...
Tony_Honk Posted June 21, 2015 Report Share Posted June 21, 2015 Hey, the script works perfectly, but we found new problems, with the exploding choppers... Sometimes the just flip around after getting on the pilot seat and crash after 5-10 seconds as soon as the get back to the ground. This never happended before and it seems to be connected to the script. Any ideas or equal experiences? As i said, the script works pretty well, but the flipping chopper problem is almost as bad... pretty much the same result... i would appreciate an idea, we are still helpless Link to comment Share on other sites More sharing options...
umfufu Posted June 21, 2015 Report Share Posted June 21, 2015 And with this new arma update bugemia keeps fixing stuff that isn't broken and breaking things that work just fine since 1999.... classic. Sell this script to them, maybe they will include it in 2017th arma 3 update Mostlikely they screw it up by when u throttle up u get ejected into the tail rotor , ending as slices salami And thx scarr Link to comment Share on other sites More sharing options...
Richie Posted June 21, 2015 Report Share Posted June 21, 2015 Try works for me :) Link to comment Share on other sites More sharing options...
viper179 Posted June 22, 2015 Report Share Posted June 22, 2015 yeh man works for me too Link to comment Share on other sites More sharing options...
Brez Posted June 23, 2015 Report Share Posted June 23, 2015 Yea.. need more band-aid solutions for a broken platform. Lets soon call it Armamod 3 with Epoch mod. DayZ Vet 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now