||unity-dev|| old attribute

Discussion list for Unity developers. unity-dev at moock.org
Thu Jun 7 18:24:34 CDT 2007


in Unity 2 it's not possible to retrieve the attributes from a room 
without being in it. in Unity 3 we'll allow you to observe rooms you're 
not in (or ask for a particular attribute on demand from the server), 
but for now you have to join the room. a common workaround to this 
limitation is to put all shared attributes in a single, central room 
(maybe call it "system_settings"?) and have every client join that room
automatically.

colin

Discussion list for Unity developers. wrote:
> Hi Colin, 
> 
> Thanks for the answer, and i have one other question.
> 
> I cannot get the attributes of a room without joining. Is it not possible,
> or am i doing something wrong ?
> 
> Tolga
> 
> -----Original Message-----
> From: unity-dev-bounces at moock.org [mailto:unity-dev-bounces at moock.org] On
> Behalf Of Discussion list for Unity developers.
> Sent: Thursday, June 07, 2007 9:20 PM
> To: unity-dev at moock.org
> Subject: Re: ||unity-dev|| old attribute
> 
> not in uClientCore version 2.0.1 (the version you're using). in our 
> internal  builds, we've added the old value to the object returned by 
> URoomEvent.getChangedAttr(). but for now, you will have to track that 
> information yourself.
> 
> colin
> 
> Discussion list for Unity developers. wrote:
>> Hello,
>>
>>  
>>
>> I can see the old attribute value in DEBUG mode:
>>
>>  
>>
>> DEBUG: Old attribute value is: 3^Oda2
>>
>>  
>>
>> Is there any way to get old attribute in onUpdateClientAttribute() ?
>>
>>  
>>
>> Thanks for the help..
>>
>>  
>>
>> Tolga
>>
>>  
>>
>>  
>>
>>  
>>
>> --
>> you're a unity-dev subscriber. to unsubscribe, visit
> www.moock.org/mailman/listinfo/unity-dev/
>> superb hosting for this list and moock.org is generously provided by
> Rackspace. See: http://www.rackspace.com/?supbid=moock
> --
> you're a unity-dev subscriber. to unsubscribe, visit
> www.moock.org/mailman/listinfo/unity-dev/
> 
> superb hosting for this list and moock.org is generously provided by
> Rackspace. See: http://www.rackspace.com/?supbid=moock
> 
> --
> you're a unity-dev subscriber. to unsubscribe, visit www.moock.org/mailman/listinfo/unity-dev/
> 
> superb hosting for this list and moock.org is generously provided by Rackspace. See: http://www.rackspace.com/?supbid=moock


More information about the unity-dev mailing list