PodSixNet game networking library now without simplejson

117 views
Skip to first unread message

Chris McCormick

unread,
Apr 23, 2009, 5:58:20 PM4/23/09
to pygame...@seul.org, pods...@googlegroups.com
Hey all,

I've just released a new version of PodSixNet which doesn't require simplejson
any more, although you can still use it if you want. This version includes the
BSD licensed rencode.py to do its serialising, which was born out of the
bittorrent project.

http://mccormick.cx/projects/PodSixNet/

Would love it if some pygame people got a chance to check it out and gave me
feedback, and hopefully use it in a game!

I think it makes it really quite trivial to write simple multiplayer games, or
add multiplayer to existing games, and it comes with a chat and a whiteboard
example to demonstrate this. I should probably stop spamming the pygame list,
so please join the mailing list if you're interested. :)

http://groups.google.com/group/podsixnet

Best,

Chris.

-------------------
http://mccormick.cx

rsk...@gmail.com

unread,
Apr 24, 2009, 8:37:41 PM4/24/09
to PodSixNet
I'm using python 2.6 on windows. I'm having the bellow problem when I
attempt to run the whiteboardclient. The whiteboardserver is running.

D:\Python26\Lib\site-packages\PodSixNet\examples>WhiteboardClient.py
Traceback (most recent call last):
File "D:\Python26\Lib\site-packages\PodSixNet\examples
\WhiteboardClient.py", line 81, in <module>
c = Client()
File "D:\Python26\Lib\site-packages\PodSixNet\examples
\WhiteboardClient.py", line 8, in __init__
self.Connect(('localhost', 31425))
File "D:\Python26\Lib\site-packages\PodSixNet\examples\PodSixNet
\Connection.py", line 23, in Connect
connection.DoConnect(*args, **kwargs)
File "D:\Python26\Lib\site-packages\PodSixNet\examples\PodSixNet
\EndPoint.py", line 25, in DoConnect
Channel.__init__(self)
File "D:\Python26\Lib\site-packages\PodSixNet\examples\PodSixNet
\Channel.py", line 9, in __init__
asynchat.async_chat.__init__(self, conn=conn)
TypeError: __init__() got an unexpected keyword argument 'conn'

D:\Python26\Lib\site-packages\PodSixNet\examples>

Chris McCormick

unread,
Apr 27, 2009, 11:37:51 AM4/27/09
to pods...@googlegroups.com
Hi Dave,

Thanks for the heads up. I think I know how to fix that, but I'll need to
install Python 2.6 to test. Will post to the list and CC you when it's fixed.
Thanks for the bug report!

Best,

Chris.
-------------------
http://mccormick.cx

rsk...@gmail.com

unread,
Apr 27, 2009, 11:40:20 AM4/27/09
to PodSixNet
Thanks :-) I'm looking forward to playing with it :-D

Chris McCormick

unread,
May 2, 2009, 1:29:05 PM5/2/09
to pods...@googlegroups.com
On Fri, Apr 24, 2009 at 05:37:41PM -0700, rsk...@gmail.com wrote:
> I'm using python 2.6 on windows. I'm having the bellow problem when I
> attempt to run the whiteboardclient. The whiteboardserver is running.
>
> D:\Python26\Lib\site-packages\PodSixNet\examples>WhiteboardClient.py
> Traceback (most recent call last):
> File "D:\Python26\Lib\site-packages\PodSixNet\examples
> \WhiteboardClient.py", line 81, in <module>
> c = Client()
> File "D:\Python26\Lib\site-packages\PodSixNet\examples
> \WhiteboardClient.py", line 8, in __init__
> self.Connect(('localhost', 31425))
> File "D:\Python26\Lib\site-packages\PodSixNet\examples\PodSixNet
> \Connection.py", line 23, in Connect
> connection.DoConnect(*args, **kwargs)
> File "D:\Python26\Lib\site-packages\PodSixNet\examples\PodSixNet
> \EndPoint.py", line 25, in DoConnect
> Channel.__init__(self)
> File "D:\Python26\Lib\site-packages\PodSixNet\examples\PodSixNet
> \Channel.py", line 9, in __init__
> asynchat.async_chat.__init__(self, conn=conn)
> TypeError: __init__() got an unexpected keyword argument 'conn'
>
> D:\Python26\Lib\site-packages\PodSixNet\examples>

Hello!

This turned out to be a very small and easy fix. I've now updated the website
with a new version (43).

http://mccormick.cx/projects/PodSixNet/

rsk...@gmail.com

unread,
May 2, 2009, 2:06:49 PM5/2/09
to PodSixNet
Thanks, I'm working on other stuff at the moment, but I will check it
out as soon as I can. Thanks for looking into my issue :-)

On May 2, 10:29 am, Chris McCormick <ch...@mccormick.cx> wrote:
Reply all
Reply to author
Forward
0 new messages