#1054430 xskat Version mismatch bug irc play

Package:
xskat
Source:
xskat
Description:
3-player card game "Skat"
Submitter:
Adam Kubon
Date:
2024-07-13 16:45:04 UTC
Severity:
normal
Tags:
#1054430#5
Date:
2023-10-23 18:59:54 UTC
From:
To:
package: xskat
version: 4.0.8

During play over irc channel /go or /go2 command causes following error:
Version mismatch :  X S K A T   4.0

The problem is relatively easy to solve by changing source file: text.c
line 31 from:

#define VERSION   " X S K A T   4.0 "

to

#define VERSION   "4.0"

I m using debian bookworm

system info
uname -a
Linux u4 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1
(2023-09-29) x86_64 GNU/Linux

#1054430#10
Date:
2024-07-13 16:41:45 UTC
From:
To:
Greetings,

My take on this is that this is by upstream design. The manpage states
explicitly concerning IRC play:
"The version numbers of all participating programs must be equal."

I assume that you found some players using a different implemention of
XSkat that advertises itself as version 4.0, leading to this mismatch.
Quite possibly even the majority of IRC players use a different
implemention, given that there hasn't been a new upstream release of
this package here in 20 years now, and that the upstream homepage /
author seems to be missing.

With that in mind, I wouldn't like to arbitrarily change the program
version to make it compatible to certain other programs out there, of
which I don't even know which are popular and how compatible they
actually are.

However, I might be totally wrong on this, as I have just casually
glanced over the code now. And the above contains a log of assumptions
that might all be unfounded. If anyone has more insight into this,
that'd be greatly welcome. Marking this issue correspondingly.

Still, with upstream absent (cf. #1051639), and the code aging (cf.
#1075683), and me not using the package anymore (cf. #933098), the
general situation doesn't look all too rosy for XSkat ...

Cheers,
Flo