Author Topic: Alt+tabbing sometimes crashes my game, or times out if I'm in a server  (Read 2158 times)

Hey people, it's been a while.

Alt-tabbing seems to randomly crash or disconnect me out of servers, and in worst case scenario Blockland stops working altogether until I restart my PC. This never happened in v20. Any ideas?

Details:
OS: Windows 7 Ultimate 64-bit SP1

CPU: AMD Athlon II X2 255 @ 3.1 GHz

RAM: 4 GB Single-Channel DDR3 @ 669MHz

Motherboard: ASUSTeK Computer INC. M4N68T-M-LE-V2 (AM3)

Graphics Card: AMD Radeon HD6850 (Sapphire/PCPartner)

Addons: Will list tomorrow.

Other details: UPnP is off. I play on Windowed mode, Shaders on max, 1280x720 resolution, 100 FOV.

Please post your console log: http://forum.blockland.us/index.php?topic=176934

Make sure that you replicate the crash before you post it.

There we go. I'll post a list of addons in a sec.


I myself am not seeing much.

Type trace(1); in the console, then cause it to crash.

It is not unusual for Blockland to go unresponsive while it is doing lots of processing. In the case that Blockland stops responding, simply wait for it to respond again and do not click anything. This is also related to the disconnect issue.

It is not unusual for Blockland to go unresponsive while it is doing lots of processing. In the case that Blockland stops responding, simply wait for it to respond again and do not click anything. This is also related to the disconnect issue.
Blockland "unprioritizes" itself for me, so that shouldn't be a problem. You can see that by enabling metrics(fps); and then alt-tabbing to a chat window or something while the game is still visible, there's an enormous FPS drop.

What doesn't make sense is how no one else has this problem. Even if I put shaders off it still does it.
Also wow, the console.log this time was 10 MB large. I cut it down to the relevant part. You can find it here: http://www.mediafire.com/view/?8jeep9l349slup7

Another detail I should add is that the crashing happens when I click the game window to go back to Blockland. If I go to a Steam chat window, or any window that isn't covering the screen, I can still see the gameplay working fine.

One of the relevent portions I found in that log:

Code: [Select]
Entering onWindowReactivate()
   Window reactivating...
Leaving onWindowReactivate() - return
Entering GameConnection::setLagIcon(10773, true)
Leaving GameConnection::setLagIcon() - return
Connection with server lost.
Entering GameConnection::onConnectionDropped(10773, TimedOut)

You timed out after reactivating the window. However, between there, your computer was able to display the lag icon. This makes me think that it doesn't have to do with your Blockland program hanging up, but it could be anything else. Make sure that all of your drivers (video, network, etc) are up-to-date.

One of the relevent portions I found in that log:

Code: [Select]
Entering onWindowReactivate()
   Window reactivating...
Leaving onWindowReactivate() - return
Entering GameConnection::setLagIcon(10773, true)
Leaving GameConnection::setLagIcon() - return
Connection with server lost.
Entering GameConnection::onConnectionDropped(10773, TimedOut)

You timed out after reactivating the window. However, between there, your computer was able to display the lag icon. This makes me think that it doesn't have to do with your Blockland program hanging up, but it could be anything else. Make sure that all of your drivers (video, network, etc) are up-to-date.
I thnk this happens to me too though and I have a good PC and internet, when I alt tab sometimes I come back with the "LAG" icon and then a few seconds later its fine. This is a pretty confusing issue.