| Anonymous | Login | Signup for a new account | 2025-11-04 18:14 UTC |
| My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0004156 | Zandronum | [All Projects] Suggestion | public | 2023-08-25 07:34 | 2025-10-12 06:02 | ||||
| Reporter | Penguin | ||||||||
| Assigned To | |||||||||
| Priority | none | Severity | feature | Reproducibility | N/A | ||||
| Status | closed | Resolution | no change required | ||||||
| Platform | PC | OS | Microsoft Windows 11 | OS Version | 22H2 | ||||
| Product Version | 3.1 | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0004156: Make GameType() calls in Coop (multiplayer emulation) return GAME_NET_COOPERATIVE instead of returning GAME_SINGLE_PLAYER. | ||||||||
| Description | Since it returns GAME_SINGLE_PLAYER, coop can't distinguish between singleplayer and multiplayer emulation. | ||||||||
| Additional Information | This code works fine if it returns GAME_NET_COOPERATIVE in multiplayer emulation. if(GameType() == GAME_NET_COOPERATIVE && IsNetworkGame()) { // True multiplayer } else if(GameType() == GAME_NET_COOPERATIVE && !IsNetworkGame()) { // Multiplayer emulation } else if(GameType() == GAME_SINGLE_PLAYER) { // Singleplayer } else { // Other game modes } | ||||||||
| Attached Files | |||||||||
Relationships |
||||||
|
||||||
Notes |
|
|
Ru5tK1ng (updater) 2025-10-12 06:02 |
It already does and did in 3.1. GameType() will check for NETWORK_GetState() != NETSTATE_SINGLE and then assign GAME_NET_COOPERATIVE. When multiplayer emulation is turned on, the netstate becomes NETSTATE_SINGLE_MULTIPLAYER which obviously is not the same as NETSTATE_SINGLE. |
|
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
| Supporters: | No one explicitly supports this issue yet. |
| Opponents: | No one explicitly opposes this issue yet. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2023-08-25 07:34 | Penguin | New Issue | |
| 2023-08-25 12:11 | WaTaKiD | Relationship added | related to 0002158 |
| 2025-10-12 06:02 | Ru5tK1ng | Note Added: 0024581 | |
| 2025-10-12 06:02 | Ru5tK1ng | Status | new => closed |
| 2025-10-12 06:02 | Ru5tK1ng | Resolution | open => no change required |
| Copyright © 2000 - 2025 MantisBT Team |