Just FYI!
Until now, the only way to tell whereabouts a player is in the game was to call players.getFullInfo ... but that call returns a bunch of other stuff, all of which taxes our servers in ways that are unnecessary if you're only interested in one particular piece of data.
So I've just added a new API method, players.location, which will just return the following info. Note, all these fields are named in the same way as the data returned from players.getFullInfo, so if you only use this data from that call, you should just be able to change the method name you call and everything else will work fine.
players.location returns:
* is_online (bool)
* last_online (timestamp, 0 if they're online)
* location (details of their current location, but missing if they're somewhere "hidden")
* pol (pointers to their home street/house)
Hopefully this is useful to some of you who are writing primarily game-location-based apps.
Posted 4 months ago by
hitherto

|
Permalink