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::
Palabre 0.3 - Startup Script - 2005/11/19 23:28 The following startup script may be useful to run Palabre 0.3 in daemon mode. Based on a shoutcast startup script that I found at

http://www.seebq.com/projects/shoutcast

I'm now using Palabre in a production environment at http://www.sunsetbeachbar.com/livecam - looks excellent so far.

Thanks!!!!

Code:

  #!/usr/local/bin/bash # # description: Starts and stops Palabre Chat Server.  # # binaries in /usr/local/palabre-0.3 #      log in /var/log #  # stop (){   #First we want to kill the original servers, so we don't get errors.   echo "Killing old palabre server."   for oldpid in `ps -U nobody | grep PalabreStart.py | cut -c 1-7`; do       kill $oldpid       if [[ $== "-v" ]]       then           echo 'Killed: '$oldpid       fi   done   rm -/var/run/shoutcast.pid } start (){   #Now we can start the servers up.   if [[ $== "-v" ]]        then           echo "Starting up the new Palabre server..."       fi              sudo -u nobody nohup python  /usr/local/palabre-0.3/PalabreStart.py >> / usr/local/palabre-0.3/palabre.log &          #Create the pid file...   ps -grep PalabreStart.py cut -c 1-> /var/run/palabre.pid   #Done now! } case "$1" in   start)         if [[ ! -/var/run/palabre.pid ]]   then     start $2          if [[ -/var/run/palabre.pid ]]      then                 echo "Startup                         [SUCCESS]"     fi        else     if [[ $== "-v" ]]     then         echo "Palabre is already running these processes:"         #Toldja! Checks before displaying pid file.         if [[ -/var/run/palabre.pid ]]         then             cat /var/run/palabre.pid         fi         echo "Try calling palabrectl restart in order to kill old processes."     else         echo "palabre is already running. Try calling palabrectl restart."     fi     echo "Startup                         [FAILED]"   fi     ;;   restart)       stop $2       if [[ $== "-v" ]]         then             echo "Waiting for the old servers to die..."         fi     sleep 4     start $2     if [[ -/var/run/palabre.pid ]]      then                 echo "Startup                         [SUCCESS]"     fi     ;;   stop)   if [[ -/var/run/palabre.pid ]];   then     stop $2     echo "Palabre shutdown                     [SUCCESS]"   else       echo "There are no registered palabre servers running right now. Attempting to kill anyways."     stop $2   fi       ;;   *)   echo "Usage: palabrectl (start|stop|restart) [-v]" esac

  reply | quote
Re:Palabre 0.3 - Startup Script - 2005/11/21 16:52 Hi !
First of all thanks for your feedback and your submission.

We have already implemented a startup script in palabre 0.4 but I honesly don't know which one is the best way to do ( you can check our version via the Browse SVN link on the left)

Anyway thanks a lot, and any feedback and bug report is appreciated :)

Célio Conort
  reply | quote
Re:Palabre 0.3 - Startup Script - 2006/01/17 20:22 Celio,

Thanks for writing a very useful app. I'll take a look at 0.4 as soon as I can. In the meantime, I have adapted the Flash Client that I wrote for the Sunset Beach Bar website to make a new client (Flash Projector) for the Palabre-0.3 chat server at my office.

However: because of limitations when running Flash as an executable program such as not being able to raise or blink a minimized window when a message is received, I've started thinking about (possibly) writing a plugin for Miranda-IM (multi-protocol IM client).

I like the simplicity of Palabre vs. other servers (I could install an IRC or Jabber server and simply download an already developed Miranda plugin). I'll probably be getting in over my head if I have to write something from scratch.

Any ideas? Alternatives, workarounds?

Norbert - webmaster [at] sunsetbeachbar [dot] com
  reply | quote
Re:Palabre 0.3 - Startup Script - 2006/01/18 11:41 Hi !

For your application there are some good (but not free :( )programs like
- Zinc ( http://www.multidmedia.com/software/zinc/ ) or
- Swf Studio ( http://www.northcode.com/ )
They can help you create Flash Applications with much more functionalities than the basic Flash projector ( transparent windows, file system access, system tray integration, ...)

So you may give it a try if you want to keep working with flash.

But for a chat/IM client, the jabber protocol has also many good, free and open source servers and clients. And maybe that they will be more suited for this kind of applications ?

have fun :p
  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