return 1;


LuckyBot v4

Written by Lucas, on Wed 28 May 2008, 13:11:12

Well, now I'm currently not developing Levon anymore, I used that time to work on the next version of my IRC bot: LuckyBot v4.

v1 was a not extendable irc bot written in PHP, don't want to talk a lot about this one :')
v2 was a desktop app written in C#. It had a nice GUI, you could easily change settings, enable or disable plugins etc. But the code what very ugly.
v3 was a nice extendable irc bot written in PHP. It had a pretty nice plugin system, the only problem was that you couldn't reload plugins at runtime.

v4 will be the best from v2 and the best from v3. It has a nice object oriented plugin api, it has an GUI, where you can change all your settings etc, but there'll be also a console mode. And the best: it's written in python. Which means easily plugin creation, reload plugins without restarting the bot and a lot more :D

Current Status:
- It connects
- It parses incoming messages
- It can load and call plugins
- GUI isn't finished yet
- Console mode works.

You can find more info, including the source code on:
http://luckybot.googlecode.com

Comments (0)

Emesene

Written by Lucas, on Wed 28 May 2008, 12:57:17

I recently discovered a very nice MSN Messenger client for Linux: emesene. It supports pretty much of the most important MSN features (Custom emo's, DP's, file transers), although not yet that much as aMSN. But webcam support is added with one of the next beta's, and many other features will be added in the next releases too.

The nice thing is: it's written in python, and it uses the GTK library for the interface. That means it looks very nice on my Ubuntu distro. :) It also has a nice plugin system, so you can create your own plugins, to add extra features. Support for a lot of MSNPlus things for example is already included.

Since I discovered this messenger, I decided to pause the Levon project. Emesene is almost exactly what I had in mind for my messenger. I'd rather create some plugins for emesene, or submit some patches than completely reinventing the wheel.

Download emesene at http://www.emesene.org
It's also available in the ubuntu repo's.

Comments (0)

Type hints still coming to PHP?

Written by Lucas, on Thu 17 April 2008, 11:46:15

Damn, will PHP finally grow up to a real OO programming language? Today there was another proposal for using type hints. This is partly already possible, but this one goes much further. Currently you can only type hint for array and objects. No default types like string, int or something. You can't also type hint the return value of the function. But it's probably all coming in PHP5.3. :)

Damn I would love to this implemented, because it would save a lot of validation work for us. It's also more clear what type of parameter you want in a function. For those wo don't want to use type hinting: here's the good news, it's completely optional.

Some examples of the syntax and how it works, click read more.

Read more - Comments (1)