Prevent OS disappearing uppon disconnect

Post here your questions about the OpenSpace 2.x or notify bugs and suggestions.

Moderators: Lapo, Bax

Post Reply
atarim
Posts: 26
Joined: 19 Apr 2010, 04:40

Prevent OS disappearing uppon disconnect

Post by atarim »

Is there a way to keep the last state of the OS component although a disconnetion happened?

My situation is that when the user quits I experience a disconnection, but still need the last picture of the screen (user disabled) to accomplish few tasks before closing the application.
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

This is not possible. Maybe you could add your own listener to the disconnection event, and take a bitmap snapshot of the OpenSpace component. Not sure if it works, but it is not much work to give it a try.
Paolo Bax
The SmartFoxServer Team
atarim
Posts: 26
Joined: 19 Apr 2010, 04:40

Post by atarim »

I quite of hoped for a built-in solution, but your suggestion do the trick so I'll adopt it. thanks.
Post Reply