View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005135||Multi Theft Auto : San Andreas||General||public||2009-12-12 21:49||2010-07-02 20:27|
|Target Version||1.1||Fixed in Version||1.1|
|Summary||0005135: MTA doesn't send correct data to XFire|
Since some time there has been XFire support in the MTA source. Which is intended to show info like the Gamemode and Map the player is playing on.
Problem is though, in the XFire window you see this:
They're plain empty. The reason behind this seems to be line 278 in CConnectManager. It adds a new entry to the "Recently played", assigns it with an IP and Port, and a few lines after that it tries to acquire the gamemode (for instance) from the "Recently played" entry. However, the gamemode hasn't been defined in that entry, resulting in an empty string.
The solution would be to query the server for necessary data repeatedly while being connected. Acquiring info something between like once per minute or once per 5 minutes. Besides getting the correct information (hopefully) you would also be able to actually keep it up-to-date.
This isn't really an high-priority issue, but:
Also, I would request to not just query the map and gamemode, but also:
|Tags||No tags attached.|