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 10 added to 2

Topic History of: Windows palabre working , Linux Not
Max. showing the last posts - (Last post first)
Author Message
daPhyre Pier, thanks a lot for your answer. Actually, the new modifications are simple:



At the end of the palabreServer.py, the code that looks like this:



Code:

                 if val.find('"') and not val.find("'"):
                    
xml += ' '+p+'=''+val.replace('"','\"')+'''
                
else:
                    
xml += ' '+p+'="'+val.replace('"','"')+'"'



Must replace the "p" variable for "str(p)", since Python 2.6 thinks they are characters and no strings when they are a single-character string. So, the code should be replaced for:

Code:

                 if val.find('"') and not val.find("'"):
                    
xml += ' '+str(p)+'=''+val.replace('"','\"')+'''
                
else:
                    
xml += ' '+str(p)+'="'+val.replace('"','"')+'"'



That will make the short-tags, and the Client Samples with it, work perfectly from now on.

When is the official patch going to be released? Many Linux developers are getting troubled with this minnor detail...
pier look this 3d

http://palabre.gavroche.net/component/option,com_simpleboard/Itemid,35/func,view/id,5716/catid,1/




i found some difference from palabre running on python 2.4/2.5 and 2.6,



bye,

pier
Alex I found some time to give details:

I tried recently the server and played with the flash clients taking the mouse example as a starting point.

I found sample clients (mouse one) working properly with the server running from windows while not from linux which was suprisingly strange for me :)

The connection appeared on the palabre log but no data were sent.

So I did some debug and I found the problem to be the xml shortcuts

as an example [b instead of back, r instead of toroom etc].

My system is :

Ubuntu jaunty

Python 2.6.2

firefox 3.0.12

apache 2

xml core 012



same with palabre 5 and 6



hope this can help

cheers alex
Alex Actually it was not a problem of the server but due to the different syntax in the linux-windows for the client's calls



thanks to anyone who spent time thinking about that



alex --------------------------

http://bluelab.mine.nu
ALex I've tried palabre with windows xp (no ip configuration, crossdomains specified) and it works

Not the same on Ubuntu linux (python 2.6.2)

I'm in a private net (192.168.1.xxx) and tried also with the localhost

no firewall is active and the server logs indicate a connection :

2009-09-04 02:28:38,041 : INFO Connection initialized for 127.0.0.1

2009-09-04 02:28:38,081 : INFO Client connected: m605(127.0.0.1)

2009-09-04 02:28:38,083 : DEBUG Palabre room 'm' created by m605(127.0.0.1)



but nothing happens, can anyone suggest something ? thanks in advance



following the config file:

----------------

[daemon]



startdaemon = false





pidfile = /var/run/palabre.pid





ip =





port = 2468



[logging]



loglevel = debug





logfile =





[admin]



password =



[crossdomain]



alloweddomains = 127.0.0.1 localhost 192.168.1.103





[database]



usedatabase = false

checkpassword = false







dbType = mysql

dbHost = 192.168.1.234

dbUser = root

dbPassword = secret

dbDatabase = test





dBRequest = SELECT * FROM t_logins WHERE login_nickname LIKE [LOGIN] AND login_password LIKE MD5([PASSWORD])





[modules]



list = dbQueries,helloworld,simpleLogin
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