[Encore] read() & what player is viewing

Jean-Marc Giffin jean-marc.giffin at acadiau.ca
Mon Jun 25 08:02:15 MDT 2007


Hey All!
 
I was still wondering about the whole idea of having a time limit on the read() function, as well as if it's possible to send a read() function to multiple players at once- as far as I've found, you have to wait for each player to finish answer the read() function invididually right now, which is annoying for a voting system.
 
I know that Daniel was planning to work on this/check it out... any progress there?
 
Also, is there a way to check what the player is currently looking at on the webside? I could probably implement this, but if it's already there, no need to do it again. It's basically so that if there's something that makes the player automatically look at something, that this will not happen if they are already looking at that particular something.
 
Thanks!
 
Jean Of mArc
 

________________________________

From: encore-bounces at encore-consortium.org on behalf of Daniel Jung
Sent: Fri 15/06/2007 8:20 PM
To: encore
Subject: Re: [Encore] [EnCore] Subscribe & read()



Jean-Marc Giffin wrote:

> About the read() function: is there a way to make it so that it
> doesn't just sit and wait forever, or at least that there's a
> time limit?

It should possible, using a fork() and/or a while() expression. I will
come up with a recipe and post it to the list. Can't do it right now,
though. Actually, I tried to come up with some code bits when you first
posted the request, but failed, and I never got back to doing it
properly again. But it shouldn't be much work, so I'll try to do it
anytime soon now. Anyway, this should be generalized into a
$command_utils:read_timelimit() or something; I will try to do that.

Happy week-end :)
- Daniel


_______________________________________________
Encore mailing list
Encore at encore-consortium.org
http://encore-consortium.org/mailman/listinfo/encore_encore-consortium.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://encore-consortium.org/pipermail/encore_encore-consortium.org/attachments/20070625/537f8df3/attachment.html 


More information about the Encore mailing list