Skip to content

Commit

Permalink
EXILEMOD: fixed issue were NEW players cannot connect
Browse files Browse the repository at this point in the history
  • Loading branch information
ole committed Dec 13, 2016
1 parent de33111 commit 9d0a888
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
Binary file modified @AdminToolkit/addons/admintoolkit.pbo
Binary file not shown.
Binary file modified @AdminToolkit/addons/admintoolkit.pbo.admintoolkit.bisign
Binary file not shown.
Binary file modified @AdminToolkitServer/addons/admintoolkit_server.pbo
Binary file not shown.
3 changes: 3 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2.0.2
- EXILEMOD: fixed bug where NEW players (not in DB yet) cannot connect

2.0.1
- fixed possible issue with exile money and respect
- added missing server side Furniture.sqf to skip warnings
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## AdminToolkit for Arma 3
<sup>**Version 2.0.1** | Author: ole1986 | This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License</sup>
<sup>**Version 2.0.2** | Author: ole1986 | This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License</sup>

This tool is used to administrate Arma3 multiplayer servers.
It also supports an option to overwrite the sections for additional features.
Expand Down
12 changes: 8 additions & 4 deletions source/admintoolkit_server/bootstrap/fn_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ AdminToolkit_IsPersistentSaved = true;

diag_log "[ADMINTOOLKIT] loaded successfully";

// run the mission file "atk\init.sqf" when player connects
["atkPlayerConnected", "onPlayerConnected", {
{ execVM "atk\system\init.sqf"; } remoteExecCall ["call", _owner];
}] call BIS_fnc_addStackedEventHandler;
// run the mission file "atk\init.sqf" when player connects
// onPlayerConnected AND BIS_fnc_addStackedEventHandler FAILED
// So, let us use the addMissionEventHandler
addMissionEventHandler ["PlayerConnected", {
// _this = [1.81782e+08,_uid,_name, bool, _owner]"
{execVM "atk\system\init.sqf"; } remoteExecCall ["call", _this select 4];
}
];

true;

0 comments on commit 9d0a888

Please sign in to comment.