Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Maintenance & Feedback » JJ2+ Issue Tracker

Public test: CTO in full screen fix

Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,975

Violet CLM has disabled reputation

May 2, 2021, 10:11 PM
Violet CLM is offline
Public test: CTO in full screen fix

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

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.
__________________

Last edited by Violet CLM; May 3, 2021 at 09:19 AM.
Love & Thunder Love & Thunder's Avatar

JCF Member

Joined: Sep 2011

Posts: 1,101

Love & Thunder has disabled reputation

May 3, 2021, 07:54 AM
Love & Thunder is offline
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 ShakerNL's Avatar

JCF Member

Joined: May 2009

Posts: 115

ShakerNL is an asset to this forumShakerNL is an asset to this forum

May 3, 2021, 09:32 AM
ShakerNL is offline
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 Superjazz's Avatar

JCF Member

Joined: Jan 2003

Posts: 976

Superjazz is OFF DA CHARTSuperjazz is OFF DA CHARTSuperjazz is OFF DA CHART

May 3, 2021, 01:01 PM
Superjazz is offline
Thumbs up

Works for me too. Using Windows 20H2 x64. Alt-tabbing in and out seems to work fine too. No complaints.
__________________
Find It Out
MP

JJnet Duel Tournament 3.0
master sven

JCF Member

Joined: Jan 2005

Posts: 319

master sven is doing well so far

May 6, 2021, 06:23 AM
master sven is offline
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!
__________________
Clan history: CD (2002) VD (2003) CC (2004) SC (2004) CC (2005) RC/RL (2005) EP (2005) CC (2006) AMC (2007) TM (2008) CDF (2010)



<iframe src="http://gamercard.xbox.com/th3a.card" scrolling="no" frameBorder="0" height="140" width="204"></iframe>
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 09:35 PM.