Vice City: Multiplayer

Off-Topic => Off-Topic General => Topic started by: MEGAMIND on Jul 23, 2016, 03:50 AM

Title: Whats this?
Post by: MEGAMIND on Jul 23, 2016, 03:50 AM
I found it on some freakin post
{"success":true,"servers":[{"ip":"95.85.12.227","port":5192,"is_official":false},
{"ip":"198.52.128.114","port":8192,"is_official":false},
 {"ip":"37.187.201.205","port":5194,"is_official":false},
{"ip":"31.220.48.196","port":5176,"is_official":false},
 {"ip":"5.135.145.71","port":5200,"is_official":false},
 {"ip":"192.99.199.92","port":5724,"is_official":false},
{"ip":"192.254.78.2","port":5190,"is_official":false},
 {"ip":"110.182.6.4","port":8192,"is_official":false},
 {"ip":"120.141.67.167","port":8192,"is_official":false},
 {"ip":"60.172.228.36","port":55555,"is_official":false}]}

 GET //servers/ HTTP/1.0
 Host: master.vc-mp.org
 User-Agent: HTTP Fetcher/HTTP/1.0
Connection: Close

 {
     "success": true,
    "servers": [
       {
           "ip":"127.0.0.1",
          "port":8192,
           "is_official":false
      }
   ]
 }

 {
    "success": false,
    "errorCode": 2,
   "error": "Failed to query the masterlist database"
 }
Title: Re: Whats this?
Post by: KAKAN on Jul 23, 2016, 03:51 AM
http://master.vc-mp.ovh/servers That's the JSON encoded list of all the servers.
Title: Re: Whats this?
Post by: MEGAMIND on Jul 23, 2016, 03:55 AM
what does it means
Title: Re: Whats this?
Post by: KAKAN on Jul 23, 2016, 04:14 AM
Quote from: MEGAMIND on Jul 23, 2016, 03:55 AMwhat does it means
Google for JSON. Check the wiki (http://wiki.vc-mp.org/wiki/Host_a_masterlist), see this topic (http://forum.vc-mp.org/?topic=266.msg1530#msg1530)