Skip to content

Instantly share code, notes, and snippets.

@est31
Last active December 2, 2016 16:35
Show Gist options
  • Save est31/66602d589b225b27afd5 to your computer and use it in GitHub Desktop.
Save est31/66602d589b225b27afd5 to your computer and use it in GitHub Desktop.

Survey about server support of the >=v25 protocol of servers on the masterlist.

First I did wget http://servers.minetest.net/list. The list the numbers below base on was downloaded on Mach 14 2016, 7:54 CET.

I got these results to count the occurences of the version field:

$ cat list | grep -o '"version": "[^"]*"' | sort | uniq -c | sort -rg
     71 "version": "0.4.13-dev"
     40 "version": "0.4.13"
      6 "version": "0.4.12"
      2 "version": "1.0.0-alpha18-dev"
      2 "version": "0.4.12-dev"
      1 "version": "0.4.9"
      1 "version": "0.4.7-dev"
      1 "version": "0.4.13-Pizza"
      1 "version": "0.4.13-Megaf"
      1 "version": "0.4.13.7-dev"
      1 "version": "0.4.13-1474254"
      1 "version": "0.4.13-0d2df73"
      1 "version": "0.4.12-FozLand"

This gives us a total number of 129 servers.

I then grepped for the proto_max field:

$ cat list | grep -o '"proto_max": [^,]*' | sort | uniq -c
      7 "proto_max": 24
      1 "proto_max": 25
     70 "proto_max": 26
     48 "proto_max": 27
      1 "proto_max": 28

This gives us 120 servers with proto_max >= 25. Note that the total sum of proto_max entries is below the sum of version entries because it was introduced only recently with the release of 0.4.12.

Second survey on july 17, 2016

I have re-done the survey on July 17, 2016; around 23:00 CEST. The results with the above commands applied:

     67 "version": "0.4.14-dev"
     47 "version": "0.4.14"
     18 "version": "0.4.13-dev"
     10 "version": "0.4.13"
      5 "version": "0.4.12"
      2 "version": "0.4.12-dev"
      1 "version": "1.0.0-alpha19-dev"
      1 "version": "0.4.14-OldCoder-160524"
      1 "version": "0.4.14-Megaf"
      1 "version": "0.4.14.8-dev"
      1 "version": "0.4.14-6621dae"
      1 "version": "0.4.10"

Gives us 155 servers.

      6 "proto_max": 24
      3 "proto_max": 25
     18 "proto_max": 26
    126 "proto_max": 27
      1 "proto_max": 28

Gives us 148 servers with proto_max >= 25, in percent 95.4%.

Third survey on August 22, 2016

I've re-done it on August 22, 2016, around 2:30 (AM) CEST. The results:

     71 "version": "0.4.14"
     64 "version": "0.4.14-dev"
     10 "version": "0.4.13-dev"
      6 "version": "0.4.13"
      4 "version": "0.4.12"
      2 "version": "1.1.4"
      2 "version": "0.4.14-b11720a"
      2 "version": "0.4.12-dev"
      1 "version": "1.0.0-alpha19-dev"
      1 "version": "0.4.14-Megaf"
      1 "version": "0.4.14-e1aa98f"
      1 "version": "0.4.14.8-dev"
      1 "version": "0.4.14-7f4c6f3"
      1 "version": "0.4.10"

Gives 167 servers.

      5 "proto_max": 24
      1 "proto_max": 25
     12 "proto_max": 26
    147 "proto_max": 27
      1 "proto_max": 28

Gives 161 servers with proto_max >= 25, in percent 96.4%.

Fourth survey on Dec 02, 2016

The fourth survey was done on Dec 02, 2016 around 17:30 CET. The results:

     68 "version": "0.4.14"
     65 "version": "0.4.14-dev"
      9 "version": "0.4.14-BiteMe"
      8 "version": "0.4.13-dev"
      6 "version": "0.4.13"
      3 "version": "0.4.12"
      1 "version": "1.0.0-alpha19-dev"
      1 "version": "0.4.14-Megaf"
      1 "version": "0.4.14-f4build-$(date)"
      1 "version": "0.4.14-dev_MSVC"
      1 "version": "0.4.12-dev"

Gives 164 servers.

      4 "proto_max": 24
      9 "proto_max": 26
     89 "proto_max": 27
     62 "proto_max": 28

Gives servers 160 with proto_max >= 25, in percent 97.5%.

@nerzhul
Copy link

nerzhul commented Mar 15, 2016

grep -o '"proto_max": [^,]*' list | sort | uniq -c is better :)

@est31
Copy link
Author

est31 commented Aug 1, 2016

(Note to myself: you can get the names of servers with a certain version with the command

cat list | grep -oP '{[^}]*?"version": "0.4.12-dev".*?}' | grep -o '"name": "[^"]*"'

)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment