The Fabby Posted July 14, 2016 Report Posted July 14, 2016 Possible to check if someone is currently online on multiplayer? Reason for this is because I want to dedicated tour o matic to online driving. "We're on the world to help each other. Atleast that is what I believe." - The Fabby https://vtlog.net - Independed logger by truckers like yourself.
HeyI'mAmethyst Posted July 14, 2016 Report Posted July 14, 2016 Enter in your browser's URL box http://ets2map.com/follow/ and enter the player's TruckersMP profile ID at the end
The Fabby Posted July 14, 2016 Author Report Posted July 14, 2016 @Memduh Basgan Doesn't work. @The Leeds Lad I don't wanna html scrape the map all the time. "We're on the world to help each other. Atleast that is what I believe." - The Fabby https://vtlog.net - Independed logger by truckers like yourself.
HumaneWolf Posted July 14, 2016 Report Posted July 14, 2016 @fabrice You should contact @Kat_pw about the ETS2Map API. HumaneWolf - Website - Twitter - GitHub Ex-Developer
The Fabby Posted July 14, 2016 Author Report Posted July 14, 2016 @HumaneWolf Send him a message, thank you! "We're on the world to help each other. Atleast that is what I believe." - The Fabby https://vtlog.net - Independed logger by truckers like yourself.
The Fabby Posted July 20, 2016 Author Report Posted July 20, 2016 Kat_pw never checks his pm apparently. No reply yet. Anyone else i can contact about this? "We're on the world to help each other. Atleast that is what I believe." - The Fabby https://vtlog.net - Independed logger by truckers like yourself.
heyhococo Posted July 21, 2016 Report Posted July 21, 2016 Only Kat does ets2map and the API for said application, everyone else does the website and the mod itself. Youll just have to wait longer.
Ratcho Posted July 21, 2016 Report Posted July 21, 2016 @fabrice to access the ETS2Map API. You need to visit http://tracker.ets2map.com/doko/{id} you can then view information about the user, in your case you will be able to detect if the user is online or offline. If you are offline the API should return this:
Scar Posted July 21, 2016 Report Posted July 21, 2016 To add to illtag's post: if a player is online it should return something like {"name": "xxxxx", "h": xxxxx, "p_id": "xxxxx", "server": xxxxx, "mp_id": "xxxxx", "t": xxxxx, "online": "true", "y": xxxxx, "x": xxxxx} So checking on the value of "online" will return false or true. Scar | Retired Legend You can design and create, and build the most wonderful place in the world. But it takes people to make the dream a reality. Banned: HELP! - Report a player - Help - Rules - Staff recruitment - Complaints/feedback
The Fabby Posted July 21, 2016 Author Report Posted July 21, 2016 Assuming this is 64bit steam id? "We're on the world to help each other. Atleast that is what I believe." - The Fabby https://vtlog.net - Independed logger by truckers like yourself.
Syntog Posted July 25, 2016 Report Posted July 25, 2016 Well there is a /search command, assuming if you're in-game and want to search for people. And check your friends game info, should say there as well
HumaneWolf Posted July 25, 2016 Report Posted July 25, 2016 9 hours ago, Central_Processing_Cat said: Well there is a /search command, assuming if you're in-game and want to search for people. And check your friends game info, should say there as well Read which section you are replying in next time, please. HumaneWolf - Website - Twitter - GitHub Ex-Developer
Recommended Posts