{"action":"created","issue":{"url":"https://api.github.com/repos/ddnet/ddnet/issues/322","labels_url":"https://api.github.com/repos/ddnet/ddnet/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/ddnet/ddnet/issues/322/comments","events_url":"https://api.github.com/repos/ddnet/ddnet/issues/322/events","html_url":"https://github.com/ddnet/ddnet/pull/322","id":104331709,"number":322,"title":"Introduce new, vanilla-compatible server info protocol (also known as: the solution to all problems)","user":{"login":"heinrich5991","id":366230,"avatar_url":"https://avatars.githubusercontent.com/u/366230?v=3","gravatar_id":"","url":"https://api.github.com/users/heinrich5991","html_url":"https://github.com/heinrich5991","followers_url":"https://api.github.com/users/heinrich5991/followers","following_url":"https://api.github.com/users/heinrich5991/following{/other_user}","gists_url":"https://api.github.com/users/heinrich5991/gists{/gist_id}","starred_url":"https://api.github.com/users/heinrich5991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heinrich5991/subscriptions","organizations_url":"https://api.github.com/users/heinrich5991/orgs","repos_url":"https://api.github.com/users/heinrich5991/repos","events_url":"https://api.github.com/users/heinrich5991/events{/privacy}","received_events_url":"https://api.github.com/users/heinrich5991/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-01T18:54:37Z","updated_at":"2015-09-02T09:06:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ddnet/ddnet/pulls/322","html_url":"https://github.com/ddnet/ddnet/pull/322","diff_url":"https://github.com/ddnet/ddnet/pull/322.diff","patch_url":"https://github.com/ddnet/ddnet/pull/322.patch"},"body":"This means that we have a reliable and fast way to query for extended info,\r\nwhile also not wasting network bandwidth.\r\n\r\nThe protocol is designed to be extensible, there's four bytes space for\r\nencoding more request types (currently zeroed), and there's one string in each\r\nresponse packet and one string for each player available (currently the empty\r\nstring).\r\n\r\nThe protocol itself has no problems with more than 64 players, although the\r\ncurrent client implementation will drop the player info after the 64th player,\r\nbecause it uses a static array for storage.\r\n\r\nAlso fixes #130, the player list is just sorted each time new player info\r\narrives."},"comment":{"url":"https://api.github.com/repos/ddnet/ddnet/issues/comments/136985762","html_url":"https://github.com/ddnet/ddnet/pull/322#issuecomment-136985762","issue_url":"https://api.github.com/repos/ddnet/ddnet/issues/322","id":136985762,"user":{"login":"east","id":591798,"avatar_url":"https://avatars.githubusercontent.com/u/591798?v=3","gravatar_id":"","url":"https://api.github.com/users/east","html_url":"https://github.com/east","followers_url":"https://api.github.com/users/east/followers","following_url":"https://api.github.com/users/east/following{/other_user}","gists_url":"https://api.github.com/users/east/gists{/gist_id}","starred_url":"https://api.github.com/users/east/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/east/subscriptions","organizations_url":"https://api.github.com/users/east/orgs","repos_url":"https://api.github.com/users/east/repos","events_url":"https://api.github.com/users/east/events{/privacy}","received_events_url":"https://api.github.com/users/east/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T09:06:19Z","updated_at":"2015-09-02T09:06:19Z","body":"Yes, would be nice. Also once we talked about providing a custom http download url in server info to support hosters not part of ddnet. Wouldn't this be the right time for implementation?"}}