pylacewing - Lacewing for Python

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Morrisey, that's one of the great advantages of POINC. You can create the game server with Python and Poinc, which works seamlessly with the Oinc Client extension. Just start the Poinc server, connect to it using your MMF2 application.

    Take a look at the server example code, then run it via command prompt. Open MMF2, drag in the OINC extension and connect to the server (localhost might do it if you are running locally) and you'll hopefully find the MMF2 app connects nice and quickly.

    Making games at Please login to see this link..
    Please login to see this link. on Twitter.

  • Python does some errors when I try to open it. Shoot. Some connection errors.

    -Edit: reb00t helped.

    :whistle: One more question: is that server.py that excatly "blank" server base which includes all features what OINC has at the moment? I know it's in alpha stage but I would like to handle this as soon as I can.

  • Unfortunately, server.py is missing some nice features (to make it as simple as possible). I suggest you to check out the Please login to see this link. (look at the sample files) and the Please login to see this link., especially the accept methods:

    acceptLogin(self, name)
    acceptNameChange(self, name)
    acceptConnection(self, welcome)
    acceptChannelMessage(self, channel, message)
    acceptChannelJoin(self, channelName)
    acceptChannelPart(self, channel)

    which aren't used in server.py.

    Do not hesitate to contact if you're confused :)

  • Let me claryify that. DarkKiller HAS integrated it, however, it is not DEMONSTRATED, as in there is no example.
    But, you have the list now, so all you do is you add e.g.

    def acceptLogin(self, name)
    pritn "test: " + name

    And you are done! I have used this to create a database driven verification processs that uses the username to authorize, and i wrote a routine that checkes for banned IPS and basicly, it already kicks you when a users first tries to connect.
    Poinc is really great!

    Edit:
    Use acceptConnection(self, welcome) if you wnt to make a BAN routine.

    Return False to deny, True to proceed.

  • Please login to see this link., and this release should be fully compatible with the OINC API Release 7.

    Channel listing is a new feature in 0.1.9.
    To turn channel listing off at the serverside, simply set the 'ChannelListing' flag in OServerFactory to False.

    For the server (OServer):
    acceptChannelListRequest will send the current channel list to the client requesting it unless False is returned.

    channelListSent is called after the channel list has been sent.

    For the client (OClient):
    requestChannelList will return a deferred (see Twisted documentation) that will fire once the channel list has been received.

    See the new examples provided :)

  • It seems Twisted does not work with Python 2.6. It says "Twisted for Python 2.5" but one would think it'd be 2.5 and higher. But when installing Twisted I get a "Python not installed" :o Or does Twisted have an absolute path/name for checking where Python is?

    ~Tiny~

  • Indeed, Twisted does not work with the latest versions of Python. What my friend Mr. Monkey does is have two versions of Python installed: Python 2.5 for using Twisted, and the latest version for everything else.

  • Quote from DragonMC

    Indeed, Twisted does not work with the latest versions of Python. What my friend Mr. Monkey does is have two versions of Python installed: Python 2.5 for using Twisted, and the latest version for everything else.

    Ok then. Will install the 2.5 too. Thanks. :)

    ~Tiny~

  • Is this version compatible? i can remember that the latest release of OINC needed the server to under go some changes. Have you just added this new feature or did you also improve / update the old code?
    Also i found some "TODO" marks in your source code, is this done already?
    I will give it a shot and try and remake the RPG DEMO game.

  • Quote from DarkKiller

    If you need poinc, please contact me and I will send the newest version :)


    I'm away now but will need it when I get back home. I'll send you a note then, around 8th of January.

    ~Tiny~

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!