nsetzer / mpgameserver

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

EchoServer Example isn't working #7

Open TKirchmeier opened 4 months ago

TKirchmeier commented 4 months ago

Hi,

With this package you had a great idea .

However, by running the EchoServer example I got some errors.

  1. pyOpenSSL version The current pyOpenSSL version of 24.0 raises the following error: ModuleNotFoundError: No module named 'cryptography.hazmat.backends.openssl.ec'

After a short search I fount a comment on stackoverflow. With the version 21.1.0 of pyOpenSSL it worked.

  1. PingHandler There is no PingHandler in your project, I think you mean EventHandler instead.?

  2. There is no ping By using the EventHandler the server shows a reception by the client, but it seams that the client doesn't wait for the connection status.

Next I will try to use your Getting Started Guide to create my one PingPong example.

nsetzer commented 4 months ago

Hi, Thanks for the feedback.

I pushed a change to the main branch that should address this issue.

I tested it by opening two terminals and running the following

  1. python -m demo.echoserver
  2. python -m demo.echoclient