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::
[Fr] est ce que palabre peux lire une base access? - 2008/09/02 14:24 Bonjour,

Tous d'abord bravo pour ce projet qui est vraiment très très intéressant.

J'ai réussis a l'utiliser et a le coupler a un client flash.
Tous fonctionne bien.

J'aimerais maintenant passer a autre chose.
J'ai vu qu'on pouvais configurer une base de donnée pour palabre au travers du palabre.conf

Si j'ai bien compris il faut installer ADODB ainsi que le module correspondant au type de base de donnée qu'on utilise.
J'ai donc installé ADODB ainsi que le module pour access.
J'ai créée une base access qui se nomme : test.mdb

et j'ai tenté de configurer le palabre.conf :


[database]
# If you want to check password to database
# checkpassword = true

checkpassword = true

# Database informations for ADODB

# dbType : Possible Values : any from ADODB : mysql, postgres, sqlite, odbc, ...
# But you need the correct module + Adodb to go on ...

dbType = access
dbHost = 127.0.0.1
dbUser = root
dbPassword =
dbDatabase = test



Comment pourrais je le configurer mieux ?
Est ce que Palabre peux fonctionner avec access ?

Merci,

Thrapple
  reply | quote
Re:[Fr] est ce que palabre peux lire une base acce - 2008/09/04 07:36 I will try to explain my problem in English

So,

I use palabre successfu with a flash client.
It's a very interesting project.

All is good but i will try to use database with palabre.
I see, we could configure with palabre.conf.
So,
I was install ADODB and the "update" for access' database.
I was create an access' database : test.mdb
I was try to configure palabre.conf :

[database]

# If you want to check password to database

# checkpassword = true



checkpassword = true



# Database informations for ADODB



# dbType : Possible Values : any from ADODB : mysql, postgres, sqlite, odbc, ...

# But you need the correct module + Adodb to go on ...



dbType = access

dbHost = 127.0.0.1

dbUser = root

dbPassword =

dbDatabase = test




How could I configure better?
Palabre can operate with access?



Thank you,



Thrapple
  reply | quote
Re:[Fr] est ce que palabre peux lire une base acce - 2008/09/04 08:10 Bonjour,

Pour se connecter à un fichier MDB la syntaxe est différente.
Je pense qu'il faudrait mettre quelque chose comme :
Code:

  dbHost "Driver={Microsoft Access Driver (*.mdb)};Dbq=c:\\path\\to\\database.mdb;"



Mais je n'ai jamais testé cette syntaxe (à voir avec ou sans guillemets, ...)
plus d'infos sur la page adodb :
http://phplens.com/lens/adodb/adodb-py-docs.htm

et il faudra surement le module mxODBC:
http://www.egenix.com/products/python/mxODBC/

bonne chance !

célio
  reply | quote
Re:[Fr] est ce que palabre peux lire une base acce - 2008/09/04 13:40 Merci pour cette réponse, je vais essayé.

Sinon, serait il possible d'avoir dans la rubrique télé chargement un pack server avec une base de donnée déjà configuré?
  reply | quote
Re:[Fr] est ce que palabre peux lire une base acce - 2008/09/07 17:00 Finalement j'ai télécharger Torleif-db-mod-based-on-palabre-0.4.

Ça se rapproche beaucoup de ce que je cherche.
(un système de base donnée accessible a tous)

Par contre j'ai une question bête.
Comment récupérer dans le client une information particulière (basé dans le data.txt)?

Par exemple j'essaye de faire afficher le pseudo de mon utilisateur (dans un champ txtdebug2) au dessus d'un dessin le représentant dans mon swf mais je ne réussis pas -_-''
J'ai essayé de récupérer cette donnée avec ce bout de code que j'ai adapté en lisant la démo du client :

Code:

  function debug (msg) {     _root.txtdebug2.htmlText "<connect nickname/>" +_root.txtdebug2.htmlText  ;     _root.txtdebug.htmlText msg "<br/>" +_root.txtdebug.htmlText  ; }



Pouriez vous m'aider ?

[PS] je cherche a créer dans un premier temps un petit client flash pour une petite application multijoueur.
C'est pour ca que l'idée de Torleif ma séduit.
Mon idée serait ensuite d'associer ces données data a des emplacement d'objets ou des compétences liés au compte de mon utilisateur.


--------


Finally I download Torleif-db-mod-based-on-palaver-0.4.
That's what i want (a data base system accessible to all)

But I have an other question,
How to recover specific information in .swf client .?
(based on the data.txt)

I try to display the name of my user (in a field : txtdebug2)
I tried to recover the data with this piece of code that I have adapted to reading the demo client :

Code:

  debug function (msg) ( _root.txtdebug2.htmlText "<connect nickname/>" _root.txtdebug2.htmlText; _root.txtdebug.htmlText msg "<br/>" _root.txtdebug.htmlText; ) [/ code] Canyou help me

  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