Page 1 of 1

[0.12.23] [kovarex] Ungraceful error message when version/mods don't match in multiplayer

Posted: Wed Feb 24, 2016 6:30 pm
by Cbrad24
When trying to join a 0.12.22 server using .23, you are presented with this big wall of text.
It looks like it was left in for debug, but most end users don't really need to see all this.

Should be replaced with something simple like

Code: Select all

Version mismatch detected!
You are running: v0.12.23
Server is running: v0.12.22

Re: [0.12.23] Ungraceful error message

Posted: Thu Feb 25, 2016 9:18 am
by kovarex
Yes, I wanted to do this for a long time.

But you can notice, that the problem here isn't just the version difference, but also different mods on the server.

Re: [0.12.23] Ungraceful error message

Posted: Thu Feb 25, 2016 3:13 pm
by Cbrad24
I was playing around with the mods being enabled/disabled so I could be wrong, but I think they were enabled, and it was just listing info. I don't think there was a mod mismatch when I screen-capped this.

Re: [0.12.23] Ungraceful error message

Posted: Thu Feb 25, 2016 3:26 pm
by daniel34
I'm pretty sure that this info (version mismatch) displays only the remote mods, no matter if they are present locally or not. If you have the same mod configuration as the peer you try to connect with it will still show the remote mods even if they are the same, and never display the local mods.

Re: [0.12.23] [kovarex] Ungraceful error message when version/mods don't match in multiplayer

Posted: Tue Mar 01, 2016 5:20 pm
by kovarex
Ok, so wrote user readable message when this happens.

When the version differs, it says so, if just mod config differs it only mentions mods that are different (Either the mod is on server and you don't have it, or the other way around, or version differs)

Fixed for 0.12.25

Re: [0.12.23] [kovarex] Ungraceful error message when version/mods don't match in multiplayer

Posted: Fri Mar 04, 2016 3:07 am
by roy7
Fantastic change. Thanks!

Re: [0.12.23] [kovarex] Ungraceful error message when version/mods don't match in multiplayer

Posted: Sat Mar 05, 2016 1:25 pm
by tetryon
kovarex wrote:Ok, so wrote user readable message when this happens.

When the version differs, it says so, if just mod config differs it only mentions mods that are different (Either the mod is on server and you don't have it, or the other way around, or version differs)

Fixed for 0.12.25
Good change, but introduced a game-stopping issue: viewtopic.php?f=7&t=20915&p=131395#p131395