Opened 23 months ago

Last modified 11 months ago

#6572 new defect

Replays are incorrectly marked as multiplayer

Reported by: Stan Owned by:
Priority: Should Have Milestone: Backlog
Component: Core engine Keywords:
Cc: Patch:

Description

Currently, the condition for a replay to be multiplayer is that it should have less than one AI.

gui/replaymenu/replay_menu.js:130:

replay.isMultiplayer = nonAIPlayers > 1;

This is incorrect because:

  • One can want to play single-player without AIs.
  • One might play multiplayer with AIs.

It would be better to store the information in the metadata when creating the match, just like campaigns.

Attachments (1)

replaymenu_ss.rar (2.0 MB ) - added by berhudar 11 months ago.
I was wondering that why the game does not consider my lobby played games as a multiplayer game replay, looks like this is what is exactly requested here.

Download all attachments as: .zip

Change History (6)

in reply to:  description comment:1 by phosit, 23 months ago

Replying to stanislas69:

Currently, the condition for a replay to be multiplayer is that it should have less than one AI.

No. The condition is more than one nonAIPlayer. It is still a defect since not all nonAIPlayer are human-player. There is also <unassigned>.

Game with 1 human-player: single-player
Game with 1 human-player and 1 AI-player: single-player
Game with 1 human-player and 1 <unassigned>: multi-player
Game with 1 human-player, 1 AI-player and 1 <unassigned>: multi-player
Game with 2 haman-player and 2 AI-player: multi-player

comment:2 by Stan, 23 months ago

Feel free to edit the ticket description :)

comment:3 by Stan, 23 months ago

Milestone: Alpha 26Alpha 27

comment:4 by Freagarach, 16 months ago

Milestone: Alpha 27Backlog

Pushing back.

by berhudar, 11 months ago

Attachment: replaymenu_ss.rar added

I was wondering that why the game does not consider my lobby played games as a multiplayer game replay, looks like this is what is exactly requested here.

comment:5 by Stan, 11 months ago

Did you play with AIs ? We need the actual replays not screenshots :)

Note: See TracTickets for help on using tickets.