<div dir="ltr">Hi, <div><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

How do I fix this and actually send out new perspectives to users?<br></blockquote><div><br></div><div>pb.Avatar is not a Referenceable object, the object which is sent when a client login is a wrapper againt the pb.Avatar object built like this:</div>

<div><br></div><div>// pb.py L1327</div><div><span style="font-size:11px;font-family:monospace;font-weight:bold">   if</span><span style="font-size:11px;font-family:monospace"> </span><span style="font-size:11px;font-family:monospace;font-weight:bold">not</span><span style="font-size:11px;font-family:monospace"> IJellyable</span><span style="font-size:11px;font-family:monospace;font-weight:bold">.</span><span style="font-size:11px;font-family:monospace">providedBy</span><span style="font-size:11px;font-family:monospace">(</span><span style="font-size:11px;font-family:monospace">avatar</span><span style="font-size:11px;font-family:monospace">):</span></div>

<div>           <span style="font-size:11px;font-family:monospace">avatar </span><span style="font-size:11px;font-family:monospace;font-weight:bold">=</span><span style="font-size:11px;font-family:monospace"> AsReferenceable</span><span style="font-size:11px;font-family:monospace">(</span><span style="font-size:11px;font-family:monospace">avatar</span><span style="font-size:11px;font-family:monospace">,</span><span style="font-size:11px;font-family:monospace"> </span><span style="color:rgb(187,136,68);font-family:monospace;font-size:11px">"perspective"</span><span style="font-size:11px;font-family:monospace">)</span></div>

<div><span style="font-size:11px;font-family:monospace"><br></span></div><div>So I suppose you can wrap your avatars object just like this before sending them, "OR" you can make you own implementation of "an avatar" (implementing IPerspective interface) and make it IJellyable at first place.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">It doesn't make sense to use the same perspective in<br>

both games </blockquote><div><br></div><div>I don't see why not personally.</div><div>Your Avatar is supposed to represente a "user" after that, it is up to you to define what a "User" is for your application.</div>
<div>If a "user" is a "physical person", so your avatar could play several games at once, your avatar could then have a list of "played games" (for examples).</div><div>If your "user" is a couple of ("physical person"  + "a game") so each person playing a game will represent a different "user" in the point of view of your application.</div>
<div>etc.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">it would be nice to separate<br>

the responsibilities of the user from those of the "player."<br></blockquote><div><br></div><div>As I said the avatar or the user has the responsabilites that you will give to it. I don't think Twisted makes any asumption about that (IMHO).</div>
<div><br></div><div>--</div><div>Nacim.</div><div><br></div></div></div></div>