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 a new message in "Default Forum"
Name:
Subject:
topic icon:
no
boardcode:
 Colour:  Size:   Close all tags
Message:
CAPTCHA: How much is 5 added to 6

Topic History of: hiding varibles in the connectin xml
Max. showing the last posts - (Last post first)
Author Message
Célio Hi !

You could use Rooms params

via the command :



<setparam room="nameoftheroom" name="positions" value="toto:x,y;titi:x,y" />



So when a client connects, he will receive :



<room name="nameoftheroom" clients="1">

<param name="positions" value="toto:x,y;titi:x,y" />

</room>



the problem is that you need to send the <sendparam > node everytime a position changes and then everyone will receive this node back ... so it will create a lot of noisy traffic.



And currently only the creator of the room can set params, so if the creator leaves the room there will be some problems too.



Good luck !
torleif Ok, I’ve sort of solved it. How I did it was:

1) User connects; it creates a movie clip for each person in the room.

2) User sends a request to the server to get vars.

3) Each user in the room sends data back to user (X,Y ect).

4) Each movieclip in room to user get moved into place.



But it still feels like cheating. I can hide the people until the variables have loaded, but lag will make people popping up in different places a bit, well, ugly.



So is there a way I can store variables on the xml server? That might be real advantage over the macromedia xml parser :P
torleif Hi, I’ve ran in to a problem and its becoming a real headache. I’m making a game, in which people can join leave at will.



the problem is when a new user enters the room, I want variables to be sent from the other players in the room. The problem is that Pal_On_clients(node) doesn’t really pick up on all people entering, causing the new person to be clumped together with the other players.



So I’m thinking that some how I can make so that when someone connects, I get data something like this back from the server:



SEND> <connect nickname=”KoolBoy” />



RECEIVE> <connect isok="1" players=”name:test:x:10:y:20,name:test2:x:10:y:20” />



How would I go about something like this? I have tried to clump together code that works by listing to an on connection request, and then sending the data. But when the Pal_On_clients fails, theres no real point.



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