Flash-Ranger 195 Posted March 20, 2017 Hi ! For some reason, when a player disconnects, gets kicked, crash, he is replaced by an AI... I found this in the Init, would it be related to it ? OnPlayerConnected {If (_uid In ID_Players) Then {} Else {ID_Players = ID_Players + [_uid];};}; Is there a way of not getting an AI everytime a player disconnects ? Thx ! Share this post Link to post Share on other sites
schmoking 17 Posted March 20, 2017 i think this is a bug related to the new patch. i havent tried this solution yet, but have a look here: Share this post Link to post Share on other sites
Flash-Ranger 195 Posted March 21, 2017 That's what I thought ! Just needed to check. I'll open a Feedback Ticket to see if they can confirm this Share this post Link to post Share on other sites
killzone_kid 1326 Posted March 21, 2017 41 minutes ago, Flash-Ranger said: That's what I thought ! Just needed to check. I'll open a Feedback Ticket to see if they can confirm this no need, already fixed Share this post Link to post Share on other sites
Flash-Ranger 195 Posted March 21, 2017 Since when lol... I just had the problem and there was no update since i posted this topic ... Share this post Link to post Share on other sites
killzone_kid 1326 Posted March 21, 2017 Quote Fixed: The BIS_fnc_initRespawn handle disconnect event was returning true and causing units previously controlled by a disconnected player to be transfered to server and become AI (https://feedback.bistudio.com/T123785) Share this post Link to post Share on other sites
Flash-Ranger 195 Posted March 21, 2017 Ok so is the BIS_fnc_initRespawn something operating in the game automatically or is it something that should be in my mission ? Share this post Link to post Share on other sites
killzone_kid 1326 Posted March 21, 2017 30 minutes ago, Flash-Ranger said: Ok so is the BIS_fnc_initRespawn something operating in the game automatically or is it something that should be in my mission ? All you need to do now is chill and wait for the hotfix :) Alternatively you can get server mod from KOTH guys 1 Share this post Link to post Share on other sites
Flash-Ranger 195 Posted March 21, 2017 Ok perfect thx Share this post Link to post Share on other sites
JediNarwals 1 Posted March 24, 2017 Hello. I have a quick fix for you that works for me. This is a problem that has happened on my server and I have fixed it using this: addMissionEventHandler ["HandleDisconnect", { _unit = _this select 0; deleteVehicle _unit; }]; Just put that in your init.sqf and it will fix your issue. 1 Share this post Link to post Share on other sites
Flash-Ranger 195 Posted March 24, 2017 Awesome ! Thank you ! Share this post Link to post Share on other sites