shlusiak / Freebloks-3D

Blokus clone for Windows and Linux
http://www.saschahlusiak.de/freebloks-3d
GNU General Public License v2.0
15 stars 2 forks source link

Android App crashes when trying to connect to Windows hosted dedicated.exe #1

Open RobSwDev opened 4 years ago

RobSwDev commented 4 years ago

I want to host a freebloks 3D server, for use by Android clients. (It seems the only way to play a private game against friends)

I downloaded http://www.saschahlusiak.de/blokus/freebloks-1.5.zip and ran dedicated.exe (on Windows 10) I tried to connect to this server from my Android phone on the same local network (using the "Wireless LAN" option). The client connects and then immediately crashes. This is what I see in the server console.

[-]: Connection from: Redmi5Plus-Redmi.lan, 192.168.2.64 [-]: Client 0 joined FEHLER: Unbehandelte Netzwerknachricht: #14

Not sure how to get any information from Android about the crash on the client side, I'm afraid.

I can connect to the same server from the Windows client (only tried from the same machine). Is there a different protocol? My Android install from Google Play is v1.2.2. Does the version difference matter?

Fantastic game by the way.

Rob

shlusiak commented 4 years ago

Hi Rob,

you are right! I forgot that this is out there. The network protocol has changed slightly and I dropped support in the Android App for the old protocol but I forgot that I'm still distributing that version. I should actually recompile that to the newer protocol and at least add support back to the Android App to understand that old protocol. You can download the source code and compile it yourself, either for Windows or for Linux and it should work when built from the source code.

I'll try to do both, hang on. :)

Cheers, Sascha