[jdev] how to program a jabber game server
Michal 'vorner' Vaner
michal.vaner at kdemail.net
Thu Feb 8 15:06:48 CST 2007
On Fri, Feb 09, 2007 at 08:00:26AM +1100, Daniel Noll wrote:
> On Thursday 08 February 2007 00:14, Norman Rasmussen wrote:
> > True, how very unfortunate. You can't host a muc using a bot (or can
> > you? - probably depends on the server)
>
> Maybe you can. If the server's behaving itself, it should let MUC requests
> slip through to an ordinary user. A normal client wouldn't support it but
> maybe a bot could be crafted to behave exactly like a MUC room?
You weld have to encapsulate the stanzas somehow, at last on the "way
back" because you change the from attribute. If the bot connected to
normal server and just told the component to announce it, it would not
work without encapsulation.
Maybe it would be bettor to allow any JID to act as the host and
recommend servers to have multicasting components so the bots can use
them and don't need to multiply the stanzas themselfs.
--
One semi-random fortune:
Einstein argued that there must be simplified explanations of nature, because
God is not capricious or arbitrary. No such faith comforts the software
engineer.
-- Fred Brooks
Michal "vorner" Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20070208/da40d94a/attachment-0002.pgp>
More information about the JDev
mailing list