Adam Kadmon 35 Report post Posted December 25, 2016 (edited) Hello @infiSTAR. I noticed that after last update, the damage is handle differently? I had something on my server that made people but not vehicles invulnerable from killer bushes and rocks. After last update this stopped working, and I noticed probably because of this line of code that changed: OLD VERSION: _fnc_handleDamage = ' params[[''_unit'',objNull],[''_selectionName'',''''],[''_damage'',0],[''_source'',objNull],[''_projectile'',''''],[''_hitPartIndex'',-1]]; _name = '+str _name+'; _puid = '+str _puid+'; _AHKickLog = '+str _AHKickLog+'; _AHKickOFF = '+str _AHKickOFF+'; _ret = true; if(ExilePlayerInSafezone)then { _vehicle = vehicle _unit; _vehicle allowDamage false; _ret = false; } else { _vehicle = vehicle _unit; _vehicle allowDamage true; }; if(_ret)then{_this call ExileClient_object_player_event_onHandleDamage;}else{_ret}; '; _handleDamage_ID = -1; NEW VERSION: _fnc_handleDamage = ' params[[''_unit'',objNull],[''_selectionName'',''''],[''_damage'',0],[''_source'',objNull],[''_projectile'',''''],[''_hitPartIndex'',-1]]; _ret = damage _unit; if(ExilePlayerInSafezone)then { _vehicle = vehicle _unit; _vehicle allowDamage false; } else { _vehicle = vehicle _unit; _vehicle allowDamage true; _ret = _ret + _damage; }; _ret '; Any idea how to make it so that the damage still uses ExileClient_object_player_event_onHandleDamage ? I tried modifying the last 3 lines with the old one but didn't work. Edited December 25, 2016 by Adam Kadmon Share this post Link to post Share on other sites
Adam Kadmon 35 Report post Posted December 25, 2016 And yea, I also noticed actually that there are more lines that have been modifying damage handler. So bottom line is, any idea how I can make it so that it recalls the custom onHandleDamage? Share this post Link to post Share on other sites
Adam Kadmon 35 Report post Posted December 26, 2016 Solved! Share this post Link to post Share on other sites
SeanJSOS 22 Report post Posted December 27, 2016 21 hours ago, Adam Kadmon said: Solved! How did you fix this? I am having the same issue. Share this post Link to post Share on other sites
Adam Kadmon 35 Report post Posted December 28, 2016 22 hours ago, SeanJSOS said: How did you fix this? I am having the same issue. In Exile AHAT Config files change to true those statements: useCustomFiredEventHandler = "true"; useCustomHandeDamageHandler = "true"; 1 Share this post Link to post Share on other sites
srhagan899 0 Report post Posted October 9, 2018 Hey Adam Kadmon what did you use to prevent players (not vehicles) from taking damage from rocks and bushes? Share this post Link to post Share on other sites