To answer to myself, as far as I can tell, new user property are only 
accessible in the client JSF after you join a new channel or the server 
itself (Connect command). As for my game data, I can use a private 
property, so that takes care of that.


But I have a new question regarding this: would there be a way to send the 
new property in the JSF so it's directly accessible as in (
http://www.ape-project.org/docs/client/core/user.html)? I guess I should 
probably create my own raw/command that store athe user object client side, 
but just in case...


  - Louis

On Wednesday, May 30, 2012 11:26:37 PM UTC-4, Louis Charette wrote:
>
> Me again,
>
> I checked everything in the Chrome console, but I just want to make sure: 
> If I use a custom command to set, server side, a user property (Using: 
> http://www.ape-project.org/docs/server/users/user.setproperty.html) after 
> the user has joined the channel, I won't find this property client side 
> (Using http://www.ape-project.org/docs/client/core/user.html for 
> example). It will only shows up when the user send a raw, for example. Is 
> that right? 
>
> I want to store some minor sensitive data (Game information & [secret] 
> position in the game) for each user. I would be nice to make sure no one 
> with a tiny bit of Ape knowledge "cheat", get the user position and find 
> everyone right away! hahaha!
> For the raw, that not a big problem since I write my own commands and 
> don't need to add an "option" parameter to the sendRaw command.
>
>
>
> Thanks,
>   - Louis
>

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to