#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 )
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)
Change History (14)
comment:1 by , 10 years ago
Milestone: | Alpha 15 → Alpha 16 |
---|
comment:2 by , 10 years ago
comment:3 by , 10 years ago
Component: | UI & Simulation → Multiplayer lobby |
---|---|
Owner: | set to |
comment:4 by , 10 years ago
Description: | modified (diff) |
---|
by , 10 years ago
Attachment: | unrankedNetworkGame_v0.1.patch added |
---|
Added "unranked game" checkbox in multiplayer game setup.
comment:5 by , 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 , 10 years ago
Owner: | changed from | to
---|
If I remember correctly, you would call it like "Engine.SetRankedGame(true);" to enable ranking and call it with false to disable ranking.
comment:7 by , 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 , 10 years ago
Keywords: | review removed |
---|
Patch is incomplete, taking off review queue for now.
comment:11 by , 10 years ago
Description: | modified (diff) |
---|
comment:12 by , 10 years ago
Keywords: | simple patch removed |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Remaining issues moved to #2516.
comment:13 by , 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.
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.