← Back to team overview

widelands-dev team mailing list archive

[Bug 916545] Re: About depending on GGZ packages

 

Attached is the new version of the protocol.

1) Commands are now strings. I decided to #define the command codes, as
this seems more c++ish for me - else the code might look like as if you
could send any string you want and the server would have to know what to
do with it, and someone unfamiliar to the code would not have known
which commands are actually available (somehow like magical strings -
equivalent to magical numbers ;) )

2) I added the metaserver address (widelands.org) and the port (for now
7395 - Widelands already uses 7396 for games and 7397 for local game
discovery)

I am currently working on the refactoring, hope to get the first version
online soon. This will include the protocol file as well

** Attachment added: "internet_gaming_protocol.h"
   https://bugs.launchpad.net/widelands/+bug/916545/+attachment/2705705/+files/internet_gaming_protocol.h

-- 
You received this bug notification because you are a member of Widelands
Developers, which is a bug assignee.
https://bugs.launchpad.net/bugs/916545

Title:
  About depending on GGZ packages

Status in Widelands:
  Confirmed
Status in “widelands” package in Debian:
  New

Bug description:
  I noticed a bug report in Debian which basically suggests to drop the
  GGZ packages because it is unmaintained upstreams. Since Widelands
  depends on ggz, this of course affects us there (not to mention Debian
  derivaties like Ubuntu and Linux Mint).

  I know the ggz dependency has been discussed a bit before, but we
  should probably figure out what the long-term plan is.

To manage notifications about this bug go to:
https://bugs.launchpad.net/widelands/+bug/916545/+subscriptions