[jdev] [Standards] Using Jabber in a KDE game

Kleag kleag at free.fr
Tue Sep 2 15:27:49 CDT 2008


Hello Guenther,

Thanks a lot for your answer. After reading some XEP (the two you pointed me 
too and you mug xep proposal), experimenting localy with ejaberd and looking 
of the kopete jabber plugin code, things are becoming clearer for me and I 
think I will be able to implement my first step. Once it is done, I'll come 
back to you to be able to exploit your openfire plugin as you proposed. I 
think that at this moment I will be able to use it effectively.

Thanks again.

Best regards,

Gaël
On Monday 01 September 2008 16:11:02 Guenther Niess wrote:
> Hello Klaeg,
>
> Kleag wrote:
> > New to this list, I'm the author of KsirK, a KDE strategy game. Currently
> > its net game uses pure TCP/IP. One player start its game by setting a
> > port on which to listen to and the others connect to this port. Then the
> > libkdegames/kgame library is used to communicate. This lib as all what is
> > necessary to exchange messages including Qt objects. It also have a chat
> > framework. KsirK is a multiplayer game with, currently, does not allow
> > passive not playing participants.
> >
> > Jabber seems to be a largely better solution. I want to have a very few
> > centralized system, keeping one client as the game server and using the
> > communication framework only for that: a communication tool. I'm also not
> > interested in controling cheating, basing the game in trust.
> >
> > So, my idea is to progressively switch to Jabber. In a first step, it
> > would just allow to publish a proposed game in a kind of chat room and
> > then the current communication system would be used. In a second step,
> > xmpp would also be used to exchange game data.
>
> For the first step you can use the service discovery (XEP-0030) and the
> multi-user chat (XEP-0045).
> Further on we suggest to use our multi-user gaming proposal [1] but this
> is still in development. This approach needs a server implementation for
> the multi-user chat as well as for the game.  I'm currently working on a
> server plugin for openfire and would offer to support your efforts.
>
> It's also possible to integrate a small chat and gameserver in your game
> client implementation.
>
> > I must admit that, even if Jabber seems promising, I'm a little bit lost
> > in all the specifications and I don't know how to start implementing. I
> > had a look to the recent thread (january and june) about the proposed
> > Games XEPs and it seems promising for me.
>
> As aforementioned I think to look for XEP-0030 and XEP-0045 would be a
> good start.
>
> > I will also contact the thelepathy and kopete teams as there are more
> > related to KDE, but I'd like to have your opinion and advices about my
> > ideas. I could describe them with more details, but I'm very not at ease
> > with the underlying concepts and I don't want to say right now too silly
> > things :-)
>
> We are interested in your thoughts and maybe upcoming problems.
>
> Best regards
>
> Guenther
>
> [1] http://pidgin-games.sourceforge.net/xep/multi-user_gaming.html
>
>
> _______________________________________________
> JDev mailing list
> FAQ: http://www.jabber.org/discussion-lists/jdev-faq
> Forum: http://www.jabberforum.org/forumdisplay.php?f=20
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe at jabber.org
> _______________________________________________

-- 
KsirK - a world domination strategy game 
http://techbase.kde.org/Projects/Games/Tactic_and_Strategy/KsirK

KGraphViewer - a GraphViz dot graphs viewer
http://extragear.kde.org/apps/kgraphviewer




More information about the JDev mailing list