Jump to content
  • 0

API truckersmp + (old) ets2map


kralik

Question

hi, i have question, about api...

 

bcs i using "http://tracker.ets2mp.com/doko+$mp_id" this getting back: dataUser->server = ID and this ID its not same like dataServers->id from server list truckersmp "https://api.truckersmp.com/v2/server"

 

if i'm counting from 0 (its works just for ets EU1,EU2,EU3 and not works for US.., HK), and in ATS its works dataUser->server = dataServers->id

 

could u help me? why u dont ussing same ID in api truckersmp? or do u have a other api like old ets2mp.com/doko ?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

From my understanding (and I could be entirely wrong here), http://ets2map.com has the following ID numbers for the servers. Devs correct me if i'm wrong please!

 

ETS Europe #1 = ID 0

ETS Europe #2 = ID 2

ETS Europe #3 = ID 3

ETS United States #1 = ID 1

ETS South America #1 - ID 6

ETS Hong Kong #1 = ID 12

ATS Europe #2 = ID 9

ATS United States #1 = ID 10

 

http://truckersmp.com uses completely different ID numbers, you can find them by just using the request 

https://api.truckersmp.com/v2/servers

 

Hopefully this helps!

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.