You don't need frames to view this website. Flash communication server. Flash mx xml socket server.
Home
Main Menu
Home
- - - - - - -
What is Palabre ?
Features
News
FAQ
Forum
DEMO
- - - - - - -
Downloads !
Browse SVN
- - - - - - -
Search
Contact Us
- - - - - - -
Sourceforge Project Page
Python
Links
Palabre on Facebook






Actionscript for Multiplayer games
 
Download Palabre Flash Xml Socket Server DOWNLOAD Download Palabre Flash Xml Socket Server FORUM Download Palabre Flash Xml Socket Server FAQ Download Palabre Flash Xml Socket Server WHAT IS IT
 



Using Palabre ? Coming here for Support ? Please consider making an (even small) donation :)
Palabre Forum  


::post new topic::
noob question - 2006/11/27 20:09 Hello,
I have a problem using this wonderfull server but I'm a beginner in networking ... I tried to run the server and a client on the same machine using rather my local Ip or 127.0.0.1 it works perfectly .. problem come when I try from a distant server that doesn't work anymore ! I have a static IP and use it for the client but it can't connect .. I have no firewalls Can someone helps me ?
thanks
  reply | quote
Re:noob question - 2006/11/28 11:36 Hi
Maybe you are behind a router ?

Does your IP adresse looks like 192.168.x.x ? or 10.x.x.x ? or 172.16.x.x ? or 169.254.x.x ?
If yes, you won't be able to connect from an other computer. You will have to find your 'real' IP adress (http://www.whatismyip.com)
And forward the Palabre port from your router to your Computer.

If you have no firewall and no router, ...everything should work fine

Célio
Célio Conort
Lonesome Palabre developper
  reply | quote
Re:noob question - 2006/11/28 13:07 Yes I have a router. It's strange because i changed the parameters on it, so that the port used by palabre redirect on my local IP but that doesn't work .. I'm going to try again
Thanks
  reply | quote
Re:noob question - 2006/11/28 14:06 Then, do you include the correct "public" ip address in the swf ?
is the SWF hosted somewhere or just run as standalone on other computers?
If you host the SWF somewhere and Palabre somewhere else, be sure to use the crossdomain functions
Célio Conort
Lonesome Palabre developper
  reply | quote
Re:noob question - 2006/11/28 14:14 ok je vais parler en français ça va être plus simple :)
Alors j'ai un peu avancé depuis hier : j'ai en effet utilisé la fonction crossdomain, mon swf est hébergé sur une page perso chez free.fr, j'ai donc mis alloweddomain = free.fr dans le fichier conf. Puis je teste depuis la page web en mettant mon adresse IP publique (82.227.182.100) et le port 2001 (j'ai configuré ce port dans le fichier conf et la fonction routeur de ma freebox redirige le port 2001 vers mon adresse IP privée (192.168.0.3)
et bien la connection échoue toujours ... Par contre si je fais un exe depuis flash et que je l'envoie à un ami il arrive bien à se connecter à ma machine en entrant mon adresse IP publique ... Etrange non ? Par contre dans ce cas lorsque nous sommes 2 connectés simultanément le serveur palabre renvoie ce message d'erreur et déconnecte un des 2 clients ..

http://studiomarco.free.fr/error.gif
  reply | quote
Re:noob question - 2006/11/28 14:42 Si avec un exe ca fonctionne, c'est que le routeur est bien configuré.

Apres dans le crossdomain je conseil de mettre "studiomarco.free.fr" plutot que juste "free.fr"

Sinon il y a bien un :
System.security.loadPolicyFile("xmlsocket://ip_free:2468");
avant le xmlconnect ?

Pour l'erreur en revanche c'est etrange, est-ce que vous utiliser des caratères spéciaux dans les nickname ou dans les messages ?
Normalement tout est en utf8 donc il ne devrait pas y avoir de problème, mais c'est ce que l'erreur laisse suggérer ...


Célio
Célio Conort
Lonesome Palabre developper
  reply | quote
Re:noob question - 2006/11/28 20:10 BOn je ne comprend pas ça ne marche toujours pas ...
dans les crossdomain j'ai mis :
alloweddomains = free.fr studiomarco.free.fr
dans la zone IP qui se trouve au dessus dans le fichier .conf j'ai juste mis
ip =
l'autre modif sur ce fichier concerne le port et j'ai mis
port = 2001

ensuite dans le fichier fla (PalabreFlash7.fla) j'ai rajouté la ligne dans le code de l'omage-clé n°3 comme celà :
System.security.loadPolicyFile("xmlsocket://ip_free:2001");
px = new XMLSocket();

px.onConnect = function(succes)
{
if(succes) ...

ce fichier ce trouve bien sur http://studiomarco.free.fr et ça renvoie 'connection impossible' .. et par contre ça fonctionne toujours si c'est lancé comme un executable.

Une idée ?
En tous cas merci à l'admin pour la rapidités de ces réponses, j'espère vraiment pouvoir faire tourner ce produit et en faire la publicité chez mes amis flasheurs ;)
  reply | quote
Re:noob question - 2006/11/29 18:06 Hum c'est etrange,
tu as bien remplacé ip_free par ta vrai adresse IP ?
Et tu utilises la meme ip/nom de domaine dans le loadpolicy et le connect ?
Il faut que les deux soient identiques (meme si par exemple mafraebox.tondomain.com pointe vers l'IP , il faut exactement les deux identiques)

Ca devrait donner :
Code:

  System.security.loadPolicyFile("xmlsocket://82.227.182.100:2001"); px = new XMLSocket(); px.connect("82.227.182.100",2001);



Normalement avec ca, et
Code:

  alloweddomains studiomarco.free.fr


et le fichier sur http://studiomarco.free.fr/XXX.swf

tout devrait marcher ....
Célio Conort
Lonesome Palabre developper
  reply | quote
Re:noob question - 2006/11/30 12:58 eureka ça marche !
j'avais tout simplement publié mon fichier sous la forme http://studiomarco.free.fr/test/xxx.swf au lieu de http://studiomarco.free.fr/xxx.swf
en pensant bêtement que les sous-dossiers de mon domaine n'importaient pas !
Un grand merci pour le support
  reply | quote
::post new topic::
SORRY, website is currently mostly broken due to software changes on the server.
Hope to fix it soon ...

In the meantime you may still download palabre or use the forum