Hi,

First I suggets you to use Mootools Hash : 
http://mootools.net/docs/core/Native/Hash

Properties are not stored within the javascript object. To resolve
them use JSON.stringify(user.pipe.toObject());

Anthony

On Nov 11, 1:04 pm, alex424529 <[email protected]> wrote:
> Hi !
> I'm trying to set up a big hash on the serverside (SSJS) in order to
> have a function called Ape.getPipeByUid()
>
> So in the client I just ape.start({name: 'smtg', id:348534}), and on
> the server:
>
> Ape.registerHookCmd('connect', function(params, cmd) {
>         Ape.log("User connected Player:" + params.id);
>         cmd.user.setProperty('id', params.id);
>         _hashUidUser[params.id] = cmd.user;
>
> });
>
> The problem is that when I Ape.log(JSON.stringify(user)) later (such
> as in adduser or even much later in inlinepush.js) I can not see any
> pipe!
>
> {"375":{"pipe":{},"proxys":{}}}
>
> That's all I have for a user!
>
> What I can do?
> I hope this is clear, and I thank you in advance,
> keep up the good work
>
> Alex5435135435145

-- 
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