Ils ne sont pas tous utile en effet, mais c'est quand même pas un mal de les avoir, tout dépendant quelles fonctions tu as besoin. Par exemple, "/command/inlinepush.js" est nécessaire si tu veux utiliser ape avec php et la commande inlinepush. Mais ce qui est bien avec APE c'est que tu peux créer tes propres commandes qui vont faire la même chose au besoin. C'est ce que j'ai fait de façon générale.
Envoyé de mon iPhone Le 2013-01-30 à 07:34, Jerome Arnoult <[email protected]> a écrit : > Oups par contre je viens de voir votre message, non je n'utilise aucun > fichier fourni avec le serveur ce qui explique... > Par ailleurs est ce que cela est nécessaire aussi pour l'exclusion d'un > joueur lors d'un envoi de raw sur le pipe du channel ? > > Le 30 janvier 2013 13:31, Jerome Arnoult <[email protected]> a écrit : >> Salut, >> >> en fait j'ai un objet qui gère une room a lui tout seul il est instancié, il >> crée lui même le chan Ape.mkchan("room_machin"). >> De cette facon this.chan = Ape.mkchan("room_machin"); >> Quand j'apelle mon objet room qui est lui même sous enfant de main et de >> gamerooms qui lui crée ses enfants a la demande. >> Bref, quand j'apelle main.gamerooms[room_id].chan j'ai accès a pipe etc.. >> mais pas a userlist alors que je join un utilisateur dès le début. >> >> J'ai essayé en utilisant la propriété chan de mon objet room, j'ai essayé >> par getChannelByName, rien a faire usrelist est undefined >> J'ai donc fait mon propre userlist dans l'objet room, qui gère join et quit >> de player. >> Donc non j'affirme que userlist n'est pas définit même si un utilisateur >> connecté a bien join la room. >> Si il l'etait pas d'ailleurs quand j'envoi un raw sur le pipe de chan, il ne >> devrait pas le recevoir, mais il le recois bien, ainsi que tout ceux qui >> sont sur le channel. >> Je fais bien [mon objet user].join("room_machin") ce qui renvoit automatique >> un raw a l'utilisateur d'ailleurs. >> >> Soit Ape n'aime pas l'utilisation de la POO, soit userlist n'est jamais >> défini. >> >> Le 29 janvier 2013 22:13, Louis Charette <[email protected]> a écrit : >> >>> Salut, >>> >>> Userlist est défini dans le fichier côté serveur "/framework/userslist.js". >>> Tu peux regarder pour voir son fonctionnement et si elle existe sur ton >>> installation. >>> >>> De mémoire, il faut que le Channel soit crée, donc qu'au moins un >>> utilisateur se soit connecté au Channel, pour avoir accès au userlist. >>> >>> Envoyé de mon iPhone >>> >>> Le 2013-01-29 à 15:03, Djey <[email protected]> a écrit : >>> >>>> Bonjour, >>>> >>>> tout d'abord, merci pour votre serveur et framework JS. >>>> Je vous ai même envoyé un mail pour demander un support pro sans réponse. >>>> >>>> Tout d'abord un objet Channel ne possède pas de propriété userslist >>>> contrairement a ce qui est indiqué dans la doc. >>>> De même lors de l'utilisation de chan.pipe.sendRaw(cmd, data [, user >>>> exclu]) le user exclu n'est pas pris en compte >>>> alors que je renvoi bien un objet user sur lequel je peux même faire appel >>>> aux méthode getProperty etc.. >>>> Il faudrait préciser aussi que si on code en POO, il ne faut pas définir >>>> de prototype a l'objet mère de tous les autres objets. >>>> >>>> Utilisant APE pour réaliser des jeux j'aimerais vous apporter un soutien >>>> supplémentaire dans le developpement. >>>> >>>> Jerome ARNOULT >>>> >>>> >>>> >>>> -- >>>> -- >>>> 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/ >>>> >>>> --- >>>> You received this message because you are subscribed to the Google Groups >>>> "APE Project" group. >>>> To unsubscribe from this group and stop receiving emails from it, send an >>>> email to [email protected]. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> -- >>> -- >>> 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/ >>> >>> --- >>> You received this message because you are subscribed to the Google Groups >>> "APE Project" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to [email protected]. >>> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> >> -- >> Arnoult Jerome > > > > -- > Arnoult Jerome > -- > -- > 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/ > > --- > You received this message because you are subscribed to the Google Groups > "APE Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- 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/ --- You received this message because you are subscribed to the Google Groups "APE Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
