Creates database entries for Steam ingame gaminglobbies. I worte this to compensate the lag of content in the Steam api with the appid 730.
If you are using the Steam API, you get the lobbysteamid in the json string from Steams return foreach client. But if the lobby started and is ingame, the Steam Api will hide the lobbysteamid. My lobbytracker is able to restore that lobbysteamid as long as the game is ingame.
You can safe information about the ingame behavior from your Steamcommunity members. For example: Gamer A is playing (or has played) with Gamer B and C in the same lobby for 60 minutes.
How it works:
My tracker is collecting the steamids from the gamers as long as it gets the lobbysteamid. Suddenly: when the lobby switched from lobby to ingame all collected steamids will return lobbysteamid == null. So my Tracker notices that they have to be ingame and as long as the tracker gets lobbysteamid == null from all steamids the lobby has to be ingame (I know you can cheat here, but best solution so far). For performance issues my tracker will only track Steamlobbies > 1 Gamers. If one gamer has suddenly gameid == null, or gameid != the_gameid_when_lobby_started, or lobbysteamid != null, you can say he left the lobby. But what if a gamer has to reconnect? If lobbysize > 2, 1 missing gamer is allowed.
How to cheat?
If 2 (or more) gamers are in a 730 lobby and disconnect at the same time from the lobby, and stay ingame, the tracker will think that the lobby is ingame.
How to install?
Drag all files in one directory. Create a directory called "logs" in that directory. Install the SQL database using the .sql file. Start the mainprocess using the command: "php servercommander.php start". Control the mainprocess with start || stop || status.
What i have to say?
I will comment my code as soon as possible.
Please let me know what you think about this program.