Jump to content

Recommended Posts

Posted

@El1teZombiezHD  Was thinking something about pulling the users current position on the map and or what details I could pull via ets2map API that could be useful.  With the current player API v2 you can't tell if the user is online or offline. That is where the ets2map.com API comes in just wondering what else I would be allowed to use and or See Also if there is plans on releasing some of the API information for ets2map. 

spacer.png

Posted
On 13/12/2016 at 7:34 AM, ClumsyZombie said:

@El1teZombiezHD  Was thinking something about pulling the users current position on the map and or what details I could pull via ets2map API that could be useful.  With the current player API v2 you can't tell if the user is online or offline. That is where the ets2map.com API comes in just wondering what else I would be allowed to use and or See Also if there is plans on releasing some of the API information for ets2map. 

Have a look at http://truckers.events to see how this has already been done.

It's quite clever and you'd probably be able to work it out based on the TMP API :) 

MP Productions - Matt

YouTube Channel: http://bit.ly/2a4kQeM (Subscribe to support more content being uploaded)

Website: http://mattsphotos.com.au (My personal website, built by myself)

PlaysTV: http://plays.tv/u/mpproductions

  • 4 weeks later...
  • 2 weeks later...
  • 2 months later...
Posted

I'm sorry, but can someone of the developers to answer? Why in the status of the ETS 2 Map, all services work, but in reality it is not.

How can I use ETS 2 Map API if http://tracker.ets2map.com/ returns an empty result? It lasts from last year.

Maybe there's a possibility to apply for access to this API?
Just if this API is not available to everyone, makes no sense to display in status...
 

Spoiler

Question. Why do I need it?
I would like to have a json array of all players on the server and their coordinates.
With the help of an array of coordinates of all the players, I could display their position on the map, update every 5sec with caching.
I know krashnz has already started work on, but it is not clear whether the API is available to all, also I would like to use my map.

 

stat.png.f0d1bbf2ea44f113470ee5823b4bb61f.png

 

!!! UPDATE. ANSWER  -  https://forum.truckersmp.com/index.php?/topic/353-map-api-players-location-api/&do=findComment&comment=2274

 

  • 3 weeks later...
  • 1 month later...
  • Guest locked this topic
  • Kat_pw unlocked this topic
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.