nsetzer / mpgameserver

Python Multiplayer UDP Game Server
GNU Lesser General Public License v2.1
43 stars 6 forks source link

Getting Started Guide - Server template parameter error #8

Open TKirchmeier opened 4 months ago

TKirchmeier commented 4 months ago

The callback parameters for handle_message of the server template are not complete.

Instead

    def handle_message(self, client, msg):
        pass

it has to be

    def handle_message(self, client, seqnum, msg):
        pass

Than it works.

nsetzer commented 4 months ago

Thanks for the feed back. I have updated the documentation