Task #1225

Add cgame/qgame version check

Added by Spyhawk about 1 year ago. Updated 11 months ago.

Status:New% Done:

0%

Priority:Normal
Assignee:-
Category:Mod generic
Target version:2.78
OS: Arch:

Description

Version string of UI/cgame/qgame are displayed in console by default.
Try checking for cgame/qgame version match, and print a warning if that isn’t the case (console, or maybe even in the center screen?).

Associated revisions

Revision e8fec93e
Added by Spyhawk 12 months ago

mod: added mod version mismatch check, fixes #1225

Reuse unused but existing client/server version check

Revision 50c4a35b
Added by Spyhawk 12 months ago

game: ensure dropped client isn’t processed, refs #1225

Revision f335fe7e
Added by Spyhawk 11 months ago

misc: use fixed git version length, refs #1225

Revision 7134696d
Added by Spyhawk 11 months ago

mod: revert cgame/game version check, refs #1225"

This eventually proved to be more problematic than it was
initilly expected, especially as dev with test versions
prevented to be launched when older downloaded versions are
in fs_homepath. Revert for now.

This reverts commit f335fe7ebe12b496f389a7ef3cb47515dbed9e87.
This reverts commit 50c4a35bf7f9771a9e8cfb85a67a5b78f1ecfb2d.
This reverts commit e8fec93efc31996db725a0534e2ffe590e6aee2b.

Revision ea44ba90
Added by ryven 4 months ago

client: store engine and mod versions in userinfo, refs #1225

Revision 17ee01fd
Added by ryven 4 months ago

general: add engine version verification facility, refs #1225

Revision 3c14fb65
Added by Spyhawk 3 months ago

game: added cg_etVersion info display in /players

Revision 6f1da278
Added by Spyhawk 3 months ago

game: fixed version info display in /players for bots

Revision 6319f498
Added by ryven 3 months ago

client: fix regression where on server disconnect ui wasn’t reloaded

refs #1225

Revision e9489ee1
Added by Spyhawk about 1 month ago

general: fixed engine client version overwritten in /players

The engine client version was always overwritten by cg_etVersion
See 3c14fb654d1d9a9130e8488be70f0a0905ed6575

Revision 6a1eab0b
Added by Spyhawk about 1 month ago

client: removed now unnecessary etVersion in client side, refs #1225

Revision d08c8c75
Added by ryven 20 days ago

client: store real engine version string in cg_etVersion, refs #1225

Revision 01e63599
Added by Spyhawk 17 days ago

game: fixed version string cut off in /players commands, refs #1225

History

#1 Updated by Spyhawk about 1 year ago

See the already implemented (but disabled) `G_CheckVersion()` function.
Rather than a print, drop the client with a clean message (better than the actual "unknown event 67").

#2 Updated by Spyhawk 12 months ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

#3 Updated by Spyhawk 11 months ago

  • Status changed from Fixed to In Progress

#4 Updated by Spyhawk 11 months ago

Note: Newer git versions (2.11) seem to have a different output than older version (f.e. 2.5), with 8 hex digits rather than 7 (dynamic length). This is problematic when compiling the game on older platforms like CentOS 7.

Edit: thie is also problematic when used as a dev, with older downloaded bin versions preventing dev version to be launched locally. Inspect again once the contanerized FS is fully implemented.

Also, the engine version check might actually be important to keep (2.55?).

#5 Updated by Spyhawk 11 months ago

  • Status changed from In Progress to New
  • Target version changed from 2.77 to 2.78
  • % Done changed from 100 to 0

Also available in: Atom PDF