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::
Get new visitors to see what people said before - 2008/02/22 15:01 I'm trying to make Palabre to send everything that was said (with a limit of 100 speeches for example) to the people that had just arrived in the channel.


For example, there are 2 peoples chating in this room:

Manel says: Hello!
Gui Says: Hi How R U?

(Now a new guy arrives to the room, Palabre should send what was said before is arrivel to him)

Titi Says: Hello guys, what have you been chating today? :)
  reply | quote
Re:Get new visitors to see what people said before - 2008/02/24 19:03 anyone?
  reply | quote
Re:Get new visitors to see what people said before - 2008/02/25 09:58 Hi

You can't do that "out of the box"
You could ask flash clients to re-send the datas they sent but I don't think it's a good way.

Or you could write a plugin for the new Palabre version

Code:

  class roomHistory:     def __init__(self,server):                  self.server server                  self.name "roomHistory"         self.history = {}         self.server.registerAction('roomSendToAllClients',self.name)         self.server.registerAction('clientJoinRoom',self.name)     def roomSendToAllClients(self,msg,nickName,room):         self.history[room.name].append(msg)         # ... And whatever you want to be logged     def clientJoinRoom(self,client,room):         client.clientSendMessage(self.history[room])




Of course you will have to adapt this to suit your needs.
You might want to loop over history per room etc etc checks if history is present and so on, but the base is here
Célio Conort
Lonesome Palabre developper
  reply | quote
Re:Get new visitors to see what people said before - 2008/02/25 18:31 What file should i modify?

I dunno python.
  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