MAngband net protocol

All your MAngband related technical questions answered. Problems compiling or running the game/server? No problem! Ask here.
Post Reply
FlyveHest
Nasty Little Gnome
Posts: 24
Joined: Mon 28.07.2008, 18:29

MAngband net protocol

Post by FlyveHest » Wed 30.07.2008, 19:50

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?

Jug
King Lich
Posts: 342
Joined: Sat 26.10.2002, 15:00
Location: UK
Contact:

Re: MAngband net protocol

Post by Jug » Wed 30.07.2008, 20:21

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.

Post Reply