Hi, I am trying to setup an RPi server after a long time and even though I can build it just fine, I get a server/client mismatch when I try to connect to it. I tried using version tagged with 3.1 from this repo: https://hg.osdn.net/view/zandronum/zandronum-stable/ and latest client from the Download page.
Server has version 3.1-R-300101-0000
Client has version 3.1-R211211-2135
Is there a way to figure out from which commit the client was built so I can use the same for building the server? I am planning a LAN party with Macs involved and I can't compile those clients for myself.
How to figure out git revision from which client is built
Re: How to figure out git revision from which client is built
run the binary then open the ingame console and use either the 'version_info' or 'gameversion' ccmds
- doomista
- Forum Regular
- Posts: 147
- Joined: Sat Mar 07, 2015 6:58 pm
- Location: I've been to hell. Twice
Re: How to figure out git revision from which client is built
Thanks! 'gameversion' command was the thing I was looking for. It seems I had to confuse files along the way, because the commit from client is the one tagged as 3.1 on Mercurial. It works now.
Re: How to figure out git revision from which client is built
FWIW this suggests the server was not built from the Mercurial repository and is therefore missing its commit info - note how the version string is a date for midnight on January 1st 20-negative-30, aka 1970-01-01 00:00, aka zero. Zandronum should be built from the repo and not source archives etc because otherwise this happens.
<capodecima> i dont say any more word without my loyer jenova
- doomista
- Forum Regular
- Posts: 147
- Joined: Sat Mar 07, 2015 6:58 pm
- Location: I've been to hell. Twice
Re: How to figure out git revision from which client is built
That could be it. I didn't want to bother with Mercurial the first time around so I just downloaded archive based on the tag. Didn't know the version depends on git.Sean wrote: ↑Tue Apr 04, 2023 10:09 pmFWIW this suggests the server was not built from the Mercurial repository and is therefore missing its commit info - note how the version string is a date for midnight on January 1st 20-negative-30, aka 1970-01-01 00:00, aka zero. Zandronum should be built from the repo and not source archives etc because otherwise this happens.