TADS Bug Database

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000232TADS 3Library - Adv3public2014-11-17 03:322015-08-06 00:32
Reportertomasb 
Assigned To 
PrioritylowSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformWebplayOSOS Version
Summary0000232: Pause command in webplay turns the game off
DescriptionWhen you run any game in webplay mode (i.e. Shelter from the Storm on IFDB with play online button) and issue "pause" command, the game reacts with "Thanks for playing!" and game server terminates.
TagsNo tags attached.
Fixed In Version3.1.4
Attached Files

- Relationships

-  Notes
(0000401)
Michael Roberts (administrator)
2015-08-06 00:32

Fixed for the next update. The problem was that the PAUSE handler was using inputKey() to wait for the user to press a key to end the pause, but this function can't be used in a network game because it reads directly from the local keyboard. The local keyboard isn't available in network mode, so inputKey() triggers an End Of File exception, and that's what causes the untimely termination of the game. The solution is to replace the call to inputKey() in the PAUSE action handler with a call to inputManager.getKey(), so that we wait for the remote user to press a key in the browser UI.

- Issue History
Date Modified Username Field Change
2014-11-17 03:32 tomasb New Issue
2015-08-06 00:32 Michael Roberts Fixed In Version => 3.1.4
2015-08-06 00:32 Michael Roberts Note Added: 0000401
2015-08-06 00:32 Michael Roberts Status new => resolved
2015-08-06 00:32 Michael Roberts Resolution open => fixed


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker