Closed tomreyn closed 5 years ago
This will only get used if we make the game send this shorter "tag" instead. The whole protocol is still ugly (no authentication, plain text, HTTP GET), we need to come up with a proper protocol some day. ;-)
The shorter tag is sent from the current source in git, but not from 3.13.0, right?
As for protocol, did you have anything in mind already, @tomreyn ?
cc @sexybiggetje
So far, there is no code in the MegaGlest game (server) to send the shorter 'Headless' tag, yet. I don't write C, but I guess it should be easy to make the game send the '[H]' string instead of the '[Headless]' string it currently sends (if I remember this correctly).
If redone, the protocol the game and masterserver should talk should be some "RESTful" protocol. I started drafting this at https://docs.megaglest.org/MG/Master_Server a long time ago.
I am not going to design the protocol / API nor either side of the implementation, though. My motivation to spend time on MegaGlest is currently limited to maintaining services (hosting) in their current state. This said, I'll be very happy if anyone decided to contribute their time on coordinating this with the game developers (i.e. Softcoder + Titi) to make it part of the game, or (maybe easier, since both are rather busy and less motivated, too) developed a branch / fork improving on this.
So far, there is no code in the MegaGlest game (server) to send the shorter 'Headless' tag, yet. I don't write C, but I guess it should be easy to make the game send the '[H]' string instead of the '[Headless]' string it currently sends (if I remember this correctly).
@tomreyn I think that was already done in https://github.com/MegaGlest/megaglest-source/commit/4dc6b44e03994e31b5baaf4e8cc650bc585286fd#diff-1dcefe5eaa3e8f323c2fa6a56821e791
Ahem, you're right, this is to prove my bad memory. Thanks for pointing it out.
Don't sweat it, @tomreyn :) A one line patch from 2 years ago... I think pretty easy to forget. Cheers!
Allow [H] tag for headless servers in addition to "Headless "