Opened 10 years ago

Closed 10 years ago

Last modified 4 years ago

#2276 closed defect (fixed)

[PATCH]Opening the developer overlay doesn't work in games started through the lobby

Reported by: leper Owned by: pogisanpolo
Priority: Should Have Milestone: Alpha 16
Component: Multiplayer lobby Keywords:
Cc: Josh Patch:

Description (last modified by elexis)

Pressing Alt-D to open the dev overlay doesn't work in games that shouldn't be rated (non-1vs1 games) because the game was automatically configured locally as being rated.

To fix this issue we should first allow the player to enable/disable rating via a checkbox on the game setup screen and eventually make the box auto-disable itself when a game is not ratable.

Attachments (1)

unrankedNetworkGame_v0.1.patch (3.9 KB ) - added by pogisanpolo 10 years ago.
Added "unranked game" checkbox in multiplayer game setup.

Download all attachments as: .zip

Change History (14)

comment:1 by leper, 10 years ago

Milestone: Alpha 15Alpha 16

comment:2 by Josh, 10 years ago

This is really just that there should be a rated/unrated checkbox on the gamesetup screen. The complexity stems from the box automatically pre-configuring itself based on the ratability of the game in question.

It would be best to start with just adding the box and then working on preconfiguration in a separate ticket.

comment:3 by Josh, 10 years ago

Component: UI & SimulationMultiplayer lobby
Owner: set to Josh

comment:4 by Josh, 10 years ago

Description: modified (diff)

by pogisanpolo, 10 years ago

Added "unranked game" checkbox in multiplayer game setup.

comment:5 by pogisanpolo, 10 years ago

I still haven't figured out how to actually tell the engine whether the game is actually ranked or not. So far this is simply an addition to the GUI. Trying to look through the documentation and source for the engine and I came across something called SetRankedGame. Not sure how to invoke that in javascript just yet but I'm still digging.

comment:6 by Josh, 10 years ago

Owner: changed from Josh to pogisanpolo

If I remember correctly, you would call it like "Engine.SetRankedGame(true);" to enable ranking and call it with false to disable ranking.

in reply to:  description comment:7 by pogisanpolo, 10 years ago

Keywords: review patch added
Summary: Opening the developer overlay doesn't work in games started through the lobby[PATCH]Opening the developer overlay doesn't work in games started through the lobby

comment:8 by scythetwirler, 10 years ago

Keywords: review removed

Patch is incomplete, taking off review queue for now.

comment:9 by scythetwirler, 10 years ago

Any progress on this, pogisanpolo?

comment:10 by JoshuaJB, 10 years ago

In 14934:

Fix #2404. Rating auto-configure TODO (eg 2v2 games do not automatically show as being unrated). See #2276.

comment:11 by Josh, 10 years ago

Description: modified (diff)

comment:12 by Josh, 10 years ago

Keywords: simple patch removed
Resolution: fixed
Status: newclosed

Remaining issues moved to #2516.

comment:13 by elexis, 4 years ago

Description: modified (diff)

The c++ global g_rankedGame is still set to the default value (true) for rejoining players, so the ticket was only fixed assuming no rejoins, see #3550. So the wireframe hotkey also doesn't work in that case, and the lobby bot sends a wrong report as well. And the variable is also not used in other places where players can cheat with developer tools or exposed functions.

Note: See TracTickets for help on using tickets.