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::
room parameters - 2007/03/12 13:52 hello everyone,
i was wondering is it possible to have room variables (to create them from flash)... then i thought, are there any room parameters (i believe they can be used as room variables). how can i set room parameters, if it's possible to create them (of course)...

thanks in advance

P.S. i'm still waiting for a reply on the list of nodes, if anyone knows, please write...bye

J.T.
  reply | quote
Re:room parameters - 2007/03/16 15:29 Yes you can use room params via :

<setparam name="color" value="blue" />

and remove :

<removeparam name="color" />
Célio Conort
Lonesome Palabre developper
  reply | quote
Re:room parameters - 2007/03/25 18:08 hi there,
thanks for all the replies...
i was wondering.
1. is it possible to modify the code so that everyone in the room can set and edit room parameters (and not only the one who created the room)...

thanks again,
J.T.
  reply | quote
Re:room parameters - 2007/03/26 09:01 Hi

At first I wanted to build a system like on IRC servers where the creator of the room can assign other clients as "room operators", but I just didn't finished it :(
I hope to do it soon :)

In the meantine this could be easily done

For example in PalabreRoom.py I could change the method :
Code:

  def isClientOperator(selfnickName):         if self.allNickNames[nickName][1] == "+o":             return True         else:             return False



to

Code:

  def isClientOperator(selfnickName):             return True



And voilà :)
Célio Conort
Lonesome Palabre developper
  reply | quote
Re:room parameters - 2007/03/27 06:30 With this change in the code anybody could define or change room parameters? You know this is important if the main player leaves the room, then the game will get stuck...
Thanks..
  reply | quote
Re:room parameters - 2007/03/27 08:44 yep that's the same problem they have on IRC servers :(
I'll make that quick fix, but I think that in the futur i'll create an attribute during room creation like <join room="NewRoom" anybodycansetparams="true|false" />

So that both configurations can be used

Or maybe via a <setparam room="myroom" name="anybodycansetparams" value="true" />
Célio Conort
Lonesome Palabre developper
  reply | quote
Re:room parameters - 2007/03/28 11:07 thanks man,

when can we get the modified version... i'm really in a hurry as i'm testing the features and want to come up with (some) multiplayer games...

thanks again
J.T.
  reply | quote
Re:room parameters - 2007/03/30 09:52 Hi

I fixed it in SVN source code.
I hope to release it in the next few days (I hope today or during the week end)
Célio Conort
Lonesome Palabre developper
  reply | quote
Re:room parameters - 2007/03/30 10:37 Hi

Just released version : 0.5.1

By default room params behave the same way as before, but now jsute after creating the room, you may send :

<setparam name="openParams" value="1" room="YourRoom" />

If the param "openParams" is set to "1" or "True" then anybody will be able to set params for this room

At any time you may send

<setparam name="openParams" value="0" room="YourRoom" />

To go back to previous behavior

Have fun !
Célio Conort
Lonesome Palabre developper
  reply | quote
Re:room parameters - 2007/03/30 14:02 thanks man i was really looking forward to see it changed...
regards (or salut ;))
J.T.
  reply | quote
Re:room parameters - 2007/04/01 22:51 I just read the modification in the room parameters. And I think it is a great idea NOT to return the entire list of parameters only if 1 parameter is changed... The client will only get them once (when will log-in) and then he will receive only the changed ones...
Great job...
Regards,
J.T.
  reply | quote
Re:room parameters - 2007/04/02 09:30 Thanks :) Célio Conort
Lonesome Palabre developper
  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