Thursday, June 04, 2026 5:11:40 AM
> project show esm_alpha
The experimental first version of ESM that connected Arma 3 Exile servers to a PHP website. This college project prototype established the core concepts that would evolve into the ESM ecosystem.
Details
> getOnline.sqf
/*
	Bryan
	Exile Server Manager
	Returns the online players names and uids. Then sends them to the website
*/

_data = [];

// Loop through all the players on the server
if (count(allPlayers) > 0) then
{
	{
		// Make sure they are alive
		if (alive _x) then
		{
			_data pushBack
			[
				name _x,
				getPlayerUID _x
			];
		};

		false
	}
	count allPlayers;
};


// THIS IS PURELY FOR TESTING PURPOSES SINCE I HAVE NO FRIENDS AND THE ABOVE CODE WON'T FIRE WHEN THERE IS NOBODY ON THE SERVER. :(
{
	_data pushBack (_x select 0);
	_data pushBack (_x select 1);
}
forEach
[
	["accid", "76561197996768574"],
	["Radric Davis", "76561197960311301"],
	["Eftre", "76561197960521023"],
	["BorgeJ", "76561197961178114"],
	["BettySwollocks", "76561197961236752"],
	["MalukuZ", "76561197961403928"],
	["fredd", "76561197961594563"],
	["Gladimir Putin", "76561197964121082"]
];

// Send to the dll
["updatePlayers", _data] call ExileServerManager_util_dll_call;
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 4294fb2