Allow network events in title level
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
-
-
- Posts: 3878
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
Allow network events in title level
Without this, ui→play communication is total and absolutely impossible without the use of exploits.
-
- Posts: 1304
- Joined: Tue Jul 15, 2003 4:18 pm
Re: Allow network events in title level
I would like to add during intermission screens to this request as well...
-
- Lead GZDoom+Raze Developer
- Posts: 48537
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Allow network events in title level
This is a bug, not a missing feature. Apparently some code performs incorrect checks on the game state.
-
-
- Posts: 3878
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
Re: Allow network events in title level
I do see that SendNetworkEvent only checks for gamestate != GS_LEVEL. This just seems like a one-line change.
-
- Lead GZDoom+Raze Developer
- Posts: 48537
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Allow network events in title level
That's precisely what I suspected here. Of course it needs to check for GS_TITLELEVEL as well.
-
-
- Posts: 3878
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
Re: Allow network events in title level
Well, I sent a pull request for it. That really is the only change needed.
-
-
- Posts: 1530
- Joined: Wed May 13, 2009 3:15 am
- Graphics Processor: nVidia with Vulkan support
- Location: Russia
Re: Allow network events in title level
The behavior of the netevent console command was left unchanged, was that intentional or not?
-
- Lead GZDoom+Raze Developer
- Posts: 48537
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Allow network events in title level
Itmakes little sense, the player is not supposed to take control in a title level.
-
-
- Posts: 17346
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
Re: Allow network events in title level
It's useless from a keybind use case also; pressing anything at all will simply open the menu. Hence why the CCMD wasn't touched.
-
-
- Posts: 1530
- Joined: Wed May 13, 2009 3:15 am
- Graphics Processor: nVidia with Vulkan support
- Location: Russia
Re: Allow network events in title level
Got it, thanks. Might've been useful for debugging though, since the console still works in TITLEMAPs.