Page 1 of 1

MAngband net protocol

Posted: Wed 30.07.2008, 19:50
by FlyveHest
Hi all,

Are there any form of docs/text/writeup on the MAngband net protocol?

I was considering starting up a Windows graphical client, using C# and XNA, but, before even trying, I wanted to look into how MAngband handles the netcode, and exactly how much of the work is done by the client, and how much is done by the server.

I have looked a little into the source, which is going to take a while to get through, so I was wondering if someone has done some work and maybe documented something about the protocol?

Re: MAngband net protocol

Posted: Wed 30.07.2008, 20:21
by Jug
Are there any form of docs/text/writeup on the MAngband net protocol?
Nope, there is no documentation other than the source I'm afraid.

Be careful reimplementing the networking code, even the networking protocol between different revisions of MAngband isn't compatible. The source in /trunk for example breaks the existing 1.1.0 protocol. There are many small changes planned in the short term, and several huge changes planned in the slightly longer term, so it's a bit of a moving target.