Maescool / Catacomb-Snatch

Mojang's Humble bundle source
Other
295 stars 99 forks source link

Added version check when clients connect via multiplayer #946

Closed Flet closed 12 years ago

Flet commented 12 years ago

When the client tries to JOIN the server, it sends its game version. The server checks it to see if it is the same, and if it is not, the client is disconnected and gets a message on their title screen:

ghost commented 12 years ago

Nice +1 :d

Tipaa commented 12 years ago

Can I suggest adding some sort of hash or other verification to it too? Currently the version number doesn't really change with releases.

Maescool commented 12 years ago

@Tipaa i'm looking into adding buildnumbers in a build.properties file that will be generated by jenkins