PDA

View Full Version : Public test: CTO in full screen fix


Violet CLM
May 2, 2021, 09:11 PM
SO! I've been bashing my head against this problem for four straight days of reading about low-level APIs and I may have found a solution:

Download (https://get.jj2.plus/misc_builds/plus_58_fullscreen.zip)

On my Windows 10 computer, this fixes the bug causing me to get a Connection Timed Out ("CTO") error when I enter full screen in an online server. But this is such an OS-specific problem (and interacts so directly with extremely fundamental internet connection code) that I'd like as many eyes on this as possible before putting it in JJ2+ 5.9, including eyes both from people who do experience this bug and from people who don't, to make sure there aren't any adverse side effects in unexpected cases.

When reporting whether this works for you, please mention which operating system/s you tested it on, thanks!


Seren adds: [W]e'd like to know that besides the fix working, it doesn't have side effects. It's hard for me to tell what to expect since the fix involved interaction with the Windows API, but maybe try such things as alt+tabbing out of a full screen game, exiting the game while it's in full screen, changing active resolution in options while in full screen, generally full screen things. [T]est network-related code.

FawFul
May 3, 2021, 03:07 AM
Works for me!

Love & Thunder
May 3, 2021, 06:54 AM
Tested on Windows 10 64-bit at 800x600 in The Server (empty) and Zeal Alpha (4 other players) for just a couple of minutes. Could toggle fullscreen freely with no crashes. The game did lag a lot whenever I toggled fullscreen, but no other issues popped up.

ShakerNL
May 3, 2021, 08:32 AM
Works for me as well.
Windows 10 20H2 x64.
Tested on both NVIDIA and Intel HD.

I don't know if Windows 7 also had this bug, but switching to fullscreen on that OS also works fine.

Superjazz
May 3, 2021, 12:01 PM
Works for me too. Using Windows 20H2 x64. Alt-tabbing in and out seems to work fine too. No complaints.

master sven
May 6, 2021, 05:23 AM
It seems to work for me, although when I go from windowed to full-screen there is a short lagspike of about +200 ms. This might be inevitable and happen in multiple games, Im not sure.
No more CTOs though so this seems to be a promising fix!